| | |
| | | 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 |
| | |
| | | if (null == this.ioType){ return "未知"; } |
| | | switch (this.ioType){ |
| | | case 0: |
| | | return "未知"; |
| | | return "0.未知"; |
| | | case 1: |
| | | return "开进料门"; |
| | | return "1.开进料门"; |
| | | case 2: |
| | | return "关进料门"; |
| | | return "2.关进料门"; |
| | | case 3: |
| | | return "开出料门"; |
| | | return "3.开出料门"; |
| | | case 4: |
| | | return "关出料门"; |
| | | return "4.关出料门"; |
| | | case 5: |
| | | return "入硫化罐"; |
| | | return "5.入硫化罐"; |
| | | case 6: |
| | | return "入冷却槽"; |
| | | return "6.入冷却槽"; |
| | | case 7: |
| | | return "B=>C"; |
| | | return "7.B=>C"; |
| | | case 8: |
| | | return "C=>B"; |
| | | return "8.C=>B"; |
| | | case 9: |
| | | return "出冷却槽"; |
| | | return "9.出冷却槽"; |
| | | case 10: |
| | | return "A=>B"; |
| | | return "10.A=>B"; |
| | | case 11: |
| | | return "B=>A"; |
| | | return "11.B=>A"; |
| | | case 100: |
| | | return "充电任务"; |
| | | return "100.充电任务"; |
| | | default: |
| | | return String.valueOf(this.ioType); |
| | | } |