
DCN Next Generation Open Interface Release 2.4 Voting
en | 187
Bosch Communications Systems | 2007 February | SRS_VTINF | Du040905
Error codes returned
VT_E_NOERROR
VT_E_VOTE_RUNNING
VT_E_APP_NOT_STARTED
3.2.8 VT_C_SET_VOTINGPARAMS
Purpose
This function allows the remote controller to set the kind of voting on the CCU for the next voting
to be run. These settings can only be sent to the CCU when no voting is running.
parameter structure for the function
The function requires the following structure as parameter:
typedef struct
{
WORD wVotingMenu;
WORD wNrOfAnswerOptions;
BOOLEAN bOpenVoting;
WORD wInterimResultType;
BOOLEAN bCompressedResults;
} VT_T_VOTINGPARAMS;
where:
wVotingMenu Identify which voting menu is displayed on the unit LCD’s and
LED’s. The setting is one of the following:
• VT_C_MENU_YES_NO
• VT_C_MENU_YES_NO_ABSTAIN
• VT_C_MENU_FOR_AGAINST
• VT_C_MENU_AUDIENCE_RESPONSE
• VT_C_MENU_123
• VT_C_MENU_ABC
• VT_C_MENU_CBA
• VT_C_MENU_YES_NO_ABSTAIN_NPPV
wNrOfAnswerOptions This parameter is coupled to wVotingMenu and identifies how
many answer options are available for the chosen voting menu.
The following table gives an overview of the valid range of
answer options:
Menu # answers / range
VT_C_MENU_YES_NO 2
VT_C_MENU_YES_NO_ABSTAIN 3
VT_C_FOR_AGAINST 2
VT_C_AUDIENCE_RESPONSE 5
VT_C_MENU_123 1-24
VT_C_MENU_ABC 1-24
VT_C_MENU_CBA 1-24
VT_C_MENU_YES_NO_ABSTAIN_NPPV 4
bOpenVoting Identify if individual results are available during the vote round.
Possible settings are:
TRUE Open voting
Individual result can be collected by the remote
controller. All values of the parameter
‘wInterimResultType’ are valid.
FALSE Closed voting
No individual results are available. This implies that
Komentarze do niniejszej Instrukcji