将PollLevelType类型改为int类型

This commit is contained in:
2025-09-05 19:59:21 +08:00
parent 8b86f079e5
commit 6e123b47cc
16 changed files with 88 additions and 146 deletions

View File

@@ -73,7 +73,7 @@ public partial class VariableItemViewModel : ObservableObject
/// 用于决定数据采集的频率(如:高、中、低)。
/// </summary>
[ObservableProperty]
private PollLevelType _pollLevel=PollLevelType.ThirtySeconds;
private int _pollLevel = 30000; // ThirtySeconds
/// <summary>
/// 获取或设置一个值,该值指示此变量是否被激活。