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 2022/08/29 08:27:31 UTC

[plc4x] branch develop updated: chore(protocols/knx): Updated the XSLT to rename the second "Phoenix Contact" manufacturer entry.

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

sruehl 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 053e4da27 chore(protocols/knx): Updated the XSLT to rename the second "Phoenix Contact" manufacturer entry.
053e4da27 is described below

commit 053e4da278647d612ce289927a7202c8aa4cdc62
Author: Christofer Dutz <ch...@rivian.com>
AuthorDate: Wed Aug 24 08:49:40 2022 +0200

    chore(protocols/knx): Updated the XSLT to rename the second "Phoenix Contact" manufacturer entry.
---
 protocols/knxnetip/src/main/xslt/knx-types.xsl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/protocols/knxnetip/src/main/xslt/knx-types.xsl b/protocols/knxnetip/src/main/xslt/knx-types.xsl
index 1bbaaff49..fee67cf21 100644
--- a/protocols/knxnetip/src/main/xslt/knx-types.xsl
+++ b/protocols/knxnetip/src/main/xslt/knx-types.xsl
@@ -311,6 +311,7 @@
     <xsl:template match="knx:Manufacturer">
         <xsl:variable name="manufacturerId">
             <xsl:choose>
+                <xsl:when test="@Name = 'Phoenix Contact' and @KnxManufacturerId = '655'">PHOENIX_CONTACT_2</xsl:when>
                 <xsl:when test="@Name = '3ATEL'">THREEATEL</xsl:when>
                 <xsl:when test="@Name = '1Home'">ONEHOME</xsl:when>
                 <xsl:when test="@Name = 'Simon'">SIMON_<xsl:value-of select="@KnxManufacturerId"/></xsl:when>