Пример #1
0
        RemoteStart(ChargingLocation ChargingLocation,
                    ChargingProduct ChargingProduct           = null,
                    ChargingReservation_Id?ReservationId      = null,
                    ChargingSession_Id?SessionId              = null,
                    eMobilityProvider_Id?ProviderId           = null,
                    RemoteAuthentication RemoteAuthentication = null,

                    DateTime?Timestamp = null,
                    CancellationToken?CancellationToken = null,
                    EventTracking_Id EventTrackingId    = null,
                    TimeSpan?RequestTimeout             = null)
        {
            if (_ANetworkChargingStation == null)
            {
                return(RemoteStartResult.OutOfService);
            }

            return(await _ANetworkChargingStation.
                   RemoteStart(ChargingLocation.FromEVSEId(Id),
                               ChargingProduct,
                               ReservationId,
                               SessionId,
                               ProviderId,
                               RemoteAuthentication,

                               Timestamp,
                               CancellationToken,
                               EventTrackingId,
                               RequestTimeout));
        }
Пример #2
0
        Reserve(DateTime?StartTime = null,
                TimeSpan?Duration  = null,
                ChargingReservation_Id?ReservationId      = null,
                eMobilityProvider_Id?ProviderId           = null,
                RemoteAuthentication RemoteAuthentication = null,
                ChargingProduct ChargingProduct           = null,
                IEnumerable <Auth_Token> AuthTokens       = null,
                IEnumerable <eMobilityAccount_Id> eMAIds  = null,
                IEnumerable <UInt32> PINs = null,

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


        => Reserve(ChargingLocation.FromEVSEId(Id),
                   ChargingReservationLevel.EVSE,
                   StartTime,
                   Duration,
                   ReservationId,
                   ProviderId,
                   RemoteAuthentication,
                   ChargingProduct,
                   AuthTokens,
                   eMAIds,
                   PINs,

                   Timestamp,
                   CancellationToken,
                   EventTrackingId,
                   RequestTimeout);
Пример #3
0
        RemoteStart(ChargingProduct ChargingProduct           = null,
                    ChargingReservation_Id?ReservationId      = null,
                    ChargingSession_Id?SessionId              = null,
                    eMobilityProvider_Id?ProviderId           = null,
                    RemoteAuthentication RemoteAuthentication = null,

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


        => RemoteStart(ChargingLocation.FromEVSEId(Id),
                       ChargingProduct,
                       ReservationId,
                       SessionId,
                       ProviderId,
                       RemoteAuthentication,

                       Timestamp,
                       CancellationToken,
                       EventTrackingId,
                       RequestTimeout);