fix: rename ClientIdPortal to ProjectIdPortal in form.json and module.php; update build number in library.json
This commit is contained in:
@@ -14,8 +14,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "NumberSpinner",
|
"type": "NumberSpinner",
|
||||||
"name": "ClientIdPortal",
|
"name": "ProjectIdPortal",
|
||||||
"caption": "Client-ID (Portal)",
|
"caption": "Project-ID (Portal)",
|
||||||
"digits": 0
|
"digits": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ class CounterServer extends IPSModule
|
|||||||
$counterName = $c['name'] ?? $counterId;
|
$counterName = $c['name'] ?? $counterId;
|
||||||
$type = $c['type'] ?? 'other';
|
$type = $c['type'] ?? 'other';
|
||||||
$unit = $c['unit'] ?? 'kWh';
|
$unit = $c['unit'] ?? 'kWh';
|
||||||
$projectId = $this->ReadPropertyInteger('ClientIdPortal');
|
$projectId = $this->ReadPropertyInteger('ProjectIdPortal');
|
||||||
|
|
||||||
// ---------- UPSERT ----------
|
// ---------- UPSERT ----------
|
||||||
$sql = "
|
$sql = "
|
||||||
|
|||||||
+1
-1
@@ -8,6 +8,6 @@
|
|||||||
"date": 1491343200
|
"date": 1491343200
|
||||||
},
|
},
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"build": 4,
|
"build": 6,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user