|
|
@@ -1166,6 +1166,7 @@ public class HxpStockServiceImpl implements IHxpStockService {
|
|
|
warningNoticeLogDto.setVoiceBroadcast(1);
|
|
|
remoteLaboratoryService.updateWarningNoticeLog(warningNoticeLogDto);
|
|
|
Long id = hardwareByType.getData().getId();
|
|
|
+ logger.info("发送声光报警灯打开命令:{}",id);
|
|
|
remoteLaboratoryService.controlDevice(id, 1);
|
|
|
|
|
|
// 默认一个实验室只触发一个报警器
|
|
|
@@ -1183,6 +1184,7 @@ public class HxpStockServiceImpl implements IHxpStockService {
|
|
|
scheduledExecutorService.schedule(new TimerTask() {
|
|
|
@Override
|
|
|
public void run() {
|
|
|
+ logger.info("发送声光报警灯关闭命令:{}",id);
|
|
|
remoteLaboratoryService.controlDevice(id, 0);
|
|
|
// 自动处理声光报警状态
|
|
|
//HxpAlarmRecord hxpAlarmRecord1 = new HxpAlarmRecord();
|