Demoanlagen hinzufügen, fixes für Installationsdateien
This commit is contained in:
parent
9ae65e50a1
commit
cd3d5c5962
13 changed files with 67 additions and 11 deletions
6
Demos/On_Grundprinzip.anl3
Normal file
6
Demos/On_Grundprinzip.anl3
Normal file
File diff suppressed because one or more lines are too long
20
Demos/On_Grundprinzip.lua
Normal file
20
Demos/On_Grundprinzip.lua
Normal file
|
@ -0,0 +1,20 @@
|
|||
clearlog()
|
||||
require("kskit\\On")
|
||||
|
||||
-- In jedem Zyklus prüfen wir, ob die Lok vor dem Signal steht
|
||||
Main(function()
|
||||
if EEPGetSignalTrainsCount(2) > 0 then
|
||||
-- Wenn dies der Fall ist, schalten wir das Signal auf Fahrt
|
||||
EEPSetSignal(2, 2, 1)
|
||||
end
|
||||
end)
|
||||
|
||||
-- Wenn das Signal umgestellt wird, wird die Weiche ebenfalls auf Abzweig gestellt
|
||||
OnSignal(2, function(Stellung)
|
||||
print("Signal gestellt auf ", Stellung)
|
||||
EEPSetSwitch(1, 2, 1)
|
||||
end)
|
||||
|
||||
OnSwitch(1, function(Stellung)
|
||||
print("Weiche gestellt auf ", Stellung)
|
||||
end)
|
BIN
Demos/On_GrundprinzipB.bmp
Normal file
BIN
Demos/On_GrundprinzipB.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
BIN
Demos/On_GrundprinzipF.bmp
Normal file
BIN
Demos/On_GrundprinzipF.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
BIN
Demos/On_GrundprinzipH.bmp
Normal file
BIN
Demos/On_GrundprinzipH.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
BIN
Demos/On_GrundprinzipS.bmp
Normal file
BIN
Demos/On_GrundprinzipS.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
BIN
Demos/On_GrundprinzipT.bmp
Normal file
BIN
Demos/On_GrundprinzipT.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
Loading…
Add table
Add a link
Reference in a new issue