use of org.opensmartgridplatform.adapter.ws.schema.smartmetering.configuration.SetSpecialDaysRequest in project open-smart-grid-platform by OSGP.
the class SetSpecialDaysRequestFactory method fromParameterMap.
public static SetSpecialDaysRequest fromParameterMap(final Map<String, String> requestParameters) {
final SetSpecialDaysRequest setSpecialDaysRequest = new SetSpecialDaysRequest();
setSpecialDaysRequest.setDeviceIdentification(requestParameters.get(PlatformSmartmeteringKeys.KEY_DEVICE_IDENTIFICATION));
setSpecialDaysRequest.setSpecialDaysRequestData(fetchSpecialDays());
return setSpecialDaysRequest;
}
Aggregations