瀏覽代碼

Fixed status display

master
Massimo 5 年之前
父節點
當前提交
856054be10
共有 3 個文件被更改,包括 7 次插入3 次删除
  1. +4
    -0
      CHANGELOG.md
  2. +2
    -2
      boolean-logic-ultimate/BooleanLogicUltimate.js
  3. +1
    -1
      package.json

+ 4
- 0
CHANGELOG.md 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存