
DCN Next Generation Open Interface Release 2.4 Camera Control
en | 133
Bosch Communications Systems | 2007 February | SRS_CCINF | Du020905
typedef struct
{
UNITID wUnitId;
CC_T_CAMERA_ASSIGNMENT tCameraAssignment;
} CC_T_INDEXED_CAMERA_ASSIGNMENT;
where CC_T_CAMERA_ASSIGNMENT is defined as:
typedef struct
{
WORD wCameraNumber;
BYTE byPreposNumber;
CHAR szSeatText_1[CC_C_MAX_SEAT_TEXT_LEN];
CHAR szSeatText_2[CC_C_MAX_SEAT_TEXT_LEN];
} CC_T_CAMERA_ASSIGNMENT;
where:
wLength The number of cameras for which an assignment is set
in this structure. The assignment of these cameras can
be found in tIndexedCameraAssignment[0] up and until
tIndexedCameraAssignment[wLength-1]. This
parameter must be in the range 0 -
CC_C_MAX_CAMERA_ASSIGNMENT_CLUSTER. If it
is outside this range, the error CC_E_INVALID_UNITID
is returned.
tIndexedCameraAssignment Array holding the camera assignment information. Only
the first wLength items actually hold relevant
information, the rest can be ignored. Each array element
is defined as a
CC_T_INDEXED_CAMERA_ASSIGNMENT structure,
which is defined below.
wUnitId Unit identifier of the unit (delegate or chairman) to which
the camera is assigned. If this identifier is equal to
CC_C_OVERVIEW_ID, the assignment of the overview
camera will be set. If this parameter is larger than or
equal to DBSC_MAX_UNIT, the error
CC_E_INVALID_UNITID is returned.
tCameraAssignment Camera information and settings belonging to the
camera assignment. The content of this structure is
defined below.
wCameraNumber Identifier of the camera (as it is known on the connected
equipment). This parameter can have value 1-
DBSC_MAX_CAMERA. If it is outside of this range, the
error CC_E_INVALID_CAMERA_NUMBER is returned.
byPreposNumber The preposition of the camera. This preposition is
assigned to the unit with unit identifier wUnitId. If this
parameter is equal to 0 or DBSC_EMPTY_PREPOS,
the camera is a fixed camera (i.e. has no prepositions,
only one fixed position). Therefore this parameter can
have value 0-DBSC_MAX_PREPOSITION or
DBSC_EMPTY_PREPOS. If it is outside of this range,
the error CC_E_INVALID_PARAMETER is returned.
szSeatText_1 First line of the seat text configured for the camera. Note
that this parameter may or may not be used depending
on the global setting bySeatTextMode (see
CC_C_SET_GLOBAL_SETTINGS). This is a NULL
terminated string.
szSeatText_2 Second line of the seat text configured for the camera.
Note that this parameter may or may not be used
depending on the global setting bySeatTextMode (see
Komentarze do niniejszej Instrukcji