From 3c34c0dfd71eb667a798eb4cdd27c8c2db293619 Mon Sep 17 00:00:00 2001 From: "David P.G" Date: Sat, 5 Jul 2025 13:04:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0PollLevelType=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Enums/PollLevelType.cs | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Enums/PollLevelType.cs diff --git a/Enums/PollLevelType.cs b/Enums/PollLevelType.cs new file mode 100644 index 0000000..369e693 --- /dev/null +++ b/Enums/PollLevelType.cs @@ -0,0 +1,34 @@ +using System.ComponentModel; + +namespace PMSWPF.Enums +{ + public enum PollLevelType + { + [Description("10毫秒")] + TenMilliseconds = 10, + [Description("100毫秒")] + HundredMilliseconds = 100, + [Description("500毫秒")] + FiveHundredMilliseconds = 500, + [Description("1秒钟")] + OneSecond = 1000, + [Description("5秒钟")] + FiveSeconds = 5000, + [Description("10秒钟")] + TenSeconds = 10000, + [Description("20秒钟")] + TwentySeconds = 20000, + [Description("30秒钟")] + ThirtySeconds = 30000, + [Description("1分钟")] + OneMinute = 60000, + [Description("3分钟")] + ThreeMinutes = 180000, + [Description("5分钟")] + FiveMinutes = 300000, + [Description("10分钟")] + TenMinutes = 600000, + [Description("30分钟")] + ThirtyMinutes = 1800000 + } +} \ No newline at end of file