Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
dss-add-ons
heating-controller
Commits
4dd140fd
Commit
4dd140fd
authored
6 years ago
by
Jin
Browse files
Options
Download
Plain Diff
Merge branch 'master' into testing
parents
7e7769d0
79be2bd0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/general-settings.js
+9
-1
scripts/general-settings.js
with
9 additions
and
1 deletion
+9
-1
scripts/general-settings.js
+
9
−
1
View file @
4dd140fd
...
...
@@ -72,7 +72,15 @@ if (raisedEvent.name=='heating-controller.general-settings') {
}
if
(
raisedEvent
.
parameter
.
actions
==
'
setApartmentClimateControl
'
)
{
storeParameter
(
'
generalSettings/heatingEnabled
'
,((
""
+
raisedEvent
.
parameter
.
value
)
==
"
true
"
));
var
fShouldBeValue
=-
1
;
var
fShouldBeValue
=
StatusWaterHeatingSystem
.
noWater
;
if
(
Property
.
getNode
(
"
generalSettings/capabilities/heatingSupported
"
)
!=
null
)
if
(
Property
.
getNode
(
"
generalSettings/capabilities/coolingSupported
"
)
!=
null
)
{
if
(
Property
.
getProperty
(
"
generalSettings/capabilities/heatingSupported
"
)
==
true
)
fShouldBeValue
=
StatusWaterHeatingSystem
.
hotWater
;
if
(
Property
.
getProperty
(
"
generalSettings/capabilities/heatingSupported
"
)
==
false
)
if
(
Property
.
getProperty
(
"
generalSettings/capabilities/coolingSupported
"
)
==
true
)
fShouldBeValue
=
StatusWaterHeatingSystem
.
coldWater
;
}
if
((
""
+
raisedEvent
.
parameter
.
value
)
!=
"
true
"
)
{
fShouldBeValue
=
StatusWaterHeatingSystem
.
noWater
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets