绑定设备+覆盖模式+控制显示bug+在线更新

This commit is contained in:
2026-09-01 08:59:20 +08:00
parent 0fa67a127b
commit 61bce2c1cf
49 changed files with 2424 additions and 720 deletions

View File

@@ -12,6 +12,7 @@ class DeviceDataModel {
final double? current;
final double? voltage;
final double? radiation;
final bool isRobot;
const DeviceDataModel({
required this.deviceId,
@@ -24,6 +25,7 @@ class DeviceDataModel {
this.current,
this.voltage,
this.radiation,
this.isRobot = false,
});
/// 从 JSON 创建数据模型
@@ -71,6 +73,7 @@ class DeviceDataModel {
current: current,
voltage: voltage,
radiation: radiation,
isRobot: isRobot,
);
}
}