| | |
| | | list.add(vo); |
| | | StaProtocol staProtocol = station.get(devp.getDevNo()); |
| | | if (null == staProtocol) { continue; } |
| | | vo.setWorkNo(staProtocol.getWorkNo()); |
| | | vo.setAutoing(staProtocol.isAutoing()?"Y":"N"); // 自动 |
| | | vo.setLoading(staProtocol.isLoading()?"Y":"N"); // 有物 |
| | | vo.setInEnable(staProtocol.isInEnable()?"Y":"N"); // 可入 |
| | |
| | | vo.setPakMk(staProtocol.isPakMk()?"Y":"N"); // 需求1 |
| | | vo.setEmptyMk(staProtocol.isEmptyMk()?"Y":"N"); // 空板信号 |
| | | vo.setStaNo(staProtocol.getStaNo()); // 目标站 |
| | | vo.setLocType1(staProtocol.isHigh() != staProtocol.isLow() && staProtocol.isLow() ? "低" : "高"); //高低库位 |
| | | if (staProtocol.isHigh()){ |
| | | vo.setLocType1("超高库位"); |
| | | }else if (staProtocol.isLow()){ |
| | | vo.setLocType1("高库位"); |
| | | }else if (staProtocol.isMid()){ |
| | | vo.setLocType1("中库位"); |
| | | }else if (staProtocol.isLower()){ |
| | | vo.setLocType1("低库位"); |
| | | } |
| | | // vo.setLocType1(staProtocol.isHigh() != staProtocol.isLow() && staProtocol.isLow() ? "低" : "高"); //高低库位 |
| | | return R.ok().add(vo); |
| | | } |
| | | } |