fix:修复初始化数据,修复小程序获取设备数据

V0.5.x
tangfudong 2024-03-09 01:24:40 +08:00
parent 246c6b4c37
commit 49aec5df04
2 changed files with 23 additions and 15 deletions

View File

@ -1003,10 +1003,10 @@
{
"identifier": "swing_modes",
"dataType": {
"type": "enum",
"type": "bool",
"specs": {
"off": "关",
"on": "开"
"0": "关",
"1": "开"
}
},
"name": "扫风开关",
@ -1017,10 +1017,10 @@
"dataType": {
"type": "enum",
"specs": {
"heat": "制热",
"off": "关闭",
"cool": "制冷",
"fan_only": "送风"
"0": "制热",
"1": "关闭",
"2": "制冷",
"3": "送风"
}
},
"name": "模式",
@ -1031,13 +1031,26 @@
"dataType": {
"type": "enum",
"specs": {
"high": "高",
"medium": "中",
"low": "低"
"0": "高",
"1": "中",
"2": "低"
}
},
"name": "风模式",
"accessMode": "rw"
},
{
"identifier": "presets_modes",
"dataType": {
"type": "enum",
"specs": {
"0": "节能",
"1": "睡眠",
"2": "活动"
}
},
"name": "预设模式",
"accessMode": "rw"
}
],
"services": [

View File

@ -448,11 +448,6 @@ public class DeviceInfoDataImpl implements IDeviceInfoData, IJPACommData<DeviceI
return new Paging<>(ret.getTotalElements(), MapstructUtils.convert(ret.getContent(), DeviceInfo.class));
}
@Override
public List<DeviceInfo> findAllByCondition(DeviceInfo data) {
return Collections.emptyList();
}
@Override
public DeviceInfo findOneByCondition(DeviceInfo data) {
return null;