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



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