From 6fb56c3f2878ee598cc648d4f9df8dfd114bc9a5 Mon Sep 17 00:00:00 2001 From: tangfudong <280620913@qq.com> Date: Wed, 10 Apr 2024 11:36:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=89=A9=E6=A8=A1=E5=9E=8B=E6=9E=9A?= =?UTF-8?q?=E4=B8=BE=E7=B1=BB=E5=9E=8B=E4=BF=AE=E6=94=B9=E4=B8=BA=E5=AD=97?= =?UTF-8?q?=E7=AC=A6=E4=B8=B2=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/init/thingModel.json | 126 ++++++++++++++++++++------------------ 1 file changed, 66 insertions(+), 60 deletions(-) diff --git a/data/init/thingModel.json b/data/init/thingModel.json index ab51831c..7ae5810c 100755 --- a/data/init/thingModel.json +++ b/data/init/thingModel.json @@ -988,70 +988,76 @@ "productKey": "bGdZt8ffBETtsirm", "model": { "properties": [ - { - "identifier": "temp", - "dataType": { - "type": "int32", - "specs": { - "min": "17", - "max": "32" - } + { + "identifier": "temp", + "dataType": { + "type": "int32", + "specs": { + "min": "17", + "max": "32" + } + }, + "name": "温度", + "accessMode": "rw", + "description": "温度", + "unit": "℃" }, - "name": "温度", - "accessMode": "rw" - }, - { - "identifier": "swing_modes", - "dataType": { - "type": "bool", - "specs": { - "0": "关", - "1": "开" - } + { + "identifier": "swing_modes", + "dataType": { + "type": "enum", + "specs": { + "off": "关", + "on": "开" + } + }, + "name": "扫风开关", + "accessMode": "rw", + "description": "扫风开关" }, - "name": "扫风开关", - "accessMode": "rw" - }, - { - "identifier": "modes", - "dataType": { - "type": "enum", - "specs": { - "0": "制热", - "1": "关闭", - "2": "制冷", - "3": "送风" - } + { + "identifier": "modes", + "dataType": { + "type": "enum", + "specs": { + "heat": "制热", + "off": "关闭", + "cool": "制冷", + "fan_only": "送风" + } + }, + "name": "模式", + "accessMode": "rw", + "description": "模式" }, - "name": "模式", - "accessMode": "rw" - }, - { - "identifier": "fan_modes", - "dataType": { - "type": "enum", - "specs": { - "0": "高", - "1": "中", - "2": "低" - } + { + "identifier": "fan_modes", + "dataType": { + "type": "enum", + "specs": { + "high": "高", + "medium": "中", + "low": "低" + } + }, + "name": "风模式", + "accessMode": "rw", + "description": "风模式" }, - "name": "风模式", - "accessMode": "rw" - }, - { - "identifier": "presets_modes", - "dataType": { - "type": "enum", - "specs": { - "0": "节能", - "1": "睡眠", - "2": "活动" - } - }, - "name": "预设模式", - "accessMode": "rw" - } + { + "identifier": "preset_modes", + "dataType": { + "type": "enum", + "specs": { + "eco": "节能", + "sleep": "睡眠", + "activity": "活动" + } + }, + "name": "预设模式", + "accessMode": "rw", + "description": "预设模式" + } ], "services": [ ],