update:分拣看板更新当日拆码垛数据

update:错误记录过滤,只记录error不为0的情况
update:更新大屏设备数量图表数据
This commit is contained in:
songxiaopeng
2024-04-29 16:25:11 +08:00
parent 188162203b
commit d14cdcf4b1
5 changed files with 44 additions and 18 deletions

View File

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