timetable-mgr/helpers/vstp.go
Fred Boniface 493fb41da8
Some checks failed
Go Test / test (push) Failing after 48s
Reorganise repo
2024-04-05 22:23:42 +01:00

28 lines
511 B
Go

package helpers
// An error with the VSTP messages is that speed values are shown incorrectly, but not for all services
// This maps the displayed speed to the correct speed.
var SpeedMap = map[string]string{
"22": "10",
"34": "15",
"56": "20",
"67": "30",
"78": "35",
"89": "40",
"101": "45",
"112": "50",
"123": "55",
"134": "60",
"157": "70",
"168": "75",
"179": "80",
"195": "87",
"201": "90",
"213": "95",
"224": "100",
"246": "110",
"280": "125",
"314": "140",
"417": "186",
}