QuickOPC User's Guide and Reference
LastCycleEnterTick Property (AutomatonStateStatistics)



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
[ColumnDisplay(MaximumWidth=10, RefinementRank=100)]
[DefaultValue(-1)]
[Display(AutoGenerateField=false, 
   Order=0, 
   ShortName="Last Cycle Enter Tick")]
[Unit("ms")]
public long LastCycleEnterTick {get;}
[ColumnDisplay(MaximumWidth=10, RefinementRank=100)]
[DefaultValue(-1)]
[Display(AutoGenerateField=false, 
   Order=0, 
   ShortName="Last Cycle Enter Tick")]
[Unit("ms")]
public:
property int64 LastCycleEnterTick {
   int64 get();
}
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