Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ATL timetable information system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Minetest
ATL timetable information system
Commits
629f639b
Commit
629f639b
authored
Nov 12, 2020
by
Christoph Heinen
Browse files
Options
Downloads
Patches
Plain Diff
initial Code
parent
1c72f5ee
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
display-driver.lua
+13
-0
13 additions, 0 deletions
display-driver.lua
platform-atc-rail.lua
+1
-0
1 addition, 0 deletions
platform-atc-rail.lua
remote-atc-rail.lua
+1
-0
1 addition, 0 deletions
remote-atc-rail.lua
with
15 additions
and
0 deletions
display-driver.lua
0 → 100644
+
13
−
0
View file @
629f639b
if
event
.
punch
or
event
.
int
or
event
.
int_ext
or
(
event
.
digiline
and
event
.
channel
==
"station_update"
)
then
local
unique_terminal_identifier
=
"RZ.CODE display1"
local
lcds
=
{
"public_lcd1"
,
"public_lcd2"
,
"public_lcd3"
,
"public_lcd4"
}
local
display_platforms
=
nil
-- or {"1", "2", "3"}
local
arrivals
=
F
.
compile_arrivals
(
"Station name"
,
display_platforms
)
F
.
display_arrivals
(
arrivals
,
lcds
)
end
This diff is collapsed.
Click to expand it.
platform-atc-rail.lua
0 → 100644
+
1
−
0
View file @
629f639b
F
.
platform_exit_trigger
(
"Neuland HBF oben"
,
"1"
,
event
,
atc_arrow
,
get_line
)
This diff is collapsed.
Click to expand it.
remote-atc-rail.lua
0 → 100644
+
1
−
0
View file @
629f639b
F
.
station_entry_trigger
(
$
Platformname
,
$
entrypoint
,
event
,
atc_arrow
,
get_line
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment