From e989db54c295794b674df3843dcfe7e1b84a6eb7 Mon Sep 17 00:00:00 2001 From: Yinyin Liu Date: Sat, 28 Mar 2026 10:10:21 +0100 Subject: [PATCH] remove soh for sodistore home --- .../BatteryView/BatteryViewSodioHome.tsx | 8 +-- .../BatteryView/MainStatsSodioHome.tsx | 58 +------------------ 2 files changed, 4 insertions(+), 62 deletions(-) diff --git a/typescript/frontend-marios2/src/content/dashboards/BatteryView/BatteryViewSodioHome.tsx b/typescript/frontend-marios2/src/content/dashboards/BatteryView/BatteryViewSodioHome.tsx index 90a4e9f30..4283a8bd6 100644 --- a/typescript/frontend-marios2/src/content/dashboards/BatteryView/BatteryViewSodioHome.tsx +++ b/typescript/frontend-marios2/src/content/dashboards/BatteryView/BatteryViewSodioHome.tsx @@ -56,7 +56,6 @@ function BatteryViewSodioHome(props: BatteryViewSodioHomeProps) { Current: device?.[`Battery${batteryIndex}PackTotalCurrent`] ?? 0, Power: device?.[`Battery${batteryIndex}Power`] ?? 0, Soc: device?.[`Battery${batteryIndex}Soc`] ?? device?.[`Battery${batteryIndex}SocSecondvalue`] ?? 0, - Soh: device?.[`Battery${batteryIndex}Soh`] ?? 0, } }; } else { @@ -69,7 +68,6 @@ function BatteryViewSodioHome(props: BatteryViewSodioHomeProps) { Current: inverter[`Battery${index}Current`] ?? 0, Power: inverter[`Battery${index}Power`] ?? 0, Soc: inverter[`Battery${index}Soc`] ?? 0, - Soh: inverter[`Battery${index}Soh`] ?? 0, } }; } @@ -221,7 +219,7 @@ function BatteryViewSodioHome(props: BatteryViewSodioHomeProps) { - + {/**/} {/*Daily Charge Energy*/} {/*Daily Discharge Energy*/} @@ -294,7 +292,7 @@ function BatteryViewSodioHome(props: BatteryViewSodioHomeProps) { > {battery.Soc + ' %'} - {battery.Soh + ' %'} - + */} {/* - {/* Battery SoH Chart */} - - - - - - - - - - - - - - { - startZoom(); - handleBeforeZoom(chartContext, options); - } - } - } - }} - series={generateSeries( - batteryViewDataArray[chartState].chartData, - 'Soh', - 'green' - )} - type="line" - height={420} - /> - - + {/* Battery SoH Chart — removed for SodiostoreHome */} )}