コード例 #1
0
 public bool Equals(Asp330Sam that)
 {
     if (that is null)
     {
         return(false);
     }
     if (ReferenceEquals(this, that))
     {
         return(true);
     }
     if (!Asp330TestId.Equals(that.Asp330TestId))
     {
         return(false);
     }
     if (!SamSn.Equals(that.SamSn))
     {
         return(false);
     }
     if (!SamFirmware.Equals(that.SamFirmware))
     {
         return(false);
     }
     if (!MinsOfOp.Equals(that.MinsOfOp))
     {
         return(false);
     }
     if (!PumpSn.Equals(that.PumpSn))
     {
         return(false);
     }
     if (!SamBoardSn.Equals(that.SamBoardSn))
     {
         return(false);
     }
     if (!LastCalDate.Equals(that.LastCalDate))
     {
         return(false);
     }
     if (!Note.Equals(that.Note))
     {
         return(false);
     }
     if (!ResultCheckBox.Equals(that.ResultCheckBox))
     {
         return(false);
     }
     return(true);
 }
コード例 #2
0
 public bool Equals(Asp330Device that)
 {
     if (that is null)
     {
         return(false);
     }
     if (ReferenceEquals(this, that))
     {
         return(true);
     }
     if (!Asp330TestId.Equals(that.Asp330TestId))
     {
         return(false);
     }
     if (!Asp330Sn.Equals(that.Asp330Sn))
     {
         return(false);
     }
     if (!Asp330Model.Equals(that.Asp330Model))
     {
         return(false);
     }
     if (!SamSn.Equals(that.SamSn))
     {
         return(false);
     }
     if (!LcdContrast.Equals(that.LcdContrast))
     {
         return(false);
     }
     if (!CpuSn.Equals(that.CpuSn))
     {
         return(false);
     }
     if (!UimSn.Equals(that.UimSn))
     {
         return(false);
     }
     if (!PimSn.Equals(that.PimSn))
     {
         return(false);
     }
     if (!Asp330Firmware.Equals(that.Asp330Firmware))
     {
         return(false);
     }
     if (!BootVersion.Equals(that.BootVersion))
     {
         return(false);
     }
     if (!LangVersion.Equals(that.LangVersion))
     {
         return(false);
     }
     if (!ConfigVersion.Equals(that.ConfigVersion))
     {
         return(false);
     }
     if (!ConfigFileNumber.Equals(that.ConfigFileNumber))
     {
         return(false);
     }
     if (!Note.Equals(that.Note))
     {
         return(false);
     }
     if (!ResultCheckBox.Equals(that.ResultCheckBox))
     {
         return(false);
     }
     return(true);
 }