Przeglądaj źródła

新增 一张图智慧物联 获取测报灯列表接口

zhaiyifei 8 miesięcy temu
rodzic
commit
c45e5fa12a

+ 14 - 0
src/main/java/com/yunfeiyun/agmp/iot/common/util/dev/DevTypeUtil.java

@@ -126,4 +126,18 @@ public class DevTypeUtil {
     public static String[] getGssqTypes(){
         return new String[]{IotDeviceDictConst.TYPE_XPH_YF_GSSQ, IotDeviceDictConst.TYPE_ADZN_GSSQ};
     }
+
+    public static String[] getRecogCbdypes(){
+        return new String[]{
+                IotDeviceDictConst.TYPE_YF_CBD, IotDeviceDictConst.TYPE_YF_SDCBD,
+                IotDeviceDictConst.TYPE_YF_XCT
+        };
+    }
+
+    public static String[] getAllCbdypes(){
+        return new String[]{
+                IotDeviceDictConst.TYPE_YF_CBD, IotDeviceDictConst.TYPE_YF_SDCBD,
+                IotDeviceDictConst.TYPE_YF_XCT, IotDeviceDictConst.TYPE_YF_GKCBD
+        };
+    }
 }