#ifndef MODULE_EVCOMM_H_ #define MODULE_EVCOMM_H_ #include #include //------------------------------------------------------------------------------ #define COMMUNICATION 2 #define CHK_VOL_RANGE 50 #define CHK_CUR_RANGE 20 #define PLUG 1 #define UNPLUG 0 //------------------------------------------------------------------------------ //DS60-120 add enum EV_LOG_INDEX { EV_LOG_OUTPUT_CAP_POW = 0, EV_LOG_OUTPUT_CAP_CUR = 1, EV_LOG_NOW_OUTPUT_VOL = 2, EV_LOG_NOW_OUTPUT_CUR = 3, EV_LOG_EVSE_MAX_VOL = 4, EV_LOG_EVSE_MAX_CUR = 5, EV_LOG_MAX_BATT_VOL = 6, EV_LOG_REAL_CAP_POW = 7, EV_LOG_SOC = 8, }; //------------------------------------------------------------------------------ typedef struct StChiilerTemp { uint8_t Temp[2]; uint8_t Reserved[2]; } ChillerTemp; //------------------------------------------------------------------------------ int GetCanFd(void); #endif /* MODULE_EVCOMM_H_ */