smart-nodes 0.4.1 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -2
- package/forwarder/forwarder.html +3 -3
- package/hysteresis/hysteresis.html +12 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -83,5 +83,10 @@
|
|
|
83
83
|
|
|
84
84
|
## Version 0.4.1:
|
|
85
85
|
|
|
86
|
-
-
|
|
87
|
-
-
|
|
86
|
+
- Show only up to 2 decimal places in node status text.
|
|
87
|
+
- Improved warn messages shown in console.
|
|
88
|
+
|
|
89
|
+
## Version 0.4.2:
|
|
90
|
+
|
|
91
|
+
- Fixed design of property page of forwarder node.
|
|
92
|
+
- Corrected hysteresis to send original message.
|
package/forwarder/forwarder.html
CHANGED
|
@@ -46,15 +46,15 @@
|
|
|
46
46
|
</div>
|
|
47
47
|
<div class="form-row">
|
|
48
48
|
<input type="checkbox" id="node-input-forward_last_on_enable" style="width: 20px;" />
|
|
49
|
-
<label for="node-input-forward_last_on_enable" data-i18n="forwarder.ui.forward_last_on_enable"></label>
|
|
49
|
+
<label for="node-input-forward_last_on_enable" style="width: calc(100% - 30px);" data-i18n="forwarder.ui.forward_last_on_enable"></label>
|
|
50
50
|
</div>
|
|
51
51
|
<div class="form-row">
|
|
52
52
|
<input type="checkbox" id="node-input-always_forward_true" style="width: 20px;" />
|
|
53
|
-
<label for="node-input-always_forward_true" data-i18n="[html]forwarder.ui.always_forward_true"></label>
|
|
53
|
+
<label for="node-input-always_forward_true" style="width: calc(100% - 30px);" data-i18n="[html]forwarder.ui.always_forward_true"></label>
|
|
54
54
|
</div>
|
|
55
55
|
<div class="form-row">
|
|
56
56
|
<input type="checkbox" id="node-input-always_forward_false" style="width: 20px;" />
|
|
57
|
-
<label for="node-input-always_forward_false" data-i18n="[html]forwarder.ui.always_forward_false"></label>
|
|
57
|
+
<label for="node-input-always_forward_false" style="width: calc(100% - 30px);" data-i18n="[html]forwarder.ui.always_forward_false"></label>
|
|
58
58
|
</div>
|
|
59
59
|
<hr/>
|
|
60
60
|
<h4 style="margin: 0.5rem 0;" data-i18n="forwarder.ui.system_start"></h4>
|
|
@@ -124,6 +124,18 @@
|
|
|
124
124
|
this.out_lower_type = "NOTHING";
|
|
125
125
|
$("#node-input-out_lower_type").val("NOTHING");
|
|
126
126
|
}
|
|
127
|
+
|
|
128
|
+
if (this.out_higher_type == "original")
|
|
129
|
+
{
|
|
130
|
+
this.out_higher_type = "ORIGINAL";
|
|
131
|
+
$("#node-input-out_higher_type").val("ORIGINAL");
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
if (this.out_lower_type == "original")
|
|
135
|
+
{
|
|
136
|
+
this.out_lower_type = "ORIGINAL";
|
|
137
|
+
$("#node-input-out_lower_type").val("ORIGINAL");
|
|
138
|
+
}
|
|
127
139
|
},
|
|
128
140
|
oneditsave: function ()
|
|
129
141
|
{
|