Ver código fonte

Fixed status display

master
Massimo 5 anos atrás
pai
commit
856054be10
3 arquivos alterados com 7 adições e 3 exclusões
  1. +4
    -0
      CHANGELOG.md
  2. +2
    -2
      boolean-logic-ultimate/BooleanLogicUltimate.js
  3. +1
    -1
      package.json

+ 4
- 0
CHANGELOG.md Ver arquivo

@@ -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 Ver arquivo

@@ -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 Ver arquivo

@@ -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": {

Carregando…
Cancelar
Salvar