Enum ThingCode
- java.lang.Object
-
- java.lang.Enum<ThingCode>
-
- com.heisha.heisha_sdk.Component.ControlCenter.ThingCode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description THING_CODE_433_RC_PRESSED_LONG_A
The A key of the 433 remote was pressed long.THING_CODE_433_RC_PRESSED_LONG_B
The B key of the 433 remote was pressed long.THING_CODE_433_RC_PRESSED_LONG_C
The C key of the 433 remote was pressed long.THING_CODE_433_RC_PRESSED_LONG_D
The D key of the 433 remote was pressed long.THING_CODE_433_RC_PRESSED_SHORT_A
The A key of the 433 remote was pressed short.THING_CODE_433_RC_PRESSED_SHORT_B
The B key of the 433 remote was pressed short.THING_CODE_433_RC_PRESSED_SHORT_C
The C key of the 433 remote was pressed short.THING_CODE_433_RC_PRESSED_SHORT_D
The D key of the 433 remote was pressed short.THING_CODE_BATTERY_SEVERELY_AGING
The battery is severely aging.THING_CODE_BATTERY_TEMPERATURE_TOO_HIGH
The battery temperature exceeds the safety value.THING_CODE_BATTERY_THERMOMETER_FAILURE
The battery thermometer failure.THING_CODE_BATTERY_TYPE_MISMATCH
Battery type mismatch.THING_CODE_CAN_FIRMWARE_UPDATED_FAILED
The firmware update for the CAN interface module has failedTHING_CODE_CAN_FIRMWARE_UPDATED_SUCCESSFUL
The firmware update for the CAN interface module was successfulTHING_CODE_CANOPY_OPENED_WITHOUT_COMMAND
The canopy opened without command.THING_CODE_CANOPY_STATUS_FAULT
The canopy malfunctioned.THING_CODE_CHARGING_CURRENT_TOO_HIGH
The charging current is too high.THING_CODE_CHARGING_POWER_METER_FAILURE
The data of the charging power meter is invalid.THING_CODE_CHARGING_TIME_TOO_LONG
The charging time is too long.THING_CODE_CHARGING_VOLTAGE_TOO_HIGH
The charging voltage is too high.THING_CODE_CHARGING_VOLTAGE_TOO_LOW
The charging voltage is too low.THING_CODE_MISSING_TEMPERATURE_SENSOR_NO1
Missing temperature sensor NO.1 .THING_CODE_MISSING_TEMPERATURE_SENSOR_NO2
Missing temperature sensor NO.2 .THING_CODE_NOT_AVAILABLE
Not availableTHING_CODE_ONE_CLICK_CHARGING_FAILED
One-click charging failedTHING_CODE_ONE_CLICK_CHARGING_SUCCESSFUL
One-click charging successfulTHING_CODE_ONE_CLICK_FLIGHT_PREPARATION_FAILED
One-click flight preparation failedTHING_CODE_ONE_CLICK_FLIGHT_PREPARATION_SUCCESSFUL
One-click flight preparation successfulTHING_CODE_POSITION_BAR_RELEASING_FAILED
Charging bar releasing failed.THING_CODE_POSITION_BAR_TIGHTENING_FAILED
Charging bar tightening failed.THING_CODE_RAINFALL_VALUE_INVALID
Invalid rainfall valueTHING_CODE_SMOKE_VALUE_INVALID
Invalid Smoke ValueTHING_CODE_T100_FIRMWARE_UPDATED_FAILED
The T100 firmware update has failedTHING_CODE_T100_FIRMWARE_UPDATED_SUCCESSFUL
The T100 firmware update was successful
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThingCode
convert(int code)
convert and return the corresponding enumeration value according to the given sequence numberint
getValue()
static ThingCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ThingCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
THING_CODE_NOT_AVAILABLE
public static final ThingCode THING_CODE_NOT_AVAILABLE
Not available
-
THING_CODE_433_RC_PRESSED_SHORT_A
public static final ThingCode THING_CODE_433_RC_PRESSED_SHORT_A
The A key of the 433 remote was pressed short.
-
THING_CODE_433_RC_PRESSED_LONG_A
public static final ThingCode THING_CODE_433_RC_PRESSED_LONG_A
The A key of the 433 remote was pressed long.
-
THING_CODE_433_RC_PRESSED_SHORT_B
public static final ThingCode THING_CODE_433_RC_PRESSED_SHORT_B
The B key of the 433 remote was pressed short.
-
THING_CODE_433_RC_PRESSED_LONG_B
public static final ThingCode THING_CODE_433_RC_PRESSED_LONG_B
The B key of the 433 remote was pressed long.
-
THING_CODE_433_RC_PRESSED_SHORT_C
public static final ThingCode THING_CODE_433_RC_PRESSED_SHORT_C
The C key of the 433 remote was pressed short.
-
THING_CODE_433_RC_PRESSED_LONG_C
public static final ThingCode THING_CODE_433_RC_PRESSED_LONG_C
The C key of the 433 remote was pressed long.
-
THING_CODE_433_RC_PRESSED_SHORT_D
public static final ThingCode THING_CODE_433_RC_PRESSED_SHORT_D
The D key of the 433 remote was pressed short.
-
THING_CODE_433_RC_PRESSED_LONG_D
public static final ThingCode THING_CODE_433_RC_PRESSED_LONG_D
The D key of the 433 remote was pressed long.
-
THING_CODE_CANOPY_OPENED_WITHOUT_COMMAND
public static final ThingCode THING_CODE_CANOPY_OPENED_WITHOUT_COMMAND
The canopy opened without command.
-
THING_CODE_CANOPY_STATUS_FAULT
public static final ThingCode THING_CODE_CANOPY_STATUS_FAULT
The canopy malfunctioned.
-
THING_CODE_POSITION_BAR_TIGHTENING_FAILED
public static final ThingCode THING_CODE_POSITION_BAR_TIGHTENING_FAILED
Charging bar tightening failed.
-
THING_CODE_POSITION_BAR_RELEASING_FAILED
public static final ThingCode THING_CODE_POSITION_BAR_RELEASING_FAILED
Charging bar releasing failed.
-
THING_CODE_BATTERY_TEMPERATURE_TOO_HIGH
public static final ThingCode THING_CODE_BATTERY_TEMPERATURE_TOO_HIGH
The battery temperature exceeds the safety value.
-
THING_CODE_BATTERY_SEVERELY_AGING
public static final ThingCode THING_CODE_BATTERY_SEVERELY_AGING
The battery is severely aging.
-
THING_CODE_CHARGING_CURRENT_TOO_HIGH
public static final ThingCode THING_CODE_CHARGING_CURRENT_TOO_HIGH
The charging current is too high.
-
THING_CODE_CHARGING_TIME_TOO_LONG
public static final ThingCode THING_CODE_CHARGING_TIME_TOO_LONG
The charging time is too long.
-
THING_CODE_BATTERY_TYPE_MISMATCH
public static final ThingCode THING_CODE_BATTERY_TYPE_MISMATCH
Battery type mismatch.
-
THING_CODE_CHARGING_VOLTAGE_TOO_HIGH
public static final ThingCode THING_CODE_CHARGING_VOLTAGE_TOO_HIGH
The charging voltage is too high.
-
THING_CODE_CHARGING_VOLTAGE_TOO_LOW
public static final ThingCode THING_CODE_CHARGING_VOLTAGE_TOO_LOW
The charging voltage is too low.
-
THING_CODE_CHARGING_POWER_METER_FAILURE
public static final ThingCode THING_CODE_CHARGING_POWER_METER_FAILURE
The data of the charging power meter is invalid.
-
THING_CODE_BATTERY_THERMOMETER_FAILURE
public static final ThingCode THING_CODE_BATTERY_THERMOMETER_FAILURE
The battery thermometer failure.
-
THING_CODE_RAINFALL_VALUE_INVALID
public static final ThingCode THING_CODE_RAINFALL_VALUE_INVALID
Invalid rainfall value
-
THING_CODE_SMOKE_VALUE_INVALID
public static final ThingCode THING_CODE_SMOKE_VALUE_INVALID
Invalid Smoke Value
-
THING_CODE_MISSING_TEMPERATURE_SENSOR_NO1
public static final ThingCode THING_CODE_MISSING_TEMPERATURE_SENSOR_NO1
Missing temperature sensor NO.1 .
-
THING_CODE_MISSING_TEMPERATURE_SENSOR_NO2
public static final ThingCode THING_CODE_MISSING_TEMPERATURE_SENSOR_NO2
Missing temperature sensor NO.2 .
-
THING_CODE_ONE_CLICK_FLIGHT_PREPARATION_SUCCESSFUL
public static final ThingCode THING_CODE_ONE_CLICK_FLIGHT_PREPARATION_SUCCESSFUL
One-click flight preparation successful
-
THING_CODE_ONE_CLICK_CHARGING_SUCCESSFUL
public static final ThingCode THING_CODE_ONE_CLICK_CHARGING_SUCCESSFUL
One-click charging successful
-
THING_CODE_T100_FIRMWARE_UPDATED_SUCCESSFUL
public static final ThingCode THING_CODE_T100_FIRMWARE_UPDATED_SUCCESSFUL
The T100 firmware update was successful
-
THING_CODE_CAN_FIRMWARE_UPDATED_SUCCESSFUL
public static final ThingCode THING_CODE_CAN_FIRMWARE_UPDATED_SUCCESSFUL
The firmware update for the CAN interface module was successful
-
THING_CODE_ONE_CLICK_FLIGHT_PREPARATION_FAILED
public static final ThingCode THING_CODE_ONE_CLICK_FLIGHT_PREPARATION_FAILED
One-click flight preparation failed
-
THING_CODE_ONE_CLICK_CHARGING_FAILED
public static final ThingCode THING_CODE_ONE_CLICK_CHARGING_FAILED
One-click charging failed
-
THING_CODE_T100_FIRMWARE_UPDATED_FAILED
public static final ThingCode THING_CODE_T100_FIRMWARE_UPDATED_FAILED
The T100 firmware update has failed
-
THING_CODE_CAN_FIRMWARE_UPDATED_FAILED
public static final ThingCode THING_CODE_CAN_FIRMWARE_UPDATED_FAILED
The firmware update for the CAN interface module has failed
-
-
Method Detail
-
values
public static ThingCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ThingCode c : ThingCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ThingCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue()
- Returns:
- Get the enumerated sequence number
-
convert
public static ThingCode convert(int code)
convert and return the corresponding enumeration value according to the given sequence number- Parameters:
code
- the given sequence number- Returns:
- corresponding enumeration value
-
-