update:分拣看板更新当日拆码垛数据
update:错误记录过滤,只记录error不为0的情况 update:更新大屏设备数量图表数据
This commit is contained in:
@@ -1275,6 +1275,12 @@ public class WmsToAcsServiceImpl implements WmsToAcsService {
|
||||
if (ObjectUtil.isEmpty(device)) {
|
||||
continue;
|
||||
}
|
||||
if (device.getDeviceDriver() instanceof LnshRGVDeviceDriver) {
|
||||
LnshRGVDeviceDriver driver = (LnshRGVDeviceDriver) device.getDeviceDriver();
|
||||
status.put("device_status", driver.getStatus());
|
||||
status.put("mode", driver.getMode());
|
||||
status.put("error", driver.getError());
|
||||
}
|
||||
if (device.getDeviceDriver() instanceof ConveyorBarcodeDeviceDriver) {
|
||||
ConveyorBarcodeDeviceDriver driver = (ConveyorBarcodeDeviceDriver) device.getDeviceDriver();
|
||||
status.put("mode", driver.getMode());
|
||||
|
||||
Reference in New Issue
Block a user