16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 14:39:18 +02:00

additional train state data exposed to uart interface, minor bug fixes

This commit is contained in:
tmj-fstate
2018-09-15 16:35:03 +02:00
parent e881092ca0
commit 6c68cff4c5
9 changed files with 46 additions and 49 deletions

View File

@@ -596,6 +596,7 @@ TTrain::get_state() const {
btHaslerBrakes.GetValue(),
btHaslerCurrent.GetValue(),
( TestFlag( mvOccupied->SecuritySystem.Status, s_CAalarm ) || TestFlag( mvOccupied->SecuritySystem.Status, s_SHPalarm ) ),
btLampkaHVoltageB.GetValue(),
fTachoVelocity,
static_cast<float>( mvOccupied->Compressor ),
static_cast<float>( mvOccupied->PipePress ),