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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Algorithms Namespace > AutomatonStateStatistics Class : CurrentActiveTime Property
The current time; minimum DateTime value if not active. In UTC.
Syntax
'Declaration
 
<ColumnDisplayAttribute(MaximumWidth=12, RefinementRank=100)>
<DisplayFormatAttribute("{0:HH:mm:ss.fff}")>
<DisplayAttribute(AutoGenerateField=False, 
   Order=0, 
   ShortName="Current Active Time")>
Public ReadOnly Property CurrentActiveTime As Date
'Usage
 
Dim instance As AutomatonStateStatistics
Dim value As Date
 
instance.CurrentActiveTime = value
 
value = instance.CurrentActiveTime
[ColumnDisplay(MaximumWidth=12, RefinementRank=100)]
[DisplayFormat("{0:HH:mm:ss.fff}")]
[Display(AutoGenerateField=false, 
   Order=0, 
   ShortName="Current Active Time")]
public DateTime CurrentActiveTime {get;}
[ColumnDisplay(MaximumWidth=12, RefinementRank=100)]
[DisplayFormat("{0:HH:mm:ss.fff}")]
[Display(AutoGenerateField=false, 
   Order=0, 
   ShortName="Current Active Time")]
public:
property DateTime CurrentActiveTime {
   DateTime get();
}
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