From b51ba798274bee2439e0ae815ec1fa2bbf6b7808 Mon Sep 17 00:00:00 2001 From: hwh <332078369@qq.com> Date: 星期五, 13 九月 2024 08:50:23 +0800 Subject: [PATCH] 写入值 --- Admin.NET/WCS.Application/Hub/IPlcHub.cs | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/Admin.NET/WCS.Application/Hub/IPlcHub.cs b/Admin.NET/WCS.Application/Hub/IPlcHub.cs index a026a67..74c3350 100644 --- a/Admin.NET/WCS.Application/Hub/IPlcHub.cs +++ b/Admin.NET/WCS.Application/Hub/IPlcHub.cs @@ -27,6 +27,25 @@ /// </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; } } } -- Gitblit v1.8.0