设备网络SDK开发使用手册


<ManualThermometry version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <id min="" max="">
    <!-- req ,xs:integer -->
  </id>
  <currentTime>
    <!-- req, xs:time, ISO8601 time -->
  </currentTime>
  <temperatureUnit opt="degreeCentigrade,degreeFahrenheit,degreeKelvin">
    <!-- req ,xs:string -->
  </temperatureUnit>
  <normalizedScreenSize>
    <!-- req, ro -->
    <normalizedScreenWidth>
      <!-- req, ro,xs:integer -->
    </normalizedScreenWidth>
    <normalizedScreenHeight>
      <!-- req, ro,xs:integer -->
    </normalizedScreenHeight>
  </normalizedScreenSize>
  <!-- <ThermometryRuleList size = "10"> -->

  <ThermometryRuleList>
    <ThermometryRule>
      <ruleId min="1" max="10">
        <!-- req ,xs:integer -->
      </ruleId>
      <enabled opt="true,false">
        <!-- req ,xs:boolean -->
      </enabled>
      <name min="0" max="32">
        <!-- req, xs:string -->
      </name>
      <type opt="point,region,line">
        <!-- req, xs:string"point,region,line" -->
      </type>
      <Point>
        <TempValue min="-40.0" max="1000.0">
          <!-- dep, xs:float "-40.0 .. 1000.0"  ro-->
        </TempValue>
        <CalibratingCoordinates>
          <!-- dep -->
          <positionX>
            <!-- req, xs:integer;coordinate -->
          </positionX>
          <positionY>
            <!-- req, xs:integer;coordinate  -->
          </positionY>
        </CalibratingCoordinates>
      </Point>
      <Region>
        <highestTempValue min="-40.0" max="1000.0">
          <!-- dep, xs: float ro-->
        </highestTempValue>
        <lowestTempValue min="-40.0" max="1000.0">
          <!-- dep, xs: float ro-->
        </lowestTempValue>
        <averageTempValue min="-40.0" max="1000.0">
          <!-- dep, xs: float ro-->
        </averageTempValue>
        <diffTempValue min="-40.0" max="1000.0">
          <!-- dep, xs: float ro-->
        </diffTempValue>
        <RegionCoordinatesList>
          <!-- dep -->
          <RegionCoordinates>
            <!-- opt -->
            <positionX>
              <!-- req, xs:integer;coordinate -->
            </positionX>
            <positionY>
              <!-- req, xs:integer;coordinate  -->
            </positionY>
          </RegionCoordinates>
        </RegionCoordinatesList>
      </Region>
      <Line>
        <highestTempValue min="-40.0" max="1000.0">
          <!-- dep, xs: float ro-->
        </highestTempValue>
        <lowestTempValue min="-40.0" max="1000.0">
          <!-- dep, xs: float ro-->
        </lowestTempValue>
        <RegionCoordinatesList size="">
          <!-- dep -->
          <RegionCoordinates>
            <!-- opt -->
            <positionX>
              <!-- req, xs:integer;coordinate -->
            </positionX>
            <positionY>
              <!-- req, xs:integer;coordinate  -->
            </positionY>
          </RegionCoordinates>
        </RegionCoordinatesList>
      </Line>
    </ThermometryRule>

  </ThermometryRuleList>

</ManualThermometry>