Structure about a single group of IO traffic light parameters for the intersection violation system.
struct{
BYTE byEnable;
BYTE byLightIO;
BYTE byTrafficLight;
BYTE byTrigIO;
BYTE byTrigIOStatus;
BYTE byRelatedDriveWay;
BYTE byRecordEnable;
BYTE byRecordType;
BYTE byPreRecordTime;
BYTE byRecordDelayTime;
BYTE byRecordTimeOut;
BYTE byRedSnapTimes;
BYTE byGreenSnapTimes;
BYTE byRelatedIOOutEx;
BYTE byRes1;
BYTE byIntervalType;
WORD wRedInterval[MAX_INTERVAL_NUM/*4*/];
WORD wGreenInterval[MAX_INTERVAL_NUM/*4*/];
BYTE byRelatedIOOut[MAX_IOOUT_NUM/*4*/];
BYTE byFlashMode;
BYTE byRes2[3];
NET_ITC_PLATE_RECOG_REGION_PARAM struPlateRecog[MAX_LANEAREA_NUM/*2*/];
BYTE byRes[32];
}NET_ITC_SINGLE_IOTL_PARAM, *LPNET_ITC_SINGLE_IOTL_PARAM;
Whether to enable: 0-no, 1-yes.
Traffic light IO: 0-IO1, 1-IO2, 2-IO3, 3-IO4, 4-IO5, 5-IO6.
Valid status of the traffic light: 0-high-level red light and low-level green light, 1-high-level green light and low-level red light.
Triggered IO port No.: 0-IO1, 1-IO2, 2-IO3, 3-IO4, 4-IO5, 5-IO6.
Triggered IO port status: 0-falling edge (default), 1-rising edge, 2-rising edge and falling edge, 3-high level, 4-low level.
Linked lane No.
Whether to record by cycle for running red light event: 0-no, 1-yes.
Recording type for running red light event: 0-pre-record, 1-post-record.
Pre-record time for running red light event, the default value is 0, unit: second.
Post-record time for running red light event, the default value is 0, unit: second.
Cycle recording timeout for running red light event, unit: second.
Red light capture times: 0-not capture, other value-number of pictures per burst capture (the maximum value is 5).
Green light capture times: 0-not capture, other value-number of pictures per burst capture (the maximum value is 5).
Linked IO output port. The output port No. is represented by bit, e.g., bit 0 refers to IO output port 1, bit 1 refers to IO output port 2, and so on. For each bit, 0 means that the output port is not linked, and 1 means that the output port is linked. Up to 8 IO output ports can be linked. This member is compatible with byRelatedIOOut.
Reserved.
Interval type: 0-time (default), 1-distance.
Burst time (unit: millisecond) or burst distance (unit: decimeter) of the red light. The burst interval type is determined by byIntervalType.
Burst time (unit: millisecond) or burst distance (unit: decimeter) of the green light. The burst interval type is determined by byIntervalType.
Linked IO output port. Multiple ports can be linked simultaneously.
Flashing mode of the flash light: 0-simultaneous, 1-sequential.
Reserved.
License plate recognition area parameters, see details in the structure NET_ITC_PLATE_RECOG_REGION_PARAM.
Reserved.