Ejemplo n.º 1
0
        PullEVSEData(this IEMPClient IEMPClient,
                     Provider_Id?ProviderId     = null,
                     GeoCoordinate?SearchCenter = null,
                     Single DistanceKM          = 0f,
                     DateTime?LastCall          = null,
                     GeoCoordinatesResponseFormats?GeoCoordinatesResponseFormat = GeoCoordinatesResponseFormats.DecimalDegree,
                     IEnumerable <Operator_Id> OperatorIdFilter = null,
                     IEnumerable <Country> CountryCodeFilter    = null,

                     DateTime?Timestamp = null,
                     CancellationToken?CancellationToken = null,
                     EventTracking_Id EventTrackingId    = null,
                     TimeSpan?RequestTimeout             = null)


        => IEMPClient.PullEVSEData(new PullEVSEDataRequest(ProviderId ?? IEMPClient.DefaultProviderId.Value,
                                                           SearchCenter,
                                                           DistanceKM,
                                                           LastCall,
                                                           GeoCoordinatesResponseFormat,
                                                           OperatorIdFilter,
                                                           CountryCodeFilter,

                                                           Timestamp,
                                                           CancellationToken,
                                                           EventTrackingId,
                                                           RequestTimeout ?? IEMPClient.RequestTimeout));
Ejemplo n.º 2
0
        PullEVSEData(this IEMPClient EMPClient,
                     Provider_Id ProviderId,
                     DateTime?LastCall = null,

                     IEnumerable <Operator_Id> OperatorIdFilter                 = null,
                     IEnumerable <Country> CountryCodeFilter                    = null,
                     IEnumerable <AccessibilityTypes> AccessibilityFilter       = null,
                     IEnumerable <AuthenticationModes> AuthenticationModeFilter = null,
                     IEnumerable <CalibrationLawDataAvailabilities> CalibrationLawDataAvailabilityFilter = null,
                     Boolean?RenewableEnergyFilter     = null,
                     Boolean?IsHubjectCompatibleFilter = null,
                     Boolean?IsOpen24HoursFilter       = null,

                     GeoCoordinates?SearchCenter = null,
                     Single?DistanceKM           = null,
                     GeoCoordinatesFormats?GeoCoordinatesResponseFormat = GeoCoordinatesFormats.DecimalDegree,

                     UInt32?Page = null,
                     UInt32?Size = null,
                     IEnumerable <String> SortOrder = null,
                     JObject CustomData             = null,

                     DateTime?Timestamp = null,
                     CancellationToken?CancellationToken = null,
                     EventTracking_Id EventTrackingId    = null,
                     TimeSpan?RequestTimeout             = null)

        => EMPClient.PullEVSEData(
            new PullEVSEDataRequest(
                ProviderId,
                LastCall,

                OperatorIdFilter,
                CountryCodeFilter,
                AccessibilityFilter,
                AuthenticationModeFilter,
                CalibrationLawDataAvailabilityFilter,
                RenewableEnergyFilter,
                IsHubjectCompatibleFilter,
                IsOpen24HoursFilter,

                SearchCenter,
                DistanceKM,
                GeoCoordinatesResponseFormat,

                Page,
                Size,
                SortOrder,
                CustomData,

                Timestamp,
                CancellationToken,
                EventTrackingId,
                RequestTimeout ?? EMPClient.RequestTimeout));