Browse Source

ndc上报日志优化,增加原文打印排查问题

master
psh 6 months ago
parent
commit
73bc4a3c45
  1. 4
      acs/nladmin-system/nlsso-server/src/main/java/org/nl/acs/auto/run/OneNDCSocketConnectionAutoRun.java

4
acs/nladmin-system/nlsso-server/src/main/java/org/nl/acs/auto/run/OneNDCSocketConnectionAutoRun.java

@ -114,9 +114,9 @@ public class OneNDCSocketConnectionAutoRun extends AbstractAutoRunnable {
//System.out.println("收到请求参数:" + bs);
boolean flag = false;
log.info("接收agv上报信息:" + bs);
if (arr[8] * 256 + arr[9] == 0x73) {
byte[] data = null;
System.out.println("接收agv上报信息:" + bs);
//执行阶段
int phase = arr[16] * 256 + arr[17];
// agv任务号
@ -247,7 +247,7 @@ public class OneNDCSocketConnectionAutoRun extends AbstractAutoRunnable {
}
} else {
System.out.println("agv上报不是0073类型动作,不处理");
log.info("agv上报不是0073类型动作,不处理");
}
}

Loading…
Cancel
Save