Skip to content

class Command

Package: swiss.avm.up.core.generic.specification.interface_declaration.javamodel.Command

Direct Known Subclasses:


class Command extends NamedResource, AnnotableComment, ATextSourceProperty, AResourceWithType

A Command is a control command on a ControllerInterface - one operational mode that can be requested of the controller, such as on, off or a motion step. A parent issues a child's command from its statemachine code, and the child reacts to it in its own transitions.

Properties

commandConstant

IntegerLiteral[1..1]

A literal which accepts 32-bit integral number values.

comment

Describes the intent of this Resource.

TextLiteral[0..1]

A Literal that accepts multiple lines of text.

comment

StringLiteral[0..1]

description

ATextSource[0..1]

fullName

ATextSource[0..1]

name

The name of this Resource.

StringLiteral[1..1]

textList

NativeTextList[0..N]

The NativeTextList is the basic container for text resources. Native texts are the texts that are assigned to the various elements in the application at the time of development.
Typically, such texts are unedited and are not used to be displayed on an HMI or similar.
The texts entered here will be the basis for later translations.

textSource

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

ATextSource[0..N]

Method Summary

accept

@FCodeSnippet

Parameters:

ValidatableTypeVisitorLiteral

Return:

Void

getName

@FName

getTextLists

@TextFunctionSpace

Returns TextList definition dependent of scope.

Return:

List<NativeTextList>