NET_ITC_SINGLE_IOTL_PARAM

Structure about a single group of IO traffic light parameters for the intersection violation system.

Structure Definition

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;

Members

byEnable

Whether to enable: 0-no, 1-yes.

byLightIO

Traffic light IO: 0-IO1, 1-IO2, 2-IO3, 3-IO4, 4-IO5, 5-IO6.

byTrafficLight

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.

byTrigIO

Triggered IO port No.: 0-IO1, 1-IO2, 2-IO3, 3-IO4, 4-IO5, 5-IO6.

byTrigIOStatus

Triggered IO port status: 0-falling edge (default), 1-rising edge, 2-rising edge and falling edge, 3-high level, 4-low level.

byRelatedDriveWay

Linked lane No.

byRecordEnable

Whether to record by cycle for running red light event: 0-no, 1-yes.

byRecordType

Recording type for running red light event: 0-pre-record, 1-post-record.

byPreRecordTime

Pre-record time for running red light event, the default value is 0, unit: second.

byRecordDelayTime

Post-record time for running red light event, the default value is 0, unit: second.

byRecordTimeOut

Cycle recording timeout for running red light event, unit: second.

byRedSnapTimes

Red light capture times: 0-not capture, other value-number of pictures per burst capture (the maximum value is 5).

byGreenSnapTimes

Green light capture times: 0-not capture, other value-number of pictures per burst capture (the maximum value is 5).

byRelatedIOOutEx

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.

byRes1

Reserved.

byIntervalType

Interval type: 0-time (default), 1-distance.

wRedInterval

Burst time (unit: millisecond) or burst distance (unit: decimeter) of the red light. The burst interval type is determined by byIntervalType.

wGreenInterval

Burst time (unit: millisecond) or burst distance (unit: decimeter) of the green light. The burst interval type is determined by byIntervalType.

byRelatedIOOut

Linked IO output port. Multiple ports can be linked simultaneously.

byFlashMode

Flashing mode of the flash light: 0-simultaneous, 1-sequential.

byRes2

Reserved.

struPlateRecog

License plate recognition area parameters, see details in the structure NET_ITC_PLATE_RECOG_REGION_PARAM.

byRes

Reserved.