|
|
@ -403,7 +403,7 @@ public class NDCSocketConnectionAutoRun extends AbstractAutoRunnable { |
|
|
|
String nextPointCode = inst.getNext_point_code(); |
|
|
|
Device nextDevice = deviceAppService.findDeviceByCode(nextPointCode); |
|
|
|
if (nextDevice.getDeviceDriver() instanceof StandardInspectSite2DeviceDriver){ |
|
|
|
standardInspectSite2DeviceDriver = (StandardInspectSite2DeviceDriver) device.getDeviceDriver(); |
|
|
|
standardInspectSite2DeviceDriver = (StandardInspectSite2DeviceDriver) nextDevice.getDeviceDriver(); |
|
|
|
standardInspectSite2DeviceDriver.writing(2); |
|
|
|
} |
|
|
|
data = AgvService.sendAgvOneModeInst(phase, index, 0); |
|
|
|