/// <summary>
 /// Return the HashCode of this object.
 /// </summary>
 /// <returns>The HashCode of this object.</returns>
 public override Int32 GetHashCode()
 {
     unchecked
     {
         return(ConnectorId.GetHashCode() * 5 ^
                ChargingProfile.GetHashCode());
     }
 }
 /// <summary>
 /// Return the HashCode of this object.
 /// </summary>
 /// <returns>The HashCode of this object.</returns>
 public override Int32 GetHashCode()
 {
     unchecked
     {
         return(ConnectorId.GetHashCode() * 5 ^
                Availability.GetHashCode());
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Return the HashCode of this object.
 /// </summary>
 /// <returns>The HashCode of this object.</returns>
 public override Int32 GetHashCode()
 {
     unchecked
     {
         return(ConnectorId.GetHashCode() * 5 ^
                Type.GetHashCode());
     }
 }
Ejemplo n.º 4
0
        /// <summary>
        /// Return the HashCode of this object.
        /// </summary>
        /// <returns>The HashCode of this object.</returns>
        public override Int32 GetHashCode()
        {
            unchecked
            {
                return(ConnectorId.GetHashCode() * 7 ^
                       Duration.GetHashCode() * 5 ^

                       (ChargingRateUnit.HasValue
                            ? ChargingRateUnit.GetHashCode()
                            : 0));
            }
        }
Ejemplo n.º 5
0
        /// <summary>
        /// Return the HashCode of this object.
        /// </summary>
        /// <returns>The HashCode of this object.</returns>
        public override Int32 GetHashCode()
        {
            unchecked
            {
                return(ConnectorId.GetHashCode() * 7 ^

                       (TransactionId.HasValue
                            ? TransactionId.GetHashCode()
                            : 0) * 5 ^

                       MeterValues.GetHashCode());
            }
        }
Ejemplo n.º 6
0
        /// <summary>
        /// Return the HashCode of this object.
        /// </summary>
        /// <returns>The HashCode of this object.</returns>
        public override Int32 GetHashCode()
        {
            unchecked
            {
                return(ReservationId.GetHashCode() * 23 ^
                       ConnectorId.GetHashCode() * 19 ^
                       ExpiryDate.GetHashCode() * 17 ^
                       IdTag.GetHashCode() * 11 ^

                       (ParentIdTag.HasValue
                            ? ParentIdTag.GetHashCode()
                            : 0));
            }
        }
Ejemplo n.º 7
0
        /// <summary>
        /// Return the HashCode of this object.
        /// </summary>
        /// <returns>The HashCode of this object.</returns>
        public override Int32 GetHashCode()
        {
            unchecked
            {
                return(ConnectorId.GetHashCode() * 13 ^
                       IdTag.GetHashCode() * 11 ^
                       StartTimestamp.GetHashCode() * 7 ^
                       MeterStart.GetHashCode() * 5 ^

                       (ReservationId.HasValue
                            ? ReservationId.GetHashCode()
                            : 0));
            }
        }
Ejemplo n.º 8
0
        /// <summary>
        /// Return the HashCode of this object.
        /// </summary>
        /// <returns>The HashCode of this object.</returns>
        public override Int32 GetHashCode()
        {
            unchecked
            {
                return(Timestamp.GetHashCode() * 11 ^
                       ConnectorStatus.GetHashCode() * 7 ^
                       EVSEId.GetHashCode() * 5 ^
                       ConnectorId.GetHashCode() * 3 ^

                       (CustomData != null
                            ? CustomData.GetHashCode()
                            : 0));
            }
        }
Ejemplo n.º 9
0
        /// <summary>
        /// Return the HashCode of this object.
        /// </summary>
        /// <returns>The HashCode of this object.</returns>
        public override Int32 GetHashCode()
        {
            unchecked
            {
                return(IdTag.GetHashCode() * 11 ^

                       (ConnectorId.HasValue
                            ? ConnectorId.GetHashCode() * 7
                            : 0) ^

                       (ChargingProfile != null
                            ? ChargingProfile.GetHashCode() * 5
                            : 0));
            }
        }
Ejemplo n.º 10
0
        /// <summary>
        /// Return the HashCode of this object.
        /// </summary>
        /// <returns>The HashCode of this object.</returns>
        public override Int32 GetHashCode()
        {
            unchecked
            {
                return(ConnectorId.GetHashCode() * 17 ^
                       Status.GetHashCode() * 13 ^
                       ErrorCode.GetHashCode() * 11 ^
                       Info.GetHashCode() * 7 ^

                       (StatusTimestamp.HasValue
                            ? StatusTimestamp.GetHashCode()
                            : 0) * 19 ^

                       ErrorCode.GetHashCode() * 5 ^
                       Info.GetHashCode());
            }
        }
        /// <summary>
        /// Return the HashCode of this object.
        /// </summary>
        /// <returns>The HashCode of this object.</returns>
        public override Int32 GetHashCode()
        {
            unchecked
            {
                return(Status.GetHashCode() * 11 ^

                       (ConnectorId != null
                           ? ConnectorId.GetHashCode() * 7
                           : 0) ^

                       (ScheduleStart.HasValue
                           ? ScheduleStart.GetHashCode() * 5
                           : 0) ^

                       (ChargingSchedule != null
                           ? ChargingSchedule.GetHashCode()
                           : 0));
            }
        }
        /// <summary>
        /// Return the HashCode of this object.
        /// </summary>
        /// <returns>The HashCode of this object.</returns>
        public override Int32 GetHashCode()
        {
            unchecked
            {
                return((ChargingProfileId != null
                            ? ChargingProfileId.GetHashCode() * 19
                            : 0) ^

                       (ConnectorId != null
                            ? ConnectorId.GetHashCode() * 11
                            : 0) ^

                       (ChargingProfilePurpose.HasValue
                            ? ChargingProfilePurpose.GetHashCode() * 7
                            : 0) ^

                       (StackLevel.HasValue
                            ? StackLevel.GetHashCode() * 5
                            : 0));
            }
        }