设备网络SDK开发使用手册

NET_ITC_SERIAL_INFO

车检器参数结构体。

struct{
  BYTE     bySerialProtocol;
  BYTE     byIntervalType;
  WORD     wInterval;
  BYTE     byNormalPassProtocol;
  BYTE     byInverseProtocol;
  BYTE     bySpeedProtocol;
  BYTE     byRes[9];
}NET_ITC_SERIAL_INFO,*LPNET_ITC_SERIAL_INFO;

Members

bySerialProtocol
闯红灯违规的逻辑抓拍类型,定义如下所示:
enum _ITC_SERIAL_PROTOCOL_{
  ITC_PROTOCOL_UNKNOW             = 0,
  ITC_SINGLE_COIL_PROTOCOL        = 1,
  ITC_DOUBLE_COIL_PROTOCOL_MODE1  = 2,
  ITC_DOUBLE_COIL_PROTOCOL_MODE2  = 3,
  ITC_DOUBLE_COIL_PROTOCOL_MODE3  = 4,
  ITC_DOUBLE_COIL_PROTOCOL_MODE4  = 5,
  ITC_DOUBLE_COIL_PROTOCOL_MODE5  = 6,
  ITC_DOUBLE_COIL_PROTOCOL_MODE6  = 7,
  ITC_SINGLE_COIL_PROTOCOL1       = 8,
  ITC_OTHER_PROTOCOL              = 0xff
}ITC_SERIAL_PROTOCOL
ITC_PROTOCOL_UNKNOW
未知
ITC_SINGLE_COIL_PROTOCOL
单线圈车检器协议(动态显示:到达、离开、离开延迟抓拍,离开牌识)
ITC_DOUBLE_COIL_PROTOCOL_MODE1
双线圈车检器协议模式1(动态显示:到达一、离开一、离开二抓拍,离开一牌识)
ITC_DOUBLE_COIL_PROTOCOL_MODE2
双线圈车检器协议模式2(动态显示:离开一、离开二、离开二延时抓拍,离开一牌识,默认为延时距离1m)
ITC_DOUBLE_COIL_PROTOCOL_MODE3
双线圈车检器协议模式3(动态显示:进入二、离开一、离开二延时抓拍,离开一牌识,默认为延时距离1m)
ITC_DOUBLE_COIL_PROTOCOL_MODE4
双线圈车检器协议模式4(到达2线圈、离开1线圈、离开2线圈、离开2线圈延迟抓拍,离开1牌识,上传图像到达2、离开2、离开2延迟)
ITC_DOUBLE_COIL_PROTOCOL_MODE5
双线圈车检器协议模式5(到达2线圈、离开1线圈、离开2线圈、离开2线圈延迟抓拍,到达2、离开1牌识,上传图像到达2、离开2、离开2延迟)
ITC_DOUBLE_COIL_PROTOCOL_MODE6
双线圈车检器协议模式6(到达1线圈、到达2线圈、离开1线圈、离开2线圈、离开2线圈延迟抓拍,到达1、离开1牌识,上传图像到达1、离开2、离开2延迟)
ITC_SINGLE_COIL_PROTOCOL1
单线圈模式2(到达线圈、离开线圈、离开线圈延迟抓拍,到达和离开牌识)
ITC_OTHER_PROTOCOL
其它车检器协议
byIntervalType
间隔类型(默认按时间):0- 时间起效,1- 距离起效
wInterval
连拍间隔时间(单位:ms)或连拍间隔距离(单位:分米)。当byIntervalType为0时,表示间隔时间,当byIntervalType为1时,表示距离
byNormalPassProtocol
正常过车抓拍协议类型,定义如下所示:
enum _ITC_NORMAL_PASS_SERIAL_PROTOCOL_{
  ITC_NORMAL_PASS_SERIAL_UNKNOW   = 0,
  ITC_NORMAL_PASS_PROTOCOL_MODE1  = 1,
  ITC_NORMAL_PASS_PROTOCOL_MODE2  = 2,
  ITC_NORMAL_PASS_PROTOCOL_MODE3  = 3,
  ITC_NORMAL_PASS_PROTOCOL_MODE4  = 4,
  ITC_NORMAL_PASS_PROTOCOL_MODE5  = 5
}ITC_NORMAL_PASS_SERIAL_PROTOCOL
ITC_NORMAL_PASS_SERIAL_UNKNOW
未知
ITC_NORMAL_PASS_PROTOCOL_MODE1
单线圈,离开抓拍,牌识上传(默认)
ITC_NORMAL_PASS_PROTOCOL_MODE2
线圈,到达、离开抓拍,均牌识,仅上传离开车辆图片和置信度高的车牌结果
ITC_NORMAL_PASS_PROTOCOL_MODE3
双线圈,离开1抓拍,牌识上传(默认)
ITC_NORMAL_PASS_PROTOCOL_MODE4
双线圈,到达1、离开1抓拍,均牌识,仅上传离开1车辆图片和置信度高的车牌结果
ITC_NORMAL_PASS_PROTOCOL_MODE5
双线圈,到达2、离开1抓拍,均牌识,仅上传离开1车辆图片和置信度高的车牌结果
byInverseProtocol
逆行抓拍协议类型,定义如下所示:
enum _ITC_INVERSE_SERIAL_PROTOCOL_{
  ITC_INVERSE_SERIAL_UNKNOW   = 0,
  ITC_INVERSE_PROTOCOL_MODE1  = 1,
  ITC_INVERSE_PROTOCOL_MODE2  = 2,
  ITC_INVERSE_PROTOCOL_MODE3  = 3
}ITC_INVERSE_SERIAL_PROTOCOL
ITC_INVERSE_SERIAL_UNKNOW
未知
ITC_INVERSE_PROTOCOL_MODE1
不抓拍
ITC_INVERSE_PROTOCOL_MODE2
到达1连抓2张、离开2抓拍,到达1两张均牌识,上传3张车辆图片和置信度高的车牌结果
ITC_INVERSE_PROTOCOL_MODE3
到达1、离开2抓拍,到达1牌识,上传2张车辆图片和车牌结果
bySpeedProtocol
超速抓拍协议类型,定义如下所示:
enum _ITC_SPEED_SERIAL_PROTOCOL_{
  ITC_SPEED_SERIAL_UNKNOW   = 0,
  ITC_SPEED_PROTOCOL_MODE1  = 1,
  ITC_SPEED_PROTOCOL_MODE2  = 2,
  ITC_SPEED_PROTOCOL_MODE3  = 3
}ITC_SPEED_SERIAL_PROTOCOL
ITC_INVERSE_SERIAL_UNKNOW
未知
ITC_INVERSE_PROTOCOL_MODE1
不抓拍
ITC_INVERSE_PROTOCOL_MODE2
双/三线圈,离开1,离开2,离开2延时抓拍,离开1牌识,上传车辆图片(卡口离开1,超速离开1、离开2、离开2延时)和车牌结果
ITC_INVERSE_PROTOCOL_MODE3
双/三线圈,离开1,离开2,离开2延时抓拍,离开1牌识,上传车辆图片(卡口离开1,超速离开1、离开2)和车牌结果
byRes
保留

Remarks

bySerialProtocol适用于闯红灯违规抓拍,byNormalPassProtocol和bySpeedProtocol适用于卡式电警,byInverseProtocol适用于电警和卡式电警。电警和卡式电警包含闯红灯,若闯红灯违规时逻辑抓拍配了其他车检器,那正常过车、逆行、超速也为其他车检器。

See Also

NET_ITC_EPOLICE_LANE_PARAM