17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-05 06:24:27 +01:00

Add engine voltage parameter

This commit is contained in:
2026-09-06 00:59:46 +02:00
parent 40df8e84f6
commit be48b6f013
3 changed files with 3 additions and 0 deletions

View File

@@ -953,6 +953,7 @@ TTrain::state_t TTrain::get_state() const
static_cast<float>(mvPantographUnit->PantPress),
fHVoltage,
{fHCurrent[mvControlled->TrainType & dt_EZT ? 0 : 1], fHCurrent[2], fHCurrent[3]},
mvOccupied->EngineVoltage,
ggLVoltage.GetValue(),
mvOccupied->DistCounter,
static_cast<std::uint8_t>(RadioChannel()),