This is an automated email from the ASF dual-hosted git repository.

jfeinauer pushed a commit to branch rel/0.6
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/rel/0.6 by this push:
     new ce20ff4  Bumped Eclipse Milo Version to 0.4.1.
ce20ff4 is described below

commit ce20ff412fcd920150cc37510197adb3541d8fd9
Author: julian <[email protected]>
AuthorDate: Fri Jul 10 16:21:54 2020 +0200

    Bumped Eclipse Milo Version to 0.4.1.
---
 plc4j/drivers/opcua/pom.xml                                  | 12 ++++++++----
 .../plc4x/java/opcua/connection/OpcuaTcpPlcConnection.java   |  2 +-
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/plc4j/drivers/opcua/pom.xml b/plc4j/drivers/opcua/pom.xml
index 7b6191c..86e4157 100644
--- a/plc4j/drivers/opcua/pom.xml
+++ b/plc4j/drivers/opcua/pom.xml
@@ -32,6 +32,10 @@
   <name>PLC4J: Driver: OPC UA</name>
   <description>Implementation of a PLC4X driver able to speak with devices 
using the OPC UA protocol.</description>
 
+  <properties>
+    <milo.version>0.4.1</milo.version>
+  </properties>
+
   <dependencies>
     <dependency>
       <groupId>org.apache.plc4x</groupId>
@@ -54,22 +58,22 @@
     <dependency>
       <groupId>org.eclipse.milo</groupId>
       <artifactId>sdk-client</artifactId>
-      <version>0.3.6</version>
+      <version>${milo.version}</version>
     </dependency>
     <dependency>
       <groupId>org.eclipse.milo</groupId>
       <artifactId>stack-core</artifactId>
-      <version>0.3.6</version>
+      <version>${milo.version}</version>
     </dependency>
     <dependency>
       <groupId>org.eclipse.milo</groupId>
       <artifactId>stack-client</artifactId>
-      <version>0.3.6</version>
+      <version>${milo.version}</version>
     </dependency>
     <dependency>
       <groupId>org.eclipse.milo</groupId>
       <artifactId>server-examples</artifactId>
-      <version>0.3.6</version>
+      <version>${milo.version}</version>
       <scope>test</scope>
     </dependency>
     <dependency>
diff --git 
a/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/connection/OpcuaTcpPlcConnection.java
 
b/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/connection/OpcuaTcpPlcConnection.java
index 6554e14..47b4435 100644
--- 
a/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/connection/OpcuaTcpPlcConnection.java
+++ 
b/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/connection/OpcuaTcpPlcConnection.java
@@ -121,7 +121,7 @@ public class OpcuaTcpPlcConnection extends 
BaseOpcuaPlcConnection {
     }
 
     public static BaseDefaultFieldItem encodeFieldItem(DataValue value) {
-        NodeId typeNode = value.getValue().getDataType().get();
+        ExpandedNodeId typeNode = value.getValue().getDataType().get();
         Object objValue = value.getValue().getValue();
 
         if (typeNode.equals(Identifiers.Boolean)) {

Reply via email to