public bool Equals(MeasurementItem other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(FromDateTime.Equals(other.FromDateTime) && TillDateTime.Equals(other.TillDateTime) && Equals(Values, other.Values) && Equals(Indexes, other.Indexes) && Equals(Standards, other.Standards)); }
public bool Equals(Measurement other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Id.Equals(other.Id) && InstallationExternalId == other.InstallationExternalId && UpdateDateTime.Equals(other.UpdateDateTime) && FromDateTime.Equals(other.FromDateTime) && TillDateTime.Equals(other.TillDateTime) && Equals(Values, other.Values) && Equals(Indexes, other.Indexes) && Equals(Standards, other.Standards)); }