mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
init
This commit is contained in:
35
lua/metrostroi/systems/sys_81_718_bska.lua
Normal file
35
lua/metrostroi/systems/sys_81_718_bska.lua
Normal file
@@ -0,0 +1,35 @@
|
||||
--------------------------------------------------------------------------------
|
||||
-- 81-718 HV switch equpment unit
|
||||
--------------------------------------------------------------------------------
|
||||
-- Copyright (C) 2013-2018 Metrostroi Team & FoxWorks Aerospace s.r.o.
|
||||
-- Contains proprietary code. See license.txt for additional information.
|
||||
--------------------------------------------------------------------------------
|
||||
Metrostroi.DefineSystem("81_718_BSKA")
|
||||
|
||||
function TRAIN_SYSTEM:Initialize()
|
||||
-- Линейный контактор К1 (КР)
|
||||
self.Train:LoadSystem("K1","Relay","PK-162",{bass = true,close_time=0.1})
|
||||
-- Линейный контактор К2 (Ход)
|
||||
self.Train:LoadSystem("K2","Relay","PK-162",{bass = true,close_time=0.1})
|
||||
-- Линейный контактор К3 (Тормоз)
|
||||
self.Train:LoadSystem("K3","Relay","PK-162",{bass = true,close_time=0.1})
|
||||
|
||||
-- Контактор(ы) реверса "Вперёд"
|
||||
self.Train:LoadSystem("KMR1","Relay","PK-162",{bass = true,close_time=0.1})
|
||||
-- Контактор(ы) реверса "Назад"
|
||||
self.Train:LoadSystem("KMR2","Relay","PK-162",{bass = true,close_time=0.1})
|
||||
end
|
||||
|
||||
function TRAIN_SYSTEM:Inputs()
|
||||
return { }
|
||||
end
|
||||
|
||||
function TRAIN_SYSTEM:Outputs()
|
||||
return { }
|
||||
end
|
||||
|
||||
function TRAIN_SYSTEM:TriggerInput(name,value)
|
||||
end
|
||||
|
||||
function TRAIN_SYSTEM:Think()
|
||||
end
|
||||
Reference in New Issue
Block a user