0
0

feat(mqtt): 添加电池电量百分比字段并适配控制列表显示

- 在 MqttXinghanJson 中新增 batteryPercentage 字段- 在 XinghanDeviceDataRule 中设置 batteryPercentage 值
- 适配控制百分比列表显示电池电量信息
This commit is contained in:
2025-09-23 15:55:01 +08:00
parent baa341c2bf
commit 91f0241181
2 changed files with 5 additions and 1 deletions

View File

@ -66,5 +66,9 @@ public class MqttXinghanJson {
*/
@JsonProperty("sta_system")
public String stasystem;
/**
* 电量百分比(适配控制列表显示)
*/
public String batteryPercentage;
}