#
Junjie
3 天以前 ce511a3d55e5f349b1647172e562c1659bbc8172
#
1个文件已修改
12 ■■■■■ 已修改文件
src/main/java/com/zy/core/thread/fake/FakeNyLiftThread.java 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/core/thread/fake/FakeNyLiftThread.java
@@ -186,6 +186,9 @@
                    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) {
                    //小车换层
@@ -207,6 +210,9 @@
                    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) {
                    //提升机移动
@@ -228,6 +234,9 @@
                    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) {
                    //复位
@@ -236,6 +245,9 @@
                    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) {
                    //切换入库模式