@@ -1633,7 +1633,7 @@ public virtual void Parse(string lowercasetoken, STFReader stf)
1633
1633
if ( ! stf . EndOfBlock ( ) )
1634
1634
{
1635
1635
FrontCoupler . Closed . ShapeDescriptor = stf . ReadString ( ) ;
1636
- stf . SkipRestOfBlock ( ) ;
1636
+ stf . SkipRestOfBlock ( ) ;
1637
1637
}
1638
1638
else
1639
1639
FrontCoupler . Closed . ShapeDescriptor = FrontCoupler . Closed . ShapeFileName + "d" ;
@@ -1646,7 +1646,7 @@ public virtual void Parse(string lowercasetoken, STFReader stf)
1646
1646
if ( ! stf . EndOfBlock ( ) )
1647
1647
{
1648
1648
FrontAirHose . Connected . ShapeDescriptor = stf . ReadString ( ) ;
1649
- stf . SkipRestOfBlock ( ) ;
1649
+ stf . SkipRestOfBlock ( ) ;
1650
1650
}
1651
1651
else
1652
1652
FrontAirHose . Connected . ShapeDescriptor = FrontAirHose . Connected . ShapeFileName + "d" ;
@@ -1659,7 +1659,7 @@ public virtual void Parse(string lowercasetoken, STFReader stf)
1659
1659
if ( ! stf . EndOfBlock ( ) )
1660
1660
{
1661
1661
RearCoupler . Closed . ShapeDescriptor = stf . ReadString ( ) ;
1662
- stf . SkipRestOfBlock ( ) ;
1662
+ stf . SkipRestOfBlock ( ) ;
1663
1663
}
1664
1664
else
1665
1665
RearCoupler . Closed . ShapeDescriptor = RearCoupler . Closed . ShapeFileName + "d" ;
@@ -1672,7 +1672,7 @@ public virtual void Parse(string lowercasetoken, STFReader stf)
1672
1672
if ( ! stf . EndOfBlock ( ) )
1673
1673
{
1674
1674
RearAirHose . Connected . ShapeDescriptor = stf . ReadString ( ) ;
1675
- stf . SkipRestOfBlock ( ) ;
1675
+ stf . SkipRestOfBlock ( ) ;
1676
1676
}
1677
1677
else
1678
1678
RearAirHose . Connected . ShapeDescriptor = RearAirHose . Connected . ShapeFileName + "d" ;
@@ -1692,7 +1692,7 @@ public virtual void Parse(string lowercasetoken, STFReader stf)
1692
1692
if ( ! stf . EndOfBlock ( ) )
1693
1693
{
1694
1694
FrontCoupler . Open . ShapeDescriptor = stf . ReadString ( ) ;
1695
- stf . SkipRestOfBlock ( ) ;
1695
+ stf . SkipRestOfBlock ( ) ;
1696
1696
}
1697
1697
else
1698
1698
FrontCoupler . Open . ShapeDescriptor = FrontCoupler . Open . ShapeFileName + "d" ;
@@ -1706,7 +1706,7 @@ public virtual void Parse(string lowercasetoken, STFReader stf)
1706
1706
if ( ! stf . EndOfBlock ( ) )
1707
1707
{
1708
1708
RearCoupler . Open . ShapeDescriptor = stf . ReadString ( ) ;
1709
- stf . SkipRestOfBlock ( ) ;
1709
+ stf . SkipRestOfBlock ( ) ;
1710
1710
}
1711
1711
else
1712
1712
RearCoupler . Open . ShapeDescriptor = RearCoupler . Open . ShapeFileName + "d" ;
@@ -1720,7 +1720,7 @@ public virtual void Parse(string lowercasetoken, STFReader stf)
1720
1720
if ( ! stf . EndOfBlock ( ) )
1721
1721
{
1722
1722
FrontAirHose . Disconnected . ShapeDescriptor = stf . ReadString ( ) ;
1723
- stf . SkipRestOfBlock ( ) ;
1723
+ stf . SkipRestOfBlock ( ) ;
1724
1724
}
1725
1725
else
1726
1726
FrontAirHose . Disconnected . ShapeDescriptor = FrontAirHose . Disconnected . ShapeFileName + "d" ;
@@ -1734,7 +1734,7 @@ public virtual void Parse(string lowercasetoken, STFReader stf)
1734
1734
if ( ! stf . EndOfBlock ( ) )
1735
1735
{
1736
1736
RearAirHose . Disconnected . ShapeDescriptor = stf . ReadString ( ) ;
1737
- stf . SkipRestOfBlock ( ) ;
1737
+ stf . SkipRestOfBlock ( ) ;
1738
1738
}
1739
1739
else
1740
1740
RearAirHose . Disconnected . ShapeDescriptor = RearAirHose . Disconnected . ShapeFileName + "d" ;
@@ -2665,7 +2665,7 @@ private void UpdateDriveWheelWeight(int index, float masskg, int numberofengine
2665
2665
}
2666
2666
}
2667
2667
2668
- private void UpdateTrainBaseResistance ( )
2668
+ private void UpdateTrainBaseResistance ( )
2669
2669
{
2670
2670
IsBelowMergeSpeed = AbsSpeedMpS < MergeSpeedMpS ;
2671
2671
IsStandStill = AbsSpeedMpS < 0.1f ;
@@ -2902,7 +2902,7 @@ private void UpdateTrainBaseResistance_StartingFriction()
2902
2902
{
2903
2903
// Dtermine the starting friction factor based upon the type of bearing
2904
2904
float StartFrictionLoadN = StandstillFrictionN ; // Starting friction
2905
-
2905
+
2906
2906
// Determine the starting resistance due to wheel bearing temperature
2907
2907
// Note reference values in lbf and US tons - converted to metric values as appropriate
2908
2908
// 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()
3036
3036
}
3037
3037
3038
3038
if ( WheelBearingTemperatureDegC < LowTemperature )
3039
- {
3040
- // Set to snowing (frozen value)
3039
+ {
3040
+ // Set to snowing (frozen value)
3041
3041
StartFrictionInternalFactorN = LowTemperatureResistanceN ;
3042
- }
3042
+ }
3043
3043
else if ( WheelBearingTemperatureDegC > HighTemeprature )
3044
- {
3045
- // Set to normal temperature value
3044
+ {
3045
+ // Set to normal temperature value
3046
3046
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
3051
3051
float LowGrad = ( LowTemperatureResistanceN - HighTemperatureResistanceN ) / ( LowTemperature - HighTemeprature ) ;
3052
3052
float LowIntersect = LowTemperatureResistanceN - ( LowGrad * LowTemperature ) ;
3053
- StartFrictionInternalFactorN = LowGrad * WheelBearingTemperatureDegC + LowIntersect ;
3054
- }
3053
+ StartFrictionInternalFactorN = LowGrad * WheelBearingTemperatureDegC + LowIntersect ;
3054
+ }
3055
3055
3056
3056
// Determine the track starting resistance, based upon the axle loading of the wagon
3057
3057
float LowLoadGrade = 800.0f ;
0 commit comments