添加人体门状态检测功能,包含初始化和读取状态的逻辑,并更新主程序以集成此功能

This commit is contained in:
Wang Beihong
2026-04-21 02:00:55 +08:00
parent cdc35d323a
commit 64c56fcca9
10 changed files with 140 additions and 41 deletions

View File

@@ -534,7 +534,7 @@
"MAIN": {
"DEFAULT": {
"text_font": "number_16",
"text_color": "#d17f7f"
"text_color": "#ff5e5e"
}
}
}
@@ -585,7 +585,7 @@
"MAIN": {
"DEFAULT": {
"text_font": "number_16",
"text_color": "#d17f7f"
"text_color": "#ff5e5e"
}
}
}
@@ -636,7 +636,7 @@
"MAIN": {
"DEFAULT": {
"text_font": "number_16",
"text_color": "#d17f7f"
"text_color": "#ff5e5e"
}
}
}
@@ -736,7 +736,7 @@
"MAIN": {
"DEFAULT": {
"text_font": "chinese_16",
"text_color": "#d17f7f"
"text_color": "#ff5e5e"
}
}
}
@@ -836,7 +836,7 @@
"MAIN": {
"DEFAULT": {
"text_font": "number_16",
"text_color": "#d17f7f"
"text_color": "#ff5e5e"
}
}
}
@@ -936,7 +936,7 @@
"MAIN": {
"DEFAULT": {
"text_font": "chinese_16",
"text_color": "#d17f7f"
"text_color": "#ff5e5e"
}
}
}
@@ -1036,7 +1036,7 @@
"MAIN": {
"DEFAULT": {
"text_font": "number_16",
"text_color": "#d17f7f"
"text_color": "#ff5e5e"
}
}
}
@@ -1136,14 +1136,14 @@
"MAIN": {
"DEFAULT": {
"text_font": "chinese_16",
"text_color": "#d17f7f"
"text_color": "#ff5e5e"
}
}
}
},
"group": "",
"groupIndex": 0,
"text": "door_status",
"text": "hum_status",
"textType": "expression",
"longMode": "WRAP",
"recolor": false,
@@ -1383,7 +1383,7 @@
"MAIN": {
"DEFAULT": {
"text_font": "chinese_16",
"text_color": "#d17f7f"
"text_color": "#ff5e5e"
}
}
}
@@ -1434,7 +1434,7 @@
"MAIN": {
"DEFAULT": {
"text_font": "chinese_16",
"text_color": "#d17f7f"
"text_color": "#ff5e5e"
}
}
}
@@ -1485,7 +1485,7 @@
"MAIN": {
"DEFAULT": {
"text_font": "chinese_16",
"text_color": "#d17f7f"
"text_color": "#ff5e5e"
}
}
}
@@ -1536,7 +1536,7 @@
"MAIN": {
"DEFAULT": {
"text_font": "chinese_16",
"text_color": "#d17f7f"
"text_color": "#ff5e5e"
}
}
}