| | |
| | | vo.setBarcode(stationProtocol.getBarcode()); // 条码 |
| | | vo.setSystemWarning(stationProtocol.getSystemWarning()); // 系统告警/业务提示 |
| | | vo.setWeight(stationProtocol.getWeight());//重量 |
| | | vo.setIoMode(stationProtocol.getIoMode());//出入库模式 |
| | | vo.setTaskWriteIdx(stationProtocol.getTaskWriteIdx());//任务可写区 |
| | | vo.setTaskBufferItems(stationProtocol.getTaskBufferItems());//任务缓存区数据 |
| | | String stationStatus = StationStatusType.process(stationProtocol).toString().toLowerCase().replaceAll("_", "-"); |
| | |
| | | //重量 |
| | | private Double weight; |
| | | |
| | | //出入库模式 1:入库 2:出库 |
| | | private Integer ioMode; |
| | | |
| | | //任务可写区 |
| | | private Integer taskWriteIdx; |
| | | |
| | |
| | | //重量 |
| | | private Double weight; |
| | | |
| | | //出入库模式 1:入库 2:出库 |
| | | private Integer ioMode; |
| | | |
| | | //WCS系统报警 |
| | | private String systemWarning; |
| | | |
| | |
| | | //重量 |
| | | private Double weight; |
| | | |
| | | //出入库模式 1:入库 2:出库 |
| | | private Integer ioMode; |
| | | |
| | | //任务可写区 |
| | | private Integer taskWriteIdx; |
| | | |
| | |
| | | stationProtocol.setRunBlock(statusEntity.isRunBlock()); |
| | | stationProtocol.setEnableIn(statusEntity.isEnableIn()); |
| | | stationProtocol.setWeight(statusEntity.getWeight()); |
| | | stationProtocol.setIoMode(statusEntity.getIoMode()); |
| | | recentArrivalTracker.observe(statusEntity.getStationId(), statusEntity.getTaskNo(), statusEntity.isLoading()); |
| | | } |
| | | |
| | |
| | | orDash: function (value) { |
| | | return MonitorCardKit.orDash(value); |
| | | }, |
| | | formatIoMode: function (value) { |
| | | if (value === 1 || value === "1") { |
| | | return "入库"; |
| | | } |
| | | if (value === 2 || value === "2") { |
| | | return "出库"; |
| | | } |
| | | return "--"; |
| | | }, |
| | | getStatusLabel: function (item) { |
| | | return item && item.autoing ? "自动" : "手动"; |
| | | }, |
| | |
| | | { label: "工作号", value: this.orDash(item.taskNo) }, |
| | | { label: "目标站", value: this.orDash(item.targetStaNo) }, |
| | | { label: "模式", value: item.autoing ? "自动" : "手动" }, |
| | | { label: "出入库模式", value: this.formatIoMode(item.ioMode) }, |
| | | { label: "有物", value: MonitorCardKit.yesNo(item.loading) }, |
| | | { label: "可入", value: MonitorCardKit.yesNo(item.inEnable) }, |
| | | { label: "可出", value: MonitorCardKit.yesNo(item.outEnable) }, |