Interface IDataSpecificationIec61360
Content of data specification template for concept descriptions for properties, values and value lists conformant to IEC 61360.
Inherited Members
Namespace: AasCore.Aas3_0_RC02
Assembly: AasCore.Aas3_0_RC02.dll
Syntax
public interface IDataSpecificationIec61360 : IDataSpecificationContent, IClass
Remarks
IEC61360 requires also a globally unique identifier for a concept description. This ID is not part of the data specification template. Instead the Id as inherited via IIdentifiable is used. Same holds for administrative information like the version and revision.
IdShort and ShortName are very similar. However, in this case the decision was to add ShortName explicitly to the data specification. Same holds for DisplayName and PreferredName. Same holds for Description and Definition.
Constraints:
- Constraint AASc-010: If Value is not empty then ValueList shall be empty and vice versa.
- Constraint AASc-009: If DataType one of: IntegerMeasure, RealMeasure, RationalMeasure, IntegerCurrency, RealCurrency, then Unit or UnitId shall be defined.
Properties
| Improve this Doc View SourceDataType
Data Type
Declaration
DataTypeIec61360? DataType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DataTypeIec61360> |
Definition
Definition in different languages
Declaration
List<ILangString> Definition { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ILangString> |
LevelType
Set of levels.
Declaration
LevelType? LevelType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<LevelType> |
PreferredName
Preferred name
Declaration
List<ILangString> PreferredName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ILangString> |
Remarks
Constraints:
- Constraint AASc-002: PreferredName shall be provided at least in English.
ShortName
Short name
Declaration
List<ILangString> ShortName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ILangString> |
SourceOfDefinition
Source of definition
Declaration
string SourceOfDefinition { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Symbol
Symbol
Declaration
string Symbol { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Unit
Unit
Declaration
string Unit { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UnitId
Unique unit id
Declaration
IReference UnitId { get; set; }
Property Value
Type | Description |
---|---|
IReference |
Remarks
Unit and UnitId need to be consistent if both attributes are set
It is recommended to use a global reference.
Although the UnitId is a global reference there might exist a ConceptDescription with data specification DataSpecificationPhysicalUnit with the same ID.
Value
Value
Declaration
string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ValueFormat
Value Format
Declaration
string ValueFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ValueList
List of allowed values
Declaration
IValueList ValueList { get; set; }
Property Value
Type | Description |
---|---|
IValueList |
Methods
| Improve this Doc View SourceOverDefinitionOrEmpty()
Iterate over Definition, if set, and otherwise return an empty enumerable.
Declaration
IEnumerable<ILangString> OverDefinitionOrEmpty()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ILangString> |
OverShortNameOrEmpty()
Iterate over ShortName, if set, and otherwise return an empty enumerable.
Declaration
IEnumerable<ILangString> OverShortNameOrEmpty()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ILangString> |