Neue Demo: MultiOn_KS_Vorsignal_GK3
This commit is contained in:
parent
fa650867fb
commit
674e055fe1
6
Demos/MultiOn_KS_Vorsignal_GK3.anl3
Normal file
6
Demos/MultiOn_KS_Vorsignal_GK3.anl3
Normal file
File diff suppressed because one or more lines are too long
21
Demos/MultiOn_KS_Vorsignal_GK3.lua
Normal file
21
Demos/MultiOn_KS_Vorsignal_GK3.lua
Normal file
@ -0,0 +1,21 @@
|
||||
clearlog()
|
||||
require("kskit\\On")
|
||||
|
||||
-- Unsere Funktion hängt am Hauptsignal (1) UND am daranhängenden Zusatzanzeiger (2)
|
||||
-- Als Parameter bekommen wir die jeweiligen Stellungen übergeben
|
||||
MultiOn({1,2}, function(HS, Zs3)
|
||||
print("Hauptsignal = ",HS,", Zs3 = ",Zs3)
|
||||
if HS==2 then -- Wenn Hauptsignal Fahrt zeigt
|
||||
if Zs3>1 then -- Wenn Zs3 was anzeigt
|
||||
EEPSetSignal(3, 4, 1) -- Ks1 / Grün blinkend
|
||||
EEPSetSignal(4, Zs3, 1) -- Zs3v = Zs3
|
||||
else
|
||||
EEPSetSignal(3, 3, 1) -- Ks1 / Grün
|
||||
EEPSetSignal(4, 1, 1) -- Zs3v aus
|
||||
end
|
||||
else
|
||||
EEPSetSignal(3, 1, 1) -- Ks2 / Gelb: Halt erwarten
|
||||
EEPSetSignal(4, 1, 1) -- Zs3v aus
|
||||
EEPSetSignal(2, 1, 1) -- Zs3 am Hauptsignal ebenfalls aus
|
||||
end
|
||||
end)
|
BIN
Demos/MultiOn_KS_Vorsignal_GK3B.bmp
Normal file
BIN
Demos/MultiOn_KS_Vorsignal_GK3B.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
BIN
Demos/MultiOn_KS_Vorsignal_GK3F.bmp
Normal file
BIN
Demos/MultiOn_KS_Vorsignal_GK3F.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
BIN
Demos/MultiOn_KS_Vorsignal_GK3H.bmp
Normal file
BIN
Demos/MultiOn_KS_Vorsignal_GK3H.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
BIN
Demos/MultiOn_KS_Vorsignal_GK3S.bmp
Normal file
BIN
Demos/MultiOn_KS_Vorsignal_GK3S.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
BIN
Demos/MultiOn_KS_Vorsignal_GK3T.bmp
Normal file
BIN
Demos/MultiOn_KS_Vorsignal_GK3T.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
21
demos.ini
21
demos.ini
@ -1,9 +1,16 @@
|
||||
[EEPInstall]
|
||||
EEPVersion = 16
|
||||
File001 = "Demos\On_Grundprinzip.anl3","Resourcen\Anlagen\KsKit-Demos\On_Grundprinzip.anl3"
|
||||
File002 = "Demos\On_Grundprinzip.lua","Resourcen\Anlagen\KsKit-Demos\On_Grundprinzip.lua"
|
||||
File003 = "Demos\On_GrundprinzipB.bmp","Resourcen\Anlagen\KsKit-Demos\On_GrundprinzipB.bmp"
|
||||
File004 = "Demos\On_GrundprinzipF.bmp","Resourcen\Anlagen\KsKit-Demos\On_GrundprinzipF.bmp"
|
||||
File005 = "Demos\On_GrundprinzipH.bmp","Resourcen\Anlagen\KsKit-Demos\On_GrundprinzipH.bmp"
|
||||
File006 = "Demos\On_GrundprinzipS.bmp","Resourcen\Anlagen\KsKit-Demos\On_GrundprinzipS.bmp"
|
||||
File007 = "Demos\On_GrundprinzipT.bmp","Resourcen\Anlagen\KsKit-Demos\On_GrundprinzipT.bmp"
|
||||
File001 = "Demos\MultiOn_KS_Vorsignal_GK3.anl3","Resourcen\Anlagen\KsKit-Demos\MultiOn_KS_Vorsignal_GK3.anl3"
|
||||
File002 = "Demos\MultiOn_KS_Vorsignal_GK3.lua","Resourcen\Anlagen\KsKit-Demos\MultiOn_KS_Vorsignal_GK3.lua"
|
||||
File003 = "Demos\MultiOn_KS_Vorsignal_GK3B.bmp","Resourcen\Anlagen\KsKit-Demos\MultiOn_KS_Vorsignal_GK3B.bmp"
|
||||
File004 = "Demos\MultiOn_KS_Vorsignal_GK3F.bmp","Resourcen\Anlagen\KsKit-Demos\MultiOn_KS_Vorsignal_GK3F.bmp"
|
||||
File005 = "Demos\MultiOn_KS_Vorsignal_GK3H.bmp","Resourcen\Anlagen\KsKit-Demos\MultiOn_KS_Vorsignal_GK3H.bmp"
|
||||
File006 = "Demos\MultiOn_KS_Vorsignal_GK3S.bmp","Resourcen\Anlagen\KsKit-Demos\MultiOn_KS_Vorsignal_GK3S.bmp"
|
||||
File007 = "Demos\MultiOn_KS_Vorsignal_GK3T.bmp","Resourcen\Anlagen\KsKit-Demos\MultiOn_KS_Vorsignal_GK3T.bmp"
|
||||
File008 = "Demos\On_Grundprinzip.anl3","Resourcen\Anlagen\KsKit-Demos\On_Grundprinzip.anl3"
|
||||
File009 = "Demos\On_Grundprinzip.lua","Resourcen\Anlagen\KsKit-Demos\On_Grundprinzip.lua"
|
||||
File010 = "Demos\On_GrundprinzipB.bmp","Resourcen\Anlagen\KsKit-Demos\On_GrundprinzipB.bmp"
|
||||
File011 = "Demos\On_GrundprinzipF.bmp","Resourcen\Anlagen\KsKit-Demos\On_GrundprinzipF.bmp"
|
||||
File012 = "Demos\On_GrundprinzipH.bmp","Resourcen\Anlagen\KsKit-Demos\On_GrundprinzipH.bmp"
|
||||
File013 = "Demos\On_GrundprinzipS.bmp","Resourcen\Anlagen\KsKit-Demos\On_GrundprinzipS.bmp"
|
||||
File014 = "Demos\On_GrundprinzipT.bmp","Resourcen\Anlagen\KsKit-Demos\On_GrundprinzipT.bmp"
|
||||
|
Loading…
Reference in New Issue
Block a user