no message
This commit is contained in:
@@ -618,14 +618,8 @@ private function CalculateBatteryDistribution(float $pEvW, float $pSdlW): array
|
|||||||
$batteriesRaw = json_decode($this->ReadPropertyString("Batteries"));
|
$batteriesRaw = json_decode($this->ReadPropertyString("Batteries"));
|
||||||
|
|
||||||
$totalPower_ist = 0;
|
$totalPower_ist = 0;
|
||||||
print_r($batteriesRaw);
|
|
||||||
print_r("\N");
|
|
||||||
|
|
||||||
foreach ($batteriesRaw as $bat) {
|
foreach ($batteriesRaw as $bat) {
|
||||||
print_r($bat);
|
|
||||||
print_r("\N");
|
|
||||||
print_r(GetValue($bat->register_bat_power));
|
|
||||||
print_r("\N");
|
|
||||||
|
|
||||||
$totalPower_ist += GetValue($bat->register_bat_power);
|
$totalPower_ist += GetValue($bat->register_bat_power);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user