@@ -196,12 +196,14 @@ function enelixDemoInstall(): array
|
||||
|
||||
enelixDemoLinkInstanceVariables($boiler1View, $boiler1, $temp1);
|
||||
enelixDemoLinkInstanceVariables($boiler2View, $boiler2, $temp2);
|
||||
IPS_SetHidden($boiler1, true);
|
||||
IPS_SetHidden($boiler2, true);
|
||||
IPS_SetHidden($boiler1View, true);
|
||||
IPS_SetHidden($boiler2View, true);
|
||||
IPS_SetHidden($boiler1, false);
|
||||
IPS_SetHidden($boiler2, false);
|
||||
|
||||
enelixDemoEnsureLink($dashboard, 'ManagerLink', 'Manager', $manager, 100);
|
||||
enelixDemoEnsureLink($dashboard, 'Boiler1Link', 'Boiler 1', $boiler1View, 110);
|
||||
enelixDemoEnsureLink($dashboard, 'Boiler2Link', 'Boiler 2', $boiler2View, 120);
|
||||
enelixDemoEnsureLink($dashboard, 'Boiler1Link', 'Boiler 1', $boiler1, 110);
|
||||
enelixDemoEnsureLink($dashboard, 'Boiler2Link', 'Boiler 2', $boiler2, 120);
|
||||
enelixDemoEnsureLink($dashboard, 'EntfeuchterLink', 'Entfeuchter', $dryer, 130);
|
||||
enelixDemoEnsureLink($simulation, 'Boiler1TemperaturLink', 'Boiler 1 Temperatur', $temp1, 70);
|
||||
enelixDemoEnsureLink($simulation, 'Boiler2TemperaturLink', 'Boiler 2 Temperatur', $temp2, 80);
|
||||
@@ -555,6 +557,7 @@ function enelixDemoConfigureVisualization(int $root, int $flow): void
|
||||
IPS_SetProperty($visualization, 'ShowDateTime', true);
|
||||
IPS_SetProperty($visualization, 'Favorites', json_encode([['ObjectID' => $flow]], JSON_THROW_ON_ERROR));
|
||||
IPS_ApplyChanges($visualization);
|
||||
VISU_Reload($visualization);
|
||||
}
|
||||
|
||||
function enelixDemoFirstInstance(string $moduleId): int
|
||||
@@ -652,7 +655,7 @@ function enelixDemoEnergyNode(
|
||||
function enelixDemoConfigureEnergyDistribution(int $instanceId, array $nodes): void
|
||||
{
|
||||
enelixDemoConfigure($instanceId, [
|
||||
'Calculation' => false,
|
||||
'Calculation' => true,
|
||||
'Config' => json_encode($nodes, JSON_THROW_ON_ERROR),
|
||||
'EnableLimits' => false,
|
||||
'Restrictions' => '[]',
|
||||
|
||||
Reference in New Issue
Block a user