no message
This commit is contained in:
@@ -66,21 +66,23 @@ class Batterie_test extends IPSModule
|
|||||||
|
|
||||||
switch ($batterietyp) {
|
switch ($batterietyp) {
|
||||||
case 1: // z.B. LiFePo4
|
case 1: // z.B. LiFePo4
|
||||||
$this->MaintainVariable("Goodwe_EntLadeleistung", "Goodwe_EntLadeleistung", vtFloat, "", 10, true);
|
$this->MaintainVariable("Goodwe_EntLadeleistung", "Goodwe_EntLadeleistung", "", 10, true);
|
||||||
$this->MaintainVariable("BattTyp2_Wert", "BattTyp2_Wert", vtFloat, "", 11, false);
|
$this->MaintainVariable("BattTyp2_Wert", "BattTyp2_Wert", "", 11, false);
|
||||||
$this->MaintainVariable("BattTyp3_Wert", "BattTyp3_Wert", vtFloat, "", 12, false);
|
$this->MaintainVariable("BattTyp3_Wert", "BattTyp3_Wert", "", 12, false);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 2: // z.B. Blei-Gel
|
case 2: // z.B. Blei-Gel
|
||||||
$this->MaintainVariable("Goodwe_EntLadeleistung", "Goodwe_EntLadeleistung", vtFloat, "", 10, false);
|
$this->MaintainVariable("Goodwe_EntLadeleistung", "Goodwe_EntLadeleistung", "", 10, false);
|
||||||
$this->MaintainVariable("BattTyp2_Wert", "BattTyp2_Wert", vtFloat, "", 11, false);
|
$this->MaintainVariable("BattTyp2_Wert", "BattTyp2_Wert", "", 11, true);
|
||||||
$this->MaintainVariable("BattTyp3_Wert", "BattTyp3_Wert", vtFloat, "", 12, true);
|
$this->MaintainVariable("BattTyp3_Wert", "BattTyp3_Wert", "", 12, false);
|
||||||
break;
|
break;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 2:
|
case 2:
|
||||||
|
|
||||||
$this->MaintainVariable("BattTyp3_Wert","BattTyp3_Wert", "",0);
|
$this->MaintainVariable("Goodwe_EntLadeleistung", "Goodwe_EntLadeleistung", "", 10, false);
|
||||||
|
$this->MaintainVariable("BattTyp2_Wert", "BattTyp2_Wert", "", 11, false);
|
||||||
|
$this->MaintainVariable("BattTyp3_Wert", "BattTyp3_Wert", "", 12, true);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user