Beispiel #1
0
 public Asp330TestLiIonBatteryCheck(Asp330TestLiIonBatteryCheck that)
 {
     Asp330TestId   = that.Asp330TestId;
     ResultCheckBox = that.ResultCheckBox;
     ThresholdSecondsAboveCharge    = that.ThresholdSecondsAboveCharge;
     ThresholdSecondsAboveDischarge = that.ThresholdSecondsAboveDischarge;
     BatteryDischargeTestPassed     = that.BatteryDischargeTestPassed;
     BatteryChargeTestPassed        = that.BatteryChargeTestPassed;
     BatteryAlarmsCheckPassed       = that.BatteryAlarmsCheckPassed;
 }
Beispiel #2
0
 public bool Equals(Asp330TestLiIonBatteryCheck that)
 {
     if (that is null)
     {
         return(false);
     }
     if (ReferenceEquals(this, that))
     {
         return(true);
     }
     if (!Asp330TestId.Equals(that.Asp330TestId))
     {
         return(false);
     }
     if (!ResultCheckBox.Equals(that.ResultCheckBox))
     {
         return(false);
     }
     if (!ThresholdSecondsAboveCharge.Equals(that.ThresholdSecondsAboveCharge))
     {
         return(false);
     }
     if (!ThresholdSecondsAboveDischarge.Equals(that.ThresholdSecondsAboveDischarge))
     {
         return(false);
     }
     if (!BatteryDischargeTestPassed.Equals(that.BatteryDischargeTestPassed))
     {
         return(false);
     }
     if (!BatteryChargeTestPassed.Equals(that.BatteryChargeTestPassed))
     {
         return(false);
     }
     if (!BatteryAlarmsCheckPassed.Equals(that.BatteryAlarmsCheckPassed))
     {
         return(false);
     }
     return(true);
 }