1,重新梳理了代码,将使用多线程,并实现了批量读取变量

2,添加OpcUa更新方式的修改对话框
3,修复了一些已知的Bug
4,删除了不必要的函数
This commit is contained in:
2025-07-13 16:22:07 +08:00
parent 82634f46c0
commit 6f16a1c4e4
22 changed files with 877 additions and 704 deletions

View File

@@ -89,7 +89,7 @@ public partial class App : Application
// 停止服务
Host.Services.GetRequiredService<S7BackgroundService>().StopService();
Host.Services.GetRequiredService<MqttBackgroundService>().StopService();
await Host.Services.GetRequiredService<OpcUaBackgroundService>().StopService();
Host.Services.GetRequiredService<OpcUaBackgroundService>().StopService();
await Host.StopAsync();
Host.Dispose();