|
|
@ -400,6 +400,12 @@ public class NDCSocketConnectionAutoRun extends AbstractAutoRunnable { |
|
|
|
if (StrUtil.equals(acsConfigService.findConfigFromCache().get(AcsConfig.IGNOREHASGOODS), "1")) { |
|
|
|
inst.setExecute_status("5"); |
|
|
|
instructionService.update(inst); |
|
|
|
String nextPointCode = inst.getNext_point_code(); |
|
|
|
Device nextDevice = deviceAppService.findDeviceByCode(nextPointCode); |
|
|
|
if (nextDevice.getDeviceDriver() instanceof StandardInspectSite2DeviceDriver){ |
|
|
|
standardInspectSite2DeviceDriver = (StandardInspectSite2DeviceDriver) device.getDeviceDriver(); |
|
|
|
standardInspectSite2DeviceDriver.writing(2); |
|
|
|
} |
|
|
|
data = AgvService.sendAgvOneModeInst(phase, index, 0); |
|
|
|
flag = true; |
|
|
|
JSONObject jo = new JSONObject(); |
|
|
|