From 7cd0454676df6c25c47d8d291b50b2c89fe92b28 Mon Sep 17 00:00:00 2001 From: Hossein Rimaz Date: Wed, 7 Feb 2024 14:35:36 +0100 Subject: [PATCH] Fix DataElement options (#664) This solve issue #662 --- src/AasxPackageLogic/DispEditHelperMiniModules.cs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/AasxPackageLogic/DispEditHelperMiniModules.cs b/src/AasxPackageLogic/DispEditHelperMiniModules.cs index effe5c98..a536db20 100644 --- a/src/AasxPackageLogic/DispEditHelperMiniModules.cs +++ b/src/AasxPackageLogic/DispEditHelperMiniModules.cs @@ -1607,13 +1607,12 @@ public void DispSmeListAddNewHelper( { Aas.AasSubmodelElements[] includes = null; if (isDataElem) includes = new Aas.AasSubmodelElements[] { - Aas.AasSubmodelElements.SubmodelElementCollection, - Aas.AasSubmodelElements.RelationshipElement, - Aas.AasSubmodelElements.AnnotatedRelationshipElement, - Aas.AasSubmodelElements.Capability, - Aas.AasSubmodelElements.Operation, - Aas.AasSubmodelElements.BasicEventElement, - Aas.AasSubmodelElements.Entity}; + Aas.AasSubmodelElements.Property, + Aas.AasSubmodelElements.MultiLanguageProperty, + Aas.AasSubmodelElements.Range, + Aas.AasSubmodelElements.File, + Aas.AasSubmodelElements.Blob, + Aas.AasSubmodelElements.ReferenceElement}; en = this.SelectAdequateEnum("Select SubmodelElement to create ..", ticket: ticket, includeValues: includes);