Updated amber/red timings to be consistent with problem description.
This commit is contained in:
parent
870efa7bc0
commit
85f6b0403d
60
periods.json
60
periods.json
|
@ -4,14 +4,14 @@
|
|||
"timestart" : "00:00",
|
||||
"states" : [
|
||||
{ "duration" : 20, "north" : "green", "south" : "green", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "green", "south" : "amber", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 2, "north" : "green", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 5, "north" : "green", "south" : "amber", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "green", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 10, "north" : "green", "south" : "red", "east" : "red", "west" : "red", "north-right" : "green" },
|
||||
{ "duration" : 4, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "amber" },
|
||||
{ "duration" : 2, "north" : "red", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 5, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "amber" },
|
||||
{ "duration" : 4, "north" : "red", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 20, "north" : "red", "south" : "red", "east" : "green", "west" : "green", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "red", "south" : "red", "east" : "amber", "west" : "amber", "north-right" : "red" },
|
||||
{ "duration" : 2, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" }
|
||||
{ "duration" : 5, "north" : "red", "south" : "red", "east" : "amber", "west" : "amber", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -19,14 +19,14 @@
|
|||
"timestart" : "08:00",
|
||||
"states" : [
|
||||
{ "duration" : 40, "north" : "green", "south" : "green", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "green", "south" : "amber", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 2, "north" : "green", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 5, "north" : "green", "south" : "amber", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "green", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 10, "north" : "green", "south" : "red", "east" : "red", "west" : "red", "north-right" : "green" },
|
||||
{ "duration" : 4, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "amber" },
|
||||
{ "duration" : 2, "north" : "red", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 5, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "amber" },
|
||||
{ "duration" : 4, "north" : "red", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 40, "north" : "red", "south" : "red", "east" : "green", "west" : "green", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "red", "south" : "red", "east" : "amber", "west" : "amber", "north-right" : "red" },
|
||||
{ "duration" : 2, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" }
|
||||
{ "duration" : 5, "north" : "red", "south" : "red", "east" : "amber", "west" : "amber", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -34,14 +34,14 @@
|
|||
"timestart" : "10:00",
|
||||
"states" : [
|
||||
{ "duration" : 20, "north" : "green", "south" : "green", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "green", "south" : "amber", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 2, "north" : "green", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 5, "north" : "green", "south" : "amber", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "green", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 10, "north" : "green", "south" : "red", "east" : "red", "west" : "red", "north-right" : "green" },
|
||||
{ "duration" : 4, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "amber" },
|
||||
{ "duration" : 2, "north" : "red", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 5, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "amber" },
|
||||
{ "duration" : 4, "north" : "red", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 20, "north" : "red", "south" : "red", "east" : "green", "west" : "green", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "red", "south" : "red", "east" : "amber", "west" : "amber", "north-right" : "red" },
|
||||
{ "duration" : 2, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" }
|
||||
{ "duration" : 5, "north" : "red", "south" : "red", "east" : "amber", "west" : "amber", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -49,14 +49,14 @@
|
|||
"timestart" : "17:00",
|
||||
"states" : [
|
||||
{ "duration" : 40, "north" : "green", "south" : "green", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "green", "south" : "amber", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 2, "north" : "green", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 5, "north" : "green", "south" : "amber", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "green", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 10, "north" : "green", "south" : "red", "east" : "red", "west" : "red", "north-right" : "green" },
|
||||
{ "duration" : 4, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "amber" },
|
||||
{ "duration" : 2, "north" : "red", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 5, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "amber" },
|
||||
{ "duration" : 4, "north" : "red", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 40, "north" : "red", "south" : "red", "east" : "green", "west" : "green", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "red", "south" : "red", "east" : "amber", "west" : "amber", "north-right" : "red" },
|
||||
{ "duration" : 2, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" }
|
||||
{ "duration" : 5, "north" : "red", "south" : "red", "east" : "amber", "west" : "amber", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -64,14 +64,14 @@
|
|||
"timestart" : "19:00",
|
||||
"states" : [
|
||||
{ "duration" : 20, "north" : "green", "south" : "green", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "green", "south" : "amber", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 2, "north" : "green", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 5, "north" : "green", "south" : "amber", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "green", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 10, "north" : "green", "south" : "red", "east" : "red", "west" : "red", "north-right" : "green" },
|
||||
{ "duration" : 4, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "amber" },
|
||||
{ "duration" : 2, "north" : "red", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 5, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "amber" },
|
||||
{ "duration" : 4, "north" : "red", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" },
|
||||
{ "duration" : 20, "north" : "red", "south" : "red", "east" : "green", "west" : "green", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "red", "south" : "red", "east" : "amber", "west" : "amber", "north-right" : "red" },
|
||||
{ "duration" : 2, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" }
|
||||
{ "duration" : 5, "north" : "red", "south" : "red", "east" : "amber", "west" : "amber", "north-right" : "red" },
|
||||
{ "duration" : 4, "north" : "amber", "south" : "red", "east" : "red", "west" : "red", "north-right" : "red" }
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue