Search in sources :

Example 1 with SetAlarmNotificationsRequestDto

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();
}
Also used : SetAlarmNotificationsRequestDto(org.opensmartgridplatform.dto.valueobjects.smartmetering.SetAlarmNotificationsRequestDto)

Aggregations

SetAlarmNotificationsRequestDto (org.opensmartgridplatform.dto.valueobjects.smartmetering.SetAlarmNotificationsRequestDto)1