External Interface Manual en | 30
Bosch Security Systems B.V. | 2004 April | External Interface Manual
vote. This is a required entry. There is no default.
<SEP>
Indicates a separator character.
<EOL>
Indicates an end of line (carriage return (0x0D) and newline
character(0x0A)).
Table 1: Voting kind numbering Table 2: Voting menu settings Table 3: Interim results settings
1 Parliamentary vote 1 No, Yes 0 None
2 For/Against vote 2 No, Abstain, Yes 1 Total
3 Audience Response vote 3 For, Against 2 Total + Individual
4 Rating vote 4 --, -, 0, +, ++ 3 Total on PC only
5 Multiple Choice vote 5 1, 2, 3, ... 4 Total + Individual on PC only
6 Opinion Poll vote 6 A, B, C, ...
7 ..., C, B, A
Second line:
answer legend<SEP>answer text<SEP>answer correct<EOL>
where:
answer legend
Legend text for this answer (10 characters maximum).
answer text
Descriptive text for this answer (66 characters maximum).
answer correct
In a multiple choice vote, this setting indicates whether the
answer is correct (TRUE) or incorrect (FALSE).
Note: This line is repeated for the number of answers.
6.3 Export voting results
6.3.1 Introduction
In DCN Voting applications, it is possible to automatically save the final voting results for a single voting
round. This section specifies the layout of such an export file.
6.3.2 Results export file layout
The results export file is composed of the following lines of data (in this order):
identification
This section is the 1
st
line in the file.
answer legend
This section consists of lines repeated for each possible answer
in this vote (see table 1, section 6.2.2 ).
date and time
This section contains the date and time the voting was stopped.
total results
This section consists of a part with a fixed number of lines with
the totals and a part consisting of lines repeated for each
possible answer in this vote (see table 1, section 6.2.2 ). I.e.
totals per answer.
individual results
This section is conditional and consists of a line for each
delegate.
6.3.2.1. Identification
DCN RESULT 5.0<SEP>voting number<SEP>voting name<SEP>voting subject<SEP>voting
kind<SEP>number of answers<EOL>
where:
DCN RESULT x.0
Indicates the type of file and the version of DCN that produced
it. In this file type indication, the letter ‘x’ represents the major
version number of the DCN software (Version 5.0 shown in the
line above).
voting number
A number in the range 1-9999.
voting name
The name of the vote.
voting subject
The voting subject text.
voting kind
A number in the range 1-7 that specifies the type of vote: See
table 1 for explanation.
number of answers
The number of possible answer options in this vote.
6.3.2.2. Answer legend
This line is repeated ‘number of answers’ times: