Package com.ctre.phoenix6.signals
Enum Class System_StateValue
- All Implemented Interfaces:
Serializable
,Comparable<System_StateValue>
,java.lang.constant.Constable
System state of the device.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic System_StateValue
valueOf
(int value) Gets System_StateValue from specified valuestatic System_StateValue
Returns the enum constant of this class with the specified name.static System_StateValue[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Bootup_0
-
Bootup_1
-
Bootup_2
-
Bootup_3
-
Bootup_4
-
Bootup_5
-
Bootup_6
-
Bootup_7
-
BootBeep
-
ControlDisabled
-
ControlEnabled
-
ControlEnabled_11
-
Fault
-
Recover
-
NotLicensed
-
Production
-
-
Field Details
-
value
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
Gets System_StateValue from specified value- Parameters:
value
- Value of System_StateValue- Returns:
- System_StateValue of specified value
-