From a29a8d00dd9bbcde53814119ad4a081f3b4c6740 Mon Sep 17 00:00:00 2001
From: kaiyu <404897439@qq.com>
Date: Mon, 06 Sep 2021 13:24:28 +0800
Subject: [PATCH] screen-manage 插入设备的时候,判断组织是否含有型号并且添加默认报警值
---
screen-common/src/main/java/com/moral/constant/Constants.java | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 110 insertions(+), 6 deletions(-)
diff --git a/screen-common/src/main/java/com/moral/constant/Constants.java b/screen-common/src/main/java/com/moral/constant/Constants.java
index fb9db76..38b3a9a 100644
--- a/screen-common/src/main/java/com/moral/constant/Constants.java
+++ b/screen-common/src/main/java/com/moral/constant/Constants.java
@@ -85,18 +85,18 @@
public static final String DELETE_OPERATE_TYPE = "3";
/*
- * ���������������������������������������
- * */
+ * ���������������������������������������
+ * */
public static final String FORMULA_PLACEHOLDER = "{0}";
/*
- * ������������������
- * */
+ * ������������������
+ * */
public static final String SYSTEM_DICT_TYPE_UNIT = "unit";
/*
- * ������������������
- * */
+ * ������������������
+ * */
public static final String SYSTEM_DICT_TYPE_PROFESSION = "profession";
/*
@@ -114,5 +114,109 @@
* */
public static final String SYSTEM_DICT_TYPE_PURCHASER = "purchaser";
+ /*
+ * ������������������������
+ * */
+ public static final String UN_ADJUST = "unadjust";
+ /*
+ * ���������������������
+ * */
+ public static final String DEVICE_STATE_OFFLINE = "0";
+
+ /*
+ * ������code
+ * */
+ public static final String SENSOR_CODE_O3 = "a05024";
+
+ /*
+ * vocs code
+ * */
+ public static final String SENSOR_CODE_VOCS = "a99054";
+
+ /*
+ * ������code
+ * */
+ public static final String SENSOR_CODE_TEMP = "a01001";
+
+ /*
+ * ������code
+ * */
+ public static final String SENSOR_CODE_WIND_DIR = "a01008";
+
+ /*
+ * ������code
+ * */
+ public static final String SENSOR_CODE_WIND_SPEED = "a01007";
+
+ /*
+ * ������������code
+ * */
+ public static final String SENSOR_CODE_CO = "a21005";
+
+ /*
+ * PM2.5 code
+ * */
+ public static final String SENSOR_CODE_PM25 = "a34004";
+
+ /*
+ * PM10 code
+ * */
+ public static final String SENSOR_CODE_PM10 = "a34002";
+
+ /*
+ * SO2 code
+ * */
+ public static final String SENSOR_CODE_SO2 = "a21026";
+
+ /*
+ * NO2 code
+ * */
+ public static final String SENSOR_CODE_NO2 = "a21004";
+
+ /*
+ * ������ code
+ * */
+ public static final String SENSOR_CODE_LON = "flylon";
+
+ /*
+ * ������ code
+ * */
+ public static final String SENSOR_CODE_LAT = "flylat";
+
+ /**
+ * The Constant NULL_VALUE.
+ */
+ public static final String NULL_VALUE = "N/V";
+
+ /*
+ * ������������������������,������
+ * */
+ public static final String MARKER_BIT_TRUE = "N";
+
+ /*
+ * ������������������������,���������������
+ * */
+ public static final String MARKER_BIT_FALSE = "H";
+
+ /*
+ * ������������������������������������������key������
+ * */
+ public static final String MARKER_BIT_KEY = "Flag";
+
+ /*
+ * ������������������������
+ * */
+ public static final String SENSOR_CODE_SPECIAL_BATCH = "PORRST";
+
+ /*
+ * ������������������������������
+ * */
+ public static final String SPECIAL_DEVICE_CAR = "0";
+
+ /*
+ * ������������������������������
+ * */
+ public static final String SPECIAL_DEVICE_UAV = "1";
+
}
--
Gitblit v1.8.0