演示调整
This commit is contained in:
parent
a06d680579
commit
99a391a7cd
@ -207,7 +207,7 @@ public class AlertMockService {
|
||||
track.setLineId(dto.getLineId());
|
||||
track.setTimestamp(System.currentTimeMillis() / 1000);
|
||||
CommonInfo commonInfo = DeviceStatusDataOperate.findFieldVal(msg, "common", CommonInfo.class);
|
||||
return this.alertInfoService.createAlert(AlertType.TRAIN_EB_ATP, AlertDeviceType.DEVICE_TYPE_TRAIN, commonInfo.getId(), track, "测试车组号", AlertDeviceType.DEVICE_TYPE_TRAIN, true);
|
||||
return this.alertInfoService.createAlert(AlertType.TRAIN_EB_ATP, AlertDeviceType.DEVICE_TYPE_TRACK, commonInfo.getId(), track, "测试车组号", AlertDeviceType.DEVICE_TYPE_TRAIN, true);
|
||||
|
||||
}
|
||||
default -> throw new IllegalStateException("Unexpected value: " + dto.getAlertType());
|
||||
|
Loading…
Reference in New Issue
Block a user