Bosch Appliances LBB 4176 Voting import/export, Introduction, Import voting script, Where

Page 32

DCN Next Generation Multi Voting

en 32

5Voting 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

Indicates the type of file and the version of DCN Next

x.0

Generation required to handle it. (required entry) In this

 

fixed text, the letter ‘x’ represents the major version

script name

number of the DCN Next Generation software.

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

<SEP>

Generation system. (required entry).

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

voting name

vote and is incremented for each subsequent vote in the script.)

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

voting menu

the previous value for subsequent votes.

A number in the range 1-7 that specifies the layout for the

 

possible answers on the delegate LCD screens: See table 2 for

Bosch Security Systems B.V. 2005 September 9922 141 70392

Image 32
Contents DCN Next Generation Multi Voting About this manual ‘Choose Startup Modules’Table of contents About multi voting What is multi voting?Multi Voting DCN Next Generation Multi Voting Starting multi voting Using HelpGetting started Commands ProceduresUsing Help KeyboardWorking with script files Preparing for a conferencePreparation window Saving a script file under a new name Opening an existing script fileSaving a script file ‘A file already exists with this name’ Deleting a script file‘Are you sure you want to delete file filename?’ Importing a script fileCreating and editing votings Exporting Multiple Choice resultsCreating new votings Entering voting description parametersVoting answers Voting kindVoting description Entering voting results parameters Open or closed voteSpecifying interim results Specifying viewing parameters‘Results Window’ ‘Answers’ ‘Absolute’‘Percentage’ Search ‘Thermometer’ then ‘Results Window’Inserting into the voting list Viewing results during or after voting Editing the current script fileInserting votings into the current script file Deleting votings in the current script file‘Results’ window Specifying which results are displayedSpecifying settings Specifying screen and print legendsSpecifying open and closed voting Specifying 100% votesApplying vote weighting Specifying auto abstainEnabling the chairman to vote Specifying that votes are not revocable‘Name’ and ‘Formula’ edit fields WhereSelect ‘Edit Quorums....’ ‘OK’, ‘Cancel’ and ‘Delete’ push buttons Select ‘Edit Majorities....’‘Quorum/Majority’ window Printing Click on ‘Approved Text’Printing script files Printing voting results‘Print Results’ dialogue box Printing...’ Print a multiple choice reportPrinting voting results automatically DCN Next Generation Multi Voting Controlling voting Control windowVoting without a script ‘Number’ and ‘Name’ text fieldsVoting using a script Selecting a votingSelecting the next voting Selecting the previous votingExiting Multi Voting ‘Voting results exist for this motion. Overwrite?’‘Changes have been made to filename. Do you want to save?’ Voting import/export IntroductionImport voting script WhereExport voting results Dcnng Result Total voting resultsPresent legend Number of presentExport Multiple Choice voting script + results Number of correct AnswersDCN Next Generation Multi Voting DCN Next Generation Multi Voting