You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2022/08/01 11:33:46 UTC

[plc4x] 03/04: chore(knx): Added new manufacturers for KNX.

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

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit b5f3117a8de6b788992bba801622215fc5bbc39c
Author: christoferdutz <ch...@c-ware.de>
AuthorDate: Mon Aug 1 13:32:39 2022 +0200

    chore(knx): Added new manufacturers for KNX.
---
 .../knxnetip/readwrite/model/KnxManufacturer.go    | 26 +++++++++++++++++-----
 .../knxnetip/readwrite/model/KnxManufacturer.cs    | 19 +++++++++++-----
 2 files changed, 34 insertions(+), 11 deletions(-)

diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxManufacturer.go b/plc4go/protocols/knxnetip/readwrite/model/KnxManufacturer.go
index b4930814a..f02aad83a 100644
--- a/plc4go/protocols/knxnetip/readwrite/model/KnxManufacturer.go
+++ b/plc4go/protocols/knxnetip/readwrite/model/KnxManufacturer.go
@@ -630,8 +630,9 @@ const (
 	KnxManufacturer_M_FEISHELEC                                          KnxManufacturer = 590
 	KnxManufacturer_M_GORDIC                                             KnxManufacturer = 591
 	KnxManufacturer_M_DELTA_ELECTRONICS                                  KnxManufacturer = 592
-	KnxManufacturer_M_ABB___RESERVED                                     KnxManufacturer = 593
-	KnxManufacturer_M_BUSCH_JAEGER_ELEKTRO___RESERVED                    KnxManufacturer = 594
+	KnxManufacturer_M_SHANGHAI_LEWIN_INTELLIGENT_TECHNOLOGY_CO__LTD_     KnxManufacturer = 593
+	KnxManufacturer_M_ABB___RESERVED                                     KnxManufacturer = 594
+	KnxManufacturer_M_BUSCH_JAEGER_ELEKTRO___RESERVED                    KnxManufacturer = 595
 )
 
 var KnxManufacturerValues []KnxManufacturer
@@ -1232,6 +1233,7 @@ func init() {
 		KnxManufacturer_M_FEISHELEC,
 		KnxManufacturer_M_GORDIC,
 		KnxManufacturer_M_DELTA_ELECTRONICS,
+		KnxManufacturer_M_SHANGHAI_LEWIN_INTELLIGENT_TECHNOLOGY_CO__LTD_,
 		KnxManufacturer_M_ABB___RESERVED,
 		KnxManufacturer_M_BUSCH_JAEGER_ELEKTRO___RESERVED,
 	}
@@ -3437,10 +3439,14 @@ func (e KnxManufacturer) Number() uint16 {
 		}
 	case 593:
 		{ /* '593' */
-			return 43954
+			return 651
 		}
 	case 594:
 		{ /* '594' */
+			return 43954
+		}
+	case 595:
+		{ /* '595' */
 			return 43959
 		}
 	case 6:
@@ -5835,10 +5841,14 @@ func (e KnxManufacturer) Name() string {
 		}
 	case 593:
 		{ /* '593' */
-			return "ABB - reserved"
+			return "Shanghai Lewin Intelligent Technology Co.,Ltd."
 		}
 	case 594:
 		{ /* '594' */
+			return "ABB - reserved"
+		}
+	case 595:
+		{ /* '595' */
 			return "Busch-Jaeger Elektro - reserved"
 		}
 	case 6:
@@ -7133,8 +7143,10 @@ func KnxManufacturerByValue(value uint16) (enum KnxManufacturer, ok bool) {
 	case 592:
 		return KnxManufacturer_M_DELTA_ELECTRONICS, true
 	case 593:
-		return KnxManufacturer_M_ABB___RESERVED, true
+		return KnxManufacturer_M_SHANGHAI_LEWIN_INTELLIGENT_TECHNOLOGY_CO__LTD_, true
 	case 594:
+		return KnxManufacturer_M_ABB___RESERVED, true
+	case 595:
 		return KnxManufacturer_M_BUSCH_JAEGER_ELEKTRO___RESERVED, true
 	case 6:
 		return KnxManufacturer_M_BUSCH_JAEGER_ELEKTRO, true
@@ -8328,6 +8340,8 @@ func KnxManufacturerByName(value string) (enum KnxManufacturer, ok bool) {
 		return KnxManufacturer_M_GORDIC, true
 	case "M_DELTA_ELECTRONICS":
 		return KnxManufacturer_M_DELTA_ELECTRONICS, true
+	case "M_SHANGHAI_LEWIN_INTELLIGENT_TECHNOLOGY_CO__LTD_":
+		return KnxManufacturer_M_SHANGHAI_LEWIN_INTELLIGENT_TECHNOLOGY_CO__LTD_, true
 	case "M_ABB___RESERVED":
 		return KnxManufacturer_M_ABB___RESERVED, true
 	case "M_BUSCH_JAEGER_ELEKTRO___RESERVED":
@@ -9569,6 +9583,8 @@ func (e KnxManufacturer) PLC4XEnumName() string {
 		return "M_GORDIC"
 	case KnxManufacturer_M_DELTA_ELECTRONICS:
 		return "M_DELTA_ELECTRONICS"
+	case KnxManufacturer_M_SHANGHAI_LEWIN_INTELLIGENT_TECHNOLOGY_CO__LTD_:
+		return "M_SHANGHAI_LEWIN_INTELLIGENT_TECHNOLOGY_CO__LTD_"
 	case KnxManufacturer_M_ABB___RESERVED:
 		return "M_ABB___RESERVED"
 	case KnxManufacturer_M_BUSCH_JAEGER_ELEKTRO___RESERVED:
diff --git a/plc4net/drivers/knxnetip/src/drivers/knxnetip/readwrite/model/KnxManufacturer.cs b/plc4net/drivers/knxnetip/src/drivers/knxnetip/readwrite/model/KnxManufacturer.cs
index 7e1adac6e..2f99ff138 100644
--- a/plc4net/drivers/knxnetip/src/drivers/knxnetip/readwrite/model/KnxManufacturer.cs
+++ b/plc4net/drivers/knxnetip/src/drivers/knxnetip/readwrite/model/KnxManufacturer.cs
@@ -617,8 +617,9 @@ namespace org.apache.plc4net.drivers.knxnetip.readwrite.model
         M_FEISHELEC = 590,
         M_GORDIC = 591,
         M_DELTA_ELECTRONICS = 592,
-        M_ABB___RESERVED = 593,
-        M_BUSCH_JAEGER_ELEKTRO___RESERVED = 594,
+        M_SHANGHAI_LEWIN_INTELLIGENT_TECHNOLOGY_CO__LTD_ = 593,
+        M_ABB___RESERVED = 594,
+        M_BUSCH_JAEGER_ELEKTRO___RESERVED = 595,
     }
 
     public static class KnxManufacturerInfo
@@ -2275,10 +2276,13 @@ namespace org.apache.plc4net.drivers.knxnetip.readwrite.model
                 case KnxManufacturer.M_DELTA_ELECTRONICS: { /* '592' */
                     return 650;
                 }
-                case KnxManufacturer.M_ABB___RESERVED: { /* '593' */
+                case KnxManufacturer.M_SHANGHAI_LEWIN_INTELLIGENT_TECHNOLOGY_CO__LTD_: { /* '593' */
+                    return 651;
+                }
+                case KnxManufacturer.M_ABB___RESERVED: { /* '594' */
                     return 43954;
                 }
-                case KnxManufacturer.M_BUSCH_JAEGER_ELEKTRO___RESERVED: { /* '594' */
+                case KnxManufacturer.M_BUSCH_JAEGER_ELEKTRO___RESERVED: { /* '595' */
                     return 43959;
                 }
                 case KnxManufacturer.M_BUSCH_JAEGER_ELEKTRO: { /* '6' */
@@ -4070,10 +4074,13 @@ namespace org.apache.plc4net.drivers.knxnetip.readwrite.model
                 case KnxManufacturer.M_DELTA_ELECTRONICS: { /* '592' */
                     return "Delta Electronics";
                 }
-                case KnxManufacturer.M_ABB___RESERVED: { /* '593' */
+                case KnxManufacturer.M_SHANGHAI_LEWIN_INTELLIGENT_TECHNOLOGY_CO__LTD_: { /* '593' */
+                    return "Shanghai Lewin Intelligent Technology Co.,Ltd.";
+                }
+                case KnxManufacturer.M_ABB___RESERVED: { /* '594' */
                     return "ABB - reserved";
                 }
-                case KnxManufacturer.M_BUSCH_JAEGER_ELEKTRO___RESERVED: { /* '594' */
+                case KnxManufacturer.M_BUSCH_JAEGER_ELEKTRO___RESERVED: { /* '595' */
                     return "Busch-Jaeger Elektro - reserved";
                 }
                 case KnxManufacturer.M_BUSCH_JAEGER_ELEKTRO: { /* '6' */