admin-shell / aasx-package-explorer Goto Github PK
View Code? Open in Web Editor NEWC# based viewer / editor for the Asset Administration Shell
C# based viewer / editor for the Asset Administration Shell
Incorrect XML De-/Serialization of Qualifiers for Version V2.0.1 of Metamodel.
Current behavior
Currently if I have more than one Qualifier it will be serialized like this:
<aas:qualifier>
<aas:qualifier>
<aas:type>test1</aas:type><aas:valueType>string</aas:valueType><aas:value>test1</aas:value>
</aas:qualifier>
<aas:qualifier>
<aas:type>test2</aas:type><aas:valueType>string</aas:valueType><aas:value>test2</aas:value>
</aas:qualifier>
</aas:qualifier>
Expected behavior
However I suppose that the correct serialization will be the following:
<aas:qualifier>
<aas:qualifier>
<aas:type>test1</aas:type><aas:valueType>string</aas:valueType><aas:value>test1</aas:value>
</aas:qualifier>
</aas:qualifier>
<aas:qualifier>
<aas:qualifier>
<aas:type>test2</aas:type><aas:valueType>string</aas:valueType><aas:value>test2</aas:value>
</aas:qualifier>
</aas:qualifier>
According to the Schema qualifiable does NOT have a complex type named "qualifier" similiar to list.
Instead it has multiple "qualifier" elements of type "constraint_t":
<complexType name="qualifier_t">
<sequence>
<element maxOccurs="1" minOccurs="1" name="type" type="aas:qualifierType_t"/>
<element maxOccurs="1" minOccurs="1" name="valueType" type="aas:dataTypeDef_t"/>
<element maxOccurs="1" minOccurs="0" name="valueId" type="aas:reference_t"/>
<element maxOccurs="1" minOccurs="0" name="value" type="aas:valueDataType_t"/>
<group ref="aas:hasSemantics"/>
</sequence>
</complexType>
...
<complexType name="constraint_t">
<choice>
<element maxOccurs="1" minOccurs="0" name="formula" type="aas:formula_t"/>
<element maxOccurs="1" minOccurs="0" name="qualifier" type="aas:qualifier_t"/>
</choice>
</complexType>
...
<group name="qualifiable">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="qualifier" type="aas:constraint_t"/>
</sequence>
</group>
Is your feature request related to a problem? Please describe.
I have heard from multiple people in my organisation that they were confused as to where admin-shell related repos are maintained. The disclaimer only appears in the readme of the package-explorer repo and there is no reason to keep this outdated version public.
Describe the solution you'd like
Set the entire admin-shell github profile to private, including all repositories.
Describe alternatives you've considered
Additional context
Add any other context or screenshots about the feature request here.
The AASX Package Explorer is called an "open source software" or "open source implementation" in the following publications and articles:
However, the source code of the application seems to be unavailable, so the term "open-source" is misleading. Please note, that the software is published under the terms of the Eclipse Public License Version 2.0, which states:
3.1 If a Contributor Distributes the Program in any form, then:
a) the Program must also be made available as Source Code, [...]
This repository abuses the way how Git (the technology) and GitHub (the platform) work, because both are not suited for hosting big binary files. Instead a feature called GitHub Releases should be used for the distribution of compiled files keeping the repository either empty (when changing to a closed-source approach) or filled with the actual sources of the tool.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
If AASX is saved and loaded the model also does not include the submodel.
When connecting remotely to a REST AASX server, the complete AASX shall be read into the editor, not only the first AAS.
The Asset Administration Shell specification states that idShort can only contain letters, digits and underscores. Also, it must start with a letter.
The editor doesn't check any of that. It didn't keep me from setting idShort as "401-test" for example. See the following screenshot as proof:
I would want the editor to stop me from saving such a change and display a message (possibly in the shape of a red hint bubble) telling me what I did wrong.
Describe the bug
Explorer crashes when trying to load an AASX with File...Open...
Same behavior when using Open Auxiliary AAS...
Dragging and dropping AASX file into Explorer is ignored, no messages.
To Reproduce
Expected behavior
Display the AAS, or an informative error message.
OS: Windows 10
Package explorer build: 190930
Additional context
Unfortunately this is happening with one of my .AASX files which I have been working on. The explorer crashed while editing the file, and since then I am not able to load my AASX anymore. I assume the file is corrupted in some way?
Following up on the above question: If I try renaming the Festo VUVG-LK10 file from above to a .ZIP and extracting, I get an error as shown below. With my AASX file it is the same error, except with the [...].aas file.
Edit: clarification
Hi.
I used the Explorer as a Rest server. The test was done in one PC, but, it seems like there is no remote server function.
Will there be a function as a remote server in future? Thank you.
I put eclass folder under public-release-with-browser folder but doesn't work.
ECLASS import for class 0173-1---ADVANCED_1_1#01-ADN507#008 not working. ASSX Package Explorer crashes - Stops working.
Example from video is working
Please see the example below, taken directly from an AASX package created by the AASX Package Explorer (Build 190930).
In the XML serialization of the AAS, shouldn't the element which contains the qualifiers be <aas:qualifiers>
? Unless I am misunderstanding the specification from VWSiD?
I propose to change line 2373 in AssetAdministrationShellSDK.cs
from
[XmlArray("qualifier")]
to:
[XmlArray("qualifiers")]
This change would probably break existing AASX packages. These would need to be either upgraded manually, or automatically by the AASX Package Explorer?
I'd be happy to submit a pull request to this repository for this and other issues...
<aas:submodel>
<aas:idShort>AxisUtilization</aas:idShort>
<aas:description>
<aas:langString lang="EN">Submodel which contains runtime data</aas:langString>
</aas:description>
<aas:identification idType="URI">wbk.kit.edu/submodels/1/1/740EDD761C3F0114</aas:identification>
<aas:semanticId>
<aas:keys />
</aas:semanticId>
<aas:kind>Instance</aas:kind>
<aas:qualifier>
<aas:qualifier>
<aas:qualifierType>OPCURL</aas:qualifierType>
<aas:qualifierValue>opc.tcp://192.168.0.199:4840</aas:qualifierValue>
</aas:qualifier>
<aas:qualifier>
<aas:qualifierType>OPCNamespace</aas:qualifierType>
<aas:qualifierValue>2</aas:qualifierValue>
</aas:qualifier>
...more qualifiers...
</aas:qualifier>
<aas:submodelElements>
...rest of submodel...
</aas:submodel>
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
REST has the beautiful advantage that it can be used with a browser.
To make an AAS better readable for humans, the idshort shall be shown, e.g. for the submodels.
Example:
/aas/id/complete
{
"AAS": {
"hasDataSpecification": null,
"derivedFrom": null,
"asset": {
"keys": [
{
"type": "Asset",
"local": true,
"value": "www.phoenixcontact.com/asset/product/2404267",
"index": 0,
"idType": "URI"
}
]
},
"submodels": [
{
"keys": [
{
"type": "Submodel",
"local": true,
"value": "http://www.phoenixcontact.com/id/instance/99920181225234907000033133",
"index": 0,
"idType": "URI"
}
]
},
{
"keys": [
{
"type": "Submodel",
"local": true,
"value": "www.phoenixcontact.com/ids/sm/2393_4191_2091_4218",
"index": 0,
"idType": "URI"
}
]
},
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
No problem but usage question
Describe the solution you'd like
A clear and concise description of what you want to happen.
How and where to post question on usage.
Especially how to define enumerated lists.
Usage: multiple measurements on material and need to define a list with measurement types with description, units, ..
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Looked about all the screencasts and read documentation
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
The xml file does not contain any schema references - so it can't be validated completely.
Describe the solution you'd like
Include the schema references
Describe alternatives you've considered
no alternate solutions
cheers
J.
The title pretty much says it all.
The specification mentions an optional submodel under the Asset element that carries additional identifying information. This assetIdentificationModel is not supported by the explorer. You can't create such a submodel and an existing submodel in the XML is not displayed.
Situation:
I use the AASX Package Explorer 2021-02-18.alpha version and work on a 64-bit Windows 7 and 10 machine. I tried to convert any AASX XML sample to an AASX W JSON format, given the error code shown below.
How should I get this format? I tried with all the examples on the server (http://www.admin-shell-io.com/samples/), but the same error and the XML format are still not changed. Even creating a new model with AASX W JSON format is not possible.
Expected results:
I expect to get an AASX in a W JSON format
Actual Results:
When saving the AASX file to AASX W JSON format, a file with XML format is saved, and an error message is returned in the log [1]
[1]Error: while backing up AASX local file: D:\Users\salazar\Desktop\Luis Cruz TUM\Software 2021\AAS software tools\model tests\model5.aasx buffered to: C:\Users\TUM\AppData\Local\Temp\tmpD052.aasx: While temporarily close and re-open AASX C:\Users\TUM\AppData\Local\Temp\tmpD052.aasx at \AdminShellPackageEnv.cs:line 911 gave: Could not find a part of the path 'D:\Users\salazar\Desktop\Luis Cruz TUM\Software 2021\AAS software tools\backup\backup000.aasx'. While temporarily close and re-open AASX C:\Users\TUM\AppData\Local\Temp\tmpD052.aasx at \AdminShellPackageEnv.cs:line 911 gave: Could not find a part of the path 'D:\Users\salazar\Desktop\Luis Cruz TUM\Software 2021\AAS software tools\backup\backup000.aasx'. at at AdminShellNS.AdminShellPackageEnv.TemporarilySaveCloseAndReOpenPackage(Action lambda) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxCsharpLibrary\AdminShellPackageEnv.cs:line 915
at AasxWpfControlLibrary.PackageCentral.PackageContainerBuffered.BackupInDir(String backupDir, Int32 maxFiles, BackupType backupType) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxWpfControlLibrary\PackageCentral\PackageContainerBuffered.cs:line 105.
I would need a sample how to enable the MQTT plugin via cmd line. The help page does not have such an example.
Thanks
J.
I am trying to import the AML file into the aasx. But it does not seem to recognize the elements. Is there a user guide/ rules as to how the AMl should be structured for importing into the AASX. I tried to add the basic attributes to the instance hierarchy in AMl. (idShort, category, administration,etc). Yet it does recognize the AML elements.
When copying a submodel from an auxiliary AAS, the resulting properties get the wrong valueType. valueType is actually filled with the same content as value.
To Reproduce
Expected behavior
The property should have the same valueType as the original.
I am excited to use your tool and the examples in the shell-io repository helped me to understand the specification. I am missing some parts of the specification like Range DateElement. More important i am missing the Events. As far as i understand the EventElement specifies the messageBroker and the connections using MQTT and OPC UA. The examples show only that these connections are described using SubElementCollections.
My Request
Is it planned to support EventElement soon?
How is the current Workaround? Is there something i miss?
Describe the bug
Created Project using the Explorer. Failed to reload. No error description or exception. I started the application using console but no output there.
Project is attached and only renamed to zip
blacky.zip
To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Situation:
I use the build191121 version and work on a 64 bit windows machine. The OPC-UA plugin requires the libuv dll. This dll appears to be available only in a 32 bit version. It looks like this results in a 32/64-bit mismatch, given the error code shown below.
How should I get around this? I browsed some stackoverflow, but all suggestion require changes to the actual C#-project, should they work. E.g.,
Expected results:
I expect the OPC-UA plugin to correctly start.
Actual Results:
When starting the OPC-UA Plugin the following error message is returned in the log:
[1] Could not load HTTPS Stack Listener. An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) AggregateException 'One or more errors occurred.' -
Hello team,
I am facing an issue while converting the .aasx file to an xml file or a json file directly from the save as option in the file menu in the AASX package explorer tool.
The issue is attached below :
File contains corrupted data. File contains corrupted data. at at MS.Internal.IO.Zip.ZipIOEndOfCentralDirectoryBlock.FindPosition(Stream archiveStream)
at MS.Internal.IO.Zip.ZipIOEndOfCentralDirectoryBlock.SeekableLoad(ZipIOBlockManager blockManager)
at MS.Internal.IO.Zip.ZipArchive..ctor(Stream archiveStream, FileMode mode, FileAccess access, Boolean streaming, Boolean ownStream)
at MS.Internal.IO.Zip.ZipArchive.OpenOnFile(String path, FileMode mode, FileAccess access, FileShare share, Boolean streaming)
at System.IO.Packaging.ZipPackage..ctor(String path, FileMode mode, FileAccess access, FileShare share, Boolean streaming)
at System.IO.Packaging.Package.Open(String path, FileMode packageMode, FileAccess packageAccess, FileShare packageShare, Boolean streaming)
at AdminShellNS.AdminShellPackageEnv.TemporarilySaveCloseAndReOpenPackage(Action lambda) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxCsharpLibrary\AdminShellPackageEnv.cs:line 896
at AasxWpfControlLibrary.PackageCentral.PackageContainerBuffered.BackupInDir(String backupDir, Int32 maxFiles, BackupType backupType) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxWpfControlLibrary\PackageCentral\PackageContainerBuffered.cs:line 105.
I tried with some of the examples on the server (http://www.admin-shell-io.com/samples/), but the same error is being repeated.
When trying to delete the thumbnail under Supplementary Files and then saving the package it fails with an error:
Error When saving AASX, an error occurred: While write AASX C:\Users\hmrm\OneDrive - Festo\Documents\Verwaltungsschale\CP-AM-iDRILL2.aasx at \AssetAdministrationShellSDK.cs:line 2386 gave: Not able to delete pending file /thumbnail.jpg in saving package C:\Users\hmrm\OneDrive - Festo\Documents\Verwaltungsschale\CP-AM-iDRILL2.aasx at \AssetAdministrationShellSDK.cs:line 2459
To Reproduce
I follow the instruction to query the repository but the program exited without warning.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
I used the sample AAS as a template to create my own. However, I have trouble getting my embedded files to display in the browser. Apparently, the URI in the File element gets somehow mangled. The same happens to the value of the DocFilename properties.
To Reproduce
Expected behavior
User: JN
Steps to reproduce: loaded AAS & auxilliary AAS. Edit mode. Click "copy single entity"
Expected results: Copy window opens
Actual Results: Nothing plus error message
Message: Error While in user callback (modify repo lambda): Beim Festlegen der Eigenschaft "System.Windows.ResourceDictionary.DeferrableContent" wurde eine Ausnahme ausgelöst. Die Datei oder Assembly "PresentationFramework.Aero2, PublicKeyToken=31bf3856ad364e35" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden. at .
When selecting a data type in an IEC 61360 data specification, the type STRING is missing from the drop down.
According to the eClass wiki there should be such a type.
In the drop down, however, the regular STRING (not STRING_TRANSLATABLE) is missing:
Hello dear AASX Package Explorer Development Team,
I'm running into the following error message when I try to open a AASX file, which I created with the code from the Eclipse AAS Model for java repo (https://github.com/eclipse-aas4j/aas4j).
Steps to reproduce:
I cloned the repo
I used the AASSimple Class to write a simple AAS on an AASX file
Then I tried to open this file with the AASX Package Explorer
Expected results:
I expected the file to open normally similar to other submodel tamplate samples from https://industrialdigitaltwin.org/content-hub/teilmodelle
Actual Results:
I got the following error message:
Latest message: Error: Unhandled exception in AasxPackageExplorer v1.0.0.0: PackageCentral: while performing load from C:\Users*\Projects*\03_Code\micro-aas\output.aasx at \PackageCentral.cs:line 95 gave: One or more errors occurred. PackageCentral: while performing load from C:\Users*\Projects*\03_Code\micro-aas\output.aasx at \PackageCentral.cs:line 95 gave: One or more errors occurred.
InnerException: One or more errors occurred.
InnerException: While opening aasx C:\Users*\AppData\Local\Temp\tmp4B1D.aasx from source local file: C:\Users*\Projects*\03_Code\micro-aas\output.aasx buffered to: C:\Users*\AppData\Local\Temp\tmp4B1D.aasx at \AdminShellPackageEnv.cs:line 402 gave: While reading the AASX C:\Users****\AppData\Local\Temp\tmp4B1D.aasx at \AdminShellPackageEnv.cs:line 334 gave: '9273f37c-2a48-488c-8fbc-6aaed62f23a4' ID is not a valid XSD ID. at at AasxPackageLogic.PackageCentral.PackageCentralItem.Load(PackageCentral packageCentral, String location, String fullItemLocation, Boolean overrideLoadResident, PackageContainerOptionsBase containerOptions, PackCntRuntimeOptions runtimeOptions) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageLogic\PackageCentral\PackageCentral.cs:line 104
at AasxPackageExplorer.MainWindow.UiLoadPackageWithNew(PackageCentralItem packItem, AdminShellPackageEnv takeOverEnv, String loadLocalFilename, String info, Boolean onlyAuxiliary, Boolean doNotNavigateAfterLoaded, PackageContainerBase takeOverContainer, String storeFnToLRU, Boolean indexItems) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageExplorer\MainWindow.xaml.cs:line 294
at AasxPackageExplorer.MainWindow.<CommandBinding_GeneralDispatch>d__5.MoveNext() in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageExplorer\MainWindow.CommandBindings.cs:line 266
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler).
Please consider attaching the AASX package (you might rename this to .zip),
you were working on, as well as an screen shot.
Please issue directly to github: https://github.com/admin-shell/aasx-package-explorer/issues
Application startup.
The default options are expected in the JSON file: C:\Users**\Desktop\aasx-package-explorer.2023-02-03.alpha\AasxPackageExplorer\AasxPackageExplorer.options.json
Loading the default options from: C:\Users**\Desktop\aasx-package-explorer.2023-02-03.alpha\AasxPackageExplorer\AasxPackageExplorer.options.json
Parsing 0 command-line option(s)...
Searching for the plugins in the plugin directory: C:\Users**\Desktop\aasx-package-explorer.2023-02-03.alpha\AasxPackageExplorer.\plugins
Found 13 plugin(s) in the plugin directory: C:\Users**\Desktop\aasx-package-explorer.2023-02-03.alpha\AasxPackageExplorer.\plugins
Loading and activating 13 plugin(s)...
Trying to load and activate 13 plug-in(s)...
Trying to load a DLL: C:\Users**\Desktop\aasx-package-explorer.2023-02-03.alpha\AasxPackageExplorer.\plugins\AasxPluginAdvancedTextEditor\AasxPluginAdvancedTextEditor.dll
.. adding plugin AasxPluginAdvancedTextEditor
Trying to load a DLL: C:\Users**\Desktop\aasx-package-explorer.2023-02-03.alpha\AasxPackageExplorer.\plugins\AasxPluginBomStructure\AasxPluginBomStructure.dll
.. adding plugin AasxPluginBomStructure
Trying to load a DLL: C:\Users**\Desktop\aasx-package-explorer.2023-02-03.alpha\AasxPackageExplorer.\plugins\AasxPluginDocumentShelf\AasxPluginDocumentShelf.dll
.. adding plugin AasxPluginDocumentShelf
Trying to load a DLL: C:\Users**\Desktop\aasx-package-explorer.2023-02-03.alpha\AasxPackageExplorer.\plugins\AasxPluginExportTable\AasxPluginExportTable.dll
.. adding plugin AasxPluginExportTable
Trying to load a DLL: C:\Users**\Desktop\aasx-package-explorer.2023-02-03.alpha\AasxPackageExplorer.\plugins\AasxPluginGenericForms\AasxPluginGenericForms.dll
.. adding plugin AasxPluginGenericForms
Trying to load a DLL: C:\Users**\Desktop\aasx-package-explorer.2023-02-03.alpha\AasxPackageExplorer.\plugins\AasxPluginImageMap\AasxPluginImageMap.dll
.. adding plugin AasxPluginImageMap
Trying to load a DLL: C:\Users**\Desktop\aasx-package-explorer.2023-02-03.alpha\AasxPackageExplorer.\plugins\AasxPluginMtpViewer\AasxPluginMtpViewer.dll
.. adding plugin AasxPluginMtpViewer
Trying to load a DLL: C:\Users**\Desktop\aasx-package-explorer.2023-02-03.alpha\AasxPackageExplorer.\plugins\AasxPluginPlotting\AasxPluginPlotting.dll
.. adding plugin AasxPluginPlotting
Trying to load a DLL: C:\Users**\Desktop\aasx-package-explorer.2023-02-03.alpha\AasxPackageExplorer.\plugins\AasxPluginSmdExporter\AasxPluginSmdExporter.dll
.. adding plugin AasxPluginSmdExporter
Trying to load a DLL: C:\Users**\Desktop\aasx-package-explorer.2023-02-03.alpha\AasxPackageExplorer.\plugins\AasxPluginTechnicalData\AasxPluginTechnicalData.dll
.. adding plugin AasxPluginTechnicalData
Trying to load a DLL: C:\Users**\Desktop\aasx-package-explorer.2023-02-03.alpha\AasxPackageExplorer.\plugins\AasxPluginUaNetClient\AasxPluginUaNetClient.dll
.. adding plugin AasxPluginOpcUaClient
Trying to load a DLL: C:\Users**\Desktop\aasx-package-explorer.2023-02-03.alpha\AasxPackageExplorer.\plugins\AasxPluginUaNetServer\AasxPluginUaNetServer.dll
.. adding plugin AasxPluginUaNetServer
Trying to load a DLL: C:\Users**\Desktop\aasx-package-explorer.2023-02-03.alpha\AasxPackageExplorer.\plugins\AasxPluginWebBrowser\AasxPluginWebBrowser.dll
.. adding plugin AasxPluginWebBrowser
Loading aasx file repository ..........\Sample_AAS\aasxrepo-new.json ..
File not found when loading aasx file repository ..........\Sample_AAS\aasxrepo-new.json
Application started ..
[AasxPluginAdvancedTextEditor] ListActions() called
[AasxPluginAdvancedTextEditor] InitPlugin() called with args =
[AasxPluginBomStructure] ListActions() called
[AasxPluginBomStructure] InitPlugin() called with args =
[AasxPluginDocumentShelf] InitPlugin() called with args =
[AasxPluginExportTable] ListActions() called
[AasxPluginExportTable] InitPlugin() called with args =
[AasxPluginGenericForms] ListActions() called
[AasxPluginGenericForms] InitPlugin() called with args =
[AasxPluginImageMap] ListActions() called
[AasxPluginImageMap] InitPlugin() called with args =
[AasxPluginMtpViewer] GetPluginName() = MtpViewer
[AasxPluginMtpViewer] ListActions() called
[AasxPluginMtpViewer] InitPlugin() called with args =
[AasxPluginMtpViewer] GetPluginName() = MtpViewer
[AasxPluginPlotting] ListActions() called
[AasxPluginPlotting] InitPlugin() called with args =
[AasxPluginSmdExporter] ListActions() called
[AasxPluginSmdExporter] InitPlugin() called with args =
[AasxPluginTechnicalData] ListActions() called
[AasxPluginTechnicalData] InitPlugin() called with args =
[AasxPluginOpcUaClient] ListActions() called
[AasxPluginUaNetServer] GetPluginName() = Net46AasxServerPlugin
[AasxPluginUaNetServer] ListActions() called
[AasxPluginUaNetServer] InitPlugin() called with args =
[AasxPluginUaNetServer] GetPluginName() = Net46AasxServerPlugin
[AasxPluginWebBrowser] ListActions() called
[AasxPluginWebBrowser] InitPlugin() called with args =
Loading new AASX from: C:\Users*\Projects*\03_Code\micro-aas\output.aasx as auxiliary False ..
Error: Unhandled exception in AasxPackageExplorer v1.0.0.0: PackageCentral: while performing load from C:\Users*\Projects*\03_Code\micro-aas\output.aasx at \PackageCentral.cs:line 95 gave: One or more errors occurred. PackageCentral: while performing load from C:\Users*\Projects*\03_Code\micro-aas\output.aasx at \PackageCentral.cs:line 95 gave: One or more errors occurred.
InnerException: One or more errors occurred.
InnerException: While opening aasx C:\Users*\AppData\Local\Temp\tmp4B1D.aasx from source local file: C:\Users*\Projects*\03_Code\micro-aas\output.aasx buffered to: C:\Users*\AppData\Local\Temp\tmp4B1D.aasx at \AdminShellPackageEnv.cs:line 402 gave: While reading the AASX C:\Users****\AppData\Local\Temp\tmp4B1D.aasx at \AdminShellPackageEnv.cs:line 334 gave: '9273f37c-2a48-488c-8fbc-6aaed62f23a4' ID is not a valid XSD ID. at at AasxPackageLogic.PackageCentral.PackageCentralItem.Load(PackageCentral packageCentral, String location, String fullItemLocation, Boolean overrideLoadResident, PackageContainerOptionsBase containerOptions, PackCntRuntimeOptions runtimeOptions) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageLogic\PackageCentral\PackageCentral.cs:line 104
at AasxPackageExplorer.MainWindow.UiLoadPackageWithNew(PackageCentralItem packItem, AdminShellPackageEnv takeOverEnv, String loadLocalFilename, String info, Boolean onlyAuxiliary, Boolean doNotNavigateAfterLoaded, PackageContainerBase takeOverContainer, String storeFnToLRU, Boolean indexItems) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageExplorer\MainWindow.xaml.cs:line 294
at AasxPackageExplorer.MainWindow.<CommandBinding_GeneralDispatch>d__5.MoveNext() in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageExplorer\MainWindow.CommandBindings.cs:line 266
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler).
Stacktrace: at AasxPackageLogic.PackageCentral.PackageCentralItem.Load(PackageCentral packageCentral, String location, String fullItemLocation, Boolean overrideLoadResident, PackageContainerOptionsBase containerOptions, PackCntRuntimeOptions runtimeOptions) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageLogic\PackageCentral\PackageCentral.cs:line 104
at AasxPackageExplorer.MainWindow.UiLoadPackageWithNew(PackageCentralItem packItem, AdminShellPackageEnv takeOverEnv, String loadLocalFilename, String info, Boolean onlyAuxiliary, Boolean doNotNavigateAfterLoaded, PackageContainerBase takeOverContainer, String storeFnToLRU, Boolean indexItems) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageExplorer\MainWindow.xaml.cs:line 294
at AasxPackageExplorer.MainWindow.<CommandBinding_GeneralDispatch>d__5.MoveNext() in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageExplorer\MainWindow.CommandBindings.cs:line 266
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Following the AASX File is provided:
Hopefully one of you has an idea where my error is. Thanks in advance.
Best Regards
Jonas2132
When I create an operation I can add the following OperationVariables
But I can not delete a created OperationVariable
When I create an OperationVariable In Out and I select coll then I get this
I can add an entity, but I can not add information under this property
But I see that the number of submodelElementCollection is updated +1
When I open the AAS in automation ML Is see not finished entities
##############################################################
PlugIn do not work with build development 05. March 2020
PlugIn works with build191121
##############################################################
cmd:
cd .\AasxPackageExplorer
AasxPackageExplorer.exe -read -json options -portable .json -maximized -dll ..\AasxPlugInS\Net46AasxServerPlugin\Net46AasxServerPlugin.dll
##############################################################
0:Trying load .dll at ..\AasxPlugInS\Net46AasxServerPlugin\Net46AasxServerPlugin.dll
2:Error Trying activate plugin index 0: Die Methode "CheckForLogMessage" im Typ "AasxIntegrationBase.AasxPlugin" der Assembly "Net46AasxServerPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" hat keine Implementierung. at \Plugins.cs:Zeile 136..
Stacktrace: bei System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type)
bei System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
bei AasxPackageExplorer.Plugins.TryActivatePlugins(List`1 pluginDll) in C:\Users\miho\Desktop\AasxPackageExplorer\AasxPackageExplorer\AasxWpfControlLibrary\Plugins.cs:Zeile 136.
0:Application started ..
Hi.
Is it possible to open a specific aasx file from the REST server? I used several commands (e.g. http://localhost:51310/aas/id/complete), which works with webbrowsers. But every time the first file has been loaded into the PackageExplorer.
Today submodels can be imported by the auxialiary AAS, which is good.
When creating "compound" AASX for several AAS, it would be much faster, if a complete AASX can be imported into the editor from an AASX.
is there a possibility within existing AASX Explorer to reference between different asset Administration shells in order to implement for example nestability of Shells or to make it possible one asset is able to have different asset Administration Shells across its lifecycle?
Describe the bug
The langString elements of ConceptDescriptions imported from eCl@ss XML files are lowercase ('en'). The selection dropdowns of the editor suggest uppercase values ('EN'). This can cause a mismatch in the XML, which is case sensitive.
Version:
Build 20190930, Version 0.9.6
User: Jörg
Steps to reproduce:load sample, select export as aas xml
Expected results:
Actual Results:
Message: Error When saving AASX, an error occurred: Not able to handle C:\Users\IBM_ADMIN\Documents\1_IBM\2019\I40\VWSID\190214_AasxPackageExplorer\screencasts_communication\sample-admin-shell.xml. at \AssetAdministrationShellSDK.cs:Zeile 2467..
Please consider attaching the AASX package (you might rename this to .zip), you were working on, as well as an screen shot.
Please mail your report to: [email protected]
or you can directly add it at github: https://github.com/admin-shell/aasx-package-explorer/issues
###################
greater equal build191121
###################
CMD parameter
-id-aas
-id-sm-templateidentifiers.
-id-sm-instanceidentifiers.
-id-cd
(1) The following example does not generate an unique identifier for the placeholder[NNNNNNNNNNNNNNNNNNNN]:
AasxPackageExplorer.exe -id-aas smart.schott.com/demo/aas/1/1/NNNNNNNNNNNNNNNNNNNN
(2) Expected result, for example:
smart.schott.com/demo/aas/1/1/943887346456466631276369762
(3) What is the meaning of the following placeholders exactly?
[N] = numeric [0...9]
[A] = characters [Aa....Zz]
[X] = Alphanumeric [Aa...Zz...0...9]
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.