示例#1
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);
示例#2
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));
        }
        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)
        {
            return(Task.FromResult(RemoteStartResult.OutOfService));
        }
        Reserve(ChargingLocation ChargingLocation,
                ChargingReservationLevel ReservationLevel = ChargingReservationLevel.EVSE,
                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)

        {
            return(Task.FromResult(ReservationResult.OutOfService));
        }
示例#5
0
        Reserve(ChargingLocation ChargingLocation,
                ChargingReservationLevel ReservationLevel = ChargingReservationLevel.EVSE,
                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)

        {
            if (_ANetworkChargingStation == null)
            {
                return(ReservationResult.OutOfService);
            }

            return(await _ANetworkChargingStation.
                   Reserve(ChargingLocation,
                           ReservationLevel,
                           StartTime,
                           Duration,
                           ReservationId,
                           ProviderId,
                           RemoteAuthentication,
                           ChargingProduct,
                           AuthTokens,
                           eMAIds,
                           PINs,

                           Timestamp,
                           CancellationToken,
                           EventTrackingId,
                           RequestTimeout));
        }
示例#6
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);
 public Task <AuthStartResult> AuthorizeStart(LocalAuthentication LocalAuthentication, ChargingLocation ChargingLocation = null, ChargingProduct ChargingProduct = null, ChargingSession_Id?SessionId = null, ChargingSession_Id?CPOPartnerSessionId = null, ChargingStationOperator_Id?OperatorId = null, DateTime?Timestamp = null, CancellationToken?CancellationToken = null, EventTracking_Id EventTrackingId = null, TimeSpan?RequestTimeout = null)
 {
     throw new NotImplementedException();
 }
示例#8
0
 public Task <RemoteStartResult> 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)
 {
     throw new NotImplementedException();
 }
示例#9
0
 public Task <ReservationResult> Reserve(ChargingLocation ChargingLocation, ChargingReservationLevel ReservationLevel = ChargingReservationLevel.EVSE, 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 <uint> PINs = null, DateTime?Timestamp = null, CancellationToken?CancellationToken = null, EventTracking_Id EventTrackingId = null, TimeSpan?RequestTimeout = null)
 {
     throw new NotImplementedException();
 }