所有一级页面和不分二级页面

This commit is contained in:
2026-05-25 12:58:29 +08:00
parent b9f747de05
commit afef5c4ef1
158 changed files with 13082 additions and 1602 deletions

View File

@@ -0,0 +1,26 @@
/// 设备实体类
class DeviceEntity {
final String deviceId;
final String name;
final String type;
final String status;
final double power;
final double todayEnergy;
final double? temperature;
final double? current;
final double? voltage;
final double? radiation;
const DeviceEntity({
required this.deviceId,
required this.name,
required this.type,
required this.status,
required this.power,
required this.todayEnergy,
this.temperature,
this.current,
this.voltage,
this.radiation,
});
}

View File

@@ -0,0 +1,14 @@
/// 设备状态统计实体类
class DeviceStatusEntity {
final int total;
final int online;
final int offline;
final int exception;
const DeviceStatusEntity({
required this.total,
required this.online,
required this.offline,
required this.exception,
});
}

View File

@@ -0,0 +1,3 @@
// 实体层
export 'device_entity.dart';
export 'device_status_entity.dart';