Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikakaraila committed Jun 11, 2019
1 parent 3d84712 commit d8c8847
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion opcua/102-opcuaclient.js
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ module.exports = function (RED) {
if (node.deadbandType == "a") {
deadbandType = subscription_service.DeadbandType.Absolute;
}
if (node.deadbandType == "a") {
if (node.deadbandType == "p") {
deadbandType = subscription_service.DeadbandType.Percent;
}
var dataChangeFilter = new subscription_service.DataChangeFilter({
Expand Down
2 changes: 1 addition & 1 deletion opcua/104-opcuaserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ module.exports = function (RED) {
verbose_warn("create Server from XML ...");
var serverPkg = installedPath.getInstalledPathSync('node-opcua-server', {
paths: [
path.join(__dirname, '..'),
path.join(__dirname, '../..'),
path.join(process.cwd(), '.node-red/node_modules'),
],
})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-opcua",
"version": "0.2.45",
"version": "0.2.46",
"description": "A Node-RED node to communicate via OPC UA based on node-opcua library.",
"repository": {
"type": "git",
Expand Down

0 comments on commit d8c8847

Please sign in to comment.