设备网络SDK开发使用手册


<?xml version="1.0" encoding="utf-8"?>
<!--req, 智能交通摄像机和智能终端能力集描述 -->
<!--req, ITCAbility节点中的能力针对抓拍机;ITSAbility节点中的能力针对终端 -->
<ITDeviceAbility version="2.0">
  <channelNO>1</channelNO>
  <!--req, xs:inter,通道号-->
  <ITCAbility>
    <!--req, 智能交通IPC能力-->
    <IOInNo min="" max=""/>
    <!--req, xs:inter,IO输入口最大最小值-->
    <IOOutNo min="" max=""/>
    <!--req, xs:inter,IO输出口最大最小值-->
    <singleIOTriggerNum>4</singleIOTriggerNum>
    <!--req, xs:inter,单IO触发组数-->
    <lightArrayNum>8</lightArrayNum>
    <!--req, xs:inter,红绿灯组数-->
    <measureArrayNum>4</measureArrayNum>
    <!--req, xs:inter, 测速模式组数-->
    <lensMode opt="CCD,CMOS"/>
    <!-- 镜头模式-->
    <PreTrigger>
      <enabled>
        true
      </enabled>
      <!--req, 是否原触发模式,不支持不显示-->
    </PreTrigger>
    <triggerMode opt="postIOSpeed,postSingleIO,postRS485,postRS485Radar,postVirtualcoil,epoliceIoTrafficLights,
                 epoliceRS485,peRS485,videoEpolice,postMPR,postPRS,postHVT,PostMobile,postNoComityPed,postRedLightPed"/>
    <!--req, 触发模式,3.1之前版本无此项-->

    <support opt="imageOverlayString,calibrateTime,multiNIC,NICBonding,voiceIntercom,IOEnableCfg,FTPExpand,CloudStorage"/>
    <!--req, bySupport:
    bySupport&0x1,表示是否支持扩展的字符叠加配置
    bySupport&0x2,表示是否支持扩展的校时配置结构
    bySupport&0x4, 表示是否支持多网卡(多网隔离)
    bySupport&0x8, 表示是否支持网卡的bonding功能(网络容错)
    bySupport&0x10, 表示是否支持语音对讲
    bySupport&0x20,表示是否支持单IO触发界面IO使能配置
    bySupport&0x40,表示是否支持扩展的FTP接口(3.6版本支持)
    bySupport&0x80,表示是否支持云存储接口(3.7版本支持)-->
    <supportMultiRadar opt="postRS485Radar,postVirtualcoil,videoEpolice,postHVT"/>
    <!--req, wSupportMultiRadar:
    wSupportMultiRadar&0x1,表示 卡口RS485雷达 支持车道关联雷达处理
wSupportMultiRadar&0x2,表示 卡口虚拟线圈 支持车道关联雷达处理
wSupportMultiRadar&0x4,表示 混行卡口 支持车道关联雷达处理
wSupportMultiRadar&0x8,表示 视频检测 支持车道关联雷达处理-->
    <ICRPresetNum min="0" max="8"/>
    <!--req, 支持的ICR预置点(滤光片偏移点)数 byICRPresetNum-->
    <ICRTimeSlot min="0" max="8"/>
    <!--req, 表示支持的ICR的时间段数(1~8)byICRTimeSlot-->
    <expandRs485SupportSensor opt="peRS485,epoliceRS485"/>
    <!--req, byExpandRs485SupportSensor:
    byExpandRs485SupportSensor &0x1,表示电警车检器支持车检器
byExpandRs485SupportSensor &0x2,表示卡式电警车检器支持车检器-->
    <expandRs485SupportSignalLampDet opt="videoEpolice,epoliceRS485,peRS485"/>
    <!--req, byExpandRs485SupportSignalLampDet:
    byExpandRs485SupportSignalLampDet &0x1,表示电警车检器支持外接信号灯检测器
byExpandRs485SupportSignalLampDet &0x2,表示卡式电警车检器支持外接信号灯检测器
byExpandRs485SupportSignalLampDet &0x4,表示视频电警 支持外接信号灯检测器-->
    <ImageCombine>
      <enabled>true</enabled>
      <!--req,是否支持图片合成,不支持不显示-->
    </ImageCombine>
    <TrafficDataUpload>
      <UploadType1>
        <enabled>
          true
        </enabled>
        <!--req, 支持上传模式1(即抓拍机支持的类型,布防方式的COMM_UPLOAD_PLATE_RESULT),不支持不显示-->
      </UploadType1>
      <UploadType2>
        <enabled>
          true
        </enabled>
        <!--req, 支持上传模式2(即终端支持的类型,监听方式的COMM_ITS_PLATE_RESULT),不支持不显示-->
      </UploadType2>
      <UploadType3>
        <enabled>
          true
        </enabled>
        <!--req, 支持上传模式2(即抓拍机支持布防上传(COMM_ITS_PLATE_RESULT/NET_ITS_PLATE_RESULT),不支持不显示-->
      </UploadType3>
    </TrafficDataUpload>

    <VideoLocalRecord>
      <enabled>true</enabled>
      <!--req, 是否支持本地录像,不支持不显示-->
    </VideoLocalRecord>
    <PicLocalStore>
      <enabled>true</enabled>
      <!--req, 是否支持图片本地存储,不支持不显示-->
    </PicLocalStore>
    <PlateRecognise>
      <enabled>true</enabled>
      <!--req, 是否支持车牌识别,不支持不显示-->
      <regionType opt="rect,polygon"/>
      <!-- 牌识区域支持的类型-->
      <plateTypeopt opt="standard92,standard02,armedPolice,police,standard92Back,embassy,agricultural,moto"/>
      <plateColor opt="blue,yellow,white,black,green"/>
      <vehicleType opt="small,big"/>
      <bodyworkColor opt="white,silver,gray,black,red,darkblue,blue,yellow,green,brown,pink,violet"/>
    </PlateRecognise>
    <imageOverlayString>
      <mode1>
        <!--opt, 原抓拍机的图片字符叠加,不支持不显示-->
        <overlayStringType opt="monitor,time,speed,speedRatio,speedLimit,plate,carColor,carLength,carType,laneNum,
                           milliSecond,illegalInfo,redOnTime"/>
        <!--opt, 监测点,时间,速度,超速比,限速标志,车牌,车身颜色,车身长度,车辆类型,车道号,毫秒,违规信息,红灯已亮时间-->
      </mode1>
      <mode2>
        <!--opt, 终端和终端相机的图片字符叠加,不支持不显示-->
        <overlapType opt="monitor,site,roadNum,instrumentNum,directionNum,directionDes,laneNum,laneDes,capTime,
                     capTimeMilli,plate,carColor,carLength,carType,carBrand,speed,speedRatio,speedLimit,illegalDes,
                     redStart,redStop,redOnTime,securityCode,capCode,seatBelt"/>
        <!--opt, 监测点,地点,路口编号,设备编号,方向编号,方向描述,车道号,车道描述,抓拍时间,抓拍时间(毫秒),车牌号,
        车身颜色,车身长度,车辆类型,车辆品牌,速度,超速比,限速标志,违规信息,红灯开始时间,红灯结束时间,红灯已亮时间,
        防伪码,抓拍编号,安全带(3.7Ver)-->
        <itemLength min="0" max=""/>
        <!--opt, 字符叠加长度-->
        <changeLineNum min="0" max="10"/>
        <!--opt, 换行数-->
        <spaceNum min="0" max="255"/>
        <!--opt, 空格数-->
        <linePercent min="0" max="100"/>
        <!--opt, 叠加行百分比-->
        <itemsStlye opt="horizontal,vertical"/>
        <!--opt, 叠加方式,横排,竖排-->
        <startPosTop min="0" max="2448"/>
        <!--opt, 起始上坐标-->
        <startPosLeft min="0" max="2448"/>
        <!--opt, 起始左坐标-->
        <charStyle opt="SongTi,WeiTi"/>
        <!--opt, 字体,宋体,魏体-->
        <charSize opt="16*16,32*32,48*48,64*64,128*128"/>
        <!--req,字符大小0-32*32(中)/16*32(英),1-64*64(中)/32*64(英),2-48*48,3- 64*64(默认),4- 128*128(Ver3.7)-->
        <charInterval min="0" max="16"/>
        <!--opt, 字符间距-->
        <ForeClorRGB>
          <enabled>
            true
          </enabled>
          <!--opt, 是否支持调节前景色RGB,不支持不显示-->
        </ForeClorRGB>
        <BackClorRGB>
          <enabled>
            true
          </enabled>
          <!--opt, 是否支持调节背景色RGB,不支持不显示-->
        </BackClorRGB>
        <ColorSelfAdapt>
          <enabled>
            true
          </enabled>
          <!--opt, 颜色是否自适应,不支持不显示-->
        </ColorSelfAdapt>
        <ParamFillZero>
          <enabled>true</enabled>
          <!--req 是否支持参数补零(3.7Ver)-->
        </ParamFillZero>
        <itemTypeCustomLength min="0" max="32"/>
        <!--opt, 自定义类型长度(NET_ITS_OVERLAP_CFG_V50接口新增),不支持不显示-->
      </mode2>
    </imageOverlayString>
    <TPSAlarm>
      <!--req, 支持交通统计报警上传,不支持不显示-->
      <UploadType1>
        <enabled>
          true
        </enabled>
        <!--req, 支持上传模式2(即终端支持的类型,监听方式的COMM_ITS_TRAFFIC_COLLECT),不支持不显示-->
      </UploadType1>
      <UploadType2>
        <enabled>
          true
        </enabled>
        <!--req, 支持上传模式2(即抓拍机支持布防上传(COMM_ITS_TRAFFIC_COLLECT/NET_ITS_TRAFFIC_COLLECT),不支持不显示-->
      </UploadType2>
    </TPSAlarm>
    <CameraSetup>
      <!--req, 支持相机架设配置,不支持不显示-->
      <enabled>
        true
      </enabled>
    </CameraSetup>
    <AlarmRecordDown>
      <!--req, 支持报警录像下载,不支持不显示-->
      <enabled>
        true
      </enabled>
    </AlarmRecordDown>

    <supportMilliCheckTime>
      <!--req, 支持毫秒校时 -->
      <enabled>true</enabled>
      <customSetTimeSignLen min="" max =""/>
      <!--req, 校时标记自定义数据-->
    </supportMilliCheckTime>

    <SnapStatusDetectCFG>
      <!--req, 状态检测使能参数能力,对应结构体(NET_DVR_STATUS_DETECTCFG),不支持不显示-->
      <triggerIODectect opt="true,false"/>
      <!--req,抓拍机触发IO状态检测, true-启用,false-不启用-->
      <flashOutDetect opt="true,false"/>
      <!--req,抓拍机同步输出状态检测, true-启用,false-不启用-->
      <RS485Detect opt="true,false"/>
      <!--req,抓拍机RS485接收状态检测, true-启用,false-不启用-->
      <trafficLightDetect opt="true,false"/>
      <!--req,抓拍机交通灯状态检测, true-启用,false-不启用-->
    </SnapStatusDetectCFG>

    <SnapRadarParam>
      <!--req, 雷达配置参数能力,对应结构体(NET_ITC_RADAR_PARAM),不支持不显示-->
      <radarType opt="noRadar,Andaolei,Olivia,microwave,IOExpanBox,AndaoleiWithoutCtrl,other"/>
      <!--req,雷达类型, 0-noRadar,1-Andaolei,2-Olivia,3-microwave, 4-IOExpanBox,5-AndaoleiWithoutCtrl,0xff-other -->
      <levelAngle min="0" max="90"/>
      <!--req,与水平线所成角度, 0~90度 -->
      <radarSensitivity min="0" max="65535"/>
      <!--req,雷达灵敏度, 0~65535 -->
      <radarSpeedValidTime min="0" max="2000"/>
      <!--req,雷达速度有效时间[0~2000] -->
      <lineCorrectParam min="0.0" max="2.0"/>
      <!--req,线性矫正参数 -->
      <constCorrectParam min="-100" max="100"/>
      <!--req,常量矫正参数 -->
    </SnapRadarParam>

    <SnapEnableCfg>
      <!--req,对应的结构体(NET_DVR_SNAPENABLECFG) -->
      <plateEnable opt="true,false"/>
      <!--req,是否支持车牌识别,0-false 不支持,1-true 支持-->
      <jpegPICSize min="64" max="8196"/>
      <!--req,Jpeg图片大小[64-8196]-->
      <frameFlip opt="noturn,turn"/>
      <!--req,0-noturn(不翻转) 1-turn(翻转)-->
      <flipAngle opt="0,90,180,270"/>
      <!--req,图像翻转角度 0,90,180,270-->
      <lightPhase min="0" max="360"/>
      <!--req,相位,取值范围[0, 360]-->
      <lightSyncPower opt="noSynchronized,Synchronized"/>
      <!--req,是否信号灯电源同步:0-noSynchronized(不同步),1-Synchronized(同步)-->
      <frequency min="0" max="255"/>
      <!--req,信号频率-->
      <uploadSDEnable opt="false,true"/>
      <!--req,是否自动上传SD图片 0-false(否) 1-true(是)-->
      <plateMode opt="videoTrigger,externalTrigger"/>
      <!--req,识别模式参数 0-videoTrigger(视频触发) 1-externalTrigger(外部触发)-->
      <uploadInfoFTP opt="false,true"/>
      <!--req,是否上传抓拍附加信息到FTP 0-false(否) 1-true(是)-->
      <autoFormatSD opt="false,true"/>
      <!--req,是否自动格式化SD卡 0-false(否) 1-true(是)-->
      <SnapPicResolutionList>
        <!--req,抓拍图片分辨率列表-->
        <SnapPicResolutionEntry>
          <!--req,示例1-->
          <Index>0</Index>
          <Name>DCIF</Name>
          <!--req,此值仅作参考,设备可能返回不一致-->
          <Resolution>528*384</Resolution>
        </SnapPicResolutionEntry>
        <SnapPicResolutionEntry>
          <!--req,示例2 -->
          <Index>6</Index>
          <Name>QVGA</Name>
          <!--req,此值仅作参考,设备可能返回不一致-->
          <Resolution>320*240</Resolution>
        </SnapPicResolutionEntry>
      </SnapPicResolutionList>
    </SnapEnableCfg>

    <ITCIOoutParam>
      <defaultStatus opt="lowlevel,highlevel"/>
      <!--req IO默认状态 0 - lowlevel(低电平),1 - highlevel(高电平)-->
      <IOoutStatus opt="lowlevel,highlevel,impulse"/>
      <!--req IO起效时状态 0 - lowlevel(低电平),1 - highlevel(高电平),2 - impulse(脉冲)-->
      <flashMode opt="video,post,illegal"/>
      <!--req 闪光灯工作方式,按位表示,0-表示工作,1-表示不工作 bit0 - video(视频), bit1 - post(卡口),bit2 - illegal(违章)-->
      <timeDelay min="" max=""/>
      <!--req IO有效持续时间,单位us-->
      <aheadTime min="" max=""/>
      <!--req 输出IO提前时间,单位us-->
      <dutyRate min="0" max="40"/>
      <!--req 占空比,[0,40%]-->
      <detectBrightness opt="false,true"/>
      <!--req 自动检测亮度使能闪光灯 0-false(不检测) 1-true(检测)-->
      <brightnessThreld min="0" max="100"/>
      <!--req 使能闪光灯亮度阈值,范围[0,100],高于阈值闪-->
      <flashLightEnable opt="false,true"/>
      <!--req 设置闪光灯时间使能 0-false(关) 1-true(开)-->
      <autoPlateBrightness opt="false,true"/>
      <!--req 车牌亮度自动使能闪光灯 0-false(不启用) 1-true(启用)-->
      <ioWorkMode opt="flashlight,polarizer"/>
      <!-- IO输出口工作模式:0-闪光灯,1-偏振镜-->
    </ITCIOoutParam>

    <CameraSetUpCfg>
      <setupHeight min="0" max="65535"/>
      <!--req 架设高度-->
      <lensType opt="unKnown,8mm,12mm,16mm,25mm,35mm,50mm"/>
      <!--req 镜头焦距类型-->
      <setupHeightUnit opt="M,CM"/>
      <!-- req 0~M,1~CM-->
      <sceneDis min="0" max="65535"/>
      <!--req 图像下边缘位置与相机之间的水平距离,单位:厘米-->
      <videoDetCoefficient min="" max=""/>
      <!--req 视频测试系数[0,300]-->
      <erectMethod opt="normalinstallation,sideinstallation"/>
      <!--req, 架设方式:0-正装,1-侧装-->
      <horFieldAngle min="" max=""/>
      <!-- 相机水平视场角角度[0°,360°]-->
      <verFieldAngle min="" max=""/>
      <!-- 相机垂直视场角角度[0°,360°]-->
    </CameraSetUpCfg>

    <PlcCfg>
      <PLCEnable opt="false,true"/>
      <!--req 车牌亮度补偿(默认启用):0-关闭,1-启用-->
      <plateExpectBright min="0" max="100"/>
      <!--req 车牌的预期亮度(默认值50), 范围[0, 100]-->
      <brightChangeEnable opt="false,true"/>
      <!--req 考虑光照变化(默认启用):0-关闭,1-启用-->
      <brightChangeThreld min="0" max="100"/>
      <!--req 判断光照变化的阈值(默认值50),范围[0, 100]-->
      <tradeOffFlash opt="false,true"/>
      <!--req 考虑闪光灯的影响: 0 - 否;  1 - 是(默认) 使用闪光灯补光时, 如果考虑减弱闪光灯的亮度增强效应, 则需要设为1;否则为0-->
      <correctFactor min="0" max="100"/>
      <!--req 纠正系数, 范围[0,100], 默认值50 (在tradeoff_flash切换时,恢复默认值) -->
      <loopStatsEn opt="false,true"/>
      <!--req 该线圈的亮度,按位表示,0-不统计,1-统计-->
      <PLCBrightOffSet min="0" max="100"/>
      <!--req 车牌亮度补偿灵敏度(虚拟线圈模式起效),取值范围1~100-->
    </PlcCfg>

    <CabinetAlarmParamCfg>
      <supportCabinetNum min="0" max="8"/>
      <cabinetNameLen min="0" max="32"/>
      <associateIO opt="1,2,3,4,0xff"/>
      <!--req 1-4,0xff, 其中1-4表示具体的IO通道号,0xff表示不启用-->
      <cabinetState opt="lowlevel,hightlevel"/>
      <!--req 0~低电平,1~高电平-->
      <alarmIntervalTime min="1" max="60"/>
      <!--req 取值范围1-60,单位:秒-->
    </CabinetAlarmParamCfg>

    <ExceptionAlarmITC>
      <exceptionType opt="diskError,nicBroken,ipConflict,sensors,signalDetector"/>
      <alarmHandleType opt="monitor,audio,center,alarmout,picture,wirelesslight,uploadftp"/>
      <!--req,处理类型,picture:抓图并邮件(此处由于早期能力缺少uploadftp,后才加上,此处若解析不到该字符串,判断是否支持抓图传FTP再解析设备软硬件能力中的UploadFTP节点)-->
    </ExceptionAlarmITC>
    <ICRCFG>
      <autoCtrlTime>4</autoCtrlTime>
      <ICRPreset>2</ICRPreset>
      <switchType opt="no,auto,manual,time,algorithmAuto"/>
      <!--0 ~不切换,1~自动切换,2~手动切换 ,3~定时切换,4~算法自动-->
      <AlgorithmAutoSwitch>
        <detThreshold min="" max="" def=""/>
        <!--检测阈值,范围[0,100],默认 58-->
        <unBrightnessThreshold min="" max="" def=""/>
        <!--异常亮度阈值,范围[0,255],默认12-->
      </AlgorithmAutoSwitch>
    </ICRCFG>

    <ITCFTP>
      <ItcFtpTypeCond>
        <workMode opt="ftp1,ftp2"/>
        <!--req 0-FTP1(主FTP),1-FTP2(备FTP)-->
      </ItcFtpTypeCond>
      <ItcFtpCfg>
        <enableFtp opt="true,false"/>
        <!--req 0-false(否),1-true(是)-->
        <addressType opt="ipaddress,domainname"/>
        <!--req 0-实际ipv4 ipv6地址 1-域名-->
        <ftpPort min="" max=""/>
        <!--req ftp端口范围-->
        <domainLen min="" max=""/>
        <!--req 域名长度-->
        <userNameLen min="" max=""/>
        <!--req 用户名长度-->
        <passwordLen min="" max=""/>
        <!--req 密码长度-->
        <dirLevel opt="rootdirectory,parentdirectory,childdirectory,threedirectory,fourdirectory"/>
        <!--req 0 = 不使用目录结构,直接保存在根目录,1 = 使用1级目录,2=使用2级目录,3 = 使用3级目录,4=使用4级目录-->
        <uploadDataType opt="all,post,illegal"/>
        <!--req 0-all,1-卡口,2-违章(单FTP时默认选择全部,双FTP时支持卡口,违章的选择)-->
        <itemOrder opt="devname,devno,devip,channelname,channelno,time,cardno,plateno,paltecolor,laneno,carspeed,picnumber,
                      carnumber,speedlimit,illegalcode,crossnumber,directionnumber,carColor,plateCoordinate,carType,violationType,custom"/>
        <delimiter opt="_"/>
        <!--req 分隔符,一般为'_'-->
        <topDirMode opt="deviceName,deviceNO,deviceIP,monitor,time,timeday,violatetype,direction,place ,channelName,channelNo,LaneNo,custom"/>
        <!--req 0x1 =使用设备名,0x2 = 使用设备号,0x3 =使用设备ip地址,0x4=使用监测点,0x5=使用时间(年月), 0x6=使用时间(年月日),
           0x7=违规类型,0x8=方向,0x9=地点,0xa=通道名,0xb=通道号,0xc=车道号0xff=自定义-->
        <subDirMode opt="deviceName,deviceNO,deviceIP,monitor,time,timeday,violatetype,direction,place ,channelName,channelNo,LaneNo,custom"/>
        <threeDirMode opt="deviceName,deviceNO,deviceIP,monitor,time,timeday,violatetype,direction,place ,channelName,channelNo,LaneNo,custom"/>
        <fourDirMode opt="deviceName,deviceNO,deviceIP,monitor,time,timeday,violatetype,direction,place ,channelName,channelNo,LaneNo,custom"/>
        <topCustomDirLen min="" max=""/>
        <!--req 自定义一级目录长度-->
        <subCustomDirLen min="" max=""/>
        <!--req 自定义二级目录长度-->
        <threeCustomDirLen min="" max=""/>
        <!--req 自定义三级目录长度-->
        <fourCustomDirLen min="" max=""/>
        <!--req 自定义四级目录长度-->
        <supportUploadPlate opt="true,false"/>
        <!--req 是否上传车牌小图-->
        <picNameCustomLen min="" max=""/>
        <!--req 图片命名自定义,当PICNAME_ITEM_CUSTOM时生效-->
      </ItcFtpCfg>
    </ITCFTP>

    <CloudStorage>
      <poolID min="" max=""/>
      <userNameLen min="" max=""/>
      <passwdLen min="" max=""/>
      <poolInfo opt="postVideoPool,illegalVideoPool"/>
      <!--req, 数组0表示卡口录像池,数组1表示违章录像池-->
      <supportURLUpload opt="true,false"/>
      <!--req, 支持URL上传方式-->
    </CloudStorage>

    <SignalLampDet>
      <enabled>true</enabled>
      <!--req, 支持信号灯检测-->
    </SignalLampDet >

    <FlashLampDet>
      <enabled>true</enabled>
      <!--req, 支持闪光检测-->
    </FlashLampDet>

    <CurTriggerMode>
      <!-- req, 3.7新增-->
      <enabled>true</enabled>
      <!--req, 支持获取当前设备的触发模式-->
    </CurTriggerMode>

    <ManualSnap>
      <!--req, 3.7新增-->
      <osdEnable>true</osdEnable>
      <!--req, 抓图OSD支持强制关闭-->
      <laneNo min = "1" man = "6"></laneNo>
      <!--req, 车道号-->
    </ManualSnap>

    <GPSDATACFG>
      <gpsDataMode opt="auto,manual"/>
      <!--req, GPS数据获取: 0-自动,1-手动-->
      <longitudeType opt="east,west"/>
      <!--req, 经度: 0-东经,1-西经-->
      <latitudeType opt="north,south"/>
      <!--req, 纬度: 0-南纬,1-北纬-->
      <Longitude>
        <degree min="0" max="180"/>
        <minute min="0" max="60"/>
        <sec min="0" max="60"/>
      </Longitude>
      <Latitude>
        <degree min="0" max="180"/>
        <minute min="0" max="60"/>
        <sec min="0" max="60"/>
      </Latitude>
    </GPSDATACFG>

    <ITCGateNum>1</ITCGateNum>
    <!--req, 道闸数-->
    <ITCEntranceCfg>
      <relateTriggerMode opt="postSingleType,postRS485,postHVTType"/>
      <!--req, 单IO触发(卡口),RS485车检器触发(卡口),混行卡口视频触发(卡口)-->
      <matchContent opt="null,plateContentWithColor,plateContentWithoutColor,cardContent"/>
      <!--req, 0-无(不做匹配) 1-车牌匹配(带车牌颜色)2-车牌匹配(不带车牌颜色)3-卡号匹配-->
      <barrierGateCtrlMode opt="camera, platform"/>
      <!--req,0-camera,1-platform-->
      <relayCfg>
        <relayNum>4</relayNum>
        <!--req,继电器个数-->
        <accessDevInfo opt="null,openGate,closeGate,stopGate,alarm,lamp"/>
        <!--req 0-不接入设备,1-开道闸、2-关道闸、3-停道闸、4-报警信号、5-常亮灯-->
      </relayCfg>
      <ITCVehicleCfg>
        <vehicleCtrlType opt="temporaryVehicle,blacklistVehicle,whitelistVehicle"/>
        <!--req,0-临时车辆配置的模式,1-黑名单车辆的模式,2-白名单车辆的模式-->
        <gateOperateType opt="null,open"/>
        <!--req,0-无操作,1-开道闸-->
        <alarmOperateType opt="null,relay,setAlarm,upload"/>
        <!--req, 0-无操作,bit0-继电器输出报警 bit1-布防上传报警 bit3-告警主机上传(可复选)(0-表示关,1-表示开)-->
      </ITCVehicleCfg>
      <GateCtrlCfg>
        <gateCtrl opt="closeGate,openGate,stopGate,lockGate"/>
        <!--req, 0-关闭道闸 1-开启道闸 2-停止道闸 3-锁定道闸-->
      </GateCtrlCfg>
    </ITCEntranceCfg>

  </ITCAbility>
  <ITSAbility>
    <cameraAmount>
      <!--req, xs:inter, 最大支持的相机个数-->
    </cameraAmount>
    <storeAmount>
      <!--req, xs:inter, 最大支持的数据存储总量(单位:个)-->
    </storeAmount>
    <ImageCombine>
      <enabled>true</enabled>
      <!--req,是否支持图片合成,不支持不显示-->
    </ImageCombine>
    <TrafficDataUpload>
      <UploadType1>
        <enabled>
          true
        </enabled>
        <!--req, 支持上传模式1(即抓拍机支持的类型,布防方式的COMM_UPLOAD_PLATE_RESULT),不支持不显示-->
      </UploadType1>
      <UploadType2>
        <enabled>
          true
        </enabled>
        <!--req, 支持上传模式2(即终端支持的类型,监听方式的COMM_ITS_PLATE_RESULT),不支持不显示-->
      </UploadType2>
      <UploadType3>
        <enabled>
          true
        </enabled>
        <!--req, 支持上传模式2(即抓拍机支持布防上传(COMM_ITS_PLATE_RESULT/NET_ITS_PLATE_RESULT),不支持不显示-->
      </UploadType3>
    </TrafficDataUpload>
    <VideoLocalRecord>
      <enabled>
        true<!--req, 是否支持本地录像,不支持不显示-->
      </enabled>
    </VideoLocalRecord>
    <PicLocalStore>
      <enabled>
        true<!--req, 是否支持图片本地存储,不支持不显示-->
      </enabled>
    </PicLocalStore>
    <PlateRecognise>
      <enabled>
        true<!--req, 是否支持车牌识别,不支持不显示-->
      </enabled>
      <regionType opt="rect,polygon"/>
      <!-- 牌识区域支持的类型-->
      <plateTypeopt opt="standard92,standard02,armedPolice,police,standard92Back,embassy,agricultural,moto"/>
      <plateColor opt="blue,yellow,white,black,green"/>
      <vehicleType opt="small,big"/>
      <bodyworkColor opt="white,silver,gray,black,red,darkblue,blue,yellow,green,brown,pink,violet"/>
    </PlateRecognise>
    <imageOverlayString>
      <mode1>
        <!--opt, 原抓拍机的图片字符叠加,不支持不显示-->
        <overlayStringType opt="monitor,time,speed,speedRatio,speedLimit,plate,carColor,carLength,carType,laneNum,milliSecond,illegalInfo,redOnTime"/>
        <!--opt, 监测点,时间,速度,超速比,限速标志,车牌,车身颜色,车身长度,车辆类型,车道号,毫秒,违规信息,红灯已亮时间-->
      </mode1>
      <mode2>
        <!--opt, 终端和终端相机的图片字符叠加,不支持不显示-->
        <overlapType opt="monitor,site,roadNum,instrumentNum,directionNum,directionDes,laneNum,laneDes,capTime,capTimeMilli,plate,carColor,carLength,carType,carBrand,speed,speedRatio,speedLimit,illegalDes,redStart,redStop,redOnTime,securityCode,capCode"/>
        <!--opt, 监测点,地点,路口编号,设备编号,方向编号,方向描述,车道号,车道描述,抓拍时间,抓拍时间(毫秒),车牌号,车身颜色,车身长度,车辆类型,车辆品牌,速度,超速比,限速标志,违规信息,红灯开始时间,红灯结束时间,红灯已亮时间,防伪码,抓拍编号-->
        <itemLength min="0" max=""/>
        <!--opt, 字符叠加长度-->
        <changeLineNum min="0" max="10"/>
        <!--opt, 换行数-->
        <spaceNum min="0" max="255"/>
        <!--opt, 空格数-->
        <linePercent min="0" max="100"/>
        <!--opt, 叠加行百分比-->
        <itemsStlye opt="horizontal,vertical"/>
        <!--opt, 叠加方式,横排,竖排-->
        <startPosTop min="0" max="2448"/>
        <!--opt, 起始上坐标-->
        <startPosLeft min="0" max="2448"/>
        <!--opt, 起始左坐标-->
        <charStyle opt="SongTi,WeiTi"/>
        <!--opt, 字体,宋体,魏体-->
        <charSize opt="16*16,32*32,48*48,64*64"/>
        <!--req,字符大小0-32*32(中)/16*32(英),1-64*64(中)/32*64(英),2-48*48 -->
        <charInterval min="0" max="16"/>
        <!--opt, 字符间距-->
        <ForeClorRGB>
          <enabled>
            true
          </enabled>
          <!--opt, 是否支持调节前景色RGB,不支持不显示-->
        </ForeClorRGB>
        <BackClorRGB>
          <enabled>
            true
          </enabled>
          <!--opt, 是否支持调节背景色RGB,不支持不显示-->
        </BackClorRGB>
        <ColorSelfAdapt>
          <enabled>
            true
          </enabled>
          <!--opt, 颜色是否自适应,不支持不显示-->
        </ColorSelfAdapt>
      </mode2>
    </imageOverlayString>
    <TPSAlarm>
      <!--req, 支持交通统计报警上传,不支持不显示-->
      <UploadType1>
        <enabled>
          true
        </enabled>
        <!--req, 支持上传模式2(即终端支持的类型,监听方式的COMM_ITS_TRAFFIC_COLLECT),不支持不显示-->
      </UploadType1>
      <UploadType2>
        <enabled>
          true
        </enabled>
        <!--req, 支持上传模式2(即抓拍机支持布防上传(COMM_ITS_TRAFFIC_COLLECT/NET_ITS_TRAFFIC_COLLECT),不支持不显示-->
      </UploadType2>
    </TPSAlarm>
    <CameraSetup>
      <!--req, 支持相机架设配置,不支持不显示-->
      <enabled>
        true
      </enabled>
    </CameraSetup>

    <supportMilliCheckTime>
      <!--req, 支持毫秒校时 -->
      <enabled>true</enabled>
    </supportMilliCheckTime>

    <CloudStorage>
      <poolID min="" max=""/>
      <userNameLen min="" max=""/>
      <passwdLen min="" max=""/>
      <poolInfo opt="postVideoPool,illegalVideoPool"/>
      <!--req 数组0表示卡口录像池,数组1表示违章录像池-->
      <supportURLUpload opt="true,false"/>
      <!--req 支持URL上传方式-->
    </CloudStorage>

    <!--req,停车场项目-->
    <LampCtrlInfo>
      <lampCtrlMode opt="inlayLamp,externalLamp"/>
      <!--req, 控灯模式:1代表内置灯,2代表外接灯-->
      <ctrlChannelIndex min="" max=""/>
      <!--req 交替控制通道号-->
      <inlayLampCtrlMode>
        <!--req 内置灯控制模式结构 -->
        <lampStateCtrlNum min="" max=""/>
        <!--req 停车位支持数范围-->
        <parkInlayInfo>
          <enable opt="false,true"/>
          <!--req,是否启用, true-启用,false-不启用-->
          <flicker opt="false,true"/>
          <!--req,是否闪烁, true-闪烁,false-不闪烁-->
          <lampColor opt="close,red,green,yellow,blue,magenta,cyan,white"/>
          <!--req 0- 灭 1-红 2-绿 3-黄 4-蓝 5-品红 6-青 7-白色-->
        </parkInlayInfo>
      </inlayLampCtrlMode>
      <externalLampCtrlMode>
        <!--req 接灯控制模式结构 -->
        <maxParkNum min="" max=""/>
        <!--req 停车位数量-->
        <parkInfoType opt="normalParkIOstate,normalNoParkIOstate,specialParkIOstate,noSpecialParkIOstate"/>
        <parkExternalSubinfo>
          <enable opt="false,true"/>
          <!--req,是否启用, true-启用,false-不启用-->
          <flicker opt="false,true"/>
          <!--req,是否闪烁, true-闪烁,false-不闪烁-->
          <IOstate opt="lowLevel,hightLevel"/>
          <!--req,高低电平, 0-低电平,1-高电平(外置灯起效)-->
        </parkExternalSubinfo>
      </externalLampCtrlMode>
    </LampCtrlInfo>

    <parkSpaceAttributeParam>
      <maxParkNum min="" max=""/>
      <!--req 停车位数量-->
      <parkSpaceInfo>
        <parkSpaceAttribute opt="normalPack,specialPack"/>
        <!-- 0~普通车位 1~特殊车位-->
      </parkSpaceInfo>
    </parkSpaceAttributeParam>

    <lampExternalCfg>
      <enable opt="false,true"/>
      <!--req,是否启用, true-启用,false-不启用-->
      <lampState>
        <flicker opt="false,true"/>
        <!--req,是否闪烁, true-闪烁,false-不闪烁-->
        <IONo opt="IO1,IO2,IO3"/>
        <!--req 1~IO1,2~IO2,4~IO3 -->
      </lampState>
    </lampExternalCfg>

    <compelCaptureCfg>
      <parkIndex opt="parkPlace1,parkPlace2,parkPlace3,parkPlace4"/>
      <!-- 车位序号从左到右 1,2,3,4-->
    </compelCaptureCfg>

    <externalControlAlarm>
      <lampState>
        <flicker opt="false,true"/>
        <!--req,是否闪烁, true-闪烁,false-不闪烁-->
        <IONo opt="IO1,IO2,IO3"/>
        <!--req 1~IO1,2~IO2,4~IO3 -->
      </lampState>
      <externalBeginTime>true</externalBeginTime>
      <!--req 是否支持 外控开始时间的上传-->
    </externalControlAlarm>
  </ITSAbility>
</ITDeviceAbility>