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 2021/03/12 16:02:27 UTC
[plc4x] branch develop updated: - Tried to make the KNX protocol
always update the xml-masterdata.xml
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
The following commit(s) were added to refs/heads/develop by this push:
new e37973f - Tried to make the KNX protocol always update the xml-masterdata.xml
e37973f is described below
commit e37973fb177df3dee87f6ee37e10ef0f35eb4747
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Fri Mar 12 17:01:51 2021 +0100
- Tried to make the KNX protocol always update the xml-masterdata.xml
---
.../knxnetip/readwrite/model/KnxDatapointType.go | 2 +-
.../knxnetip/readwrite/model/KnxManufacturer.go | 129 +++++++++++++++++++--
protocols/knxnetip/pom.xml | 2 +
3 files changed, 120 insertions(+), 13 deletions(-)
diff --git a/plc4go/internal/plc4go/knxnetip/readwrite/model/KnxDatapointType.go b/plc4go/internal/plc4go/knxnetip/readwrite/model/KnxDatapointType.go
index fd1e095..fa64b39 100644
--- a/plc4go/internal/plc4go/knxnetip/readwrite/model/KnxDatapointType.go
+++ b/plc4go/internal/plc4go/knxnetip/readwrite/model/KnxDatapointType.go
@@ -1853,7 +1853,7 @@ func (e KnxDatapointType) Name() string {
}
case 112:
{ /* '112' */
- return "power denisity (W/m²)"
+ return "power density (W/m²)"
}
case 113:
{ /* '113' */
diff --git a/plc4go/internal/plc4go/knxnetip/readwrite/model/KnxManufacturer.go b/plc4go/internal/plc4go/knxnetip/readwrite/model/KnxManufacturer.go
index d798e43..b3a367d 100644
--- a/plc4go/internal/plc4go/knxnetip/readwrite/model/KnxManufacturer.go
+++ b/plc4go/internal/plc4go/knxnetip/readwrite/model/KnxManufacturer.go
@@ -569,8 +569,15 @@ const (
KnxManufacturer_M_NIETIAN KnxManufacturer = 533
KnxManufacturer_M_SUMSIR KnxManufacturer = 534
KnxManufacturer_M_ORBIS_TECNOLOGIA_ELECTRICA_SA KnxManufacturer = 535
- KnxManufacturer_M_ABB___RESERVED KnxManufacturer = 536
- KnxManufacturer_M_BUSCH_JAEGER_ELEKTRO___RESERVED KnxManufacturer = 537
+ KnxManufacturer_M_NANJING_ZHONGYI_IOT_TECHNOLOGY_CO___LTD_ KnxManufacturer = 536
+ KnxManufacturer_M_ANLIPS KnxManufacturer = 537
+ KnxManufacturer_M_GUANGDONG_PAK_CORPORATION_CO___LTD KnxManufacturer = 538
+ KnxManufacturer_M_BVK_TECHNOLOGY KnxManufacturer = 539
+ KnxManufacturer_M_SOLOMIO_SRL KnxManufacturer = 540
+ KnxManufacturer_M_DOMOTICA_LABS KnxManufacturer = 541
+ KnxManufacturer_M_NVC_INTERNATIONAL KnxManufacturer = 542
+ KnxManufacturer_M_ABB___RESERVED KnxManufacturer = 543
+ KnxManufacturer_M_BUSCH_JAEGER_ELEKTRO___RESERVED KnxManufacturer = 544
)
func (e KnxManufacturer) Number() uint16 {
@@ -2521,16 +2528,44 @@ func (e KnxManufacturer) Number() uint16 {
}
case 536:
{ /* '536' */
- return 43954
+ return 593
}
case 537:
{ /* '537' */
- return 43959
+ return 594
+ }
+ case 538:
+ { /* '538' */
+ return 595
+ }
+ case 539:
+ { /* '539' */
+ return 596
}
case 54:
{ /* '54' */
return 92
}
+ case 540:
+ { /* '540' */
+ return 597
+ }
+ case 541:
+ { /* '541' */
+ return 598
+ }
+ case 542:
+ { /* '542' */
+ return 599
+ }
+ case 543:
+ { /* '543' */
+ return 43954
+ }
+ case 544:
+ { /* '544' */
+ return 43959
+ }
case 55:
{ /* '55' */
return 93
@@ -4682,16 +4717,44 @@ func (e KnxManufacturer) Name() string {
}
case 536:
{ /* '536' */
- return "ABB - reserved"
+ return "Nanjing Zhongyi IoT Technology Co., Ltd."
}
case 537:
{ /* '537' */
- return "Busch-Jaeger Elektro - reserved"
+ return "Anlips"
+ }
+ case 538:
+ { /* '538' */
+ return "GUANGDONG PAK CORPORATION CO., LTD"
+ }
+ case 539:
+ { /* '539' */
+ return "BVK Technology"
}
case 54:
{ /* '54' */
return "DORMA GmbH + Co. KG"
}
+ case 540:
+ { /* '540' */
+ return "Solomio srl"
+ }
+ case 541:
+ { /* '541' */
+ return "Domotica Labs"
+ }
+ case 542:
+ { /* '542' */
+ return "NVC International"
+ }
+ case 543:
+ { /* '543' */
+ return "ABB - reserved"
+ }
+ case 544:
+ { /* '544' */
+ return "Busch-Jaeger Elektro - reserved"
+ }
case 55:
{ /* '55' */
return "WindowMaster A/S"
@@ -5869,11 +5932,25 @@ func KnxManufacturerByValue(value uint16) KnxManufacturer {
case 535:
return KnxManufacturer_M_ORBIS_TECNOLOGIA_ELECTRICA_SA
case 536:
- return KnxManufacturer_M_ABB___RESERVED
+ return KnxManufacturer_M_NANJING_ZHONGYI_IOT_TECHNOLOGY_CO___LTD_
case 537:
- return KnxManufacturer_M_BUSCH_JAEGER_ELEKTRO___RESERVED
+ return KnxManufacturer_M_ANLIPS
+ case 538:
+ return KnxManufacturer_M_GUANGDONG_PAK_CORPORATION_CO___LTD
+ case 539:
+ return KnxManufacturer_M_BVK_TECHNOLOGY
case 54:
return KnxManufacturer_M_DORMA_GMBH_Plus_CO__KG
+ case 540:
+ return KnxManufacturer_M_SOLOMIO_SRL
+ case 541:
+ return KnxManufacturer_M_DOMOTICA_LABS
+ case 542:
+ return KnxManufacturer_M_NVC_INTERNATIONAL
+ case 543:
+ return KnxManufacturer_M_ABB___RESERVED
+ case 544:
+ return KnxManufacturer_M_BUSCH_JAEGER_ELEKTRO___RESERVED
case 55:
return KnxManufacturer_M_WINDOWMASTER_AS
case 56:
@@ -6950,12 +7027,26 @@ func KnxManufacturerByName(value string) KnxManufacturer {
return KnxManufacturer_M_SUMSIR
case "M_ORBIS_TECNOLOGIA_ELECTRICA_SA":
return KnxManufacturer_M_ORBIS_TECNOLOGIA_ELECTRICA_SA
+ case "M_NANJING_ZHONGYI_IOT_TECHNOLOGY_CO___LTD_":
+ return KnxManufacturer_M_NANJING_ZHONGYI_IOT_TECHNOLOGY_CO___LTD_
+ case "M_ANLIPS":
+ return KnxManufacturer_M_ANLIPS
+ case "M_GUANGDONG_PAK_CORPORATION_CO___LTD":
+ return KnxManufacturer_M_GUANGDONG_PAK_CORPORATION_CO___LTD
+ case "M_BVK_TECHNOLOGY":
+ return KnxManufacturer_M_BVK_TECHNOLOGY
+ case "M_DORMA_GMBH_Plus_CO__KG":
+ return KnxManufacturer_M_DORMA_GMBH_Plus_CO__KG
+ case "M_SOLOMIO_SRL":
+ return KnxManufacturer_M_SOLOMIO_SRL
+ case "M_DOMOTICA_LABS":
+ return KnxManufacturer_M_DOMOTICA_LABS
+ case "M_NVC_INTERNATIONAL":
+ return KnxManufacturer_M_NVC_INTERNATIONAL
case "M_ABB___RESERVED":
return KnxManufacturer_M_ABB___RESERVED
case "M_BUSCH_JAEGER_ELEKTRO___RESERVED":
return KnxManufacturer_M_BUSCH_JAEGER_ELEKTRO___RESERVED
- case "M_DORMA_GMBH_Plus_CO__KG":
- return KnxManufacturer_M_DORMA_GMBH_Plus_CO__KG
case "M_WINDOWMASTER_AS":
return KnxManufacturer_M_WINDOWMASTER_AS
case "M_WALTHER_WERKE":
@@ -8063,12 +8154,26 @@ func (e KnxManufacturer) String() string {
return "M_SUMSIR"
case KnxManufacturer_M_ORBIS_TECNOLOGIA_ELECTRICA_SA:
return "M_ORBIS_TECNOLOGIA_ELECTRICA_SA"
+ case KnxManufacturer_M_NANJING_ZHONGYI_IOT_TECHNOLOGY_CO___LTD_:
+ return "M_NANJING_ZHONGYI_IOT_TECHNOLOGY_CO___LTD_"
+ case KnxManufacturer_M_ANLIPS:
+ return "M_ANLIPS"
+ case KnxManufacturer_M_GUANGDONG_PAK_CORPORATION_CO___LTD:
+ return "M_GUANGDONG_PAK_CORPORATION_CO___LTD"
+ case KnxManufacturer_M_BVK_TECHNOLOGY:
+ return "M_BVK_TECHNOLOGY"
+ case KnxManufacturer_M_DORMA_GMBH_Plus_CO__KG:
+ return "M_DORMA_GMBH_Plus_CO__KG"
+ case KnxManufacturer_M_SOLOMIO_SRL:
+ return "M_SOLOMIO_SRL"
+ case KnxManufacturer_M_DOMOTICA_LABS:
+ return "M_DOMOTICA_LABS"
+ case KnxManufacturer_M_NVC_INTERNATIONAL:
+ return "M_NVC_INTERNATIONAL"
case KnxManufacturer_M_ABB___RESERVED:
return "M_ABB___RESERVED"
case KnxManufacturer_M_BUSCH_JAEGER_ELEKTRO___RESERVED:
return "M_BUSCH_JAEGER_ELEKTRO___RESERVED"
- case KnxManufacturer_M_DORMA_GMBH_Plus_CO__KG:
- return "M_DORMA_GMBH_Plus_CO__KG"
case KnxManufacturer_M_WINDOWMASTER_AS:
return "M_WINDOWMASTER_AS"
case KnxManufacturer_M_WALTHER_WERKE:
diff --git a/protocols/knxnetip/pom.xml b/protocols/knxnetip/pom.xml
index 1d2cea1..e94ac45 100644
--- a/protocols/knxnetip/pom.xml
+++ b/protocols/knxnetip/pom.xml
@@ -50,6 +50,8 @@
<unpack>false</unpack>
<outputDirectory>${project.build.directory}/downloads</outputDirectory>
<outputFileName>knx-master-data.xml</outputFileName>
+ <!-- To ensure this is updated regularly -->
+ <overwrite>true</overwrite>
</configuration>
</execution>
</executions>