getProdStats

URI Handler: /getTrainStats
Train Stats

JSON/JSON Group: Info: Data Type: Input/Output:

TrainName

Name of the train

String

Output

PowerConsumed

Power used by train

Float

Output

TrainStation

Current or Next Stop for Train

String

Output

ForwardSpeed

Speed in km/h

Float

Output

TotalMass

(Testing required), total mass of train

Float

Output

PayloadMass

Payload Mass for Train (More testing required)

Float

Output

ThrottlePercent

Train’s Throttle Setting

String

Output