mtconnect / mtconnecttranspiler Goto Github PK
View Code? Open in Web Editor NEWA transpiler for the SysML data model of MTConnect into other formats.
License: Apache License 2.0
A transpiler for the SysML data model of MTConnect into other formats.
License: Apache License 2.0
I have started to implement this project to generate c# classes and so far it has worked great. The main issue I have run into is accessing the multiplicity of a property. I don't see it in the Xmi classes and I don't really even see where it is located in the raw SysML XMI file (although I'm sure it's in there somewhere).
My temporary solution is to create a manual list to determine if a property is an array and also if it is required/optional.
My question is, is the Multiplicity something that is directly pulled from the SysML XMI file? Or is this something that is derived from other properties?
Any help would be appreciated.
Thanks,
-Patrick
Once CI is configured on the SysML model (see mtconnect_sysml_model repo), then the XmiTranspiler
should have an option to pull down the latest release of the model.
This should be accomplished using GitHub's download API:
https://github.com/{owner}/{repository}/releases/download/{version}/name_of_asset
Example:
https://github.com/mtconnect/mtconnect_sysml_model/releases/download/v1.5/Model.xml
This will also require that the XMI document for the SysML model be included in the release package in a consistent manner for each release.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.