Difference between revisions of "Feltham Station Post Box Demystified"
From Strugglers
(Fix errors with saturday timings) |
|||
Line 1: | Line 1: | ||
− | |||
− | |||
<graphviz border='frame' location='center' format='png' caption='Simple guide to using this post box'> | <graphviz border='frame' location='center' format='png' caption='Simple guide to using this post box'> | ||
digraph postbox { | digraph postbox { | ||
Line 11: | Line 9: | ||
node[shape="diamond", style="filled", fillcolor="#efefff"] | node[shape="diamond", style="filled", fillcolor="#efefff"] | ||
− | which_day; is_before_feb_15; is_before_feb_29; is_after_5pm; is_after_415pm; is_before_9am; | + | which_day; is_before_feb_15; is_before_feb_29; is_after_5pm; is_after_415pm; is_before_9am; is_after_1130am; sat_is_before_feb_15; is_before_7am; |
node[shape="box", style="filled"] | node[shape="box", style="filled"] | ||
Line 50: | Line 48: | ||
{ rank=same; after_5pm not_yet_5pm } | { rank=same; after_5pm not_yet_5pm } | ||
− | + | after_1130am[label="Yes"]; | |
− | + | not_yet_1130am[label="No"]; | |
− | { rank=same; | + | { rank=same; after_1130am not_yet_1130am } |
− | + | sat_is_feb_15_yes[label="Yes"]; | |
− | + | sat_is_feb_15_no[label="No"]; | |
− | { rank=same; | + | { rank=same; sat_is_feb_15_yes sat_is_feb_15_no } |
− | + | after_7am[label="No"]; | |
− | + | not_yet_7am[label="Yes"]; | |
− | { rank=same; | + | { rank=same; after_7am not_yet_7am } |
start -> which_day; | start -> which_day; | ||
Line 78: | Line 76: | ||
is_after_5pm -> after_5pm -> too_late; | is_after_5pm -> after_5pm -> too_late; | ||
which_day -> which_day_sun -> no_collection | which_day -> which_day_sun -> no_collection | ||
− | which_day -> which_day_sat | + | which_day -> which_day_sat -> is_after_1130am; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
is_after_1130am -> after_1130am -> too_late; | is_after_1130am -> after_1130am -> too_late; | ||
− | is_after_1130am -> not_yet_1130am -> in_time; | + | is_after_1130am -> not_yet_1130am -> sat_is_before_feb_15; |
+ | sat_is_before_feb_15 -> sat_is_feb_15_no -> in_time; | ||
+ | sat_is_before_feb_15 -> sat_is_feb_15_yes -> is_before_7am; | ||
+ | is_before_7am -> not_yet_7am -> in_time; | ||
+ | is_before_7am -> after_7am -> maybe_ok; | ||
too_late -> end; | too_late -> end; | ||
in_time -> end; | in_time -> end; | ||
Line 92: | Line 90: | ||
start[label="Start"]; | start[label="Start"]; | ||
which_day[label="Which day of\nthe week is it?"]; | which_day[label="Which day of\nthe week is it?"]; | ||
− | is_before_feb_15[label="Is it\nFebruary 15th 2016\ | + | is_before_feb_15[label="Is it on or after\nFebruary 15th 2016?"]; |
− | is_before_feb_29[label="Is it\nFebruary 29th 2016 | + | sat_is_before_feb_15[label="Is it on or after\nFebruary 15th 2016?"]; |
+ | is_before_feb_29[label="Is it on or after\nFebruary 29th 2016?"]; | ||
is_after_5pm[label="Is it\nafter 5pm\nin the UK?"]; | is_after_5pm[label="Is it\nafter 5pm\nin the UK?"]; | ||
is_after_415pm[label="Is it\nafter 4.15pm\nin the UK?"]; | is_after_415pm[label="Is it\nafter 4.15pm\nin the UK?"]; | ||
is_before_9am[label="Is it\nbefore 9am\nin the UK?"]; | is_before_9am[label="Is it\nbefore 9am\nin the UK?"]; | ||
− | + | is_before_7am[label="Is it\nbefore 7am\nin the UK?"]; | |
− | + | ||
is_after_1130am[label="Is it\nafter 11.30am\nin the UK?"]; | is_after_1130am[label="Is it\nafter 11.30am\nin the UK?"]; | ||
in_time[fillcolor="#ccffcc",label="Congrats! This should be collected today!"]; | in_time[fillcolor="#ccffcc",label="Congrats! This should be collected today!"]; | ||
too_late[fillcolor="#ffcccc",label="Sorry, you're too late for today's post"]; | too_late[fillcolor="#ffcccc",label="Sorry, you're too late for today's post"]; | ||
− | maybe_ok[fillcolor="orange",label="You might have missed | + | maybe_ok[fillcolor="orange",label="You might have missed the last collection today"]; |
no_collection[fillcolor="#ffcccc",label="There's no collection today"]; | no_collection[fillcolor="#ffcccc",label="There's no collection today"]; | ||
end[label="End"]; | end[label="End"]; | ||
} | } | ||
</graphviz> | </graphviz> | ||
+ | |||
+ | [[File:pobox.jpg|800px]] |