枚举 ModuleSettingType

  • 所有已实现的接口:
    java.io.Serializable, java.lang.Comparable<ModuleSettingType>

    public enum ModuleSettingType
    extends java.lang.Enum<ModuleSettingType>
    The enum Module setting type.
    • 枚举常量详细资料

      • TYPE_GET_TEMPERATURE

        public static final ModuleSettingType TYPE_GET_TEMPERATURE
        Type get temperature module setting type.
      • TYPE_INV_FLAG_TIME

        public static final ModuleSettingType TYPE_INV_FLAG_TIME
        Type inv flag time module setting type.
      • TYPE_DUTY_CYCLE_TIME_MS

        public static final ModuleSettingType TYPE_DUTY_CYCLE_TIME_MS
        Type duty cycle time ms module setting type.
      • TYPE_DUTY_CYCLE_TIME_PERT

        public static final ModuleSettingType TYPE_DUTY_CYCLE_TIME_PERT
        Type duty cycle time pert module setting type.
      • TYPE_BLE_FLAG

        public static final ModuleSettingType TYPE_BLE_FLAG
        Type ble flag module setting type.
      • TYPE_64ANT_FLAG

        public static final ModuleSettingType TYPE_64ANT_FLAG
        Type 64 ant flag module setting type.
      • TYPE_BUZZER_SWITCHER

        public static final ModuleSettingType TYPE_BUZZER_SWITCHER
        Type buzzer switcher module setting type.
      • TYPE_DEBUG_SWITCHER

        public static final ModuleSettingType TYPE_DEBUG_SWITCHER
        Type debug switcher module setting type.
      • TYPE_FLASH_SWITCHER

        public static final ModuleSettingType TYPE_FLASH_SWITCHER
        Type flash switcher module setting type.
      • TYPE_LED_SWITCHER

        public static final ModuleSettingType TYPE_LED_SWITCHER
        Type led switcher module setting type.
      • TYPE_BAUD

        public static final ModuleSettingType TYPE_BAUD
        Type baud module setting type.
      • TYPE_HEARTBEAT

        public static final ModuleSettingType TYPE_HEARTBEAT
        Type heartbeat module setting type.
      • TYPE_HID_FLAG

        public static final ModuleSettingType TYPE_HID_FLAG
        Type hid flag module setting type.
      • TYPE_WRITE_POWER

        public static final ModuleSettingType TYPE_WRITE_POWER
        Type write power module setting type.
      • TYPE_CRC_PC_FLAG

        public static final ModuleSettingType TYPE_CRC_PC_FLAG
        Type crc pc flag module setting type.
      • TYPE_RETURN_LOSS_SWITCH

        public static final ModuleSettingType TYPE_RETURN_LOSS_SWITCH
      • TYPE_SET_GPI_DEBOUNCE_TIME

        public static final ModuleSettingType TYPE_SET_GPI_DEBOUNCE_TIME
    • 方法详细资料

      • values

        public static ModuleSettingType[] values()
        按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:
        for (ModuleSettingType c : ModuleSettingType.values())
            System.out.println(c);
        
        返回:
        按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
      • valueOf

        public static ModuleSettingType valueOf​(java.lang.String name)
        返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
        参数:
        name - 要返回的枚举常量的名称。
        返回:
        返回带有指定名称的枚举常量
        抛出:
        java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
        java.lang.NullPointerException - 如果参数为空值
      • getValue

        public byte getValue()
        Gets value.
        返回:
        the value
      • valueOf

        public static ModuleSettingType valueOf​(int value)
        Value of module setting type.
        参数:
        value - the value
        返回:
        the module setting type