OPC Studio 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
 
<UnitAttribute("ms")>
Public ReadOnly Property MaximumDuration As Long
'Usage
 
Dim instance As AutomatonStateStatistics
Dim value As Long
 
instance.MaximumDuration = value
 
value = instance.MaximumDuration
[Unit("ms")]
public long MaximumDuration {get;}
[Unit("ms")]
public:
property int64 MaximumDuration {
   int64 get();
}

Property Value

Unit of measurement is ms.

The default value of this property is 0.

Remarks

The getter method of this property is pure, i.e. it does not have observable side effects.

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