Enum ConfigParameter
- java.lang.Object
-
- java.lang.Enum<ConfigParameter>
-
- com.heisha.heisha_sdk.Component.ControlCenter.ConfigParameter
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ConfigParameter>
public enum ConfigParameter extends java.lang.Enum<ConfigParameter>
Configuration parameters sequence number- Version:
- 1.0.0
- Author:
- wmy
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SERVICE_PARAM_AIR_ROOM_MAXTEM
Maximum temperature of drone cabinSERVICE_PARAM_AIR_ROOM_MINTEM
Minimum temperature of drone cabinSERVICE_PARAM_BATTERY_TYPE
Battery serial number selectionSERVICE_PARAM_CANOPY_DELAY_TIME
The time from touching the limiter to stopping when opening or closing the canopySERVICE_PARAM_COOL_SETPOINT
Air conditioning cooling start temperatureSERVICE_PARAM_HEAT_SETPOINT
Air conditioning heating start temperatureSERVICE_PARAM_POST_RATE_AC
Frequency of reporting of air conditioner component propertiesSERVICE_PARAM_POST_RATE_CANOPY
Frequency of reporting of canopy component propertiesSERVICE_PARAM_POST_RATE_CD
Frequency of reporting of charging component propertiesSERVICE_PARAM_POST_RATE_EDGE
Frequency of reporting of edge computing module component propertiesSERVICE_PARAM_POST_RATE_POSBAR
Frequency of reporting the charge bars component propertiesSERVICE_PARAM_POST_RATE_RC
Frequency of reporting of remote control component propertiesSERVICE_PARAM_STRIP_LIGHT_BRIGHTNESS
Percentage brightness of strip lightSERVICE_PARAM_VERSION
Version information for configuration parameters
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigParameter
convert(int param)
convert and return the corresponding enumeration value according to the given sequence numberint
getValue()
static ConfigParameter
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ConfigParameter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVICE_PARAM_VERSION
public static final ConfigParameter SERVICE_PARAM_VERSION
Version information for configuration parameters
-
SERVICE_PARAM_POST_RATE_CANOPY
public static final ConfigParameter SERVICE_PARAM_POST_RATE_CANOPY
Frequency of reporting of canopy component properties
-
SERVICE_PARAM_POST_RATE_POSBAR
public static final ConfigParameter SERVICE_PARAM_POST_RATE_POSBAR
Frequency of reporting the charge bars component properties
-
SERVICE_PARAM_POST_RATE_CD
public static final ConfigParameter SERVICE_PARAM_POST_RATE_CD
Frequency of reporting of charging component properties
-
SERVICE_PARAM_POST_RATE_EDGE
public static final ConfigParameter SERVICE_PARAM_POST_RATE_EDGE
Frequency of reporting of edge computing module component properties
-
SERVICE_PARAM_BATTERY_TYPE
public static final ConfigParameter SERVICE_PARAM_BATTERY_TYPE
Battery serial number selection
-
SERVICE_PARAM_COOL_SETPOINT
public static final ConfigParameter SERVICE_PARAM_COOL_SETPOINT
Air conditioning cooling start temperature
-
SERVICE_PARAM_HEAT_SETPOINT
public static final ConfigParameter SERVICE_PARAM_HEAT_SETPOINT
Air conditioning heating start temperature
-
SERVICE_PARAM_AIR_ROOM_MAXTEM
public static final ConfigParameter SERVICE_PARAM_AIR_ROOM_MAXTEM
Maximum temperature of drone cabin
-
SERVICE_PARAM_AIR_ROOM_MINTEM
public static final ConfigParameter SERVICE_PARAM_AIR_ROOM_MINTEM
Minimum temperature of drone cabin
-
SERVICE_PARAM_POST_RATE_AC
public static final ConfigParameter SERVICE_PARAM_POST_RATE_AC
Frequency of reporting of air conditioner component properties
-
SERVICE_PARAM_POST_RATE_RC
public static final ConfigParameter SERVICE_PARAM_POST_RATE_RC
Frequency of reporting of remote control component properties
-
SERVICE_PARAM_STRIP_LIGHT_BRIGHTNESS
public static final ConfigParameter SERVICE_PARAM_STRIP_LIGHT_BRIGHTNESS
Percentage brightness of strip light
-
SERVICE_PARAM_CANOPY_DELAY_TIME
public static final ConfigParameter SERVICE_PARAM_CANOPY_DELAY_TIME
The time from touching the limiter to stopping when opening or closing the canopy
-
-
Method Detail
-
values
public static ConfigParameter[] 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 (ConfigParameter c : ConfigParameter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigParameter 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 ConfigParameter convert(int param)
convert and return the corresponding enumeration value according to the given sequence number- Parameters:
param
- the given sequence number- Returns:
- corresponding enumeration value
-
-