Bosch LBB 4176 User Manual

Page of 40
DCN Next Generation Multi Voting 
en | 32 
 
Bosch Security Systems B.V. | 2005 September | 9922 141 70392 
5
  Voting import/export 
5.1
  Introduction 
The DCN Next Generation Voting applications can import voting scripts and export voting results. The 
voting import and export takes into account the ImportSeparator setting in the Database section of 
DCNNG.INI: 
[Database] 
ImportSeparator=, 
This setting determines what character is used to separate fields in import and/or export files. The default 
separator is a comma (“,”). The default separator will be used when no separator is specified in the 
DCNNG.INI-file. 
5.2
  Import voting script 
5.2.1
  Introduction 
In voting scripts the DCN Next Generation operator can prepare a voting even if the DCN Next Generation 
system is not running. A voting script is a simple ASCII file that describes one or more voting rounds. The 
default extension of the voting script file is “imp”, but voting script files with different extension can be 
imported also. When imported into the DCN Next Generation, these voting rounds are the same as those 
made with the Multi and/or Parliamentary Voting applications. 
5.2.2
  Import file layout 
Settings that do not apply for a particular type of vote are simply ignored, but the separator characters that 
delimit these entries must be present. 
File starts with the line: 
DCNNG VOTING SCRIPT x.0<SEP>script name<EOL> 
where: 
DCNNG VOTING SCRIPT 
x.0 
Indicates the type of file and the version of DCN Next 
Generation required to handle it. (required entry) In this 
fixed text, the letter ‘x’ represents the major version 
number of the DCN Next Generation software. 
script name 
Name of the script to be stored in the database. 8 
characters maximum. A script cannot be imported if it has 
a name which is already present in the DCN Next 
Generation system. (required entry). 
<SEP> 
Indicates a separator character. 
<EOL> 
Indicates an end of line (carriage return (0x0D) and 
newline character(0x0A)). 
A 2-line entry follows for each vote: 
First line: 
voting number<SEP>voting name<SEP>voting subject<SEP>voting 
kind<SEP>voting menu<SEP>not used<SEP>not used<SEP>interim 
results<SEP>number of answers<EOL> 
where: 
voting number 
This must be in the range 1-9999. (The default is 1 for the first 
vote and is incremented for each subsequent vote in the script.) 
voting name 
20 characters maximum. Default empty. 
voting subject 
132 characters maximum. Default empty. 
voting kind 
A number in the range 1-6 that specifies the type of vote: See 
table 1 for explanation. The default is 1 for the first vote and is 
the previous value for subsequent votes. 
voting menu 
A number in the range 1-7 that specifies the layout for the 
possible answers on the delegate LCD screens: See table 2 for