fix
This commit is contained in:
@@ -1060,7 +1060,8 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic
|
||||
logServer.deviceExecuteLog(device_code, "", "", "允许关门。");
|
||||
}
|
||||
|
||||
if (driver.getAction() == 2) {
|
||||
//百济没有2已关,0就当作已关门
|
||||
if (driver.getAction() == 0) {
|
||||
data = NDCAgvService.sendAgvOneModeInst(phase, index, 0);
|
||||
}
|
||||
} else if (device.getDeviceDriver() instanceof StandardElevatorDeviceDriver) {
|
||||
|
||||
@@ -337,9 +337,9 @@ public class SiemensConveyorDeviceDriver extends AbstractOpcDeviceDriver impleme
|
||||
}};
|
||||
|
||||
JSONObject response = acsToWmsService.shipDeviceUpdate(param);
|
||||
if (response == null || 20000 == response.getIntValue("code")) {
|
||||
// if (response == null || 20000 == response.getIntValue("code")) {
|
||||
this.requiresShipDeviceUpdate = true;
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -269,9 +269,9 @@ public class SiemensConveyorCkkDeviceDriver extends AbstractOpcDeviceDriver impl
|
||||
}};
|
||||
|
||||
JSONObject response = acsToWmsService.shipDeviceUpdate(param);
|
||||
if (response == null || 20000 == response.getIntValue("code")) {
|
||||
// if (response == null || 20000 == response.getIntValue("code")) {
|
||||
this.requiresShipDeviceUpdate = true;
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -340,9 +340,9 @@ public class StandardInspectSiteDeviceDriver extends AbstractOpcDeviceDriver imp
|
||||
this.instruction_require_time = date;
|
||||
|
||||
JSONObject response = acsToWmsService.shipDeviceUpdate(param);
|
||||
if (20000 == response.getIntValue("code")) {
|
||||
// if (20000 == response.getIntValue("code")) {
|
||||
this.requireSucess = true;
|
||||
}
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -212,9 +212,9 @@ public class FoldDiscSiteDeviceDriver extends AbstractOpcDeviceDriver implements
|
||||
this.instruction_require_time = date;
|
||||
|
||||
JSONObject response = acsToWmsService.shipDeviceUpdate(param);
|
||||
if (20000 == response.getIntValue("code")) {
|
||||
// if (20000 == response.getIntValue("code")) {
|
||||
this.requireSucess = true;
|
||||
}
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user