修改NCC故障信息发送到的ws
This commit is contained in:
parent
5d289fbc97
commit
3f4cccbeed
@ -93,7 +93,7 @@ public class NccAlarmService {
|
|||||||
repository.addAtsAlarm(atsAlarm);
|
repository.addAtsAlarm(atsAlarm);
|
||||||
SocketMessageVO<Collection<AtsAlarm>> messageVO =
|
SocketMessageVO<Collection<AtsAlarm>> messageVO =
|
||||||
SocketMessageFactory.buildAtsAlarmMessage(simulation.getId(), Collections.singletonList(atsAlarm));
|
SocketMessageFactory.buildAtsAlarmMessage(simulation.getId(), Collections.singletonList(atsAlarm));
|
||||||
stompMessageService.sendToUser(simulation.getCreatorId(), messageVO);
|
stompMessageService.sendToUser(simulation.getSimulationUserIds(), messageVO);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user