class GetPowerQualityProfileCommandExecutor extends AbstractCommandExecutor<GetPowerQualityProfileRequestDataDto, GetPowerQualityProfileResponseDto> {

    @Override
    public GetPowerQualityProfileResponseDto execute(DlmsConnectionManager conn, DlmsDevice device,
            GetPowerQualityProfileRequestDataDto getPowerQualityProfileRequestDataDto) throws ProtocolAdapterException {

        if (device.isSelectiveAccessSupported()) {
            return this.getPowerQualityProfileSelectiveAccessHandler
                    .handle(conn, device, getPowerQualityProfileRequestDataDto);
        } else {
            return this.getPowerQualityProfileNoSelectiveAccessHandler
                    .handle(conn, device, getPowerQualityProfileRequestDataDto);
        }
    }

    public  GetPowerQualityProfileCommandExecutor();

}