更新 推送新增status + time
This commit is contained in:
parent
32b5a1fd43
commit
15a8b3f3bc
@ -6,32 +6,23 @@ import com.qgs.dc.common.utils.CommonFunction;
|
||||
import com.qgs.dc.opcua.config.LocalMulPLCConfig;
|
||||
import com.qgs.dc.opcua.constant.PLCConstant;
|
||||
import com.qgs.dc.opcua.selfunion.Enum.PLCType;
|
||||
import com.qgs.dc.opcua.selfunion.Enum.PLCVar;
|
||||
import com.qgs.dc.opcua.selfunion.NodeIdKey;
|
||||
import com.qgs.dc.opcua.selfunion.UAService;
|
||||
import com.qgs.dc.opcua.selfunion.entity.*;
|
||||
import com.qgs.dc.common.websocket.WebSocketServer;
|
||||
import com.qgs.dc.opcua.taskPool.MultiWorkRunnable;
|
||||
import com.qgs.dc.opcua.taskPool.QGSThreadPool;
|
||||
import org.eclipse.milo.opcua.sdk.client.api.subscriptions.UaMonitoredItem;
|
||||
import org.eclipse.milo.opcua.stack.core.StatusCodes;
|
||||
import org.eclipse.milo.opcua.stack.core.types.builtin.DataValue;
|
||||
import org.eclipse.milo.opcua.stack.core.types.builtin.DateTime;
|
||||
import org.eclipse.milo.opcua.stack.core.types.builtin.NodeId;
|
||||
import org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode;
|
||||
import org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger;
|
||||
import org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.Future;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@RestController
|
||||
|
@ -8,6 +8,7 @@ server:
|
||||
spring:
|
||||
rabbitmq:
|
||||
# 如果是rabbitmq+haproxy+keepalived集群 ,,那么192.168.0.176是haproxy代理的地址(严格来说是keepalived的vip)
|
||||
#addresses: 192.168.0.183:5672 ## 新版rabbitmq 版本还未测试
|
||||
addresses: 192.168.0.176:5672
|
||||
username: cdte
|
||||
password: cdte
|
||||
|
Loading…
Reference in New Issue
Block a user