AlarmLatchAdapter.SetLatchVarValue (METH)

METHOD SetLatchVarValue

Sets an ITypedValue instance, describing the current value of an optional latch variable. This method is an enhancement/a replacement of methods IAlarm2.SetLatchVar1Value and IAlarm2.SetLatchVar2Value.

InOut:

Scope

Name

Type

Comment

Input

iWhichLatchVar

INT

The 1-based index of the latch variable. Specify 1 to obtain the same result like method IAlarm.GetLatchVar1Value and 2 to obtain the same result like method IAlarm.GetLatchVar2Value. All greater values correspond to the optional additional latch variables.

itfTypedValueLatchVar

AlarmManager_Interfaces.ITypedValue

An instance of ITypedValue containing the value to set