1
0
mirror of https://github.com/metrostroi-repo/MetrostroiAddon.git synced 2026-05-02 00:42:29 +00:00

Fixed LKVT ezh3 (#295)

This commit is contained in:
Hellss
2021-07-26 09:25:45 +03:00
committed by GitHub
parent fb58f48446
commit 794ad622da
13 changed files with 24 additions and 27 deletions

View File

@@ -118,7 +118,7 @@ function TRAIN_SYSTEM:SolveAllInternalCircuits(Train,dT,firstIter)
Panel.RRP = S["U2"]*T[18]
Train.Panel.Sequence = ARS.GE*Train.BSM_GE.Value*(1-Train.BSM_RNT.Value)
Panel.LKVT = ARS.GE*Train.BSM_GE.Value*(1-Train.BSM_RNT.Value)
local RCU = KV.RCU

View File

@@ -78,7 +78,7 @@ function TRAIN_SYSTEM:Initialize()
self.RRP = 0
self.TW18 = 0
self.SD = 0
self.Sequence = 0
self.LKVT = 0
self.Headlights1 = 0
self.Headlights2 = 0
self.RedLights = 0
@@ -110,5 +110,5 @@ function TRAIN_SYSTEM:Initialize()
end
function TRAIN_SYSTEM:Outputs()
return { "V1","GRP","RRP","TW18","SD","Sequence","Headlights1","Headlights2","RedLights","EmergencyLights2","EmergencyLights1","MainLights1","MainLights2","Ring","KT","AnnouncerPlaying","AVU","PanelLights","GaugeLights","VPR","AR04","AR0","AR40","AR60","AR70","AR80","KT","KVD","CBKIPower","PCBKPower"}
return { "V1","GRP","RRP","TW18","SD","LKVT","Headlights1","Headlights2","RedLights","EmergencyLights2","EmergencyLights1","MainLights1","MainLights2","Ring","KT","AnnouncerPlaying","AVU","PanelLights","GaugeLights","VPR","AR04","AR0","AR40","AR60","AR70","AR80","KT","KVD","CBKIPower","PCBKPower"}
end