作业首页和机器状态的数据
This commit is contained in:
@@ -6,12 +6,15 @@ import 'package:flutter/foundation.dart';
|
||||
@immutable
|
||||
class PvTelemetry {
|
||||
const PvTelemetry({
|
||||
this.deviceName = '光伏巡检机器人',
|
||||
// 设备名占位留空:实际名称由页面注入(见 PvControlPage._resolveTelemetry),
|
||||
// 避免写死中文在英文环境下露出来
|
||||
this.deviceName = '',
|
||||
this.serialNumber = 'PV-RB-001',
|
||||
this.isOnline = true,
|
||||
this.battery,
|
||||
this.isAutoDriving = true,
|
||||
this.taskStatus = '巡检任务进行中',
|
||||
// 默认留空:具体文案由 UI 层按当前语言兜底(见 PvInfoColumn)
|
||||
this.taskStatus = '',
|
||||
this.speed = 0.3,
|
||||
this.mileage,
|
||||
this.networkNormal = true,
|
||||
|
||||
Reference in New Issue
Block a user