You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2018/01/26 19:10:18 UTC

[incubator-plc4x] branch feature/Beckhoff_ADS_protocol updated: added enum for unknown state

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

sruehl pushed a commit to branch feature/Beckhoff_ADS_protocol
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/feature/Beckhoff_ADS_protocol by this push:
     new 70b7af5  added enum for unknown state
70b7af5 is described below

commit 70b7af5f859489f337281b0a7de3f9c076885bf1
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Fri Jan 26 20:10:14 2018 +0100

    added enum for unknown state
---
 .../main/java/org/apache/plc4x/java/ads/model/generic/types/State.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plc4j/protocols/ads/src/main/java/org/apache/plc4x/java/ads/model/generic/types/State.java b/plc4j/protocols/ads/src/main/java/org/apache/plc4x/java/ads/model/generic/types/State.java
index 5bd4a45..4830bb2 100644
--- a/plc4j/protocols/ads/src/main/java/org/apache/plc4x/java/ads/model/generic/types/State.java
+++ b/plc4j/protocols/ads/src/main/java/org/apache/plc4x/java/ads/model/generic/types/State.java
@@ -44,7 +44,8 @@ public enum State implements ByteReadable {
     ADS_REQUEST_TCP(0x0004),
     ADS_RESPONSE_TCP(0x0005),
     ADS_REQUEST_UDP(0x0044),
-    ADS_RESPONSE_UDP(0x0045);
+    ADS_RESPONSE_UDP(0x0045),
+    UNKNOWN(0xffff);
 
     public static final int NUM_BYTES = 4;
 

-- 
To stop receiving notification emails like this one, please contact
sruehl@apache.org.