给OPCUC后台服务添加了更新类型

This commit is contained in:
2025-07-10 17:16:15 +08:00
parent d360e583d2
commit 310a7f8674
8 changed files with 478 additions and 236 deletions

View File

@@ -100,6 +100,12 @@ public partial class VariableData : ObservableObject
[ObservableProperty]
private PollLevelType pollLevelType = PollLevelType.ThirtySeconds;
/// <summary>
/// OPC UA更新类型例如轮询或订阅。
/// </summary>
[ObservableProperty]
private OpcUaUpdateType opcUaUpdateType = OpcUaUpdateType.OpcUaPoll;
/// <summary>
/// 最后一次轮询时间。
/// </summary>