File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Source/Orts.Simulation/Simulation/RollingStocks Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1444,6 +1444,7 @@ public virtual void Parse(string lowercasetoken, STFReader stf)
14441444 stf . ReadFloat ( STFReader . UNITS . None , null ) ;
14451445 stf . SkipRestOfBlock ( ) ;
14461446 break ;
1447+ case "wagon(ortscurtius_kniffler" :
14471448 case "wagon(ortsadhesion(ortscurtius_kniffler" :
14481449 //e.g. Wagon ( ORTSAdhesion ( ORTSCurtius_Kniffler ( 7.5 44 0.161 0.7 ) ) )
14491450 stf . MustMatch ( "(" ) ;
@@ -1453,11 +1454,13 @@ public virtual void Parse(string lowercasetoken, STFReader stf)
14531454 AdhesionK = stf . ReadFloat ( STFReader . UNITS . None , 0.7f ) ; if ( AdhesionK <= 0 ) AdhesionK = 0.7f ;
14541455 stf . SkipRestOfBlock ( ) ;
14551456 break ;
1457+ case "wagon(ortsslipwarningthreshold" :
14561458 case "wagon(ortsadhesion(ortsslipwarningthreshold" :
14571459 stf . MustMatch ( "(" ) ;
14581460 SlipWarningThresholdPercent = stf . ReadFloat ( STFReader . UNITS . None , 70.0f ) ; if ( SlipWarningThresholdPercent <= 0 ) SlipWarningThresholdPercent = 70.0f ;
14591461 stf . SkipRestOfBlock ( ) ;
14601462 break ;
1463+ case "wagon(wheelset" :
14611464 case "wagon(ortsadhesion(wheelset" :
14621465 LocomotiveAxles . Parse ( lowercasetoken , stf ) ;
14631466 break ;
You can’t perform that action at this time.
0 commit comments