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 | 61 ++++++++++++++++++++++++------
1 files changed, 49 insertions(+), 12 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 116acc7..38b3a9a 100644
--- a/screen-common/src/main/java/com/moral/constant/Constants.java
+++ b/screen-common/src/main/java/com/moral/constant/Constants.java
@@ -120,11 +120,6 @@
public static final String UN_ADJUST = "unadjust";
/*
- * ���������������������
- * */
- public static final String TRANSITION = "transition";
-
- /*
* ���������������������
* */
public static final String DEVICE_STATE_OFFLINE = "0";
@@ -152,34 +147,76 @@
/*
* ������code
* */
- public static final String SENSOR_CODE_WIND_SPEED = "a01008";
+ public static final String SENSOR_CODE_WIND_SPEED = "a01007";
/*
* ������������code
* */
- public static final String SENSOR_CODE_CO= "a21005";
+ public static final String SENSOR_CODE_CO = "a21005";
/*
* PM2.5 code
* */
- public static final String SENSOR_CODE_PM25= "a34004";
+ public static final String SENSOR_CODE_PM25 = "a34004";
/*
* PM10 code
* */
- public static final String SENSOR_CODE_PM10= "a34002";
+ public static final String SENSOR_CODE_PM10 = "a34002";
/*
* SO2 code
* */
- public static final String SENSOR_CODE_SO2= "a21026";
+ public static final String SENSOR_CODE_SO2 = "a21026";
/*
* NO2 code
* */
- public static final String SENSOR_CODE_NO2= "a21004";
+ public static final String SENSOR_CODE_NO2 = "a21004";
- /** The Constant NULL_VALUE. */
+ /*
+ * ������ 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