feat():关闭OPC连接
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
package com.fizz.business.scheduled;
|
package com.fizz.business.comm.OPC;
|
||||||
|
|
||||||
|
import com.fizz.business.scheduled.BaseSchedule;
|
||||||
import com.kangaroohy.milo.model.ReadWriteEntity;
|
import com.kangaroohy.milo.model.ReadWriteEntity;
|
||||||
import com.kangaroohy.milo.service.MiloService;
|
import com.kangaroohy.milo.service.MiloService;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
@@ -11,7 +12,7 @@ import javax.annotation.Resource;
|
|||||||
@Slf4j
|
@Slf4j
|
||||||
//@Component
|
//@Component
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
public class LineMeasureSchedule extends BaseSchedule{
|
public class MessageReceiveSchedule extends BaseSchedule {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
MiloService miloService;
|
MiloService miloService;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import javax.annotation.Resource;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@Service
|
//@Service
|
||||||
@Log4j2
|
@Log4j2
|
||||||
public class OpcMessageSend {
|
public class OpcMessageSend {
|
||||||
|
|
||||||
|
|||||||
@@ -168,6 +168,7 @@ knife4j:
|
|||||||
|
|
||||||
kangaroohy:
|
kangaroohy:
|
||||||
milo:
|
milo:
|
||||||
|
enabled: false
|
||||||
primary: default
|
primary: default
|
||||||
config:
|
config:
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user