From 7896007f332b9f0f17f903dddef8cb741cbcc043 Mon Sep 17 00:00:00 2001 From: alexandr_sizov Date: Thu, 7 Jan 2021 22:09:19 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D1=81=D1=85=D0=B5=D0=BC=D0=B0=20=D1=80?= =?UTF-8?q?=D0=B5=D0=BB=D0=B5=20=D0=9A=D0=A1=D0=A01,=20=D0=9A=D0=A1=D0=A02?= =?UTF-8?q?,=20=D0=B2=20=D1=81=D0=BE=D0=BE=D1=82=D0=B2=D0=B5=D1=82=D1=81?= =?UTF-8?q?=D1=82=D0=B2=D0=B8=D0=B8=20=D1=81=D0=BE=20=D1=81=D1=85=D0=B5?= =?UTF-8?q?=D0=BC=D0=BE=D0=B9=20=D0=B8=D0=B7=20=D0=BF=D0=B5=D1=87=D0=B0?= =?UTF-8?q?=D1=82=D0=BD=D0=BE=D0=B9=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D0=B8?= =?UTF-8?q?=20=D0=BA=D0=BD=D0=B8=D0=B3=D0=B8=20=D0=93.=D0=98.=20=D0=A1?= =?UTF-8?q?=D0=BE=D1=80=D0=BE=D0=BA=D0=B8=D0=BD=D0=B0=20"=D0=A2=D0=B5?= =?UTF-8?q?=D1=85.=20=D0=BE=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B8=D0=B5=20?= =?UTF-8?q?=D0=95=D0=B63=D0=A0=D0=A31"=20=D0=B8=20=D0=BF=D1=83=D0=BD=D0=BA?= =?UTF-8?q?=D1=82=D0=B0=2012.8.5=20"=D0=B1"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/metrostroi/systems/sys_als_ars_ezh3.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lua/metrostroi/systems/sys_als_ars_ezh3.lua b/lua/metrostroi/systems/sys_als_ars_ezh3.lua index 79f6638..626db1b 100644 --- a/lua/metrostroi/systems/sys_als_ars_ezh3.lua +++ b/lua/metrostroi/systems/sys_als_ars_ezh3.lua @@ -179,11 +179,10 @@ function TRAIN_SYSTEM:Think(dT) S["R7"]*Train.BSM_SIR3.Value+ S["R5"]*Train.BSM_SIR4.Value - S["BR1_16"] = S["R3"]*Train.BSM_SIR5.Value*(1-Train.BLPM_5R3.Value) + S["BR1_16"] = S["R3"]*Train.BSM_SIR5.Value S["BR2_16"] = S["R3"]*(1-Train.BSM_SIR5.Value) - --S["KSR"] = (S["BR1_14"]*(1-Train.BSM_BR1.Value)+S["BR1_16"]*Train.BSM_BR1.Value)*(1-Train.BSM_BR2.Value)+S["BR2_16"]*Train.BSM_BR2.Value - S["KSR"] = S["BR1_14"]+S["BR1_16"]*Train.BSM_BR1.Value+S["BR2_16"]*Train.BSM_BR2.Value + S["KSR"] = S["BR1_14"]*(1-Train.BSM_BR1.Value)*(1-Train.BSM_BR2.Value)+S["BR1_16"]*Train.BSM_BR1.Value+S["BR2_16"]*Train.BSM_BR2.Value Train.BSM_KSR1:TriggerInput("Set",S["KSR"]) Train.BSM_KSR2:TriggerInput("Set",S["KSR"])