From 8c58ce45f68a1f4c9589538698cefa273da1e853 Mon Sep 17 00:00:00 2001 From: Yinyin Liu Date: Thu, 26 Mar 2026 09:08:49 +0100 Subject: [PATCH] add DC or AC Coupled option for Sodistore Home and Sodistore Pro --- csharp/App/Backend/DataTypes/Installation.cs | 1 + .../Information/InformationSodistoreHome.tsx | 26 +++++++++++++++++++ .../src/interfaces/InstallationTypes.tsx | 1 + typescript/frontend-marios2/src/lang/de.json | 3 +++ typescript/frontend-marios2/src/lang/en.json | 3 +++ typescript/frontend-marios2/src/lang/fr.json | 3 +++ typescript/frontend-marios2/src/lang/it.json | 3 +++ 7 files changed, 40 insertions(+) diff --git a/csharp/App/Backend/DataTypes/Installation.cs b/csharp/App/Backend/DataTypes/Installation.cs index 0902d74a0..a7fb0fb39 100644 --- a/csharp/App/Backend/DataTypes/Installation.cs +++ b/csharp/App/Backend/DataTypes/Installation.cs @@ -60,6 +60,7 @@ public class Installation : TreeNode public string PvStringsPerInverter { get; set; } = ""; public string InstallationModel { get; set; } = ""; public string ExternalEms { get; set; } = "No"; + public string CouplingType { get; set; } = "DC"; [Ignore] public String OrderNumbers { get; set; } diff --git a/typescript/frontend-marios2/src/content/dashboards/Information/InformationSodistoreHome.tsx b/typescript/frontend-marios2/src/content/dashboards/Information/InformationSodistoreHome.tsx index a6da44bd0..41e83f26d 100644 --- a/typescript/frontend-marios2/src/content/dashboards/Information/InformationSodistoreHome.tsx +++ b/typescript/frontend-marios2/src/content/dashboards/Information/InformationSodistoreHome.tsx @@ -780,6 +780,32 @@ function InformationSodistorehome(props: InformationSodistorehomeProps) { /> +
+ + + + + + +
+ {isSodistorePro ? (