fix : 测试修改

This commit is contained in:
ls
2025-04-23 17:43:16 +08:00
parent fb0156bc72
commit 88fb6ebbbc

View File

@@ -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);