Skip to content

Bug(BaSyx.Models.Export): Property.Value is lost when converting to environment #14

@dbcvc

Description

@dbcvc

Hi,
when writing an AAS using AssetAdministrationShellEnvironment_V3_0.WriteEnvironment_V3_0(),
all values of property submodel elements are replaced with "BaSyx.Models.AdminShell.PropertyValue". This is due to a bug in EnvironmentSubmodelElementFactory_V3_0.ToEnvironmentSubmodelElement_V3_0(), when converting a property to its "environment version", the value gets converted incorrectly.

I will create a PR shortly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions