diff --git a/config.json b/config.json index ead490d..66e9990 100644 --- a/config.json +++ b/config.json @@ -79,6 +79,10 @@ "UseZips": true, "RadiusMiles": 200, "NTG": { + "Working": { + "Hours": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], + "Weekdays": [0, 1, 2, 3, 4, 5, 6] + }, "Enabled": false, "JobInfo": true, "Mock": true, @@ -94,4 +98,4 @@ "Password": "166647" } } -} \ No newline at end of file +} diff --git a/config.main_test.json b/config.main_test.json index 9a1445b..7f553f1 100644 --- a/config.main_test.json +++ b/config.main_test.json @@ -83,6 +83,10 @@ "Password": "p" }, "NTG": { + "Working": { + "Hours": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], + "Weekdays": [0, 1, 2, 3, 4, 5, 6] + }, "Enabled": true, "JobInfo": true, "Mock": true, diff --git a/config/config.go b/config/config.go index 20bfa2f..fc40b5c 100644 --- a/config/config.go +++ b/config/config.go @@ -67,6 +67,10 @@ type Config struct { UseZips bool RadiusMiles int NTG struct { + Working struct { + Hours []int + Weekdays []int + } Enabled bool JobInfo bool Mock bool