| | |
| | | if (Cools.isEmpty(this.wrkSts)){ |
| | | return this.wrkSts+":未知"; |
| | | } |
| | | // BasJarMastStatusService service = SpringUtils.getBean(BasJarMastStatusService.class); |
| | | //// BasJarMastStatus basJarMastStatus = service.selectById(this.wrkSts); |
| | | // BasJarMastStatus basJarMastStatus = service.selectOne(new EntityWrapper<BasJarMastStatus>().eq("box_type",this.wrkSts.toString())); |
| | | // if (!Cools.isEmpty(basJarMastStatus)){ |
| | | // return String.valueOf(basJarMastStatus.getBoxSpecs()); |
| | | // } |
| | | if (Cools.isEmpty(this.ioType)){ |
| | | return this.wrkSts.toString(); |
| | | } else if (this.ioType == 100){ |
| | | switch (this.wrkSts){ |
| | | case 0: |
| | | return this.wrkSts+"、初始"; |
| | | case 99: |
| | | return this.wrkSts+"、充电中"; |
| | | case 100: |
| | | return this.wrkSts+"、充电完成"; |
| | | } |
| | | } else { |
| | | switch (this.wrkSts){ |
| | | case 1: |
| | |
| | | } catch (Exception e){ |
| | | return this.wrkSts+":未知==>异常:"+e.getMessage(); |
| | | } |
| | | return this.wrkSts+":未知"; |
| | | } |
| | | |
| | | //任务类型 0: 未知 1: 开进料门 2: 关进料门 3: 开出料门 4: 关出料门 5: 入硫化罐 6: 入冷却槽 7: 穿梭车进冷却槽 B=>C 8: 穿梭车离开冷却槽 C=>B 9: 出冷却槽 10:A=>B 11:B=>A |