@@ -10,176 +10,10 @@ private static Task Main(string[] args)
1010 {
1111 try
1212 {
13- if ( Debugger . IsAttached )
14- {
15- //string[] args2 = {
16- // "compile",
17- // "-d2",
18- // @"D:\Work\OPC\UA-ModelCompiler\Opc.Ua.ModelCompiler\Design.v105\StandardTypes.xml",
19- // "-d2",
20- // @"D:\Work\OPC\UA-ModelCompiler\Opc.Ua.ModelCompiler\Design.v105\UA Core Services.xml",
21- // "-version",
22- // "v105",
23- // "-exclude",
24- // "Draft",
25- // "-c",
26- // @"D:\Work\OPC\UA-ModelCompiler\Opc.Ua.ModelCompiler\CSVs\StandardTypes.csv",
27- // "-o2",
28- // @"D:\Work\OPC\nodesets\v105\Schema\",
29- // "-stack",
30- // @"D:\Work\OPC\nodesets\v105\DotNet\",
31- // "-ansic",
32- // @"D:\Work\OPC\nodesets\v105\AnsiC\",
33- // "-mv",
34- // "1.05.06",
35- // "-pd",
36- // "2025-11-08"
37- //};
38-
39- //string[] args2 = {
40- // "compile-nodesets",
41- // "-input",
42- // @"D:\Work\OPC\UA-WebApi-StarterKit\UaWebApiClient\NodeSets",
43- // "-uri",
44- // "urn:opcfoundation.org:2024-10:starterkit:measurements",
45- // "-prefix",
46- // "Measurements",
47- // "-o2",
48- // @"D:\Work\OPC\UA-WebApi-StarterKit\UaWebApiClient\Model\Measurements\"
49- //};
50-
51- //string[] args2 = {
52- // "compile",
53- // "-version",
54- // "v105",
55- // "-d2",
56- // @"D:\Work\OPC\UAMC\Opc.Ua.ModelCompiler\Design.v105\TestModel.xml",
57- // "-cg",
58- // @"D:\Work\OPC\UAMC\Opc.Ua.ModelCompiler\CSVs\TestModel.csv",
59- // "-o2",
60- // @"D:\Work\OPC\UAMC\Tests\DemoModel\TestModel\"
61- //};
62-
63- //ModelCompilerApplication.Run(args2);
64-
65- //string[] args2 = {
66- // "compile",
67- // "-d2",
68- // @"D:\Work\OPC\UA-ModelCompiler\Opc.Ua.ModelCompiler\Design.v105\OpcUaDiModel.xml",
69- // "-cg",
70- // @"D:\Work\OPC\UA-ModelCompiler\Opc.Ua.ModelCompiler\CSVs\OpcUaDiModel.csv",
71- // "-version",
72- // "v105",
73- // "-exclude",
74- // "Draft",
75- // "-o2",
76- // @"D:\Work\OPC\nodesets\v105\DI\"
77- //};
78-
79- //string[] args2 = {
80- // "compile",
81- // "-d2",
82- // @"D:\Work\OPC\UA-ModelCompiler\Opc.Ua.ModelCompiler\Design.v105\OpcUaDiPackageMetadataModel.xml",
83- // "-cg",
84- // @"D:\Work\OPC\UA-ModelCompiler\Opc.Ua.ModelCompiler\CSVs\OpcUaDiPackageMetadataModel.csv",
85- // "-version",
86- // "v105",
87- // "-exclude",
88- // "Draft",
89- // "-o2",
90- // @"D:\Work\OPC\nodesets\v105\DI\"
91- //};
92-
93- //ModelCompilerApplication.Run(args2);
94-
95- //string[] args3 = {
96- // "compile-nodesets",
97- // "-input",
98- // @"D:\Work\OPC\nodesets\v105\",
99- // "-o2",
100- // @"D:\Work\OPC\UA-ModelCompiler\Tests\DemoModel\Models\PackageMetadata",
101- // "-uri",
102- // @"http://opcfoundation.org/UA/DI/PackageMetadata/",
103- // "-prefix",
104- // "UAModel.DI.PackageMetadata"
105- //};
106-
107- //ModelCompilerApplication.Run(args3);
108-
109- //string[] args2 = {
110- // "compile",
111- // "-d2",
112- // @"D:\Work\OPC\UA-ModelCompiler\Opc.Ua.ModelCompiler\Design.v105\OpcUaGdsModel.xml",
113- // "-cg",
114- // @"D:\Work\OPC\UA-ModelCompiler\Opc.Ua.ModelCompiler\CSVs\OpcUaGdsModel.csv",
115- // "-version",
116- // "v105",
117- // "-mv",
118- // "1.05.06",
119- // "-pd",
120- // "2025-07-01",
121- // "-exclude",
122- // "Nothing",
123- // "-o2",
124- // @"D:\Work\OPC\nodesets\v105\GDS\"
125- //};
126-
127- //string[] args2 = {
128- // "compile",
129- // "-d2",
130- // @"D:\Work\OPC\UA-ModelCompiler\Opc.Ua.ModelCompiler\Design.v105\DemoModel.xml",
131- // "-cg",
132- // @"D:\Work\OPC\UA-ModelCompiler\Opc.Ua.ModelCompiler\CSVs\DemoModel.csv",
133- // "-version",
134- // "v105",
135- // "-exclude",
136- // "Draft",
137- // "-o2",
138- // @"D:\Work\OPC\nodesets\v105\DemoModel\"
139- //};
140-
141- //string[] args2 = {
142- // "compile-nodesets",
143- // "-input",
144- // @"D:\Work\OPC\UAMC\input\",
145- // "-o2",
146- // //@"D:\Work\OPC\UA-ModelCompiler\Tests\DemoModel\Models\DI\",
147- // //@"D:\Work\OPC\UA-ModelCompiler\Tests\DemoModel\Models\IA\",
148- // //@"D:\Work\OPC\UA-ModelCompiler\Tests\DemoModel\Models\Machinery\",
149- // //@"D:\Work\OPC\UA-ModelCompiler\Tests\DemoModel\Models\MachineryResult\",
150- // //@"D:\Work\OPC\UA-ModelCompiler\Tests\DemoModel\Models\ISA95_JOBCONTROL_V2\",
151- // //@"D:\Work\OPC\UA-ModelCompiler\Tests\DemoModel\Models\MachineryJobs\",
152- // //@"D:\Work\OPC\UA-ModelCompiler\Tests\DemoModel\Models\WireHarnessVEC\",
153- // @"D:\Work\OPC\UAMC\output\",
154- // "-uri",
155- // //@"http://opcfoundation.org/UA/DI/",
156- // //@"http://opcfoundation.org/UA/IA/",
157- // //@"http://opcfoundation.org/UA/Machinery/",
158- // //@"http://opcfoundation.org/UA/Machinery/Result/",
159- // //@"http://opcfoundation.org/UA/ISA95-JOBCONTROL_V2/",
160- // //@"http://opcfoundation.org/UA/Machinery/Jobs/",
161- // //@"http://opcfoundation.org/UA/WireHarness/VEC/",
162- // //@"http://opcfoundation.org/UA/WireHarness/",
163- // @"http://vw.com/audiag/OpcUa/CentralIm/",
164- // "-prefix",
165- // //"UAModel.DI",
166- // //"UAModel.IA",
167- // //"UAModel.Machinery",
168- // //"UAModel.MachineryResult",
169- // //"UAModel.ISA95_JOBCONTROL_V2",
170- // //"UAModel.MachineryJobs",
171- // //"UAModel.WireHarnessVEC",
172- // "vw.audiag"
173- //};
174-
175- //ModelCompilerApplication.Run(args2);
176-
177- //File.Copy(
178- // @"D:\Work\OPC\UA-IIoT-StarterKit\Opc.Ua.TestPublisher\Model",
179- // @"D:\Work\OPC\UA-IIoT-StarterKit\Opc.Ua.TestPublisher\Model");
180-
181- return Task . CompletedTask ;
182- }
13+ //if (Debugger.IsAttached)
14+ //{
15+ // return Task.CompletedTask;
16+ //}
18317
18418 for ( int ii = 0 ; ii < args . Length ; ii ++ )
18519 {
0 commit comments