OPC Studio 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
 
<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
[DisplayFormat("{0:HH:mm:ss.fff}")]
public DateTime LastEnterTime {get;}
[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).

The getter method of this property is pure, i.e. it does not have observable side effects.

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