Commit 2b92be96 authored by 王晓倩's avatar 王晓倩

定时巡查去掉标定柜,只巡查老化柜,去掉不用的页面

parent 30fe2086
......@@ -32,22 +32,21 @@ public class EquipmentDataCollection {
@Autowired
private ITEquipmentAlarmDataService tEquipmentAlarmDataService;
/**
* 1.老化柜、标定柜巡查
* 1.老化柜巡查
* 2.老化层断电
*/
@GetMapping("/equipmentPatrol")
public void equipmentPatrol() {
List<String> type = new ArrayList<>();
type.add("1");
type.add("2");
List<TEquipmentInfo> equipmentInfos = tEquipmentInfoService.selectTEquipmentList(type);
TEquipmentInfo equipmentInfo = new TEquipmentInfo();
equipmentInfo.setfEquipmentType("1");
List<TEquipmentInfo> equipmentInfos = tEquipmentInfoService.selectTEquipmentInfoList(equipmentInfo);
try {
if (equipmentInfos.size() == 0) {
log.error("设备列表查询结果为空");
throw new Exception("无设备信息!");
log.error("老化柜列表查询结果为空");
throw new Exception("无老化柜信息!");
}
/* 1.老化柜、标定柜通讯 */
/* 1.老化柜通讯 */
String sendMsg1 = "00010000000601040000000A";
String receiveMsg1 = null;
TEquipmentAlarmData alarmData = new TEquipmentAlarmData();
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment