UnitModeCurrent

Attribute for retrieving the current unit mode. Please create a binding with the property "UnitModeCurrent" in the PackTags (ST_PMLs > UnitModeCurrent).

Schema: tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiPackML.TcHmiStateMachineV2.UnitMode

Attribute getter

public getUnitModeCurrent(): UnitMode keyof typeof UnitMode | null | undefined;

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

UnitMode keyof typeof UnitMode, null, undefined

The current value of the attribute.

Attribute setter

public setUnitModeCurrent(valueNew: UnitMode | keyof typeof UnitMode | null): void;

Parameter

Name

Type

Description

valueNew

UnitMode, UnitMode keyof typeof UnitMode | null

The new value of the attribute. If null is passed, the internal default value is used.

Return value

Type

Description

void

No return value.

UnitModeCurrent 1:

Available since version 1.12.760.37