add DC or AC Coupled option for Sodistore Home and Sodistore Pro
This commit is contained in:
parent
2681248bdc
commit
8c58ce45f6
|
|
@ -60,6 +60,7 @@ public class Installation : TreeNode
|
||||||
public string PvStringsPerInverter { get; set; } = "";
|
public string PvStringsPerInverter { get; set; } = "";
|
||||||
public string InstallationModel { get; set; } = "";
|
public string InstallationModel { get; set; } = "";
|
||||||
public string ExternalEms { get; set; } = "No";
|
public string ExternalEms { get; set; } = "No";
|
||||||
|
public string CouplingType { get; set; } = "DC";
|
||||||
|
|
||||||
[Ignore]
|
[Ignore]
|
||||||
public String OrderNumbers { get; set; }
|
public String OrderNumbers { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -780,6 +780,32 @@ function InformationSodistorehome(props: InformationSodistorehomeProps) {
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<FormControl sx={{ m: 1, width: '50ch' }}>
|
||||||
|
<InputLabel
|
||||||
|
shrink
|
||||||
|
sx={{ fontSize: 14, backgroundColor: 'white', px: 0.5 }}
|
||||||
|
>
|
||||||
|
<FormattedMessage id="couplingType" defaultMessage="AC/DC Coupling" />
|
||||||
|
</InputLabel>
|
||||||
|
<Select
|
||||||
|
name="couplingType"
|
||||||
|
value={formValues.couplingType || 'DC'}
|
||||||
|
onChange={handleChange}
|
||||||
|
inputProps={{ readOnly: !canEdit }}
|
||||||
|
displayEmpty
|
||||||
|
notched
|
||||||
|
>
|
||||||
|
<MenuItem value="AC">
|
||||||
|
<FormattedMessage id="couplingAC" defaultMessage="AC-coupled" />
|
||||||
|
</MenuItem>
|
||||||
|
<MenuItem value="DC">
|
||||||
|
<FormattedMessage id="couplingDC" defaultMessage="DC-coupled" />
|
||||||
|
</MenuItem>
|
||||||
|
</Select>
|
||||||
|
</FormControl>
|
||||||
|
</div>
|
||||||
|
|
||||||
{isSodistorePro ? (
|
{isSodistorePro ? (
|
||||||
<div>
|
<div>
|
||||||
<TextField
|
<TextField
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@ export interface I_Installation extends I_S3Credentials {
|
||||||
pvStringsPerInverter: string;
|
pvStringsPerInverter: string;
|
||||||
installationModel: string;
|
installationModel: string;
|
||||||
externalEms: string;
|
externalEms: string;
|
||||||
|
couplingType: string;
|
||||||
|
|
||||||
parentId: number;
|
parentId: number;
|
||||||
s3WriteKey: string;
|
s3WriteKey: string;
|
||||||
|
|
|
||||||
|
|
@ -87,6 +87,9 @@
|
||||||
"emsOther": "Andere",
|
"emsOther": "Andere",
|
||||||
"generalInfo": "Allgemeine Informationen",
|
"generalInfo": "Allgemeine Informationen",
|
||||||
"installationSetup": "Installationseinrichtung",
|
"installationSetup": "Installationseinrichtung",
|
||||||
|
"couplingType": "AC/DC-Kopplung",
|
||||||
|
"couplingAC": "AC-gekoppelt",
|
||||||
|
"couplingDC": "DC-gekoppelt",
|
||||||
"selectModel": "Modell auswählen...",
|
"selectModel": "Modell auswählen...",
|
||||||
"inverterN": "Wechselrichter {n}",
|
"inverterN": "Wechselrichter {n}",
|
||||||
"clusterN": "Cluster {n}",
|
"clusterN": "Cluster {n}",
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,9 @@
|
||||||
"emsOther": "Other",
|
"emsOther": "Other",
|
||||||
"generalInfo": "General Info",
|
"generalInfo": "General Info",
|
||||||
"installationSetup": "Installation Setup",
|
"installationSetup": "Installation Setup",
|
||||||
|
"couplingType": "AC/DC Coupling",
|
||||||
|
"couplingAC": "AC-coupled",
|
||||||
|
"couplingDC": "DC-coupled",
|
||||||
"selectModel": "Select model...",
|
"selectModel": "Select model...",
|
||||||
"inverterN": "Inverter {n}",
|
"inverterN": "Inverter {n}",
|
||||||
"clusterN": "Cluster {n}",
|
"clusterN": "Cluster {n}",
|
||||||
|
|
|
||||||
|
|
@ -81,6 +81,9 @@
|
||||||
"emsOther": "Autre",
|
"emsOther": "Autre",
|
||||||
"generalInfo": "Informations générales",
|
"generalInfo": "Informations générales",
|
||||||
"installationSetup": "Configuration de l'installation",
|
"installationSetup": "Configuration de l'installation",
|
||||||
|
"couplingType": "Couplage AC/DC",
|
||||||
|
"couplingAC": "Couplage AC",
|
||||||
|
"couplingDC": "Couplage DC",
|
||||||
"selectModel": "Sélectionner le modèle...",
|
"selectModel": "Sélectionner le modèle...",
|
||||||
"inverterN": "Onduleur {n}",
|
"inverterN": "Onduleur {n}",
|
||||||
"clusterN": "Cluster {n}",
|
"clusterN": "Cluster {n}",
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,9 @@
|
||||||
"emsOther": "Altro",
|
"emsOther": "Altro",
|
||||||
"generalInfo": "Informazioni generali",
|
"generalInfo": "Informazioni generali",
|
||||||
"installationSetup": "Configurazione installazione",
|
"installationSetup": "Configurazione installazione",
|
||||||
|
"couplingType": "Accoppiamento AC/DC",
|
||||||
|
"couplingAC": "Accoppiamento AC",
|
||||||
|
"couplingDC": "Accoppiamento DC",
|
||||||
"selectModel": "Seleziona modello...",
|
"selectModel": "Seleziona modello...",
|
||||||
"inverterN": "Inverter {n}",
|
"inverterN": "Inverter {n}",
|
||||||
"clusterN": "Cluster {n}",
|
"clusterN": "Cluster {n}",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue