首次提交

This commit is contained in:
wyf
2026-04-25 17:45:10 +08:00
commit ebd4096bfc
135 changed files with 6805 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
// 设备信息模型
class DeviceInfo {
final String name;
final String id;
final int rssi;
DeviceInfo({
required this.name,
required this.id,
required this.rssi,
});
factory DeviceInfo.fromJson(Map<String, dynamic> json) {
return DeviceInfo(
name: json['name'] ?? '',
id: json['id'] ?? '',
rssi: json['rssi'] ?? 0,
);
}
}