|
1 | | -using ModelCompiler; |
2 | | -using McMaster.Extensions.CommandLineUtils; |
3 | | -using System.Reflection; |
| 1 | +using McMaster.Extensions.CommandLineUtils; |
| 2 | +using ModelCompiler; |
4 | 3 | using System.Diagnostics; |
| 4 | +using System.Reflection; |
5 | 5 |
|
6 | 6 | try |
7 | 7 | { |
|
33 | 33 | // "UAModel.DI" |
34 | 34 | //}; |
35 | 35 |
|
36 | | - string[] args2 = { |
37 | | - "compile", |
38 | | - "-version", |
39 | | - "v105", |
40 | | - "-d2", |
41 | | - @"D:\Work\OPC\UA-ModelCompiler\Opc.Ua.ModelCompiler\Design.v105\DemoModel.xml", |
42 | | - "-d2", |
43 | | - @"D:\Work\OPC\nodesets\public\UAFX\opc.ua.fx.ac.nodeset2.xml,Opc.UAFX.AC,Opc.UAFX.AC", |
44 | | - "-d2", |
45 | | - @"D:\Work\OPC\nodesets\public\UAFX\opc.ua.fx.cm.nodeset2.xml,Opc.UAFX.CM,Opc.UAFX.CM", |
46 | | - "-d2", |
47 | | - @"D:\Work\OPC\nodesets\public\UAFX\opc.ua.fx.data.nodeset2.xml,Opc.UAFX.Data,Opc.UAFX.Data", |
48 | | - "-d2", |
49 | | - @"D:\Work\OPC\nodesets\public\DI\Opc.Ua.Di.NodeSet2.xml,Opc.Ua.Di,Opc.Ua.Di", |
50 | | - "-cg", |
51 | | - @"D:\Work\OPC\UA-ModelCompiler\Opc.Ua.ModelCompiler\CSVs\DemoModel.csv", |
52 | | - "-o2", |
53 | | - @"D:\Work\OPC\UA-ModelCompiler\Tests\DemoModel\Models\" |
54 | | - }; |
| 36 | + //string[] args2 = { |
| 37 | + // "compile", |
| 38 | + // "-version", |
| 39 | + // "v105", |
| 40 | + // "-d2", |
| 41 | + // @"D:\Work\OPC\UA-ModelCompiler\Opc.Ua.ModelCompiler\Design.v105\DemoModel.xml", |
| 42 | + // "-d2", |
| 43 | + // @"D:\Work\OPC\nodesets\public\UAFX\opc.ua.fx.ac.nodeset2.xml,Opc.UAFX.AC,Opc.UAFX.AC", |
| 44 | + // "-d2", |
| 45 | + // @"D:\Work\OPC\nodesets\public\UAFX\opc.ua.fx.cm.nodeset2.xml,Opc.UAFX.CM,Opc.UAFX.CM", |
| 46 | + // "-d2", |
| 47 | + // @"D:\Work\OPC\nodesets\public\UAFX\opc.ua.fx.data.nodeset2.xml,Opc.UAFX.Data,Opc.UAFX.Data", |
| 48 | + // "-d2", |
| 49 | + // @"D:\Work\OPC\nodesets\public\DI\Opc.Ua.Di.NodeSet2.xml,Opc.Ua.Di,Opc.Ua.Di", |
| 50 | + // "-cg", |
| 51 | + // @"D:\Work\OPC\UA-ModelCompiler\Opc.Ua.ModelCompiler\CSVs\DemoModel.csv", |
| 52 | + // "-o2", |
| 53 | + // @"D:\Work\OPC\UA-ModelCompiler\Tests\DemoModel\Models\" |
| 54 | + //}; |
55 | 55 |
|
56 | | - ModelCompilerApplication.Run(args2); |
| 56 | + //ModelCompilerApplication.Run(args2); |
57 | 57 |
|
58 | | - return; |
| 58 | + //return; |
59 | 59 | } |
60 | 60 |
|
61 | 61 | for (int ii = 0; ii < args.Length; ii++) |
|
0 commit comments