Exemplo n.º 1
0
        PullEVSEStatus(this IEMPClient IEMPClient,
                       Provider_Id?ProviderId           = null,
                       GeoCoordinate?SearchCenter       = null,
                       Single DistanceKM                = 0f,
                       EVSEStatusTypes?EVSEStatusFilter = null,

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


        => IEMPClient.PullEVSEStatus(new PullEVSEStatusRequest(ProviderId ?? IEMPClient.DefaultProviderId.Value,
                                                               SearchCenter,
                                                               DistanceKM,
                                                               EVSEStatusFilter,

                                                               Timestamp,
                                                               CancellationToken,
                                                               EventTrackingId,
                                                               RequestTimeout ?? IEMPClient.RequestTimeout));
Exemplo n.º 2
0
        PullEVSEStatus(this IEMPClient EMPClient,
                       Provider_Id ProviderId,
                       GeoCoordinates?SearchCenter      = null,
                       Single?DistanceKM                = null,
                       EVSEStatusTypes?EVSEStatusFilter = null,
                       JObject CustomData               = null,

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

        => EMPClient.PullEVSEStatus(
            new PullEVSEStatusRequest(
                ProviderId,
                SearchCenter,
                DistanceKM,
                EVSEStatusFilter,
                CustomData,

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