コード例 #1
0
        public ChargingTariffGroupAlreadyExists(ChargingStationOperator ChargingStationOperator,
                                                ChargingTariffGroup_Id ChargingTariffGroupId)

            : base(ChargingStationOperator.RoamingNetwork,
                   "The given charging tariff group identification '" + ChargingTariffGroupId + "' already exists within the given '" + ChargingStationOperator.Id + "' charging station operator!")

        {
        }
コード例 #2
0
        /// <summary>
        /// Parse the given string as a charging tariff identification.
        /// </summary>
        /// <param name="OperatorId">The unique identification of a charging station operator.</param>
        /// <param name="Suffix">The suffix of the charging tariff identification.</param>
        public static ChargingTariff_Id Parse(ChargingStationOperator_Id OperatorId,
                                              ChargingTariffGroup_Id TariffGroupId,
                                              String Suffix)

        => Parse(OperatorId.ToString(OperatorIdFormats.ISO_STAR) + "*T" + TariffGroupId + "_" + Suffix);