USB 摄像头适配iPadOS17+

This commit is contained in:
2026-10-22 12:53:24 +08:00
parent 582242e9aa
commit 58a23ef218
18 changed files with 288 additions and 140 deletions

View File

@@ -426,25 +426,33 @@ class _RobotListViewState extends State<RobotListView> {
children: [
_buildStatusItem(
value: '$onlineCount',
label: '在线设备',
label: AppLocalizations.of(
context,
).translate('device_list_v2.stat_online_devices'),
valueColor: context.appColors.primary,
),
Container(width: 1, height: 40, color: context.appColors.divider),
_buildStatusItem(
value: '$workingCount',
label: '作业中',
label: AppLocalizations.of(
context,
).translate('device_list_v2.stat_working'),
valueColor: context.appColors.success,
),
Container(width: 1, height: 40, color: context.appColors.divider),
_buildStatusItem(
value: '$standbyCount',
label: '待命',
label: AppLocalizations.of(
context,
).translate('device_list_v2.stat_standby'),
valueColor: context.appColors.warning,
),
Container(width: 1, height: 40, color: context.appColors.divider),
_buildStatusItem(
value: '$faultCount',
label: '离线数',
label: AppLocalizations.of(
context,
).translate('device_list_v2.stat_offline'),
valueColor: context.appColors.danger,
),
],