@@ -189,19 +189,21 @@ public static string GetText(Content content)
189
189
details . AppendFormat ( "NumEngines:\t {1}{0}" , Environment . NewLine , data . NumEngines ) ;
190
190
details . AppendFormat ( "NumCars:\t {1}{0}" , Environment . NewLine , data . NumCars ) ;
191
191
details . AppendFormat ( "Axles:\t {1}{0}" , Environment . NewLine , data . NumAxles ) ;
192
- details . AppendFormat ( "MaxSpeed :\t {1}{ 0}" , Environment . NewLine , FormatStrings . FormatSpeedLimit ( data . MaxSpeedMps , IsMetric ) ) ;
193
- details . AppendFormat ( "Weight: \t {1}{0}" , Environment . NewLine , FormatStrings . FormatLargeMass ( data . MassKG , IsMetric , IsUK ) ) ;
192
+ details . AppendFormat ( "Weight :\t {1} (trailing: {2}){ 0}" , Environment . NewLine , FormatStrings . FormatLargeMass ( data . MassKG , IsMetric , IsUK ) ,
193
+ FormatStrings . FormatLargeMass ( data . TrailingMassKG , IsMetric , IsUK ) ) ;
194
194
details . AppendFormat ( "Length:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatShortDistanceDisplay ( data . LengthM , IsMetric ) ) ;
195
- details . AppendFormat ( "Power :\t {1}{0}" , Environment . NewLine , FormatStrings . FormatPower ( data . MaxPowerW , IsMetric , IsImperialBHP , IsImperialBTUpS ) ) ;
195
+ details . AppendFormat ( "MaxPower :\t {1}{0}" , Environment . NewLine , FormatStrings . FormatPower ( data . MaxPowerW , IsMetric , IsImperialBHP , IsImperialBTUpS ) ) ;
196
196
details . AppendFormat ( "MaxTE:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatForce ( data . MaxTractiveForceN , IsMetric ) ) ;
197
+ details . AppendFormat ( "MaxContTE:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatForce ( data . MaxContinuousTractiveForceN , IsMetric ) ) ;
197
198
details . AppendFormat ( "MaxDynBrk:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatForce ( data . MaxDynamicBrakeForceN , IsMetric ) ) ;
198
199
if ( ! IsMetric && ! IsUK )
199
200
{
200
- details . AppendFormat ( "HPT:\t {1}{0}" , Environment . NewLine , FormatHPT ( data . MaxPowerW , data . MassKG ) ) ;
201
+ details . AppendFormat ( "HPT:\t {1}{0}" , Environment . NewLine , FormatHPT ( data . MaxPowerW , data . TrailingMassKG ) ) ;
201
202
details . AppendFormat ( "TpOB:\t {1}{0}" , Environment . NewLine , FormatTPOB ( data . TrailingMassKG , data . NumOperativeBrakes ) ) ;
202
- details . AppendFormat ( "TpEPA:\t {1}{0}" , Environment . NewLine , FormatTonsPerEPA ( data . MassKG , data . MaxTractiveForceN ) ) ;
203
- details . AppendFormat ( "TpEDBA:\t {1}{0}" , Environment . NewLine , FormatTonsPerEDBA ( data . MassKG , data . MaxDynamicBrakeForceN ) ) ;
203
+ details . AppendFormat ( "TpEPA:\t {1}{0}" , Environment . NewLine , FormatTonsPerEPA ( data . TrailingMassKG , data . MaxContinuousTractiveForceN ) ) ;
204
+ details . AppendFormat ( "TpEDBA:\t {1}{0}" , Environment . NewLine , FormatTonsPerEDBA ( data . TrailingMassKG , data . MaxDynamicBrakeForceN ) ) ;
204
205
}
206
+ details . AppendFormat ( "MaxSpeed:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatSpeedLimit ( data . MaxSpeedMps , IsMetric ) ) ;
205
207
details . AppendFormat ( "MinCouplerStrength:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatForce ( data . MinCouplerStrengthN , IsMetric ) ) ;
206
208
details . AppendFormat ( "MinDerailForce:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatForce ( data . MinDerailForceN , IsMetric ) ) ;
207
209
details . AppendLine ( ) ;
@@ -216,7 +218,7 @@ public static string GetText(Content content)
216
218
details . AppendFormat ( "Type:\t {1}{0}" , Environment . NewLine , data . Type ) ;
217
219
details . AppendFormat ( "SubType:\t {1}{0}" , Environment . NewLine , data . SubType ) ;
218
220
details . AppendFormat ( "Name:\t {1}{0}" , Environment . NewLine , data . Name ) ;
219
- details . AppendFormat ( "Weight:\t {1} ({2}){0}" , Environment . NewLine , FormatStrings . FormatMass ( data . MassKG , IsMetric ) , FormatStrings . FormatLargeMass ( data . MassKG , IsMetric , IsUK ) ) ;
221
+ details . AppendFormat ( "Weight:\t {1} ({2}){0}" , Environment . NewLine , FormatStrings . FormatMass ( data . MassKG , IsMetric ) , FormatStrings . FormatLargeMass ( data . MassKG , IsMetric , IsUK ) ) ;
220
222
details . AppendFormat ( "Length:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatShortDistanceDisplay ( data . LengthM , IsMetric ) ) ;
221
223
if ( data . Type != CarType . Engine )
222
224
{
@@ -225,11 +227,13 @@ public static string GetText(Content content)
225
227
else
226
228
{
227
229
details . AppendFormat ( "Axles:\t {1}+{2}{0}" , Environment . NewLine , data . NumDriveAxles , data . NumAllAxles - data . NumDriveAxles ) ;
228
- details . AppendFormat ( "MaxPowerW:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatPower ( data . MaxPowerW , IsMetric , IsImperialBHP , IsImperialBTUpS ) ) ;
229
- details . AppendFormat ( "MaxForce:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatForce ( data . MaxForceN , IsMetric ) ) ;
230
- details . AppendFormat ( "MaxSpeed:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatSpeedLimit ( data . MaxSpeedMps , IsMetric ) ) ;
230
+ details . AppendFormat ( "MaxPower:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatPower ( data . MaxPowerW , IsMetric , IsImperialBHP , IsImperialBTUpS ) ) ;
231
+ details . AppendFormat ( "MaxTE:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatForce ( data . MaxForceN , IsMetric ) ) ;
232
+ details . AppendFormat ( "MaxContTE:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatForce ( data . MaxContinuousForceN , IsMetric ) ) ;
233
+ details . AppendFormat ( "MaxDynBrk:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatForce ( data . MaxDynamicBrakeForceN , IsMetric ) ) ;
231
234
}
232
235
details . AppendFormat ( "MaxBrakeF:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatForce ( data . MaxBrakeForceN , IsMetric ) ) ;
236
+ if ( data . MaxSpeedMps > 0f ) { details . AppendFormat ( "MaxSpeed:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatSpeedLimit ( data . MaxSpeedMps , IsMetric ) ) ; }
233
237
details . AppendFormat ( "MinCouplerStrength:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatForce ( data . MinCouplerStrengthN , IsMetric ) ) ;
234
238
details . AppendFormat ( "MinDerailForce:\t {1}{0}" , Environment . NewLine , FormatStrings . FormatForce ( data . MinDerailForceN , IsMetric ) ) ;
235
239
details . AppendLine ( ) ;
0 commit comments