From 0e214856df682998cd52df74c851502c571ba183 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 28 四月 2026 23:22:23 +0800
Subject: [PATCH] feat(出库任务): 优化二深位出库的移库逻辑并添加事务支持

---
 Code/测试工具/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Server/Data/protocol-templates.json |  162 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 162 insertions(+), 0 deletions(-)

diff --git "a/Code/\346\265\213\350\257\225\345\267\245\345\205\267/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Server/Data/protocol-templates.json" "b/Code/\346\265\213\350\257\225\345\267\245\345\205\267/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Server/Data/protocol-templates.json"
index 386cf64..79edb5d 100644
--- "a/Code/\346\265\213\350\257\225\345\267\245\345\205\267/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Server/Data/protocol-templates.json"
+++ "b/Code/\346\265\213\350\257\225\345\267\245\345\205\267/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Server/Data/protocol-templates.json"
@@ -4012,6 +4012,168 @@
         "dataType": 0,
         "length": 1,
         "direction": 2
+      },
+      {
+        "fieldKey": "2201_TaskNo",
+        "dbNumber": 50,
+        "offset": 4000,
+        "bit": 1,
+        "dataType": 1,
+        "length": 1,
+        "direction": 2
+      },
+      {
+        "fieldKey": "2201_Source",
+        "dbNumber": 50,
+        "offset": 4002,
+        "bit": 1,
+        "dataType": 1,
+        "length": 1,
+        "direction": 2
+      },
+      {
+        "fieldKey": "2201_Target",
+        "dbNumber": 50,
+        "offset": 4004,
+        "bit": 1,
+        "dataType": 1,
+        "length": 1,
+        "direction": 2
+      },
+      {
+        "fieldKey": "2201_BoxType",
+        "dbNumber": 50,
+        "offset": 4006,
+        "bit": 1,
+        "dataType": 0,
+        "length": 1,
+        "direction": 2
+      },
+      {
+        "fieldKey": "2201_CV_State",
+        "dbNumber": 50,
+        "offset": 4007,
+        "bit": 1,
+        "dataType": 0,
+        "length": 1,
+        "direction": 2
+      },
+      {
+        "fieldKey": "2201_CV_ERRCode",
+        "dbNumber": 50,
+        "offset": 4008,
+        "bit": 1,
+        "dataType": 0,
+        "length": 1,
+        "direction": 2
+      },
+      {
+        "fieldKey": "2201_WCS_STB",
+        "dbNumber": 50,
+        "offset": 4009,
+        "bit": 1,
+        "dataType": 0,
+        "length": 1,
+        "direction": 2
+      },
+      {
+        "fieldKey": "2201_WCS_ACK",
+        "dbNumber": 50,
+        "offset": 4010,
+        "bit": 1,
+        "dataType": 0,
+        "length": 1,
+        "direction": 2
+      },
+      {
+        "fieldKey": "2201_PLC_STB",
+        "dbNumber": 50,
+        "offset": 4011,
+        "bit": 1,
+        "dataType": 0,
+        "length": 1,
+        "direction": 2
+      },
+      {
+        "fieldKey": "2201_PLC_ACK",
+        "dbNumber": 50,
+        "offset": 4012,
+        "bit": 1,
+        "dataType": 0,
+        "length": 1,
+        "direction": 2
+      },
+      {
+        "fieldKey": "2201_PLC_REQ",
+        "dbNumber": 50,
+        "offset": 4013,
+        "bit": 1,
+        "dataType": 0,
+        "length": 1,
+        "direction": 2
+      },
+      {
+        "fieldKey": "2201_WCS_ERRCode",
+        "dbNumber": 50,
+        "offset": 4014,
+        "bit": 1,
+        "dataType": 0,
+        "length": 1,
+        "direction": 2
+      },
+      {
+        "fieldKey": "2201_WCS_Special",
+        "dbNumber": 50,
+        "offset": 4015,
+        "bit": 1,
+        "dataType": 0,
+        "length": 1,
+        "direction": 2
+      },
+      {
+        "fieldKey": "2201_Equ_Auto",
+        "dbNumber": 50,
+        "offset": 4016,
+        "bit": 1,
+        "dataType": 0,
+        "length": 1,
+        "direction": 2
+      },
+      {
+        "fieldKey": "2201_Last_pallet",
+        "dbNumber": 50,
+        "offset": 4017,
+        "bit": 1,
+        "dataType": 0,
+        "length": 1,
+        "direction": 2
+      },
+      {
+        "fieldKey": "2201_Barcode",
+        "dbNumber": 50,
+        "offset": 4018,
+        "bit": 1,
+        "dataType": 0,
+        "length": 20,
+        "direction": 2
+      },
+      {
+        "fieldKey": "2201_Spare_1",
+        "dbNumber": 50,
+        "offset": 4038,
+        "bit": 1,
+        "dataType": 0,
+        "length": 1,
+        "direction": 2
+      },
+      {
+        "fieldKey": "2201_Spare_2",
+        "dbNumber": 50,
+        "offset": 4039,
+        "bit": 1,
+        "dataType": 0,
+        "length": 1,
+        "direction": 2
       }
     ]
   }

--
Gitblit v1.9.3