|
|
@@ -214,6 +214,7 @@ public class LabExitLineVertexServiceImpl implements ILabExitLineVertexService {
|
|
|
String relayCode = relay.getRelayCode();
|
|
|
String commandStr = RelayConstants.AT_STACH + relay.getRelayBit() + "=" + RelayConstants.AT_CLOSE + RelayConstants.SPACE_WRAP;
|
|
|
NettyPushMsgService.push(relayCode, commandStr.getBytes());
|
|
|
+ Thread.sleep(timeWaitConfigUtils.getWaitTime());
|
|
|
} catch (IOException e) {
|
|
|
logger.error("异常信息:", e);
|
|
|
}
|
|
|
@@ -353,6 +354,7 @@ public class LabExitLineVertexServiceImpl implements ILabExitLineVertexService {
|
|
|
String relayCode = a.getRelayCode();
|
|
|
String commandStr = RelayConstants.AT_STACH + a.getRelayBit() + "=" + RelayConstants.AT_OPEN + RelayConstants.SPACE_WRAP;
|
|
|
NettyPushMsgService.push(relayCode, commandStr.getBytes());
|
|
|
+ Thread.sleep(timeWaitConfigUtils.getWaitTime());
|
|
|
} catch (IOException e) {
|
|
|
logger.error("异常信息:", e);
|
|
|
}
|