林豪 左 1 jaar geleden
bovenliggende
commit
a926a91a02

+ 1 - 1
业务工程/分拣库/WCS.Entity.Protocol/Station/IStation523.cs

@@ -14,7 +14,7 @@ namespace WCS.Entity.Protocol.Station
         StationAlarm Alarm { get; set; }
 
         /// <summary>
-        /// 备用
+        /// 设备心跳信息号
         /// </summary>
         [Description("备用")]
         short RES { get; set; }

+ 3 - 1
业务工程/分拣库/WCS.WorkEngineering/Systems/分拣主线/满轮主线预写入目标地址.cs

@@ -28,6 +28,7 @@ namespace WCS.WorkEngineering.Systems
 
         public override void Do(Device<IStation523, IBCR83, IStation525> obj)
         {
+            obj.Data.RES = 1;
             //待处理条码组
             var pendingBcrList = obj.Data2.GetBcrCodeList().Where(x => !x.IsNullOrEmpty());
             //缓存条码组
@@ -53,7 +54,7 @@ namespace WCS.WorkEngineering.Systems
                 {
                     World.Log($"{bcrCode}:路径错误,当前位置{obj.Entity.Code},目标位置:{srmCode}", LogLevelEnum.High);
                     continue;
-                }   
+                }
                 var next = path.Points[1].Code;
                 WCS_TaskInfo taskInfo = null;
 
@@ -109,6 +110,7 @@ namespace WCS.WorkEngineering.Systems
                     obj.Data3.NextIndex++;
                 }
             }
+            obj.Data.RES = 1;
         }
 
         public override bool Select(Device dev)