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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Algorithms Namespace > AutomatonStateStatistics Class : CurrentActiveTimeSpan Property
The time span of the current active state; zero if not active. In UTC.
Syntax
'Declaration
 
<DisplayFormatAttribute("{0:G}")>
<PureAttribute()>
Public ReadOnly Property CurrentActiveTimeSpan As TimeSpan
'Usage
 
Dim instance As AutomatonStateStatistics
Dim value As TimeSpan
 
value = instance.CurrentActiveTimeSpan
[DisplayFormat("{0:G}")]
[Pure()]
public TimeSpan CurrentActiveTimeSpan {get;}
[DisplayFormat("{0:G}")]
[Pure()]
public:
property TimeSpan CurrentActiveTimeSpan {
   TimeSpan get();
}
Remarks

This member is not compatible with VBScript.

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