Clarify between equatorial and relative AN/DN.
[VesselSimulator.git] / KerbalEngineer / Flight / Readouts / Orbital / TimeToEquatorialAscendingNode.cs
blob:a/KerbalEngineer/Flight/Readouts/Orbital/TimeToEquatorialAscendingNode.cs -> blob:b/KerbalEngineer/Flight/Readouts/Orbital/TimeToEquatorialAscendingNode.cs
--- a/KerbalEngineer/Flight/Readouts/Orbital/TimeToEquatorialAscendingNode.cs
+++ b/KerbalEngineer/Flight/Readouts/Orbital/TimeToEquatorialAscendingNode.cs
@@ -20,6 +20,8 @@
 #region Using Directives
 
 using KerbalEngineer.Extensions;
+using KerbalEngineer.Flight.Sections;
+using KerbalEngineer.Helpers;
 
 #endregion
 
@@ -27,17 +29,25 @@
 {
     public class TimeToEquatorialAscendingNode : ReadoutModule
     {
+        #region Constructors
+
         public TimeToEquatorialAscendingNode()
         {
             this.Name = "Time to Equ. AN";
             this.Category = ReadoutCategory.GetCategory("Orbital");
-            this.HelpString = string.Empty;
-            this.IsDefault = true;
+            this.HelpString = "Shows the time until the vessel corsses the Equator, going north of it.";
+            this.IsDefault = false;
         }
 
-        public override void Draw()
+        #endregion
+
+        #region Methods: public
+
+        public override void Draw(SectionModule section)
         {
-            this.DrawLine(FlightGlobals.ActiveVessel.orbit.GetTimeToAscendingNode().ToTime());
+            this.DrawLine(TimeFormatter.ConvertToString(FlightGlobals.ActiveVessel.orbit.GetTimeToAscendingNode()), section.IsHud);
         }
+
+        #endregion
     }
 }