From 3d2f1d836cd271a51f0c02b99f538070a783139d Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期一, 23 九月 2024 08:17:15 +0800
Subject: [PATCH] 增加WCS接受WMS下发任务的方法

---
 Admin.NET/WCS.Application/Hub/IPlcHub.cs |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/Admin.NET/WCS.Application/Hub/IPlcHub.cs b/Admin.NET/WCS.Application/Hub/IPlcHub.cs
index e3a92ab..580024e 100644
--- a/Admin.NET/WCS.Application/Hub/IPlcHub.cs
+++ b/Admin.NET/WCS.Application/Hub/IPlcHub.cs
@@ -27,11 +27,26 @@
         /// </summary>
         /// <param name="context"></param>
         /// <returns></returns>
-        Task PublicAlarm(WcsAlarmInfoOutput context);
+        Task PublicAlarm(List<WcsAlarmInfo> context);
         /// <summary>
         /// 淇敼鏈嶅姟鐘舵��
         /// </summary>
         /// <param name="context"></param>
         Task UpdateService(PLCServiceModel context);
+
+        /// <summary>
+        /// 涓嬪彂鎺у埗鍙颁綅缃俊鎭�
+        /// </summary>
+        /// <param name="context"></param>
+        /// <returns></returns>
+        Task PublicPosition(PlcPositionInfo context);
+    }
+    public class PlcPositionInfo
+    {
+        public string StationNum { get; set; }
+        public bool BoHaveItem { get; set; }
+        public PLCTypeEnum Type { get; set; }
+        public int BoxHeight { get; set; }
+        public string EndLocat { get; set; }
     }
 }

--
Gitblit v1.8.0