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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Algorithms Namespace > AutomatonStateStatistics Class : LastCycleTimeSpan Property
The time span of the last active state (excluding the current active state). System.Threading.Timeout.InfiniteTimeSpan if no completed active state.
Syntax
'Declaration
 
<ColumnDisplayAttribute(19)>
<DisplayAttribute(AutoGenerateField=True, 
   Order=7, 
   ShortName="Last Cycle Time Span")>
<DisplayFormatAttribute("{0:G}")>
<PureAttribute()>
Public ReadOnly Property LastCycleTimeSpan As TimeSpan
'Usage
 
Dim instance As AutomatonStateStatistics
Dim value As TimeSpan
 
value = instance.LastCycleTimeSpan
[ColumnDisplay(19)]
[Display(AutoGenerateField=true, 
   Order=7, 
   ShortName="Last Cycle Time Span")]
[DisplayFormat("{0:G}")]
[Pure()]
public TimeSpan LastCycleTimeSpan {get;}
[ColumnDisplay(19)]
[Display(AutoGenerateField=true, 
   Order=7, 
   ShortName="Last Cycle Time Span")]
[DisplayFormat("{0:G}")]
[Pure()]
public:
property TimeSpan LastCycleTimeSpan {
   TimeSpan 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