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 | 47 ++++++++++++++++++++++++++++++++++++-----------
1 files changed, 36 insertions(+), 11 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 853de80..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";
@@ -147,12 +142,12 @@
/*
* ������code
* */
- public static final String SENSOR_CODE_WIND_DIR = "a01007";
+ public static final String SENSOR_CODE_WIND_DIR = "a01008";
/*
* ������code
* */
- public static final String SENSOR_CODE_WIND_SPEED = "a01008";
+ public static final String SENSOR_CODE_WIND_SPEED = "a01007";
/*
* ������������code
@@ -179,19 +174,49 @@
* */
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";
+ /*
+ * ������������������������������������������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