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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Algorithms Namespace > AutomatonStateStatistics Class : LastCycleEnterTime Property
The time when the state was entered (transitioned into) the last time (excluding the current active state); minimum DateTime value if no completed active state. In UTC.
Syntax
'Declaration
 
<ColumnDisplayAttribute(MaximumWidth=12, RefinementRank=100)>
<DisplayAttribute(AutoGenerateField=False, 
   Order=0, 
   ShortName="Last Cycle Enter Time")>
<DisplayFormatAttribute("{0:HH:mm:ss.fff}")>
Public ReadOnly Property LastCycleEnterTime As Date
'Usage
 
Dim instance As AutomatonStateStatistics
Dim value As Date
 
instance.LastCycleEnterTime = value
 
value = instance.LastCycleEnterTime
[ColumnDisplay(MaximumWidth=12, RefinementRank=100)]
[Display(AutoGenerateField=false, 
   Order=0, 
   ShortName="Last Cycle Enter Time")]
[DisplayFormat("{0:HH:mm:ss.fff}")]
public DateTime LastCycleEnterTime {get;}
[ColumnDisplay(MaximumWidth=12, RefinementRank=100)]
[Display(AutoGenerateField=false, 
   Order=0, 
   ShortName="Last Cycle Enter Time")]
[DisplayFormat("{0:HH:mm:ss.fff}")]
public:
property DateTime LastCycleEnterTime {
   DateTime get();
}
Remarks

As opposed to LastEnterTime, 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