Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
Fix DataElement options (#664)
Browse files Browse the repository at this point in the history
This solve issue #662
  • Loading branch information
mhrimaz authored Feb 7, 2024
1 parent 91576a5 commit 7cd0454
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/AasxPackageLogic/DispEditHelperMiniModules.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1607,13 +1607,12 @@ public void DispSmeListAddNewHelper<T>(
{
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);
Expand Down

0 comments on commit 7cd0454

Please sign in to comment.