OPC Studio User's Guide and Reference
AverageDuration Property (_AutomatonStateStatistics)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Algorithms.ComTypes Namespace > _AutomatonStateStatistics Interface : AverageDuration Property
The average duration this state has been active (excluding the current active state). In milliseconds.
Syntax
'Declaration
 
ReadOnly Property AverageDuration As Double
'Usage
 
Dim instance As _AutomatonStateStatistics
Dim value As Double
 
value = instance.AverageDuration
double AverageDuration {get;}
property double AverageDuration {
   double get();
}

Property Value

Unit of measurement is ms.

The default value of this property is -1.

Remarks

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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