Interface IAssetInformation
In AssetInformation identifying meta data of the asset that is represented by an AAS is defined.
Inherited Members
Namespace: AasCore.Aas3_0
Assembly: AasCore.Aas3_0.dll
Syntax
public interface 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
is a reserved key. If used as value for Name then Value shall be identical to GlobalAssetId.Constraint AASd-116 is important to enable a generic search across global and specific asset IDs.
In the book, Constraint AASd-116 imposes a case-insensitive equality against
globalAssetId
. This is culturally-dependent, and depends on the system settings. For example, the case-folding for the letters "i" and "I" is different in Turkish from English.We implement the constraint as case-sensitive instead to allow for interoperability across different culture settings.
- Constraint AASd-131: For AssetInformation either the GlobalAssetId shall be defined or at least one item in SpecificAssetIds.
Properties
| Improve this Doc View SourceAssetKind
Declaration
AssetKind AssetKind { get; set; }
Property Value
Type | Description |
---|---|
AssetKind |
AssetType
In case AssetKind is applicable the AssetType is the asset ID of the type asset of the asset under consideration as identified by GlobalAssetId.
Declaration
string AssetType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
In case AssetKind is "Instance" than the AssetType denotes which "Type" the asset is of. But it is also possible to have an AssetType of an asset of kind "Type".
DefaultThumbnail
Thumbnail of the asset represented by the Asset Administration Shell.
Declaration
IResource DefaultThumbnail { get; set; }
Property Value
Type | Description |
---|---|
IResource |
Remarks
Used as default.
GlobalAssetId
Global identifier of the asset the AAS is representing.
Declaration
string GlobalAssetId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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.
SpecificAssetIds
Additional domain-specific, typically proprietary identifier for the asset like e.g., serial number etc.
Declaration
List<ISpecificAssetId> SpecificAssetIds { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ISpecificAssetId> |
Methods
| Improve this Doc View SourceOverSpecificAssetIdsOrEmpty()
Iterate over SpecificAssetIds, if set, and otherwise return an empty enumerable.
Declaration
IEnumerable<ISpecificAssetId> OverSpecificAssetIdsOrEmpty()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ISpecificAssetId> |