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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Algorithms Namespace > AutomatonStateStatistics Class : RunningAverageDuration Property
The running average duration this state has been active (including the current active state). In milliseconds.
Syntax
'Declaration
 
<ColumnDisplayAttribute(MaximumWidth=10, RefinementRank=100)>
<DefaultValueAttribute(-1)>
<DisplayAttribute(AutoGenerateField=False, 
   Order=0, 
   ShortName="Running Average Duration")>
<PureAttribute()>
<UnitAttribute("ms")>
Public ReadOnly Property RunningAverageDuration As Double
'Usage
 
Dim instance As AutomatonStateStatistics
Dim value As Double
 
value = instance.RunningAverageDuration
[ColumnDisplay(MaximumWidth=10, RefinementRank=100)]
[DefaultValue(-1)]
[Display(AutoGenerateField=false, 
   Order=0, 
   ShortName="Running Average Duration")]
[Pure()]
[Unit("ms")]
public double RunningAverageDuration {get;}
[ColumnDisplay(MaximumWidth=10, RefinementRank=100)]
[DefaultValue(-1)]
[Display(AutoGenerateField=false, 
   Order=0, 
   ShortName="Running Average Duration")]
[Pure()]
[Unit("ms")]
public:
property double RunningAverageDuration {
   double 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