public override int GetHashCode() { unchecked { var hashCode = (SwVersion != null ? SwVersion.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Api != null ? Api.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Date.GetHashCode(); hashCode = (hashCode * 397) ^ (Language != null ? Language.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Currency != null ? Currency.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Units != null ? Units.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Dst != null ? Dst.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Tz != null ? Tz.GetHashCode() : 0); hashCode = (hashCode * 397) ^ LastEnergyErase.GetHashCode(); hashCode = (hashCode * 397) ^ LastConfig.GetHashCode(); return(hashCode); } }