@@ -1633,7 +1633,7 @@ public virtual void Parse(string lowercasetoken, STFReader stf)
16331633 if ( ! stf . EndOfBlock ( ) )
16341634 {
16351635 FrontCoupler . Closed . ShapeDescriptor = stf . ReadString ( ) ;
1636- stf . SkipRestOfBlock ( ) ;
1636+ stf . SkipRestOfBlock ( ) ;
16371637 }
16381638 else
16391639 FrontCoupler . Closed . ShapeDescriptor = FrontCoupler . Closed . ShapeFileName + "d" ;
@@ -1646,7 +1646,7 @@ public virtual void Parse(string lowercasetoken, STFReader stf)
16461646 if ( ! stf . EndOfBlock ( ) )
16471647 {
16481648 FrontAirHose . Connected . ShapeDescriptor = stf . ReadString ( ) ;
1649- stf . SkipRestOfBlock ( ) ;
1649+ stf . SkipRestOfBlock ( ) ;
16501650 }
16511651 else
16521652 FrontAirHose . Connected . ShapeDescriptor = FrontAirHose . Connected . ShapeFileName + "d" ;
@@ -1659,7 +1659,7 @@ public virtual void Parse(string lowercasetoken, STFReader stf)
16591659 if ( ! stf . EndOfBlock ( ) )
16601660 {
16611661 RearCoupler . Closed . ShapeDescriptor = stf . ReadString ( ) ;
1662- stf . SkipRestOfBlock ( ) ;
1662+ stf . SkipRestOfBlock ( ) ;
16631663 }
16641664 else
16651665 RearCoupler . Closed . ShapeDescriptor = RearCoupler . Closed . ShapeFileName + "d" ;
@@ -1672,7 +1672,7 @@ public virtual void Parse(string lowercasetoken, STFReader stf)
16721672 if ( ! stf . EndOfBlock ( ) )
16731673 {
16741674 RearAirHose . Connected . ShapeDescriptor = stf . ReadString ( ) ;
1675- stf . SkipRestOfBlock ( ) ;
1675+ stf . SkipRestOfBlock ( ) ;
16761676 }
16771677 else
16781678 RearAirHose . Connected . ShapeDescriptor = RearAirHose . Connected . ShapeFileName + "d" ;
@@ -1692,7 +1692,7 @@ public virtual void Parse(string lowercasetoken, STFReader stf)
16921692 if ( ! stf . EndOfBlock ( ) )
16931693 {
16941694 FrontCoupler . Open . ShapeDescriptor = stf . ReadString ( ) ;
1695- stf . SkipRestOfBlock ( ) ;
1695+ stf . SkipRestOfBlock ( ) ;
16961696 }
16971697 else
16981698 FrontCoupler . Open . ShapeDescriptor = FrontCoupler . Open . ShapeFileName + "d" ;
@@ -1706,7 +1706,7 @@ public virtual void Parse(string lowercasetoken, STFReader stf)
17061706 if ( ! stf . EndOfBlock ( ) )
17071707 {
17081708 RearCoupler . Open . ShapeDescriptor = stf . ReadString ( ) ;
1709- stf . SkipRestOfBlock ( ) ;
1709+ stf . SkipRestOfBlock ( ) ;
17101710 }
17111711 else
17121712 RearCoupler . Open . ShapeDescriptor = RearCoupler . Open . ShapeFileName + "d" ;
@@ -1720,7 +1720,7 @@ public virtual void Parse(string lowercasetoken, STFReader stf)
17201720 if ( ! stf . EndOfBlock ( ) )
17211721 {
17221722 FrontAirHose . Disconnected . ShapeDescriptor = stf . ReadString ( ) ;
1723- stf . SkipRestOfBlock ( ) ;
1723+ stf . SkipRestOfBlock ( ) ;
17241724 }
17251725 else
17261726 FrontAirHose . Disconnected . ShapeDescriptor = FrontAirHose . Disconnected . ShapeFileName + "d" ;
@@ -1734,7 +1734,7 @@ public virtual void Parse(string lowercasetoken, STFReader stf)
17341734 if ( ! stf . EndOfBlock ( ) )
17351735 {
17361736 RearAirHose . Disconnected . ShapeDescriptor = stf . ReadString ( ) ;
1737- stf . SkipRestOfBlock ( ) ;
1737+ stf . SkipRestOfBlock ( ) ;
17381738 }
17391739 else
17401740 RearAirHose . Disconnected . ShapeDescriptor = RearAirHose . Disconnected . ShapeFileName + "d" ;
@@ -2665,7 +2665,7 @@ private void UpdateDriveWheelWeight(int index, float masskg, int numberofengine
26652665 }
26662666 }
26672667
2668- private void UpdateTrainBaseResistance ( )
2668+ private void UpdateTrainBaseResistance ( )
26692669 {
26702670 IsBelowMergeSpeed = AbsSpeedMpS < MergeSpeedMpS ;
26712671 IsStandStill = AbsSpeedMpS < 0.1f ;
@@ -2902,7 +2902,7 @@ private void UpdateTrainBaseResistance_StartingFriction()
29022902 {
29032903 // Dtermine the starting friction factor based upon the type of bearing
29042904 float StartFrictionLoadN = StandstillFrictionN ; // Starting friction
2905-
2905+
29062906 // Determine the starting resistance due to wheel bearing temperature
29072907 // Note reference values in lbf and US tons - converted to metric values as appropriate
29082908 // At -10 DegC it will be equal to the snowing value, as the temperature increases to 25 DegC, it will move towards the summer value
@@ -3036,22 +3036,22 @@ private void UpdateTrainBaseResistance_DavisLowSpeed()
30363036 }
30373037
30383038 if ( WheelBearingTemperatureDegC < LowTemperature )
3039- {
3040- // Set to snowing (frozen value)
3039+ {
3040+ // Set to snowing (frozen value)
30413041 StartFrictionInternalFactorN = LowTemperatureResistanceN ;
3042- }
3042+ }
30433043 else if ( WheelBearingTemperatureDegC > HighTemeprature )
3044- {
3045- // Set to normal temperature value
3044+ {
3045+ // Set to normal temperature value
30463046 StartFrictionInternalFactorN = HighTemperatureResistanceN ;
3047- }
3048- else
3049- {
3050- // Set to variable value as bearing heats and cools
3047+ }
3048+ else
3049+ {
3050+ // Set to variable value as bearing heats and cools
30513051 float LowGrad = ( LowTemperatureResistanceN - HighTemperatureResistanceN ) / ( LowTemperature - HighTemeprature ) ;
30523052 float LowIntersect = LowTemperatureResistanceN - ( LowGrad * LowTemperature ) ;
3053- StartFrictionInternalFactorN = LowGrad * WheelBearingTemperatureDegC + LowIntersect ;
3054- }
3053+ StartFrictionInternalFactorN = LowGrad * WheelBearingTemperatureDegC + LowIntersect ;
3054+ }
30553055
30563056 // Determine the track starting resistance, based upon the axle loading of the wagon
30573057 float LowLoadGrade = 800.0f ;
0 commit comments