Netzbezugvariable hinzugefühgt
This commit is contained in:
@@ -12,6 +12,8 @@ class HauptManager extends IPSModule
|
|||||||
$this->RegisterPropertyInteger("Netzbezug", 0); // Initialisierung mit 0
|
$this->RegisterPropertyInteger("Netzbezug", 0); // Initialisierung mit 0
|
||||||
$this->RegisterPropertyString("Verbraucher_Liste", "[]");
|
$this->RegisterPropertyString("Verbraucher_Liste", "[]");
|
||||||
|
|
||||||
|
$this->RegisterVariableInteger("Gesamtnetzbezug", 0);
|
||||||
|
|
||||||
// Timer registrieren
|
// Timer registrieren
|
||||||
$this->RegisterTimer("Timer_DistributeEnergy",5000,"IPS_RequestAction(" .$this->InstanceID .', "DistributeEnergy", "");');
|
$this->RegisterTimer("Timer_DistributeEnergy",5000,"IPS_RequestAction(" .$this->InstanceID .', "DistributeEnergy", "");');
|
||||||
}
|
}
|
||||||
@@ -63,8 +65,7 @@ class HauptManager extends IPSModule
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
IPS_LogMessage("HauptManager netzbezug", $Netzbezug);
|
$this->SetValue("Gesamtnetzbezug", $Netzbezug);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$Peakleistung = $this->ReadPropertyInteger("Peakleistung");
|
$Peakleistung = $this->ReadPropertyInteger("Peakleistung");
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "1.224",
|
"version": "1.225",
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user