{
  "id": "463cee4b-d8e1-4fba-b48c-cf3f259194d0",
  "name": "ADC_OT21",
  "expands": {
    "deviceType": "auxiliarySensor"
  },
  "properties": [
    {
      "id": "controlGlobal3/0",
      "name": "操作",
      "accessMode": "rw",
      "dataType": {
        "type": "int",
        "min": "0",
        "max": "255",
        "step": "1",
        "unit": ""
      },
      "expands": {
        "readType": "int",
        "symbol": false,
        "readFlag": 3,
        "writeFlag": 6,
        "reportMethod": 2,
        "registerAddress": 0,
        "registerNumber": 1,
        "swapByte": false,
        "swapOrder": false,
        "scalingFactor": 1.0,
        "b": 0,
        "capabilities": [
          {
            "id": "fanSwitch",
            "name": "开关机操作",
            "start": 14,
            "num": 2,
            "swapByte": false,
            "swapOrder": false,
            "scalingFactor": 1,
            "dataType": {
              "type": "boolean",
              "trueText": "开机",
              "falseText": "关机",
              "trueValue": "2",
              "falseValue": "1"
            }
          },
          {
            "id": "fanMode",
            "name": "模式设置",
            "start": 9,
            "num": 5,
            "swapByte": false,
            "swapOrder": false,
            "scalingFactor": 1,
            "dataType": {
              "type": "enum",
              "elements": [
                {
                  "value": "1",
                  "key": "refrigeration",
                  "text": "制冷模式"
                },
                {
                  "value": "2",
                  "key": "dehumidity",
                  "text": "除湿模式"
                },
                {
                  "value": "8",
                  "key": "heating",
                  "text": "制热模式"
                },
                {
                  "value": "4",
                  "key": "ventilate",
                  "text": "风扇模式"
                },
                {
                  "value": "9",
                  "key": "heating-floorheat",
                  "text": "地暖模式"
                },
                {
                  "value": "10",
                  "key": "heating-autofloorheat",
                  "text": "智能地暖模式"
                }
              ]
            }
          },
          {
            "id": "fanWindSpeedSet",
            "name": "风速设置",
            "start": 5,
            "num": 4,
            "swapByte": false,
            "swapOrder": false,
            "scalingFactor": 1,
            "dataType": {
              "type": "enum",
              "elements": [
                {
                  "value": "1",
                  "key": "lowWind",
                  "text": "低风"
                },
                {
                  "value": "2",
                  "key": "mediWind",
                  "text": "中风"
                },
                {
                  "value": "4",
                  "key": "highWind",
                  "text": "高风"
                },
                {
                  "value": "8",
                  "key": "autoWind",
                  "text": "自动风"
                }
              ]
            }
          },
          {
            "id": "fanTempSet",
            "name": "设置温度",
            "start": 0,
            "num": 5,
            "swapByte": false,
            "swapOrder": false,
            "scalingFactor": 1.0,
            "b": 15,
            "dataType": {
              "type": "int",
              "min": "0",
              "max": "30",
              "step": "1",
              "unit": "℃"
            }
          }
        ]
      },
      "remark": ""
    }
  ],
  "functions": [],
  "events": [],
  "protocol": {
    "type": "Modbus-Rtu",
    "expands": {
      "baudRate": 4800,
      "dataBits": 8,
      "startBits": 1,
      "stopBits": 1,
      "parity": 0
    }
  }
}
