Skip to content

Commit 3477499

Browse files
committed
fixed parameter list for profile creation
1 parent 09893f0 commit 3477499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fronius/module.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ private function createModbusInstances($inverterModelRegister_array, $parentId,
11891189

11901190
private function checkProfiles()
11911191
{
1192-
$this->createVarProfile("SunSpec.StateCodes.Int", VARIABLETYPE_INTEGER, '', 0, 0, 0, 0, array(
1192+
$this->createVarProfile("SunSpec.StateCodes.Int", VARIABLETYPE_INTEGER, '', 0, 0, 0, 0, 0, array(
11931193
array('Name' => "N/A", 'Wert' => 0, "Unbekannter Status"),
11941194
array('Name' => "OFF", 'Wert' => 1, "Wechselrichter ist aus"),
11951195
array('Name' => "SLEEPING", 'Wert' => 2, "Auto-Shutdown"),
@@ -1201,7 +1201,7 @@ private function checkProfiles()
12011201
array('Name' => "STANDBY", 'Wert' => 8, "Standby"),
12021202
)
12031203
);
1204-
$this->createVarProfile(MODUL_PREFIX.".StateCodes.Int", VARIABLETYPE_INTEGER, '', 0, 0, 0, 0, array(
1204+
$this->createVarProfile(MODUL_PREFIX.".StateCodes.Int", VARIABLETYPE_INTEGER, '', 0, 0, 0, 0, 0, array(
12051205
array('Name' => "N/A", 'Wert' => 0, "Unbekannter Status"),
12061206
array('Name' => "OFF", 'Wert' => 1, "Wechselrichter ist aus"),
12071207
array('Name' => "SLEEPING", 'Wert' => 2, "Auto-Shutdown"),

0 commit comments

Comments
 (0)