XML_Cap_VehicleDetectCfg

Vehicle detection capability message in XML format

<VehicleDetectCfg version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <enabled><!--required, xs:boolean--></enabled>
  <nation opt="EU,ER,EUandCIS,ME"><!--optional, xs:string, country and region, "ER"-CIS Region, "EU"-Europe Region, "ME"-Middle East, "AP"-Asia Pacific, "AfricaAndAmerica"-Africa and America, "All"-All Region--></nation>
  <stateOrProvince opt=""><!--optional, xs:string--></stateOrProvince>
  <VehicleDetectSceneList size="">
    <VehicleDetectScene><!--list-->
      <id><!--required, xs:integer--></id>
      <sceneName min="" max=""><!--optional, xs:string--></sceneName>
      <enabled><!--required, xs:boolean--></enabled>
      <PlateRecogParam>
        <PlateRecogRegionList size="">
          <PlateRecogRegion>
            <id><!--required, xs:string--></id>
            <RegionCoordinatesList size="">
              <RegionCoordinates>  <!--required--> 
                <positionX><!--required, xs:integer, X-coordinate--></positionX> 
                <positionY><!--required, xs:integer, Y-coordinate--></positionY> 
              </RegionCoordinates>
            </RegionCoordinatesList>
          </PlateRecogRegion>
        </PlateRecogRegionList>
      </PlateRecogParam>
      <LaneConfig>
        <LaneList size="4">
          <Lane>
            <laneId min="1" max="4"><!--required, xs:integer--></laneId>
            <RegionCoordinatesList size=""><!--list, required-->
              <RegionCoordinates><!--minoccurs=2, maxoccurs=2-->
                <positionX><!--required, xs:integer--></positionX>
                <positionY><!--required, xs:integer--></positionY>
              </RegionCoordinates>
            </RegionCoordinatesList>
            <lineType opt="laneBoundaryLine,laneLine" ><!--optional, xs:string, lane line type: "laneBoundaryLine"-lane border line, "laneLine"-lane line--></lineType>
            <carDriveDirect opt="unknow,up_to_down,down_to_up">
              <!--optional, xs:string, vehicle driving direction: "unknow"-unknown, "up_to_down"-from top to bottom, "down_to_up"-from bottom to top-->
            </carDriveDirect>
          </Lane>
        </LaneList>
      </LaneConfig>
    </VehicleDetectScene>
  </VehicleDetectSceneList>
  <PlateDetectionRegion>
    <PlateSize>
      <minWidth min="" max=""><!--optional, xs:integer--></minWidth>
      <maxWidth min="" max=""><!--optional, xs:integer--></maxWidth>
    </PlateSize>
    <plateMode opt="small,large"><!--optional, xs:string, license plate mode--></plateMode>
  </PlateDetectionRegion>
  <RodeType><!--optional-->
    <type opt="entrance,city,custom,alarmInput"><!--optional, xs:string--></type>
    <Custom><!--dependent, custom-->
      <delayTime min="" max=""><!--optional, xs:integer, [0,15000]--></delayTime>
      <delayTimeUnit opt="ms"><!--optional, xs:string, unit: ms--></delayTimeUnit>
    </Custom>
  </RodeType>
  <AtRoadsideCalib><!--optional-->
    <RegionCoordinatesList size="">
    <RegionCoordinates><!--required--> 
      <positionX><!--required, xs:integer, X-coordinate --></positionX> 
      <positionY><!--required, xs:integer, Y-coordinate  --></positionY> 
    </RegionCoordinates>
    <RegionCoordinatesList>
  </AtRoadsideCalib>
  <countryIndex opt="1,2,3,4,5,6,7,8,12,14,17,18,19,20,23,39,44,55"><!--optional, xs:integer, country/region No.--></countryIndex>
  <supportCountryIndex opt="1,2,3,4,5,6,7,8,11,12,14,17,18,19,20,21,23,39,44,46,55,73"><!--optional, xs:integer, country/region No.--></supportCountryIndex>
  <!--compatibility between countryIndex and CRIndex-->
  <!--device: both fields will be returned, when the value of CRIndex is smaller than or equal to 255, the value of countryIndex is the same as that of CRIndex; when the value of CRIndex is larger than 255, the value of countryIndex is 253 (the field countryIndex is invalid)-->
  <!--integration flow: for new users, CRIndex has higher priority over countryIndex and the field countryIndex is used only when countryIndex does not exist; when the value of countryIndex is 253, additional logic processing should be adopted to use CRIndex field-->
  <CRIndex opt="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,25,26,28,29,30,31,33,34,35,36,37,38,39,40,42,43,44,45,46,47,49,51,53,55,59,60,62,65,68,70,71,72,73,76,77,84,87,89,90,94,95,91,104,107,108,110,114,115,130,137,139,140,144,145,146,151,156,157,169,174,175,177,180,181,188,206,210,215,216,217,218,219,220,221,222,227,228,256">
    <!--optional, xs:integer, country/region No., when the value is 0, it indicates that no country/region is specified-->
  </CRIndex>
  <RelatedNationAndCRListCap>
    <!--optional, xs:array of object, ro, the capability of relating a region and a country. Relating a region and a country to display them on the interface-->
    <RelatedNationAndCR>
      <!--optional, xs:object, ro, relate a region and a country-->
      <nation><!--optional, xs:string, ro, region: "AfricaAndAmerica"- Africa and America, "AP"- the Asia-Pacific, "All"-All regions, "ER"-the Russian region, "EU"-the Europe, "EUandCIS"-the EU & CIS, "ME"-the Middle East-->EU</nation>
      <CRIndex opt="1,2,3,4,5,6,7"><!--optional, xs:integer, ro, country/region index-->1</CRIndex>
    </RelatedNationAndCR>
  </RelatedNationAndCRListCap>  
</VehicleDetectCfg>