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/24 16:12:10 UTC
[plc4x] 01/12: 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.
cdutz pushed a commit to branch feature/ads-symbol-discovery
in repository https://gitbox.apache.org/repos/asf/plc4x.git
commit 66f0501d5537629a68094cfd6759b7f577dcefcc
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>