Add InfoLed configuration XML for KNX application

- Introduced a new XML file `InfoLed.part.xml` to define the Info LED configuration for the KNX application.
- The file includes manufacturer data, application programs, and dynamic parameter blocks for configuring Info LEDs.
- Logic for showing/hiding default checkboxes and function tables based on user selections is implemented.
- Parameter blocks are structured to allow customization of Info LEDs with appropriate UI hints and layout.

Signed-off-by: Tony <tonylu@tony-cloud.com>
This commit is contained in:
Tony
2026-05-28 17:20:10 +08:00
parent 803348ea3a
commit 4c9f26a638
228 changed files with 2393 additions and 20 deletions
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml-model href="../../../../temp/openknx/Organization/knxprod-support/knx_project_20/knx-editor.xsd" type="application/xml" schematypens="http://www.w3.org/2001/XMLSchema"?>
<KNX xmlns="http://knx.org/xml/project/20" xmlns:op="http://github.com/OpenKNX/OpenKNXproducer">
<ManufacturerData>
<Manufacturer RefId="M-00FA">
@@ -16,26 +15,26 @@
<AbsoluteSegment Id="%AID%_AS-0100" Address="256" Size="256" />
</Code>
<ParameterTypes>
<op:include href="../../../../temp/openknx/OAM-IP-Router/lib/OGM-Common/src/Common.share.xml" xpath="//ParameterTypes/ParameterType" prefix="BASE" />
<op:include href="deps/OGM-Common/src/Common.share.xml" xpath="//ParameterTypes/ParameterType" prefix="BASE" />
<op:includetemplate href="%share%" xpath="//ApplicationProgram/Static/ParameterTypes/ParameterType" prefix="%prefix%" />
</ParameterTypes>
<Parameters>
<op:include href="../../../../temp/openknx/OAM-IP-Router/lib/OGM-Common/src/Common.Router.share.xml" xpath="//ApplicationProgram/Static/Parameters/Parameter|//ApplicationProgram/Static/Parameters/Union" type="parameter" prefix="BASE" />
<op:include href="deps/OGM-Common/src/Common.Router.share.xml" xpath="//ApplicationProgram/Static/Parameters/Parameter|//ApplicationProgram/Static/Parameters/Union" type="parameter" prefix="BASE" />
<op:includetemplate href="%share%" xpath="//ApplicationProgram/Static/Parameters/Parameter|//ApplicationProgram/Static/Parameters/Union" type="parameter" prefix="%prefix%" />
<op:includetemplate href="%templ%" xpath="//ApplicationProgram/Static/Parameters/Parameter|//ApplicationProgram/Static/Parameters/Union" type="template" prefix="%prefix%" />
</Parameters>
<ParameterRefs>
<op:include href="../../../../temp/openknx/OAM-IP-Router/lib/OGM-Common/src/Common.Router.share.xml" xpath="//ApplicationProgram/Static/ParameterRefs/ParameterRef" prefix="BASE" />
<op:include href="deps/OGM-Common/src/Common.Router.share.xml" xpath="//ApplicationProgram/Static/ParameterRefs/ParameterRef" prefix="BASE" />
<op:includetemplate href="%share%" xpath="//ApplicationProgram/Static/ParameterRefs/ParameterRef" prefix="%prefix%" />
<op:includetemplate href="%templ%" xpath="//ApplicationProgram/Static/ParameterRefs/ParameterRef" type="template" prefix="%prefix%" />
</ParameterRefs>
<ParameterCalculations>
<op:include href="../../../../temp/openknx/OAM-IP-Router/lib/OGM-Common/src/Common.share.xml" xpath="//ApplicationProgram/Static/ParameterCalculations/ParameterCalculation" prefix="BASE" />
<op:include href="deps/OGM-Common/src/Common.share.xml" xpath="//ApplicationProgram/Static/ParameterCalculations/ParameterCalculation" prefix="BASE" />
<op:includetemplate href="%share%" xpath="//ApplicationProgram/Static/ParameterCalculations/ParameterCalculation" prefix="%prefix%" />
<op:includetemplate href="%templ%" xpath="//ApplicationProgram/Static/ParameterCalculations/ParameterCalculation" type="template" prefix="%prefix%" />
</ParameterCalculations>
<ParameterValidations>
<op:include href="../../../../temp/openknx/OAM-IP-Router/lib/OGM-Common/src/Common.share.xml" xpath="//ApplicationProgram/Static/ParameterValidations/ParameterValidation" prefix="BASE" />
<op:include href="deps/OGM-Common/src/Common.share.xml" xpath="//ApplicationProgram/Static/ParameterValidations/ParameterValidation" prefix="BASE" />
<op:includetemplate href="%share%" xpath="//ApplicationProgram/Static/ParameterValidations/ParameterValidation" prefix="%prefix%" />
<op:includetemplate href="%templ%" xpath="//ApplicationProgram/Static/ParameterValidations/ParameterValidation" type="template" prefix="%prefix%" />
</ParameterValidations>
@@ -62,11 +61,11 @@
<Messages>
<Message Id="%AID%_M-1" Name="VersionMismatch" Text="Manufacturer identifier is incompatible." />
<Message Id="%AID%_M-2" Name="VersionMismatch" Text="Hardware type or firmware version is incompatible." />
<op:include href="../../../../temp/openknx/OAM-IP-Router/lib/OGM-Common/src/Common.share.xml" xpath="//ApplicationProgram/Static/Messages/*" prefix="BASE" />
<op:include href="deps/OGM-Common/src/Common.share.xml" xpath="//ApplicationProgram/Static/Messages/*" prefix="BASE" />
<op:includetemplate href="%share%" xpath="//ApplicationProgram/Static/Messages/*" prefix="%prefix%" />
</Messages>
<Script>
<op:include href="../../../../temp/openknx/OAM-IP-Router/lib/OGM-Common/src/Common.share.xml" xpath="//ApplicationProgram/Static/Script/text()" prefix="BASE" />
<op:include href="deps/OGM-Common/src/Common.share.xml" xpath="//ApplicationProgram/Static/Script/text()" prefix="BASE" />
<op:includetemplate href="%share%" xpath="//ApplicationProgram/Static/Script/text()" prefix="%prefix%" />
</Script>
<BusInterfaces>
@@ -75,19 +74,19 @@
<Options LineCoupler0912NewProgrammingStyle="true" MaxRoutingApduLength="66" Comparable="true" Reconstructable="true" DownloadInvisibleParameters="None" SupportsExtendedMemoryServices="true" SupportsExtendedPropertyServices="true" SupportsIpSystemBroadcast="true" />
</Static>
<ModuleDefs>
<op:include href="../../../../temp/openknx/OAM-IP-Router/lib/OGM-Common/src/Common.share.xml" xpath="//ApplicationProgram/ModuleDefs/*" prefix="BASE" />
<op:include href="deps/OGM-Common/src/Common.share.xml" xpath="//ApplicationProgram/ModuleDefs/*" prefix="BASE" />
<op:includetemplate href="%share%" xpath="//ApplicationProgram/ModuleDefs/*" prefix="%prefix%" />
<op:includetemplate href="%templ%" xpath="//ApplicationProgram/ModuleDefs/*" type="template" prefix="%prefix%" />
</ModuleDefs>
<Dynamic>
<op:include href="../../../../temp/openknx/OAM-IP-Router/lib/OFM-Network/src/Common.Router.share.xml" xpath="//Dynamic/*" prefix="BASE" />
<op:include href="../../../../temp/openknx/OAM-IP-Router/lib/OFM-Network/src/Network.share.xml" xpath="//Dynamic/*" prefix="NET" />
<op:include href="deps/OGM-Common/src/Common.Router.share.xml" xpath="//Dynamic/*" prefix="BASE" />
<op:include href="deps/OFM-Network/src/Network.share.xml" xpath="//Dynamic/*" prefix="NET" />
<op:include href="Gateway-OAM-IP-Router.share.xml" xpath="//Dynamic/*" prefix="ROUTE" />
</Dynamic>
</ApplicationProgram>
</ApplicationPrograms>
<Baggages>
<op:include href="../../../../temp/openknx/OAM-IP-Router/lib/OGM-Common/src/Common.share.xml" xpath="//Baggages/*" prefix="BASE" />
<op:include href="deps/OGM-Common/src/Common.share.xml" xpath="//Baggages/*" prefix="BASE" />
<op:includetemplate href="%share%" xpath="//Manufacturer/Baggages/*" prefix="%prefix%" />
</Baggages>
<Hardware>
@@ -386,6 +385,7 @@
</TranslationElement>
</TranslationUnit>
</Language>
<op:include href="Gateway-Dependency-Translations.xml" xpath="//Manufacturer/Languages/Language" />
</Languages>
</Manufacturer>
</ManufacturerData>