-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathTemplateApplication.xml
95 lines (95 loc) · 5.77 KB
/
TemplateApplication.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version="1.0" encoding="utf-8"?>
<?xml-model href="../../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">
<Catalog>
<CatalogSection Id="M-00FA_CS-OpenKNX" Name="OpenKNX" Number="OpenKNX" DefaultLanguage="de-DE">
<CatalogItem Id="%CatalogItemId%" Name="OpenKNX: %CatalogName%%BuildSuffix%" Number="1" ProductRefId="%ProductId%" Hardware2ProgramRefId="%Hardware2ProgramId%" DefaultLanguage="de-DE" />
</CatalogSection>
</Catalog>
<ApplicationPrograms>
<ApplicationProgram Id="%AID%" ProgramType="ApplicationProgram" MaskVersion="MV-07B0" Name="OpenKNX-%ApplicationName%%BuildSuffix%" LoadProcedureStyle="MergedProcedure" PeiType="0" DefaultLanguage="de" DynamicTableManagement="false" Linkable="true" MinEtsVersion="4.0" ContextHelpFile="%FILE-HELP-de%" IconFile="%FILE-ICONS%" ApplicationNumber="0" ApplicationVersion="0" ReplacesVersions="0">
<Static>
<Code>
<RelativeSegment Id="%AID%_RS-04-00000" Name="Parameters" Offset="0" Size="%MemorySize%" LoadStateMachine="4" />
</Code>
<ParameterTypes>
<op:includetemplate href="%share%" xpath="//ParameterTypes/ParameterType" prefix="%prefix%" />
</ParameterTypes>
<Parameters>
<op:includetemplate href="%share%" xpath="//Parameters/Parameter|//Parameters/Union" type="parameter" prefix="%prefix%" />
<op:includetemplate href="%templ%" xpath="//Parameters/Parameter|//Parameters/Union" type="template" prefix="%prefix%" />
</Parameters>
<ParameterRefs>
<op:includetemplate href="%share%" xpath="//ParameterRefs/ParameterRef" prefix="%prefix%" />
<op:includetemplate href="%templ%" xpath="//ParameterRefs/ParameterRef" type="template" prefix="%prefix%" />
</ParameterRefs>
<ParameterCalculations>
<op:includetemplate href="%share%" xpath="//ParameterCalculations/ParameterCalculation" prefix="%prefix%" />
<op:includetemplate href="%templ%" xpath="//ParameterCalculations/ParameterCalculation" type="template" prefix="%prefix%" />
</ParameterCalculations>
<ComObjectTable>
<op:includetemplate href="%share%" xpath="//ComObjectTable/ComObject" prefix="%prefix%" />
<op:includetemplate href="%templ%" xpath="//ComObjectTable/ComObject" type="template" prefix="%prefix%" />
</ComObjectTable>
<ComObjectRefs>
<op:includetemplate href="%share%" xpath="//ComObjectRefs/ComObjectRef" prefix="%prefix%" />
<op:includetemplate href="%templ%" xpath="//ComObjectRefs/ComObjectRef" type="template" prefix="%prefix%" />
</ComObjectRefs>
<AddressTable MaxEntries="2047" />
<AssociationTable MaxEntries="2047" />
<LoadProcedures>
<LoadProcedure MergeId="1">
<LdCtrlCompareProp InlineData="%VersionCheck%" ObjIdx="0" PropId="78">
<OnError Cause="CompareMismatch" MessageRef="%AID%_M-1" />
</LdCtrlCompareProp>
</LoadProcedure>
<LoadProcedure MergeId="2">
<LdCtrlRelSegment LsmIdx="4" Size="%MemorySize%" Mode="1" Fill="0" AppliesTo="full" />
<LdCtrlRelSegment LsmIdx="4" Size="%MemorySize%" Mode="0" Fill="0" AppliesTo="par" />
</LoadProcedure>
<LoadProcedure MergeId="4">
<LdCtrlWriteRelMem ObjIdx="4" Offset="0" Size="%MemorySize%" Verify="true" AppliesTo="full,par" />
</LoadProcedure>
<LoadProcedure MergeId="7">
<LdCtrlLoadImageProp ObjIdx="1" PropId="27" />
<LdCtrlLoadImageProp ObjIdx="2" PropId="27" />
<LdCtrlLoadImageProp ObjIdx="3" PropId="27" />
<LdCtrlLoadImageProp ObjIdx="4" PropId="27" />
</LoadProcedure>
</LoadProcedures>
<Messages>
<Message Id="%AID%_M-1" Name="VersionMismatch" Text="Diese Applikaiton und die Firmware passen nicht zusammen" />
</Messages>
<Script>
<op:includetemplate href="%share%" xpath="//Script/text()" prefix="%prefix%" />
</Script>
<Options />
</Static>
<Dynamic>
</Dynamic>
</ApplicationProgram>
</ApplicationPrograms>
<Baggages>
<op:include href="../lib/OGM-Common/src/Common.share.xml" xpath="//Baggages/*" prefix="LOG" />
<op:includetemplate href="%share%" xpath="//Baggages/*" prefix="%prefix%" />
</Baggages>
<Hardware>
<Hardware Id="%HardwareId%" Name="OpenKNX-%HardwareName%%BuildSuffix%" SerialNumber="%SerialNumber%" VersionNumber="1" BusCurrent="10" HasIndividualAddress="true" HasApplicationProgram="true">
<Products>
<Product Id="%ProductId%" Text="OpenKNX: %ProductName%%BuildSuffix%" OrderNumber="%OrderNumber%" IsRailMounted="false" DefaultLanguage="de">
<RegistrationInfo RegistrationStatus="Registered" />
</Product>
</Products>
<Hardware2Programs>
<Hardware2Program Id="%Hardware2ProgramId%" MediumTypes="MT-0">
<ApplicationProgramRef RefId="%AID%" />
<RegistrationInfo RegistrationStatus="Registered" RegistrationNumber="0001/11" />
</Hardware2Program>
</Hardware2Programs>
</Hardware>
</Hardware>
</Manufacturer>
</ManufacturerData>
</KNX>