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



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