From 9695d76e16b79b036c7a821532d275ba1012021e Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期四, 05 九月 2024 10:41:26 +0800
Subject: [PATCH] 测点频率

---
 iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/enums/DataPointFreq.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/enums/Freq.java b/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/enums/DataPointFreq.java
similarity index 72%
rename from iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/enums/Freq.java
rename to iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/enums/DataPointFreq.java
index 4419c0a..9615258 100644
--- a/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/enums/Freq.java
+++ b/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/enums/DataPointFreq.java
@@ -4,11 +4,11 @@
 import lombok.Getter;
 
 /**
- * 频率类型
+ * 测点频率类型
  */
 @Getter
 @AllArgsConstructor
-public enum Freq {
+public enum DataPointFreq {
     NET10("NET10", 10),
     NET30("NET30", 30),
     NET60("NET60",60);
@@ -17,12 +17,12 @@
 
     private Integer value;
 
-    public static Freq getEumByCode(String code) {
+    public static DataPointFreq getEumByCode(String code) {
         if (code == null) {
             return null;
         }
 
-        for (Freq statusEnum : Freq.values()) {
+        for (DataPointFreq statusEnum : DataPointFreq.values()) {
             if (statusEnum.getCode().equals(code)) {
                 return statusEnum;
             }

--
Gitblit v1.9.3