add: 添加LMS下发信号到西门子称重位
This commit is contained in:
@@ -209,6 +209,7 @@ public class WmsToAcsServiceImpl implements WmsToAcsService {
|
|||||||
LampThreecolorDeviceDriver lampThreecolorDeviceDriver;
|
LampThreecolorDeviceDriver lampThreecolorDeviceDriver;
|
||||||
SiemensConveyorDeviceDriver siemensConveyorDeviceDriver;
|
SiemensConveyorDeviceDriver siemensConveyorDeviceDriver;
|
||||||
PluggingUnpluggingMachineDeviceDriver pluggingUnpluggingMachineDeviceDriver;
|
PluggingUnpluggingMachineDeviceDriver pluggingUnpluggingMachineDeviceDriver;
|
||||||
|
SiemensWeightConveyorDeviceDriver siemensWeightConveyorDeviceDriver;
|
||||||
if (device.getDeviceDriver() instanceof HongXiangStationDeviceDriver) {
|
if (device.getDeviceDriver() instanceof HongXiangStationDeviceDriver) {
|
||||||
hongXiangStationDeviceDriver = (HongXiangStationDeviceDriver) device.getDeviceDriver();
|
hongXiangStationDeviceDriver = (HongXiangStationDeviceDriver) device.getDeviceDriver();
|
||||||
hongXiangStationDeviceDriver.writing(code, value);
|
hongXiangStationDeviceDriver.writing(code, value);
|
||||||
@@ -225,7 +226,10 @@ public class WmsToAcsServiceImpl implements WmsToAcsService {
|
|||||||
pluggingUnpluggingMachineDeviceDriver = (PluggingUnpluggingMachineDeviceDriver) device.getDeviceDriver();
|
pluggingUnpluggingMachineDeviceDriver = (PluggingUnpluggingMachineDeviceDriver) device.getDeviceDriver();
|
||||||
pluggingUnpluggingMachineDeviceDriver.writing(code, value);
|
pluggingUnpluggingMachineDeviceDriver.writing(code, value);
|
||||||
}
|
}
|
||||||
|
if (device.getDeviceDriver() instanceof SiemensWeightConveyorDeviceDriver) {
|
||||||
|
siemensWeightConveyorDeviceDriver = (SiemensWeightConveyorDeviceDriver) device.getDeviceDriver();
|
||||||
|
siemensWeightConveyorDeviceDriver.writing(code, value);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
response.setStatus(200);
|
response.setStatus(200);
|
||||||
|
|||||||
Reference in New Issue
Block a user