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