|
|
@@ -20,7 +20,7 @@ public class FireLaborUtil {
|
|
|
private static final String All_REGISTER="00 24";
|
|
|
|
|
|
|
|
|
- public static final Map<String, String> statusMap = new HashMap<>();
|
|
|
+ private static final Map<String, String> statusMap = new HashMap<>();
|
|
|
static {
|
|
|
statusMap.put("00","无事件");
|
|
|
statusMap.put("01","火警");
|
|
|
@@ -33,7 +33,7 @@ public class FireLaborUtil {
|
|
|
* 静态map,用于存储 寄存器状态说明
|
|
|
*
|
|
|
*/
|
|
|
- public static final Map<Integer, String> myMap_0 = new HashMap<>();
|
|
|
+ private static final Map<Integer, String> myMap_0 = new HashMap<>();
|
|
|
static {
|
|
|
myMap_0.put(1, "01 02");
|
|
|
myMap_0.put(2, "03 04");
|