Browse Source

Fixed status display

master
Massimo 5 years ago
parent
commit
856054be10
3 changed files with 7 additions and 3 deletions
  1. +4
    -0
      CHANGELOG.md
  2. +2
    -2
      boolean-logic-ultimate/BooleanLogicUltimate.js
  3. +1
    -1
      package.json

+ 4
- 0
CHANGELOG.md View File

@@ -1,5 +1,9 @@
# node-red-contrib-boolean-logic-ultimate
<p>
<b>Version 0.0.3</b><br/>
- Fixed status display<br/>
</p>
<p>
<b>Version 0.0.2</b><br/>
- Fixed persistent state deletion upon node update/delete<br/>
</p>

+ 2
- 2
boolean-logic-ultimate/BooleanLogicUltimate.js View File

@@ -188,8 +188,8 @@ module.exports = function(RED) {
});
};

function SetResult( _valueAND, _valueOR, _valueXOR, optionalTopic ) {
DisplayStatus( "AND:" + _valueAND + " OR:" +_valueOR + " XOR:" +_valueXOR);
function SetResult(_valueAND, _valueOR, _valueXOR, optionalTopic) {
node.status({fill: "green",shape: "dot",text: "Sent:("+"AND:" + _valueAND + " OR:" +_valueOR + " XOR:" +_valueXOR+")"});
if (_valueAND!=null){
var msgAND = {

+ 1
- 1
package.json View File

@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-boolean-logic-ultimate",
"version": "0.0.2",
"version": "0.0.3",
"description": "A set of Node-RED enhanced boolean logic, with persisten values after reboot and more",
"author": "Supergiovane (https://github.com/Supergiovane)",
"dependencies": {

Loading…
Cancel
Save