forked from Azure-Samples/iot-edge-opc-plc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add DataTypeDefinition for complex types (V1.04) (Azure-Samples#30)
* Create the modelcompiler output to support DataTypeDefinitions * reduce number of UA assemblies used Co-authored-by: Hans Gschossmann <[email protected]>
- Loading branch information
1 parent
cc19ed4
commit a2a0e16
Showing
5 changed files
with
120 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
@echo off | ||
|
||
echo Building ModelDesign | ||
|
||
docker run --mount type=bind,source=%CD%,target=/model sailavid/ua-modelcompiler -- -console -d2 /model/ModelDesign.xml -cg /model/ModelDesign.csv -o2 /model -version v104 | ||
|
||
echo Success! | ||
@echo off | ||
|
||
echo Building ModelDesign | ||
|
||
REM Issue> The ModelCompiler from docker doesn't create the DataTypeDefinition' | ||
REM docker run --mount type=bind,source=%CD%,target=/model sailavid/ua-modelcompiler -- -console -version v104 -d2 /model/ModelDesign.xml -cg /model/ModelDesign.csv -o2 /model | ||
|
||
REM Build master branch in https://github.com/OPCFoundation/UA-ModelCompiler | ||
REM add ModelCompiler build output folder to PATH | ||
Opc.Ua.ModelCompiler.exe -version v104 -d2 ".\ModelDesign.xml" -c ".\ModelDesign.csv" -o2 ".\" | ||
|
||
echo Success! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters