use of org.opensmartgridplatform.dto.valueobjects.smartmetering.SetAlarmNotificationsRequestDto in project open-smart-grid-platform by OSGP.
the class SetAlarmNotificationsCommandExecutor method fromBundleRequestInput.
@Override
public AlarmNotificationsDto fromBundleRequestInput(final ActionRequestDto bundleInput) throws ProtocolAdapterException {
this.checkActionRequestType(bundleInput);
final SetAlarmNotificationsRequestDto setAlarmNotificationsRequestDto = (SetAlarmNotificationsRequestDto) bundleInput;
return setAlarmNotificationsRequestDto.getAlarmNotifications();
}
Aggregations