State Class

Definition

State data model, state management and comparison instructions

public ref class State
[System.Serializable]
public class State
[<System.Serializable>]
type State = class
Public Class State
Inheritance
State
Attributes

Constructors

State()

Fields

ActiveIndex

Index of state in current list

Bit

Bitwise value of state for comparison

Index

Index of State in all available state list

Name

Name of state

Value

Current value of state (e.g on/off etc)

Methods

CompareState(State)

Returns true if two state objects have identical internal values, false otherwise

Copy()

Create copy of current State with identical values

ToBit()
ToInt()
ToString()

Returns a string that represents the current object.

Applies to