From 8e42d0c1b7ae36cff2e7c69999117911a4b6f300 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期四, 26 三月 2026 17:31:06 +0800
Subject: [PATCH] feat(WCS): 完善 WIDESEAWCS_Tasks 模块代码注释

---
 Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneTaskCommand.cs |   77 +++++++++++++++++++++++++-------------
 1 files changed, 51 insertions(+), 26 deletions(-)

diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneTaskCommand.cs b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneTaskCommand.cs
index 15c31c5..7534971 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneTaskCommand.cs
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneTaskCommand.cs
@@ -1,83 +1,108 @@
-锘�#region << 鐗� 鏈� 娉� 閲� >>
-/*----------------------------------------------------------------
- * 鍛藉悕绌洪棿锛歐IDESEAWCS_Tasks.StackerCraneJob
- * 鍒涘缓鑰咃細鑳$搴�
- * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36
- * 鐗堟湰锛歏1.0.0
- * 鎻忚堪锛�
- *
- * ----------------------------------------------------------------
- * 淇敼浜猴細
- * 淇敼鏃堕棿锛�
- * 鐗堟湰锛歏1.0.1
- * 淇敼璇存槑锛�
- * 
- *----------------------------------------------------------------*/
-#endregion << 鐗� 鏈� 娉� 閲� >>
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
 using WIDESEAWCS_Model.Models;
 using WIDESEAWCS_QuartzJob.DeviceBase;
 
 namespace WIDESEAWCS_Tasks.StackerCraneJob
 {
+    /// <summary>
+    /// 鍫嗗灈鏈轰换鍔″懡浠ゆ暟鎹被
+    /// </summary>
+    /// <remarks>
+    /// 缁ф壙鑷� DeviceCommand锛岀敤浜庝笌鍫嗗灈鏈鸿繘琛� PLC 閫氫俊銆�
+    /// 鍖呭惈浠诲姟鍙枫�佷綔涓氱被鍨嬨�佽捣姝㈣鍒楀眰鍧愭爣绛夊瓧娈点��
+    /// 鏍囧噯鍛戒护鏍煎紡锛岀敤浜庡ぇ澶氭暟宸烽亾鐨勫爢鍨涙満銆�
+    /// </remarks>
     public class StackerCraneTaskCommand : DeviceCommand
     {
-        #region <Public Menber>
         /// <summary>
         /// 浣滀笟鍛戒护
         /// </summary>
+        /// <remarks>
+        /// 鎺у埗鍫嗗灈鏈虹殑鍔ㄤ綔锛�
+        /// - 1: 寮�濮嬫墽琛屼换鍔�
+        /// - 2: 浠诲姟瀹屾垚/鍋滄
+        /// </remarks>
         public short WorkAction { get; set; }
+
         /// <summary>
         /// 浠诲姟鍙�
         /// </summary>
+        /// <remarks>
+        /// WCS 鍒嗛厤鐨勪换鍔″敮涓�鏍囪瘑鍙枫��
+        /// </remarks>
         public int TaskNum { get; set; }
 
         /// <summary>
         /// 浣滀笟绫诲瀷
         /// </summary>
+        /// <remarks>
+        /// 鏍囪瘑浠诲姟鐨勭被鍨嬨��
+        /// </remarks>
         public short WorkType { get; set; }
 
         /// <summary>
-        /// 鏃犳晥瀛楁
+        /// 鏃犳晥瀛楁锛堜繚鐣欏瓧娈碉級
         /// </summary>
+        /// <remarks>
+        /// 鍘嗗彶閬楃暀瀛楁锛岀洰鍓嶄笉鍐嶄娇鐢ㄣ��
+        /// </remarks>
         [DataLength(6)]
         public string FieldName { get; set; } = "";
 
         /// <summary>
         /// 璧峰琛�
         /// </summary>
+        /// <remarks>
+        /// 浠诲姟鐨勮捣濮嬩綅缃�-琛屽潗鏍囷紙璐ф灦琛屽彿锛夈��
+        /// 鍏ュ簱鏃惰〃绀鸿揣鐗╂潵鑷摢涓綅缃��
+        /// </remarks>
         public short StartRow { get; set; }
 
         /// <summary>
         /// 璧峰鍒�
         /// </summary>
+        /// <remarks>
+        /// 浠诲姟鐨勮捣濮嬩綅缃�-鍒楀潗鏍囷紙璐ф灦鍒楀彿锛夈��
+        /// 鍏ュ簱鏃惰〃绀鸿揣鐗╂潵鑷摢涓綅缃��
+        /// </remarks>
         public short StartColumn { get; set; }
 
         /// <summary>
         /// 璧峰灞�
         /// </summary>
+        /// <remarks>
+        /// 浠诲姟鐨勮捣濮嬩綅缃�-灞傚潗鏍囷紙璐ф灦灞傚彿锛夈��
+        /// 鍏ュ簱鏃惰〃绀鸿揣鐗╂潵鑷摢涓綅缃��
+        /// </remarks>
         public short StartLayer { get; set; }
 
         /// <summary>
         /// 鐩爣琛�
         /// </summary>
+        /// <remarks>
+        /// 浠诲姟鐨勭洰鏍囦綅缃�-琛屽潗鏍囷紙璐ф灦琛屽彿锛夈��
+        /// 鍏ュ簱鏃惰〃绀鸿揣鐗╁瓨鏀惧埌鍝釜浣嶇疆銆�
+        /// 鍑哄簱鏃惰〃绀鸿揣鐗╀粠鍝釜浣嶇疆鍙栧嚭銆�
+        /// </remarks>
         public short EndRow { get; set; }
 
         /// <summary>
         /// 鐩爣鍒�
         /// </summary>
+        /// <remarks>
+        /// 浠诲姟鐨勭洰鏍囦綅缃�-鍒楀潗鏍囷紙璐ф灦鍒楀彿锛夈��
+        /// 鍏ュ簱鏃惰〃绀鸿揣鐗╁瓨鏀惧埌鍝釜浣嶇疆銆�
+        /// 鍑哄簱鏃惰〃绀鸿揣鐗╀粠鍝釜浣嶇疆鍙栧嚭銆�
+        /// </remarks>
         public short EndColumn { get; set; }
 
         /// <summary>
         /// 鐩爣灞�
         /// </summary>
+        /// <remarks>
+        /// 浠诲姟鐨勭洰鏍囦綅缃�-灞傚潗鏍囷紙璐ф灦灞傚彿锛夈��
+        /// 鍏ュ簱鏃惰〃绀鸿揣鐗╁瓨鏀惧埌鍝釜浣嶇疆銆�
+        /// 鍑哄簱鏃惰〃绀鸿揣鐗╀粠鍝釜浣嶇疆鍙栧嚭銆�
+        /// </remarks>
         public short EndLayer { get; set; }
-
-        #endregion <Public Menber>
     }
 }

--
Gitblit v1.9.3