You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (Simulator.Settings.VerboseConfigurationMessages)
1569
1569
{
1570
-
Trace.TraceInformation("Water Glass Length set as per MSTS default = {0}", FormatStrings.FormatVeryShortDistanceDisplay(WaterGlassLengthM, IsMetric));
1570
+
Trace.TraceInformation("Water Glass Length set as per MSTS default value = {0}", FormatStrings.FormatVeryShortDistanceDisplay(WaterGlassLengthM, IsMetric));
1571
1571
}
1572
1572
}
1573
1573
else if (WaterGlassLengthM == 0)
1574
1574
{
1575
-
WaterGlassLengthM = Me.FromIn(8.0f); // Set default water glass length to 8"
1575
+
if (BoilerLengthM <= Me.FromFt(10.0f))
1576
+
{
1577
+
WaterGlassLengthM = Me.FromIn(6.0f); // Set default water glass length to 6" for short boilers
1578
+
}
1579
+
else if (BoilerLengthM > Me.FromFt(10.0f) && BoilerLengthM <= Me.FromFt(15.0f))
1580
+
{
1581
+
WaterGlassLengthM = Me.FromIn(8.0f); // Set default water glass length to 8"
1582
+
}
1583
+
else if (BoilerLengthM > Me.FromFt(15.0f) && BoilerLengthM <= Me.FromFt(20.0f))
1584
+
{
1585
+
WaterGlassLengthM = Me.FromIn(10.0f); // Set default water glass length to 8"
1586
+
}
1587
+
else
1588
+
{
1589
+
WaterGlassLengthM = Me.FromIn(12.0f); // Set default water glass length to 12" for long boilers
1590
+
}
1591
+
1576
1592
if (Simulator.Settings.VerboseConfigurationMessages)
1577
1593
{
1578
-
Trace.TraceInformation("Water Glass Length set to default = {0}", FormatStrings.FormatVeryShortDistanceDisplay(WaterGlassLengthM, IsMetric));
1594
+
Trace.TraceInformation("Water Glass Length set to basic default = {0}", FormatStrings.FormatVeryShortDistanceDisplay(WaterGlassLengthM, IsMetric));
0 commit comments