ladestation Lademous Wert angepasst
This commit is contained in:
@@ -185,10 +185,10 @@ public function GetCurrentData(bool $Peak) {
|
|||||||
SetValue($this->GetIDForIdent("Fahrzeugstatus"), $data['car']);
|
SetValue($this->GetIDForIdent("Fahrzeugstatus"), $data['car']);
|
||||||
|
|
||||||
|
|
||||||
if($data['nrg'][6]!=0 && $data['car']==2){
|
if($data['nrg'][6]>1 && $data['car']==2){
|
||||||
SetValue($this->GetIDForIdent("Lademodus"), 1);
|
SetValue($this->GetIDForIdent("Lademodus"), 1);
|
||||||
|
|
||||||
}elseif($data['nrg'][6]===0 && $data['car']==2){
|
}elseif($data['nrg'][6]<=1 && $data['car']==2){
|
||||||
SetValue($this->GetIDForIdent("Lademodus"), 0);
|
SetValue($this->GetIDForIdent("Lademodus"), 0);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "0.75",
|
"version": "0.76",
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user