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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Algorithms Namespace > AutomatonStateStatistics Class : EnterCount Property
Number of times the state has been entered (transitioned into).
Syntax
'Declaration
 
<ColumnDisplayAttribute(6)>
<DefaultValueAttribute(0)>
<DisplayAttribute(AutoGenerateField=True, 
   Order=1, 
   ShortName="Enter Count")>
Public ReadOnly Property EnterCount As Integer
'Usage
 
Dim instance As AutomatonStateStatistics
Dim value As Integer
 
instance.EnterCount = value
 
value = instance.EnterCount
[ColumnDisplay(6)]
[DefaultValue(0)]
[Display(AutoGenerateField=true, 
   Order=1, 
   ShortName="Enter Count")]
public int EnterCount {get;}
[ColumnDisplay(6)]
[DefaultValue(0)]
[Display(AutoGenerateField=true, 
   Order=1, 
   ShortName="Enter Count")]
public:
property int EnterCount {
   int 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