Add station data and parser for the script.

Need to do:
 - Write the StationIfno modal and enable toggling it's display.
This commit is contained in:
2026-03-11 17:26:57 +00:00
parent 904942e078
commit 11ec2574f0
24 changed files with 410 additions and 283 deletions

33
static/stations/amt.yaml Normal file
View File

@@ -0,0 +1,33 @@
name: Aldermaston
crs: amt
updated: 2026-03-11
checked: 2026-03-11
platforms:
- platformId: 1Up
platformLength: 115
signal: false
dispatch: false
stepFree:
doorPattern:
- kind: IET5
doors: [2,10]
- kind: IET9
doors: [2,9]
- kind: IET10
doors: [2,10]
- kind: DMU
max-car: 5
- platformId: 2Dn
platformLength: 115
signal: false
dispatch: false
stepFree:
doorPattern:
- kind: IET5
doors: [1,7]
- kind: IET9
doors: [1,7]
- kind: IET10
doors: [1,7]
- kind: DMU
max-car: 5

View File

@@ -9,81 +9,23 @@ platforms:
dispatch: false
doorPattern:
- kind: IET5
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,0]
doors: [1,9]
- kind: IET9
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,0]
6: [0,0]
7: [0,0]
8: [0,0]
9: [0,0]
doors: [1,9]
- kind: IET10
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,0]
6: [0,0]
7: [0,0]
8: [0,0]
9: [0,0]
10: [0,0]
doors: [1,9]
- kind: DMU
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
max-car: 5
- platformId: 2Up
platformLength: 123
signal: true
dispatch: false
doorPattern:
- kind: IET5
doors:
1: [0,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
doors: [2,10]
- kind: IET9
doors:
1: [0,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [0,0]
7: [0,0]
8: [0,0]
9: [0,0]
doors: [2,10]
- kind: IET10
doors:
1: [0,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [0,0]
7: [0,0]
8: [0,0]
9: [0,0]
10: [0,0]
doors: [2,10]
- kind: DMU
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
max-car: 5

View File

@@ -5,87 +5,27 @@ checked: 2026-03-11
platforms:
- platformId: 1Up
platformLength: 153
signal: true
signal: false
dispatch: false
doorPattern:
- kind: IET5
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
doors: [1,10]
- kind: IET9
doors:
1: [0,0]
2: [0,0]
3: [0,0]
4: [0,1]
5: [1,1]
6: [1,1]
7: [1,1]
8: [1,1]
9: [1,1]
doors: [8,18]
- kind: IET10
doors:
1: [0,0]
2: [0,0]
3: [0,0]
4: [0,0]
5: [1,1]
6: [1,1]
7: [1,1]
8: [1,1]
9: [1,1]
10: [1,1]
doors: [9,20]
- kind: DMU
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]
max-car: 6
- platformId: 2Dn
platformLength: 150
signal: true
signal: false
dispatch: false
doorPattern:
- kind: IET5
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
doors: [1,10]
- kind: IET9
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,0]
7: [0,0]
8: [0,0]
9: [0,0]
doors: [1,11]
- kind: IET10
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,0]
7: [0,0]
8: [0,0]
9: [0,0]
10: [0,0]
doors: [1,11]
- kind: DMU
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]
max-car: 6

View File

@@ -1,92 +1,33 @@
name: Kintbury
crs: kit
--- INCOMPLETE --- NOTHING DONE BWLOW LINE
updated: 2026-03-11
checked: 2026-03-11
platforms:
- platformId: 1Up
platformLength: 153
signal: true
- platformId: 1Dn
platformLength: 105
signal: false
dispatch: false
stepFree:
doorPattern:
- kind: IET5
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
doors: [2,9]
- kind: IET9
doors:
1: [0,0]
2: [0,0]
3: [0,0]
4: [0,1]
5: [1,1]
6: [1,1]
7: [1,1]
8: [1,1]
9: [1,1]
doors: [2,9]
- kind: IET10
doors:
1: [0,0]
2: [0,0]
3: [0,0]
4: [0,0]
5: [1,1]
6: [1,1]
7: [1,1]
8: [1,1]
9: [1,1]
10: [1,1]
doors: [2,9]
- kind: DMU
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]
- platformId: 2Dn
platformLength: 150
signal: true
max-car: 4
- platformId: 2Up
platformLength: 106
signal: false
dispatch: false
stepFree:
doorPattern:
- kind: IET5
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
doors: [4,10]
- kind: IET9
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,0]
7: [0,0]
8: [0,0]
9: [0,0]
doors: [12,18]
- kind: IET10
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,0]
7: [0,0]
8: [0,0]
9: [0,0]
10: [0,0]
doors: [14,20]
- kind: DMU
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]
max-car: 4

33
static/stations/mdg.yaml Normal file
View File

@@ -0,0 +1,33 @@
name: Midgham
crs: mdg
updated: 2026-03-11
checked: 2026-03-11
platforms:
- platformId: 1Dn
platformLength: 120
signal: false
dispatch: false
stepFree:
doorPattern:
- kind: IET5
doors: [4,10]
- kind: IET9
doors: [4,10]
- kind: IET10
doors: [4,10]
- kind: DMU
max-car: 5
- platformId: 2Up
platformLength: 117
signal: true
dispatch: false
stepFree:
doorPattern:
- kind: IET5
doors: [1,7]
- kind: IET9
doors: [1,7]
- kind: IET10
doors: [1,7]
- kind: DMU
max-car: 5

85
static/stations/nby.yaml Normal file
View File

@@ -0,0 +1,85 @@
name: Newbury
crs: nby
updated: 2026-03-11
checked: 2026-03-11
platforms:
- platformId: 1Dn
platformLength: 291
signal: true
dispatch: true
dispatchNote: Staffed until 22:00 Daily
stepFree: true
stepFreeNote: Accessible from street & via lifts
doorPattern:
- kind: IET5
doors: all
- kind: IET9
doors: all
- kind: IET10
doors: all
- kind: DMU
max-car: 12
- platformId: 1Up
platformLength: 291
signal: true
dispatch: true
dispatchNote: Staffed until 22:00 Daily
stepFree: true
stepFreeNote: Accessible from street & via lifts
doorPattern:
- kind: IET5
doors: all
- kind: IET9
doors: all
- kind: IET10
doors: all
- kind: DMU
max-car: 12
- platformId: 2Dn
platformLength: 327
signal: true
dispatch: true
dispatchNote: Staffed until 22:00 Daily
stepFree: true
stepFreeNote: Accessible from street & via lifts
doorPattern:
- kind: IET5
doors: all
- kind: IET9
doors: all
- kind: IET10
doors: all
- kind: DMU
max-car: 14
- platformId: 2Up
platformLength: 327
signal: true
dispatch: true
dispatchNote: Staffed until 22:00 Daily
stepFree: true
stepFreeNote: Accessible from street & via lifts
doorPattern:
- kind: IET5
doors: all
- kind: IET9
doors: all
- kind: IET10
doors: all
- kind: DMU
max-car: 14
- platformId: 3
platformLength: 129
signal: true
dispatch: true
dispatchNote: Staffed until 22:00 Daily
stepFree: true
stepFreeNote: Accessible from street & via lifts
doorPattern:
- kind: IET5
doors: all
- kind: IET9
doors: null
- kind: IET10
doors: null
- kind: DMU
max-car: 5

61
static/stations/nrc.yaml Normal file
View File

@@ -0,0 +1,61 @@
name: Newbury Racecourse
crs: nrc
updated: 2026-03-11
checked: 2026-03-11
platforms:
- platformId: 1Dn
platformLength: 89
signal: false
dispatch: false
stepFree: false
doorPattern:
- kind: IET5
doors: [1,6]
- kind: IET9
doors: [1,6]
- kind: IET10
doors: [1,6]
- kind: DMU
max-car: 4
- platformId: 2Up
platformLength: 74
signal: true
dispatch: false
stepFree: true
doorPattern:
- kind: IET5
doors: [4,9]
- kind: IET9
doors: [4,9]
- kind: IET10
doors: [4,9]
- kind: DMU
max-car: 4
- platformId: 3Up
platformLength: 225
signal: false
dispatch: false
stepFree: true
doorPattern:
- kind: IET5
doors: [2,10]
- kind: IET9
doors: [2,15]
- kind: IET10
doors: [2,16]
- kind: DMU
max-car: 9
- platformId: 3Dn
platformLength: 225
signal: false
dispatch: false
stepFree: true
doorPattern:
- kind: IET5
doors: [2,10]
- kind: IET9
doors: [2,15]
- kind: IET10
doors: [2,16]
- kind: DMU
max-car: 9

View File

@@ -9,85 +9,23 @@ platforms:
dispatch: false
doorPattern:
- kind: IET5
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
doors: [1,10]
- kind: IET9
doors:
1: [0,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]
7: [1,1]
8: [1,0]
9: [0,0]
doors: [2,15]
- kind: IET10
doors:
1: [0,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]
7: [1,1]
8: [1,0]
9: [0,0]
10: [0,0]
doors: [2,15]
- kind: DMU
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]
7: [1,1]
max-car: 7
- platformId: 2Up
platformLength: 177
signal: true
dispatch: false
doorPattern:
- kind: IET5
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
doors: [1,10]
- kind: IET9
doors:
1: [0,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]
7: [1,1]
8: [1,0]
9: [0,0]
doors: [2,15]
- kind: IET10
doors:
1: [0,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]
7: [1,1]
8: [1,0]
9: [0,0]
10: [0,0]
doors: [2,15]
- kind: DMU
doors:
1: [1,1]
2: [1,1]
3: [1,1]
4: [1,1]
5: [1,1]
6: [1,1]
7: [1,1]
max-car: 7

33
static/stations/tha.yaml Normal file
View File

@@ -0,0 +1,33 @@
name: Thatcham
crs: tha
updated: 2026-03-11
checked: 2026-03-11
platforms:
- platformId: 1Dn
platformLength: 168
signal: true
dispatch: false
stepFree:
doorPattern:
- kind: IET5
doors: [1,10]
- kind: IET9
doors: [1,12]
- kind: IET10
doors: [1,12]
- kind: DMU
max-car: 7
- platformId: 2Up
platformLength: 168
signal: false
dispatch: false
stepFree:
doorPattern:
- kind: IET5
doors: [1,10]
- kind: IET9
doors: [7,18]
- kind: IET10
doors: [9,20]
- kind: DMU
max-car: 7

45
static/stations/the.yaml Normal file
View File

@@ -0,0 +1,45 @@
name: Theale
crs: the
updated: 2026-03-11
checked: 2026-03-11
platforms:
- platformId: 1Up
platformLength: 168
signal: true
dispatch: false
stepFree:
doorPattern:
- kind: IET5
doors: [1,10]
- kind: IET9
doors: [1,13]
- kind: IET10
doors: [1,13]
- kind: DMU
max-car: 7
- platformId: 2Dn
platformLength: 168
signal: false
dispatch: false
stepFree:
doorPattern:
- kind: IET5
doors: [1,10]
- kind: IET9
doors: [1,13]
- kind: IET10
doors: [1,13]
- kind: DMU
max-car: 7
- platformId: 3
platformLength: 153
signal: false
dispatch: false
stepFree: true
doorPattern:
- kind: IET5
doors: [1,10]
- kind: IET9
doors: [1,11]
- kind: IET10
doors: [1,11]