Search Results for

    Show / Hide Table of Contents

    Class AssetInformation

    In AssetInformation identifying meta data of the asset that is represented by an AAS is defined.

    Inheritance
    System.Object
    AssetInformation
    Implements
    IAssetInformation
    IClass
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: AasCore.Aas3_0_RC02
    Assembly: AasCore.Aas3_0_RC02.dll
    Syntax
    public class AssetInformation : IAssetInformation, IClass
    Remarks

    The asset may either represent an asset type or an asset instance.

    The asset has a globally unique identifier plus – if needed – additional domain specific (proprietary) identifiers. However, to support the corner case of very first phase of lifecycle where a stabilised/constant_set global asset identifier does not already exist, the corresponding attribute GlobalAssetId is optional.

    Constraints:

    • Constraint AASd-116: globalAssetId (case-insensitive) is a reserved key. If used as value for Name then Value shall be identical to GlobalAssetId.

    Constructors

    | Improve this Doc View Source

    AssetInformation(AssetKind, IReference, List<ISpecificAssetId>, IResource)

    Declaration
    public AssetInformation(AssetKind assetKind, IReference globalAssetId = null, List<ISpecificAssetId> specificAssetIds = null, IResource defaultThumbnail = null)
    Parameters
    Type Name Description
    AssetKind assetKind
    IReference globalAssetId
    System.Collections.Generic.List<ISpecificAssetId> specificAssetIds
    IResource defaultThumbnail

    Properties

    | Improve this Doc View Source

    AssetKind

    Denotes whether the Asset is of kind Type or Instance.

    Declaration
    public AssetKind AssetKind { get; set; }
    Property Value
    Type Description
    AssetKind
    | Improve this Doc View Source

    DefaultThumbnail

    Thumbnail of the asset represented by the Asset Administration Shell.

    Declaration
    public IResource DefaultThumbnail { get; set; }
    Property Value
    Type Description
    IResource
    Remarks

    Used as default.

    | Improve this Doc View Source

    GlobalAssetId

    Global identifier of the asset the AAS is representing.

    Declaration
    public IReference GlobalAssetId { get; set; }
    Property Value
    Type Description
    IReference
    Remarks

    This attribute is required as soon as the AAS is exchanged via partners in the life cycle of the asset. In a first phase of the life cycle the asset might not yet have a global ID but already an internal identifier. The internal identifier would be modelled via SpecificAssetIds.

    This is a global reference.

    | Improve this Doc View Source

    SpecificAssetIds

    Additional domain-specific, typically proprietary identifier for the asset like e.g., serial number etc.

    Declaration
    public List<ISpecificAssetId> SpecificAssetIds { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<ISpecificAssetId>

    Methods

    | Improve this Doc View Source

    Accept(Visitation.IVisitor)

    Accept the visitor to visit this instance for double dispatch.

    Declaration
    public void Accept(Visitation.IVisitor visitor)
    Parameters
    Type Name Description
    Visitation.IVisitor visitor
    | Improve this Doc View Source

    Accept<TContext>(Visitation.IVisitorWithContext<TContext>, TContext)

    Accept the visitor to visit this instance for double dispatch with the context.

    Declaration
    public void Accept<TContext>(Visitation.IVisitorWithContext<TContext> visitor, TContext context)
    Parameters
    Type Name Description
    Visitation.IVisitorWithContext<TContext> visitor
    TContext context
    Type Parameters
    Name Description
    TContext
    | Improve this Doc View Source

    Descend()

    Iterate recursively over all the class instances referenced from this instance.

    Declaration
    public IEnumerable<IClass> Descend()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IClass>
    | Improve this Doc View Source

    DescendOnce()

    Iterate over all the class instances referenced from this instance without further recursion.

    Declaration
    public IEnumerable<IClass> DescendOnce()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IClass>
    | Improve this Doc View Source

    OverSpecificAssetIdsOrEmpty()

    Iterate over SpecificAssetIds, if set, and otherwise return an empty enumerable.

    Declaration
    public IEnumerable<ISpecificAssetId> OverSpecificAssetIdsOrEmpty()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ISpecificAssetId>
    | Improve this Doc View Source

    Transform<T>(Visitation.ITransformer<T>)

    Accept the transformer to transform this instance for double dispatch.

    Declaration
    public T Transform<T>(Visitation.ITransformer<T> transformer)
    Parameters
    Type Name Description
    Visitation.ITransformer<T> transformer
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    Transform<TContext, T>(Visitation.ITransformerWithContext<TContext, T>, TContext)

    Accept the transformer to visit this instance for double dispatch with the context.

    Declaration
    public T Transform<TContext, T>(Visitation.ITransformerWithContext<TContext, T> transformer, TContext context)
    Parameters
    Type Name Description
    Visitation.ITransformerWithContext<TContext, T> transformer
    TContext context
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    TContext
    T

    Implements

    IAssetInformation
    IClass
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX