mirror of
https://github.com/cjdenio/uta-trax-api.git
synced 2026-12-01 00:26:25 +00:00
loading screen
This commit is contained in:
5 files changed
+83
-20
No files matched your search
+14
-14
@@ -358,20 +358,20 @@ type DbDeparture struct {
|
||||
// format: "NORTH (passing)", "SOUTH (passing)", "NORTH", "SOUTH"
|
||||
// "1" is the western track, "2" is the eastern track, "0" is unknown track
|
||||
var predictionData map[string][4]int = map[string][4]int{
|
||||
"21760": {1, 2, 1, 1}, // Roy Station
|
||||
"21757": {0, 0, 1, 1}, // Clearfield Station
|
||||
"21772": {1, 2, 0, 0}, // Layton Station
|
||||
"21758": {0, 0, 1, 1}, // Farmington Station
|
||||
"21759": {0, 0, 1, 1}, // Woods Cross Station
|
||||
"23113": {1, 2, 1, 2}, // North Temple Station
|
||||
"21771": {1, 2, 1, 2}, // Salt Lake Central Station
|
||||
"23080": {2, 1, 1, 1}, // Murray Central Station
|
||||
"23082": {0, 0, 2, 2}, // South Jordan Station
|
||||
"23081": {1, 2, 0, 0}, // Draper Station
|
||||
"23074": {1, 2, 1, 1}, // Lehi Station
|
||||
"23071": {0, 0, 2, 2}, // American Fork Station
|
||||
"25330": {2, 1, 2, 2}, // Vineyard Station
|
||||
"23076": {0, 0, 2, 2}, // Orem Central Station
|
||||
"21760": {1, 2, 1, 1}, // Roy
|
||||
"21757": {0, 0, 1, 1}, // Clearfield
|
||||
"21772": {1, 2, 0, 0}, // Layton
|
||||
"21758": {0, 0, 1, 1}, // Farmington
|
||||
"21759": {0, 0, 1, 1}, // Woods Cross
|
||||
"23113": {1, 2, 1, 2}, // North Temple
|
||||
"21771": {1, 2, 1, 2}, // Salt Lake Central
|
||||
"23080": {2, 1, 1, 1}, // Murray Central
|
||||
"23082": {0, 0, 2, 2}, // South Jordan
|
||||
"23081": {1, 2, 0, 0}, // Draper
|
||||
"23074": {1, 2, 1, 1}, // Lehi
|
||||
"23071": {0, 0, 2, 2}, // American Fork
|
||||
"25330": {2, 1, 2, 2}, // Vineyard
|
||||
"23076": {0, 0, 2, 2}, // Orem Central
|
||||
}
|
||||
|
||||
func predictPlatform(d DbDeparture) int {
|
||||
|
||||
Reference in new issue
Block a user