예제 #1
0
        RemoteStop(ChargingSession_Id SessionId,
                   ReservationHandling?ReservationHandling   = 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(RemoteStopResult.OutOfService(SessionId));
            }

            return(await _ANetworkChargingStation.
                   RemoteStop(SessionId,
                              ReservationHandling,
                              ProviderId,
                              RemoteAuthentication,

                              Timestamp,
                              CancellationToken,
                              EventTrackingId,
                              RequestTimeout));
        }
        RemoteStop(ChargingSession_Id SessionId,
                   ReservationHandling?ReservationHandling   = null,
                   eMobilityProvider_Id?ProviderId           = null,
                   RemoteAuthentication RemoteAuthentication = null,

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

        {
            return(Task.FromResult(RemoteStopResult.OutOfService(SessionId)));
        }