Search Results for

    Show / Hide Table of Contents

    Class DataSpecificationIec61360

    Content of data specification template for concept descriptions for properties, values and value lists conformant to IEC 61360.

    Inheritance
    System.Object
    DataSpecificationIec61360
    Implements
    IDataSpecificationIec61360
    IDataSpecificationContent
    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 DataSpecificationIec61360 : 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.

    Constructors

    | Improve this Doc View Source

    DataSpecificationIec61360(List<ILangString>, List<ILangString>, String, IReference, String, String, Nullable<DataTypeIec61360>, List<ILangString>, String, IValueList, String, Nullable<LevelType>)

    Declaration
    public DataSpecificationIec61360(List<ILangString> preferredName, List<ILangString> shortName = null, string unit = null, IReference unitId = null, string sourceOfDefinition = null, string symbol = null, DataTypeIec61360? dataType = null, List<ILangString> definition = null, string valueFormat = null, IValueList valueList = null, string value = null, LevelType? levelType = null)
    Parameters
    Type Name Description
    System.Collections.Generic.List<ILangString> preferredName
    System.Collections.Generic.List<ILangString> shortName
    System.String unit
    IReference unitId
    System.String sourceOfDefinition
    System.String symbol
    System.Nullable<DataTypeIec61360> dataType
    System.Collections.Generic.List<ILangString> definition
    System.String valueFormat
    IValueList valueList
    System.String value
    System.Nullable<LevelType> levelType

    Properties

    | Improve this Doc View Source

    DataType

    Data Type

    Declaration
    public DataTypeIec61360? DataType { get; set; }
    Property Value
    Type Description
    System.Nullable<DataTypeIec61360>
    | Improve this Doc View Source

    Definition

    Definition in different languages

    Declaration
    public List<ILangString> Definition { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<ILangString>
    | Improve this Doc View Source

    LevelType

    Set of levels.

    Declaration
    public LevelType? LevelType { get; set; }
    Property Value
    Type Description
    System.Nullable<LevelType>
    | Improve this Doc View Source

    PreferredName

    Preferred name

    Declaration
    public 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.
    | Improve this Doc View Source

    ShortName

    Short name

    Declaration
    public List<ILangString> ShortName { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<ILangString>
    | Improve this Doc View Source

    SourceOfDefinition

    Source of definition

    Declaration
    public string SourceOfDefinition { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Symbol

    Symbol

    Declaration
    public string Symbol { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Unit

    Unit

    Declaration
    public string Unit { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    UnitId

    Unique unit id

    Declaration
    public 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.

    | Improve this Doc View Source

    Value

    Value

    Declaration
    public string Value { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ValueFormat

    Value Format

    Declaration
    public string ValueFormat { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ValueList

    List of allowed values

    Declaration
    public IValueList ValueList { get; set; }
    Property Value
    Type Description
    IValueList

    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

    OverDefinitionOrEmpty()

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

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

    OverShortNameOrEmpty()

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

    Declaration
    public IEnumerable<ILangString> OverShortNameOrEmpty()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ILangString>
    | 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

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