Bosch THE DCN 用户手册

下载
页码 31
SC & SI Remote Interface Description 
en | 12 
 
Bosch Security Systems B.V. | 2003 December | SC & SI Remote Interface Description 
1..MAX_CARD_CODE. This is the numeric code 
present on the identification card handed over to the 
delegate and which is to be used in combination with 
attendance registration and access control. 
lPin 
Delegate pincode. A numeric value in the range 
111..55555
1
. PIN codes are used for attendance 
registration and access control, but do not have to be 
unique. 
wUnitNr 
The unit number that the delegate is assigned to by 
default. This unit number must equal UnitId retrieved 
with SC_C_GET_CCU_CONFIG 
iDeskLang 
Delegate display language. One of: 
•  DCNC_VER_ENGLISH 
•  DCNC_VER_FRENCH 
•  DCNC_VER_GERMAN 
•  DCNC_VER_ITALIAN 
•  DCNC_VER_SPANISH 
•  DCNC_VER_SIXTH 
lVWeight 
Delegate vote weight. A value in the range 
1..MAX_VOTE_WEIGTH to be used by the voting 
application. 
bMicAut 
TRUE: this delegate has microphone authorisation. 
FALSE: this delegate has no micro. authorisation 
bVotingAut 
TRUE: this delegate has voting authorisation. 
FALSE: this delegate has no voting authorisation 
bInterAut 
TRUE: this delegate has intercom authorisation. 
FALSE: this delegate has no intercom authorisation. 
szSLine 
Delegate screenline. A string to represent a delegate 
e.g. on a Hall Display. 
If more than DQSC_MAX_N_DL_DEL_REC records should be send to the CCU, more calls of this remote 
function will be needed. In this case the ‘bFirstCluster’ and ‘bLastCluster’ indicate the start and termination of 
the complete delegate database download. 
Response structure from the function 
The function has no response parameters. 
Error codes returned 
DQSE_NOERROR 
DQSE_SET_PINSIZE_FAILED   
(when pincode size update fails) 
DQSE_DELEGATE_LIST_TOO_BIG (when 
iFillLevel is greater than 
DQSC_MAX_N_DL_DEL_REC) 
DQSE_INSERT_DELEGATE_FAILED  (when delegate insert failed) 
DQSE_DELEGATE_DATA_BLOCKED  
DQSE_APP_NOT_STARTED 
 
Related functions 
SC_C_START_DQS 
SC_C_DOWNLOAD_CCU_DB 
SC_C_CLEAR_CCU_DB 
SC_C_CCU_APPLY_ONE 
 
3.10 SC_C_DOWNLOAD_CCU_DB 
Purpose 
This function is equal to SC_C_MAINT_CCU_DB except that it does not contain a field for the delegates 
screenline in the parameter structure. 
                                                      
1
 Although the PIN code is identified as a variable of the type ‘long’, the real PIN code is a 6-based number. This means 
that only digits 1 - 5 are allowed to be part of the PIN code. Besides, the PIN code also depends on the iPinSize variable. 
If e.g. iPinSize is 3, the possible values for lPin range from 111 to 555. If iPinSize is 5 then lPin ranges from 11111 to 
55555. So, lPin must always contain iPinSize digits in the range 1..5.