Table of Contents

Advertisement

External Interface Manual
GroupName
DisplayLanguage
CardCode
PinCode
VoteAuthorization
MicroAuthorization
IntercomAuthorization
VotingWeight
Return values:
DCNAPI_NOERROR
DCNAPI_ERROR_DCN_NOT_RUNNING
DCNAPI_ERROR_NO_AUTHORISATION
DCNAPI_ERROR_NO_APPLY_ALLOWED
DCNAPI_GENERALERROR
DCNAPI_ERROR_BAD_CARDCODE
DCNAPI_ERROR_BAD_PINCODE
DCNAPI_ERROR_INVALID_SEATNR
DCNAPI_ERROR_GROUP_NOT_PRESENT
Description:
The ApplyOne function applies existing data which has changed, or new data for a single delegate. The apply
is carried out on the currently open names file in Startup. The ApplyOne on changed delegate data is only
allowed if the 'seat number', 'card code' and the 'PIN code' fields are not changed when Attendance
Registration is activated.
Note: Because the information that is imported in this manner is sent directly to the connected CCU, it
does not modify the DCN database. As a result the Delegate Database application will not show
changes made using this function.
Note: If DCN is installed in a language other than English, the name to be entered by the parameter
szDisplayLanguage is also translated. Refer to the corresponding entry field in the Delegate Database
application for the language names that are available in your version of the DCN software.
Note: DCNAPI_ApplyOne is obsolete, it is only present for backward compatibility. Please use
DCNAPI_ApplyOneEx instead.
5.2.3

ProduceCard

DLL format:
WORD DCNAPI_ProduceCard
(
BOOL
BOOL
Bosch Security Systems B.V. | 2004 April | External Interface Manual
The name of the group for this delegate as determined by the
names file. If the delegate is not associated with a group this
part is empty. 20 characters maximum. This group name must
already be present in the current names file.
Display language for the delegate. The default is English if the
specified language is not available.
Card code of the delegate's ID-card. This is in the range
1-999999999.
PIN code to be used for identification. The digits of the pin code
can only be in the range of 1-5.
Voting authorization (0 = No, 1 = Yes).
Microphone authorization (0 = No, 1 = Yes).
Intercom authorization (0 = No, 1 = Yes).
The voting weight for weighted voting.
This is in the range 1-99999999 (DCNAPI_ApplyOne only 1 –
65535).
The default is 1 if the range is exceeded.
WriteCode,
MakeLabel,
There are no errors.
DCN is not running.
The Delegate Database application is not
available.
This function is not currently permitted because:
• A voting round is currently running.
• The DCN is running off-line i.e. is not
connected to a running CCU.
• The seat number, card code or PIN code field
has changed and Attendance Registration is
active.
• There is no current names file.
An internal error has occurred. Make sure the
import file is in the correct format and the
communication with the CCU is ok.
The card code is out of range.
The PIN code has too many numbers or uses
digits outside the range 1-5.
The seat number is invalid.
The group given is not present in the currently
open names file in ST.
en | 25

Advertisement

Table of Contents
loading

Table of Contents