Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Commit

Permalink
New commands for OPCUA adapter (#80)
Browse files Browse the repository at this point in the history
* Added new NodeIdValue capability for OPCUS protocol

* Added 2 new commands for OPC UA adapter

* Refactor of OPC UA commands
  • Loading branch information
i333273 authored and levinanton committed Jan 10, 2019
1 parent f7651b7 commit dd7ec0e
Show file tree
Hide file tree
Showing 14 changed files with 73 additions and 59 deletions.
26 changes: 0 additions & 26 deletions cf/protocols/opcua/sensorType/capabilities/command_AddNode.json

This file was deleted.

@@ -0,0 +1,10 @@
{
"alternateId": "BrowseServer",
"name": "BrowseServer",
"properties": [
{
"dataType": "string",
"name": "serverId"
}
]
}
@@ -0,0 +1,10 @@
{
"alternateId": "OnboardNodes",
"name": "OnboardNodes",
"properties": [
{
"dataType": "string",
"name": "jsonNodesToOnboard"
}
]
}
10 changes: 9 additions & 1 deletion cf/protocols/opcua/sensorType/capabilities/command_Polling.json
Expand Up @@ -2,9 +2,17 @@
"alternateId": "Polling",
"name": "Polling",
"properties": [
{
"dataType": "string",
"name": "targetSensor"
},
{
"dataType": "string",
"name": "targetCapability"
},
{
"dataType": "integer",
"name": "pollingInterval"
}
]
}
}
Expand Up @@ -2,6 +2,14 @@
"alternateId": "Subscribe",
"name": "Subscribe",
"properties": [
{
"dataType": "string",
"name": "targetSensor"
},
{
"dataType": "string",
"name": "targetCapability"
},
{
"dataType": "double",
"name": "publishingInterval"
Expand All @@ -11,4 +19,4 @@
"name": "samplingInterval"
}
]
}
}

This file was deleted.

Expand Up @@ -2,9 +2,13 @@
"alternateId": "WriteBoolean",
"name": "WriteBoolean",
"properties": [
{
"dataType": "string",
"name": "targetSensor"
},
{
"dataType": "boolean",
"name": "value"
}
]
}
}

This file was deleted.

Expand Up @@ -2,9 +2,13 @@
"alternateId": "WriteDateTime",
"name": "WriteDateTime",
"properties": [
{
"dataType": "string",
"name": "targetSensor"
},
{
"dataType": "long",
"name": "value"
}
]
}
}
Expand Up @@ -2,9 +2,13 @@
"alternateId": "WriteDouble",
"name": "WriteDouble",
"properties": [
{
"dataType": "string",
"name": "targetSensor"
},
{
"dataType": "double",
"name": "value"
}
]
}
}
Expand Up @@ -2,9 +2,13 @@
"alternateId": "WriteInteger",
"name": "WriteInteger",
"properties": [
{
"dataType": "string",
"name": "targetSensor"
},
{
"dataType": "integer",
"name": "value"
}
]
}
}
Expand Up @@ -2,9 +2,13 @@
"alternateId": "WriteLocalizedText",
"name": "WriteLocalizedText",
"properties": [
{
"dataType": "string",
"name": "targetSensor"
},
{
"dataType": "string",
"name": "value"
}
]
}
}
Expand Up @@ -2,9 +2,13 @@
"alternateId": "WriteString",
"name": "WriteString",
"properties": [
{
"dataType": "string",
"name": "targetSensor"
},
{
"dataType": "string",
"name": "value"
}
]
}
}
Expand Up @@ -2,9 +2,13 @@
"alternateId": "WriteUInteger",
"name": "WriteUInteger",
"properties": [
{
"dataType": "string",
"name": "targetSensor"
},
{
"dataType": "integer",
"name": "value"
}
]
}
}

0 comments on commit dd7ec0e

Please sign in to comment.