OPC Studio User's Guide and Reference
LastEnterTick Property (AutomatonStateStatistics)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Algorithms Namespace > AutomatonStateStatistics Class : LastEnterTick Property
The tick when the state was entered (transitioned into) the last time.
Syntax
'Declaration
 
<UnitAttribute("ms")>
Public ReadOnly Property LastEnterTick As Long
'Usage
 
Dim instance As AutomatonStateStatistics
Dim value As Long
 
instance.LastEnterTick = value
 
value = instance.LastEnterTick
[Unit("ms")]
public long LastEnterTick {get;}
[Unit("ms")]
public:
property int64 LastEnterTick {
   int64 get();
}

Property Value

Unit of measurement is ms.

The default value of this property is -1.

Remarks

As opposed to LastCycleEnterTick, this property does not require the cycle be completed (state be transitioned from).

This member is not compatible with VBScript.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also