| | |
| | | fakeStatus.put("pick", 0);//取货数据 |
| | | fakeStatus.put("put", 0);//放货数据 |
| | | fakeStatus.put("lev", lev); |
| | | |
| | | JSONObject extend = fakeStatus.getJSONObject("extend"); |
| | | extend.put("plcTaskNoComplete", commandBody.getInteger("taskNo")); |
| | | fakeStatusMap.put(key, fakeStatus); |
| | | } else if (commandType == 2) { |
| | | //小车换层 |
| | |
| | | fakeStatus.put("pick", 0);//取货数据 |
| | | fakeStatus.put("put", 0);//放货数据 |
| | | fakeStatus.put("lev", lev); |
| | | |
| | | JSONObject extend = fakeStatus.getJSONObject("extend"); |
| | | extend.put("plcTaskNoComplete", commandBody.getInteger("taskNo")); |
| | | fakeStatusMap.put(key, fakeStatus); |
| | | } else if (commandType == 3) { |
| | | //提升机移动 |
| | |
| | | fakeStatus.put("pick", 0);//取货数据 |
| | | fakeStatus.put("put", 0);//放货数据 |
| | | fakeStatus.put("lev", lev); |
| | | |
| | | JSONObject extend = fakeStatus.getJSONObject("extend"); |
| | | extend.put("plcTaskNoComplete", commandBody.getInteger("taskNo")); |
| | | fakeStatusMap.put(key, fakeStatus); |
| | | } else if (commandType == 9996) { |
| | | //复位 |
| | |
| | | fakeStatus.put("taskMode", 0);//任务类型 |
| | | fakeStatus.put("pick", 0);//取货数据 |
| | | fakeStatus.put("put", 0);//放货数据 |
| | | |
| | | JSONObject extend = fakeStatus.getJSONObject("extend"); |
| | | extend.put("plcTaskNoComplete", 0); |
| | | fakeStatusMap.put(key, fakeStatus); |
| | | } else if (commandType == 9997) { |
| | | //切换入库模式 |