fix Mode reading on OverView Page from Inverter reading
This commit is contained in:
parent
ed1efbddeb
commit
02d2ef054b
|
|
@ -452,6 +452,8 @@ export interface JSONRecordData {
|
|||
Battery2Soh:number;
|
||||
PvPower:number;
|
||||
ConsumptionPower:number;
|
||||
WorkingMode?:string;
|
||||
OperatingMode?:string;
|
||||
};
|
||||
|
||||
AcDcGrowatt: {
|
||||
|
|
|
|||
|
|
@ -339,7 +339,11 @@ function SodioHomeInstallation(props: singleInstallationProps) {
|
|||
fontSize: '14px'
|
||||
}}
|
||||
>
|
||||
{values.Config.OperatingPriority}
|
||||
{props.current_installation.device === 4
|
||||
? values.InverterRecord?.WorkingMode
|
||||
: props.current_installation.device === 3
|
||||
? values.InverterRecord?.OperatingMode
|
||||
: values.Config.OperatingPriority}
|
||||
</Typography>
|
||||
</div>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue