From 810c6d3a204615a12705f27d62cd7f765b4fdfaa Mon Sep 17 00:00:00 2001
From: bklLiudl <673013083@qq.com>
Date: 星期四, 12 九月 2024 08:23:20 +0800
Subject: [PATCH] Merge branch 'master' into liudl
---
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