
from typing import Literal

# 从配置文件 ftp_registers.py 自动生成的寄存器名称Literal类型
RegisterName = Literal["HAND_ID", "REDU_RATIO", "CLEAR_ERROR", "SAVE", "RESET_PARA", "GESTURE_FORCE_CALIB", "DEFAULT_SPEED_SET(0)", "DEFAULT_SPEED_SET(1)", "DEFAULT_SPEED_SET(2)", "DEFAULT_SPEED_SET(3)", "DEFAULT_SPEED_SET(4)", "DEFAULT_SPEED_SET(5)", "DEFAULT_FORCE_SET(0)", "DEFAULT_FORCE_SET(1)", "DEFAULT_FORCE_SET(2)", "DEFAULT_FORCE_SET(3)", "DEFAULT_FORCE_SET(4)", "DEFAULT_FORCE_SET(5)", "POS_SET(0)", "POS_SET(1)", "POS_SET(2)", "POS_SET(3)", "POS_SET(4)", "POS_SET(5)", "ANGLE_SET(0)", "ANGLE_SET(1)", "ANGLE_SET(2)", "ANGLE_SET(3)", "ANGLE_SET(4)", "ANGLE_SET(5)", "FORCE_ACT(0)", "FORCE_ACT(1)", "FORCE_ACT(2)", "FORCE_ACT(3)", "FORCE_ACT(4)", "FORCE_ACT(5)", "CURRENT(0)", "CURRENT(1)", "CURRENT(2)", "CURRENT(3)", "CURRENT(4)", "CURRENT(5)", "ERROR(0)", "ERROR(1)", "ERROR(2)", "ERROR(3)", "ERROR(4)", "ERROR(5)", "TEMP(0)", "TEMP(1)", "TEMP(2)", "TEMP(3)", "TEMP(4)", "TEMP(5)", "TACTILE_SMALL_FINGER_TIP_3x3", "TACTILE_SMALL_FINGER_TIP_12x8", "TACTILE_SMALL_FINGER_PALM_10x8", "TACTILE_RING_FINGER_TIP_3x3", "TACTILE_RING_FINGER_TIP_12x8", "TACTILE_RING_FINGER_PALM_10x8", "TACTILE_MIDDLE_FINGER_TIP_3x3", "TACTILE_MIDDLE_FINGER_TIP_12x8", "TACTILE_MIDDLE_FINGER_PALM_10x8", "TACTILE_INDEX_FINGER_TIP_3x3", "TACTILE_INDEX_FINGER_TIP_12x8", "TACTILE_INDEX_FINGER_PALM_10x8", "TACTILE_THUMB_TIP_3x3", "TACTILE_THUMB_TIP_12x8", "TACTILE_THUMB_MIDDLE_3x3", "TACTILE_THUMB_PALM_12x8", "TACTILE_PALM_8x14"]

# 所有寄存器名称列表
ALL_REGISTER_NAMES: list[RegisterName] = ["HAND_ID", "REDU_RATIO", "CLEAR_ERROR", "SAVE", "RESET_PARA", "GESTURE_FORCE_CALIB", "DEFAULT_SPEED_SET(0)", "DEFAULT_SPEED_SET(1)", "DEFAULT_SPEED_SET(2)", "DEFAULT_SPEED_SET(3)", "DEFAULT_SPEED_SET(4)", "DEFAULT_SPEED_SET(5)", "DEFAULT_FORCE_SET(0)", "DEFAULT_FORCE_SET(1)", "DEFAULT_FORCE_SET(2)", "DEFAULT_FORCE_SET(3)", "DEFAULT_FORCE_SET(4)", "DEFAULT_FORCE_SET(5)", "POS_SET(0)", "POS_SET(1)", "POS_SET(2)", "POS_SET(3)", "POS_SET(4)", "POS_SET(5)", "ANGLE_SET(0)", "ANGLE_SET(1)", "ANGLE_SET(2)", "ANGLE_SET(3)", "ANGLE_SET(4)", "ANGLE_SET(5)", "FORCE_ACT(0)", "FORCE_ACT(1)", "FORCE_ACT(2)", "FORCE_ACT(3)", "FORCE_ACT(4)", "FORCE_ACT(5)", "CURRENT(0)", "CURRENT(1)", "CURRENT(2)", "CURRENT(3)", "CURRENT(4)", "CURRENT(5)", "ERROR(0)", "ERROR(1)", "ERROR(2)", "ERROR(3)", "ERROR(4)", "ERROR(5)", "TEMP(0)", "TEMP(1)", "TEMP(2)", "TEMP(3)", "TEMP(4)", "TEMP(5)", "TACTILE_SMALL_FINGER_TIP_3x3", "TACTILE_SMALL_FINGER_TIP_12x8", "TACTILE_SMALL_FINGER_PALM_10x8", "TACTILE_RING_FINGER_TIP_3x3", "TACTILE_RING_FINGER_TIP_12x8", "TACTILE_RING_FINGER_PALM_10x8", "TACTILE_MIDDLE_FINGER_TIP_3x3", "TACTILE_MIDDLE_FINGER_TIP_12x8", "TACTILE_MIDDLE_FINGER_PALM_10x8", "TACTILE_INDEX_FINGER_TIP_3x3", "TACTILE_INDEX_FINGER_TIP_12x8", "TACTILE_INDEX_FINGER_PALM_10x8", "TACTILE_THUMB_TIP_3x3", "TACTILE_THUMB_TIP_12x8", "TACTILE_THUMB_MIDDLE_3x3", "TACTILE_THUMB_PALM_12x8", "TACTILE_PALM_8x14"]
