From 2f0e0fa257c147a223d79ff8a52118768f43eee8 Mon Sep 17 00:00:00 2001 From: chengsc <Demo@DESKTOP-CPA90BF> Date: 星期三, 11 九月 2024 18:53:35 +0800 Subject: [PATCH] 修改输送线交互逻辑 --- Admin.NET/WCS.Application/Hub/PlcHub.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Admin.NET/WCS.Application/Hub/PlcHub.cs b/Admin.NET/WCS.Application/Hub/PlcHub.cs index 2cf316f..c8108e7 100644 --- a/Admin.NET/WCS.Application/Hub/PlcHub.cs +++ b/Admin.NET/WCS.Application/Hub/PlcHub.cs @@ -63,7 +63,7 @@ PLCTaskAction.boRefresh = context.BoRefresh.Value; await _sysConfigService.UpdateConfigValue("sys_Refresh", context.BoRefresh.Value); } - await _plcHubContext.Clients.All.UpdateService(new PLCServiceModel() { BoRunningState = PLCTaskAction.boRunningState, BoRefresh = PLCTaskAction.boRefresh, BoOffline = PLCTaskAction.boOffline }); + await _plcHubContext.Clients.All.UpdateService(new PLCServiceModel() { BoRunningState = PLCTaskAction.boRunningState, BoRefresh = PLCTaskAction.boRefresh, BoOffline = PLCTaskAction.boOffline, BoDemo = PLCTaskAction.boDemo}); } } public class PLCServiceModel @@ -75,4 +75,6 @@ public bool? BoRefresh { get; set; } + + public bool? BoDemo { get; set; } } \ No newline at end of file -- Gitblit v1.8.0