From 0ba846024a89bbdfe2b2e2183d0ed944ac9782bf Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期六, 04 一月 2025 09:52:28 +0800
Subject: [PATCH] 更新

---
 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/ConveyorLineTaskCommand.cs |   62 +++++++++++++++++++++---------
 1 files changed, 43 insertions(+), 19 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/ConveyorLineTaskCommand.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/ConveyorLineTaskCommand.cs"
index 4e4952a..58371ab 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/ConveyorLineTaskCommand.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/ConveyorLineTaskCommand.cs"
@@ -51,6 +51,11 @@
         public byte Status { get; set; }
 
         /// <summary>
+        /// 棰勭暀
+        /// </summary>
+        public byte Undefined { get; set; }
+
+        /// <summary>
         /// 浠诲姟鍙�
         /// </summary>
         public int TaskNum { get; set; }
@@ -100,6 +105,12 @@
         /// 浜や簰淇″彿
         /// </summary>
         public byte Signal { get; set; }
+
+
+        /// <summary>
+        /// 棰勭暀
+        /// </summary>
+        public byte Undefined2 { get; set; }
     }
 
     public class R_ConveyorLineStatus
@@ -147,20 +158,22 @@
         public bool RequestUnpackPellet { get; set; }
     }
 
-    public class R_ConveyorLineSignal
+    public class ConveyorLineSignal
     {
         /// <summary>
         /// 璇锋眰淇″彿
         /// </summary>
+        [BoolIndex(0)]
         public bool STB { get; set; }
 
         /// <summary>
         /// 鍝嶅簲淇″彿
         /// </summary>
+        [BoolIndex(1)]
         public bool ACK { get; set; }
     }
 
-    public class W_ConveyorLineInfo
+    public class W_ConveyorLineInfo : DeviceCommand
     {
 
         /// <summary>
@@ -168,20 +181,9 @@
         /// </summary>
         public short ConveyorNo { get; set; }
 
-        /// <summary>
-        /// 鎻℃墜淇″彿
-        /// </summary>
-        public bool HandShake { get; set; }
+        public byte Operate { get; set; }
 
-        /// <summary>
-        /// 澶嶄綅鎶ヨ
-        /// </summary>
-        public bool ClearAlarm { get; set; }
-
-        /// <summary>
-        /// 閫�鍥�
-        /// </summary>
-        public bool Return { get; set; }
+        public byte Undefined {  get; set; }
 
         /// <summary>
         /// 浠诲姟鍙�
@@ -214,13 +216,35 @@
         public short Sapre2 { get; set; }
 
         /// <summary>
-        /// 璇锋眰淇″彿
+        /// 浜や簰淇″彿
         /// </summary>
-        public bool STB { get; set; }
+        public byte Signal { get; set; }
+
 
         /// <summary>
-        /// 鍝嶅簲淇″彿
+        /// 棰勭暀
         /// </summary>
-        public bool ACK { get; set; }
+        public byte Undefined2 { get; set; }
+    }
+
+    public class W_ConveyorLineOperate
+    {
+        /// <summary>
+        /// 鎻℃墜淇″彿
+        /// </summary>
+        [BoolIndex(0)]
+        public bool HandShake { get; set; }
+
+        /// <summary>
+        /// 澶嶄綅鎶ヨ
+        /// </summary>
+        [BoolIndex(1)]
+        public bool ClearAlarm { get; set; }
+
+        /// <summary>
+        /// 閫�鍥�
+        /// </summary>
+        [BoolIndex(2)]
+        public bool Return { get; set; }
     }
 }

--
Gitblit v1.9.3