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



View with Navigation Tools
OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Algorithms Namespace > AutomatonStateStatistics Class : LastCycleEnterTick Property
The tick when the state was entered (transitioned into) the last time (excluding the current active state); -1 if no completed active state.
Syntax
'Declaration
 
<ColumnDisplayAttribute(MaximumWidth=10, RefinementRank=100)>
<DefaultValueAttribute(-1)>
<DisplayAttribute(AutoGenerateField=False, 
   Order=0, 
   ShortName="Last Cycle Enter Tick")>
<UnitAttribute("ms")>
Public ReadOnly Property LastCycleEnterTick As Long
 
'Usage
 
Dim instance As AutomatonStateStatistics
Dim value As Long
 
instance.LastCycleEnterTick = value
 
value = instance.LastCycleEnterTick
Remarks

As opposed to LastEnterTick, this property requires the cycle be completed (state be transitioned from).

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