OPC Studio User's Guide and Reference
AccumulatedDuration Property (AutomatonStateStatistics)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Algorithms Namespace > AutomatonStateStatistics Class : AccumulatedDuration Property
The accumulated duration this state has been active (excluding the current active state). In milliseconds.
Syntax
'Declaration
 
<UnitAttribute("ms")>
Public ReadOnly Property AccumulatedDuration As Long
'Usage
 
Dim instance As AutomatonStateStatistics
Dim value As Long
 
instance.AccumulatedDuration = value
 
value = instance.AccumulatedDuration
[Unit("ms")]
public long AccumulatedDuration {get;}
[Unit("ms")]
public:
property int64 AccumulatedDuration {
   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