|
|
Ariadne - Technical description
DescriptionThis screen displays the run-events. The screen is actualized each T100!Refresh-rate-eventmonitoring , or by clicking the button 'Refresh'. The last 18 run results are written to a html file, for publication in a html-browser. The refresh trigger for run-event processing comes from the F540 form. During event execution this form need to be active, in order for the runs to be processed. Screenshot |
| Form | Control | Subform | Query | Table | Attribute |
| F540-Run-events | Q540-Processed-run-events | T020-Status-type T110-Program-block T400-Race T450-Category-in-racet T500-Competing-unit T510-Run Q520-Total-penalty-points |
competing-unit-id | ||
| Q520-Total-penalty-points | T530-Gate-negotiation | ||||
| button ButtonCU |
connects to: F510-Competing-unit |
||||
| button ButtonRefresh |
action: P610_Process_last_ run_events requery Q540-Processed-run-events P541_Publication_screen_html |
||||
| button ButtonEventFaultList |
displays: Q610-Run-event-fault-list |
Q610-Run-event-fault-list | T610-Run-event-fault T630-Run-event-fault-type T632-Run-event-type |
||
| button ButtonClose |
|||||
| Event | Action | Query | Table | Attribute | |
| timer every Q100!Refresh-rate-eventmonitoring seconds |
P610_Process_last_ run_events requery Q540-Processed-run-events P541_Publication_ screen_html |
||||
| on load | set timer to Q100!Refresh-rate-eventmonitoring | Q100-Current-competition | T100-Current-competition |
In Q540 the shadow events are filtered out, as these give double competing unit lines in the run monitoring screen.
| Module | Function | Action | Query | Table | Attribute |
| P600-Event-processing | P610_Process_last_ run_events |
T100-Current-competition | |||
| Q600 1) | T600-Run-event-buffer | ||||
| P620_Run_event_check | |||||
| P622_Valid_ start_number | Q500 1) | T500-Competing-unit | |||
| P624_T510_ Startstatus_OK | Q510 1) | T510-Run | |||
| P626_T510_ Finishstatus_OK | Q510 1) | T510-Run | |||
| P628_T510_ Initstatus_OK | Q510 1) | T510-Run | |||
| P640_Process_run_ event_in_T510 |
T510-Run | ||||
| P650_Write_ run_event_to_T610 | T610-Run-event-fault |
1) Dynamical query in the program module
Design decision (29 Nov 02)
It is decided that every entry/ competing unit always has two T510-Run
records, each for both series. (Also when the related event has only one
series.
Design decision (08 Feb 02)
The status-time-stamp changes with every change in status. When sorting
the run records for publication on status time stamp, this gives confusion.
For this reason, a start-time-stamp is added, which is actualized with
a start run-event, and with an initialization. The run-events for publication
are sorted on this start-time-stamp. (The start-time-stamp is also required
for calculation of the event-start intervals)
The normal processing is:
A valid run-event has:
Validation and processing of a start run-event
Validation and processing of a finish run-event
Validation and processing of a initialization run-event
When a run-event is not valid, write it to the T610-Run-event-fault
| Module | Function | Action | Query | Table | Attribute |
| P540-Publication-screen-html | P541_Publication_ screen_html |
- Open file - write html header - write competing unit lines - write html footer - close file |
Q545-Publication-screen | T110-Program-block T400-Race T450-Category-in-race T500-Competing-unit T510-Run Q503-Competing-unit-name Q520-Total-penalty-points Q546-Race-total |
|
| P542_Publication_ screen_header() |
- write html header - set the refresh interval |
Q100-Current-competition | T100-Current-competition |
The table cells are formatted with cascading style sheet classes. These classes are defined in the css-file Ariadne.css in the Ariadne directory. In this way the formatting can be controlled outside Ariadne.
In Q545, shadow events are filtered out (when present they give double output lines). Run start events are filtered out, because of the low information value in relation to the limited number of lines which can be displayed on the screen.
The sorting order of Q545 is the start time stamp.
| date | version | change |
| 19-11-02 | 1.5 | Ariadne 4.1, text converted to html |