This commit is contained in:
张江玮
2023-03-28 20:01:31 +08:00
parent 130f819f1f
commit 9f9e763195
2 changed files with 2 additions and 1 deletions

View File

@@ -130,6 +130,7 @@ public class LnshLaminatingMachineDeviceDriver extends AbstractOpcDeviceDriver i
if (mode != last_mode) {
this.setRequireSucess(false);
this.setResult(false);
logServer.deviceItemValue(this.device_code,"mode" ,String.valueOf(mode));
logServer.deviceExecuteLog(this.device_code,"","","信号mode" + last_mode + "->" + mode);
}

View File

@@ -394,7 +394,7 @@ public class NDCSocketConnectionAutoRun extends AbstractAutoRunnable {
logServer.deviceExecuteLog("ndc", "","","未找到指令号对应的指令:" + ikey);
break;
}
logServer.deviceExecuteLog("ndc","","","phase==0x06," + "指令号:" + ikey + ",address" + device.getDevice_code());
logServer.deviceExecuteLog("ndc","","","phase==0x06," + "指令号:" + ikey + ",addressRYSMW01");
//检测站点
if (device.getDeviceDriver() instanceof LnshLaminatingMachineDeviceDriver) {
lnshLaminatingMachineDeviceDriver = (LnshLaminatingMachineDeviceDriver) device.getDeviceDriver();