public bool Equals(AtmosphereData other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(this.ReportDateTime == other.ReportDateTime && this.CabinStatus == other.CabinStatus && this.AmbientNoiseLevel == other.AmbientNoiseLevel && this.HumidityLevel == other.HumidityLevel && this.HumiditySetLevel == other.HumiditySetLevel && this.Temperature == other.Temperature && this.SetTemperatureDay == other.SetTemperatureDay && this.SetTemperatureNight == other.SetTemperatureNight && this.ReprocessBafflePosition == other.ReprocessBafflePosition && this.FanSpeed == other.FanSpeed && this.LiquidInOutflow == other.LiquidInOutflow && this.Pressure == other.Pressure && this.SetPressure == other.SetPressure && this.SeperatorSpeed == other.SeperatorSpeed && this.SeperatorFull == other.SeperatorFull && this.TempControlBafflePosition == other.TempControlBafflePosition); }
public AtmosphereData(AtmosphereData other) { ReportDateTime = other.ReportDateTime; CabinStatus = other.CabinStatus; AmbientNoiseLevel = other.AmbientNoiseLevel; HumidityLevel = other.HumidityLevel; HumiditySetLevel = other.HumiditySetLevel; Temperature = other.Temperature; SetTemperatureDay = other.SetTemperatureDay; SetTemperatureNight = other.SetTemperatureNight; ReprocessBafflePosition = other.ReprocessBafflePosition; FanSpeed = other.FanSpeed; LiquidInOutflow = other.LiquidInOutflow; Pressure = other.Pressure; SetPressure = other.SetPressure; SeperatorSpeed = other.SeperatorSpeed; SeperatorFull = other.SeperatorFull; TempControlBafflePosition = other.TempControlBafflePosition; }