#ifndef APP_BMS_1_H
#define APP_BMS_1_H

#define KEY_BMS_1_COMMON            (0x3100)
#define KEY_BMS_1_BOND  			(0x3101)
#define KEY_BMS_1_UNBOND            (0x3102)
#define KEY_BMS_1_PAIR              (0x3103)
#define KEY_BMS_1_UPDATE_PAIR       (0x3104)
#define KEY_BMS_1_READ_INFO         (0x3105)
#define KEY_BMS_1_ALARM_TIMES       (0x3106)
#define KEY_BMS_1_CELL_VOL          (0x3107)
#define KEY_BMS_1_BAT_VOL           (0x3108)
#define KEY_BMS_1_CHARGER_ONOFF     (0x3109)
#define KEY_BMS_1_READ_BAT          (0x310A)
#define KEY_BMS_1_OPEN_FET          (0x310B)
#define KEY_BMS_1_READ_VER          (0x310C)
#define KEY_BMS_1_ALARM_TIMES_1     (0x310D)
#define KEY_BMS_1_ALARM_TIMES_2     (0x310E)
#define KEY_BMS_1_CELL_VOL_1        (0x310F)
#define KEY_BMS_1_CELL_VOL_2        (0x3110)
#define KEY_BMS_1_TEMP_OTHER        (0x3111)
#define KEY_BMS_1_TEMP_OTHER_1      (0x3112)
#define KEY_BMS_1_TEMP_OTHER_2      (0x3113)
#define KEY_BMS_1_SELF_UP           (0x3181)
#define KEY_BMS_1_CUR_VOL_SELF_UP   (0x3182)

extern BMS_SELF_SEND_STATUS bms_1_self_ss;
extern BMS_SELF_CUR_VOL_STATUS bms_1_cur_vol_ss;
extern DELAY_COMMON bms_1_self_stimeout;

int8_t Handle_Can_Bms_1_CMD(CAN_FRAME*can_bms_1_frame);

int8_t Rsp_Can_Bms_1_CMD(CAN_FRAME*can_bms_1_frame);

void Can_Bms_1_Self_Send_Check(CAN_FRAME*can_bms_1_frame);

void Bms_1_Self_Send_Timeout(void);



#endif

