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



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