空调温度上下限和生效解除逻辑优化

parent b8c4706b
......@@ -10,3 +10,10 @@
*.logs
*.zip
/dist
# 衍生/临时文件
/tmp
# 参考文档
/res/青岛啤酒博物馆空调智能化实施方案20260506.pptx
/res/飞奕云平台接口文档V1.3-计费.pdf
......@@ -592,8 +592,8 @@ async function integrateAcDeviceData() {
fanSpeed: FAN_SPEED_MAP[item.fanSpeed] || '自动',
setTemp: item.tempSet || 0,
roomTemp: item.roomTemp || 0,
maxTemp: item.tempSetHi || 0,
minTemp: item.tempSetLo || 0,
maxTemp: item.tempSetHi || 28, // 飞奕无数据时默认上限28℃
minTemp: item.tempSetLo || 16, // 飞奕无数据时默认下限16℃
autoControl: '生效',
};
toInsert.push({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment