power_clamp

This commit is contained in:
mohammad
2024-10-22 13:26:36 +03:00
parent bb5571a02d
commit f0c2560af2

View File

@ -91,7 +91,7 @@ class _SmartPowerDeviceControlState extends State<SmartPowerDeviceControl> {
iconPath: Assets.powerActiveIcon,
title: 'Active',
value: blocProvider
.deviceStatus.status.general.dataPoints[0].value
.deviceStatus.status.general.dataPoints[2].value
.toString(),
unit: '',
),
@ -107,7 +107,7 @@ class _SmartPowerDeviceControlState extends State<SmartPowerDeviceControl> {
iconPath: Assets.frequencyIcon,
title: 'Frequency',
value: blocProvider
.deviceStatus.status.general.dataPoints[2].value
.deviceStatus.status.general.dataPoints[4].value
.toString(),
unit: ' Hz',
),