1. 增加NB通道支持

2. 控制器通信协议更新2.0版本
3. 增加省ID,北斗通播ID配置文件
This commit is contained in:
黄昕 2023-11-09 17:43:11 +08:00
parent a67b1840aa
commit c44b691d8e
2 changed files with 11 additions and 18 deletions

View File

@ -1,7 +1,6 @@
package com.zjyr.beidouservice.common.impl;
import com.zjyr.beidouservice.common.EnumerationBase;
import com.zjyr.beidouservice.constenum.AlarmTypeEnum;
public enum AlarmTypeName implements EnumerationBase {
@ -24,17 +23,6 @@ public enum AlarmTypeName implements EnumerationBase {
this.desc = desc;
}
@Override
public Integer getValue() {
return this.code;
}
@Override
public String getDescription() {
return this.desc;
}
public static String getByCode(Integer code) {
AlarmTypeName[] values = AlarmTypeName.values();
for (AlarmTypeName v : values) {
@ -44,4 +32,14 @@ public enum AlarmTypeName implements EnumerationBase {
}
return null;
}
@Override
public Integer getValue() {
return this.code;
}
@Override
public String getDescription() {
return this.desc;
}
}

View File

@ -25,11 +25,6 @@ public interface DeviceService {
*/
DeviceByIdRespDTO getDeviceByDeviceId(DeviceSearchDTO deviceSearchDTO);
/**
* 根据设备任务更新设备告警状态
*
* @param deviceTaskDOS
*/
void refreshDeviceAlarmStatus(List<AlarmDeviceTaskDO> deviceTaskDOS);
Integer getDeviceBeidouIdBySeqId(Integer seqId);