Skip to content

class Unit

Package: swiss.avm.up.core.generic.unit.javamodel.Unit

Direct Known Subclasses:


class Unit extends NamedResource, AnnotableComment, ATextSourceProperty

Properties

comment

Describes the intent of this Resource.

TextLiteral[0..1]

A Literal that accepts multiple lines of text.

commonCode

StringLiteral[0..1]

conversion

UnitSystemConversion[0..1]

fullName

ATextSource[0..1]

name

The name of this Resource.

StringLiteral[1..1]

symbol

StringLiteral[1..1]

textSource

Contains the full name of the message. Normally used for display on the HMI.

ATextSource[0..N]

Method Summary

getId

@BrControllerTreeFunctionSpace

Returns a unique Id for unit, valid inside OPC-UA definition. Declared as FunctionSpace function instead of private function, to have caching support from actifsource, since iteration is required.

Return:

IntegerLiteral

getName

@FUint

getTextLists

@TextFunctionSpace

Returns TextList definition dependent of scope.

Return:

List<NativeTextList>