export const fanSchema = [
  {
    "attr": 0,
    "canTrigger": true,
    "code": "switch",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 1,
    "mode": "rw",
    "name": "开关",
    "property": {
      "type": "bool"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "mode",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 2,
    "mode": "rw",
    "name": "模式",
    "property": {
      "range": [
        "nature",
        "sleep",
        "fresh",
        "smart",
        "strong"
      ],
      "type": "enum"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "fan_speed",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 3,
    "mode": "rw",
    "name": "风速",
    "property": {
      "min": 1,
      "max": 100,
      "scale": 0,
      "step": 1,
      "type": "value"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "switch_vertical",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 4,
    "mode": "rw",
    "name": "上下摆风开关",
    "property": {
      "type": "bool"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "switch_horizontal",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 5,
    "mode": "rw",
    "name": "左右摆风开关",
    "property": {
      "type": "bool"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "fan_vertical",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 6,
    "mode": "rw",
    "name": "上下摆风",
    "property": {
      "range": [
        "30",
        "60",
        "90"
      ],
      "type": "enum"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "fan_horizontal",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 7,
    "mode": "rw",
    "name": "左右摆风",
    "property": {
      "range": [
        "30",
        "60",
        "90"
      ],
      "type": "enum"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "fan_direction",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 8,
    "mode": "rw",
    "name": "风向",
    "property": {
      "range": [
        "forward",
        "reverse"
      ],
      "type": "enum"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "anion",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 9,
    "mode": "rw",
    "name": "负离子",
    "property": {
      "type": "bool"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "humidifier",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 10,
    "mode": "rw",
    "name": "加湿",
    "property": {
      "type": "bool"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "oxygen",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 11,
    "mode": "rw",
    "name": "氧吧",
    "property": {
      "type": "bool"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "fan_cool",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 12,
    "mode": "rw",
    "name": "冷风",
    "property": {
      "type": "bool"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "fan_beep",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 13,
    "mode": "rw",
    "name": "声音",
    "property": {
      "type": "bool"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "child_lock",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 14,
    "mode": "rw",
    "name": "童锁",
    "property": {
      "type": "bool"
    },
    "type": "obj"
  },
  {
    "attr": 16,
    "canTrigger": true,
    "code": "light",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 15,
    "mode": "rw",
    "name": "灯光",
    "property": {
      "type": "bool"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "bright_value",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 16,
    "mode": "rw",
    "name": "灯光亮度",
    "property": {
      "min": 10,
      "max": 1000,
      "scale": 0,
      "step": 1,
      "type": "value"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "temp_value",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 17,
    "mode": "rw",
    "name": "灯光色温",
    "property": {
      "min": 0,
      "max": 1000,
      "scale": 0,
      "step": 1,
      "type": "value"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "work_mode",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 19,
    "mode": "rw",
    "name": "灯光模式",
    "property": {
      "range": [
        "white",
        "colour",
        "colourful"
      ],
      "type": "enum"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "temp_set",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 20,
    "mode": "rw",
    "name": "温度设置",
    "property": {
      "unit": "℃",
      "min": 0,
      "max": 50,
      "scale": 0,
      "step": 1,
      "type": "value"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "temp_current",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 21,
    "mode": "ro",
    "name": "当前温度",
    "property": {
      "unit": "℃",
      "min": 0,
      "max": 50,
      "scale": 0,
      "step": 1,
      "type": "value"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "countdown_set",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 22,
    "mode": "rw",
    "name": "倒计时",
    "property": {
      "range": [
        "cancel",
        "1h",
        "2h",
        "3h",
        "4h",
        "5h",
        "6h"
      ],
      "type": "enum"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "countdown_left",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 23,
    "mode": "ro",
    "name": "倒计时剩余时间",
    "property": {
      "unit": "min",
      "min": 0,
      "max": 360,
      "scale": 0,
      "step": 1,
      "type": "value"
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "fault",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 24,
    "mode": "ro",
    "name": "故障告警",
    "property": {
      "label": [
        "motor_fault"
      ],
      "type": "bitmap",
      "maxlen": 1
    },
    "type": "obj"
  },
  {
    "attr": 0,
    "canTrigger": true,
    "code": "temp_unit_convert",
    "defaultRecommend": false,
    "editPermission": false,
    "executable": true,
    "extContent": "",
    "id": 28,
    "mode": "rw",
    "name": "温标切换",
    "property": {
      "range": [
        "c",
        "f"
      ],
      "type": "enum"
    },
    "type": "obj"
  }
]