Exemple #1
0
 /// <summary>
 /// Check if the given EVSE identification is member of this charging station group.
 /// </summary>
 /// <param name="EVSEId">The unique identification of an EVSE.</param>
 public Boolean ContainsEVSEId(EVSE_Id EVSEId)
 => ChargingStations.Any(ChargingStation => ChargingStation.EVSEIds.Contains(EVSEId));
Exemple #2
0
 /// <summary>
 /// Check if the given EVSE is member of this charging station group.
 /// </summary>
 /// <param name="EVSE">An EVSE.</param>
 public Boolean ContainsEVSE(EVSE EVSE)
 => ChargingStations.Any(ChargingStation => ChargingStation.EVSEIds.Contains(EVSE.Id));