16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 17:29:18 +02:00

Dodatkowe zmienne dla pythona do obsługi sygnalizacji kabinowej.

This commit is contained in:
antonisauren
2016-10-20 20:28:52 +02:00
parent 1ea2a6e392
commit 0dfabe1a0a
4 changed files with 14 additions and 1 deletions

View File

@@ -4085,7 +4085,7 @@ begin
if (EngineType=ElectricSeriesMotor) then
begin
case RVentType of {wentylatory rozruchowe}
1: if ActiveDir<>0 and (RList[MainCtrlActualPos].R>RVentCutOff) then
1: if (ActiveDir<>0) and (RList[MainCtrlActualPos].R>RVentCutOff) then
RventRot:=RventRot+(RVentnmax-RventRot)*RVentSpeed*dt
else
RventRot:=RventRot*(1-RVentSpeed*dt);