/// <inheritdoc /> protected bool Equals(SatelliteVisibilityPeriod other) { return(Satellite.Equals(other.Satellite) && Start.Equals(other.Start) && End.Equals(other.End) && MaxElevation.Equals(other.MaxElevation) && MaxElevationTime.Equals(other.MaxElevationTime) && ReferencePosition.Equals(other.ReferencePosition)); }
/// <inheritdoc /> public override int GetHashCode() { unchecked { var hashCode = Satellite.GetHashCode(); hashCode = (hashCode * 397) ^ Start.GetHashCode(); hashCode = (hashCode * 397) ^ End.GetHashCode(); hashCode = (hashCode * 397) ^ MaxElevation.GetHashCode(); hashCode = (hashCode * 397) ^ MaxElevationTime.GetHashCode(); hashCode = (hashCode * 397) ^ ReferencePosition.GetHashCode(); return(hashCode); } }