示例#1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = 17;
         hash = hash * 23 + DynamicLimiterFault.GetHashCode();
         hash = hash * 23 + ExtendedDataFault.GetHashCode();
         hash = hash * 23 + NavigationFault.GetHashCode();
         hash = hash * 23 + PCSFault.GetHashCode();
         return(hash);
     }
 }
示例#2
0
        public override bool Equals(object obj)
        {
            KingpinFaultDiagnosis other = obj as KingpinFaultDiagnosis;

            if (other == null)
            {
                return(false);
            }

            return(DynamicLimiterFault.Equals(other.DynamicLimiterFault) &&
                   ExtendedDataFault.Equals(other.ExtendedDataFault) &&
                   NavigationFault.Equals(other.NavigationFault) &&
                   PCSFault.Equals(other.PCSFault));
        }