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



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

As opposed to LastCycleEnterTime, this property does not require 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