BCUDisp.h 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. #ifndef RTW_HEADER_BCUDisp_h_
  2. #define RTW_HEADER_BCUDisp_h_
  3. #include "rtwtypes.h"
  4. typedef uint8_T chrgSt;
  5. #define noChrg ((chrgSt)0U)
  6. #define chrging ((chrgSt)1U)
  7. #define chrgEnd ((chrgSt)2U)
  8. #define chrgFlt ((chrgSt)3U)
  9. typedef uint8_T chgCnctObj;
  10. #define vehicle ((chgCnctObj)0U)
  11. #define chgStation ((chgCnctObj)1U)
  12. extern real32_T damd_E_chrgEng;
  13. extern real32_T damd_E_disChrgEng;
  14. extern real32_T damd_E_regenEng;
  15. extern real32_T damd_E_totalChrgEng;
  16. extern real32_T damd_E_totalChrgEngEi;
  17. extern real32_T damd_E_totalChrgEngEo;
  18. extern real32_T damd_E_totalDisChrgEng;
  19. extern real32_T damd_E_totalDisChrgEngEi;
  20. extern real32_T damd_E_totalDisChrgEngEo;
  21. extern real32_T damd_E_totalRegenEng;
  22. extern real32_T damd_E_totalRegenEngEi;
  23. extern real32_T damd_E_totalRegenEngEo;
  24. extern real32_T damd_E_totalSatChrgEng;
  25. extern real32_T damd_E_totalSatChrgEngEi;
  26. extern real32_T damd_E_totalSatChrgEngEo;
  27. extern real32_T damd_E_totalVehChrgEng;
  28. extern real32_T damd_E_totalVehChrgEngEi;
  29. extern real32_T damd_E_totalVehChrgEngEo;
  30. extern uint16_T damd_Nr_totalChg;
  31. extern uint16_T damd_Nr_totalChgEi;
  32. extern uint16_T damd_Nr_totalChgEo;
  33. extern uint16_T damd_Nr_totalVehChrg;
  34. extern uint16_T damd_Nr_totalVehChrgEi;
  35. extern uint16_T damd_Nr_totalVehChrgEo;
  36. extern real32_T damd_Q_chrgCp;
  37. extern real32_T damd_Q_disChrgCp;
  38. extern real32_T damd_Q_regenCp;
  39. extern real32_T damd_Q_totalChrgCp;
  40. extern real32_T damd_Q_totalChrgCpEi;
  41. extern real32_T damd_Q_totalChrgCpEo;
  42. extern real32_T damd_Q_totalDisChrgCp;
  43. extern real32_T damd_Q_totalDisChrgCpEi;
  44. extern real32_T damd_Q_totalDisChrgCpEo;
  45. extern real32_T damd_Q_totalRegenCp;
  46. extern real32_T damd_Q_totalRegenCpEi;
  47. extern real32_T damd_Q_totalRegenCpEo;
  48. extern uint8_T damd_st_chgCnctObjEi;
  49. extern uint8_T damd_st_chgCnctObjEo;
  50. extern chrgSt dcmd_st_chrgSt_T2;
  51. extern chgCnctObj hvmd_st_chgCnctObj_T2;
  52. extern real32_T ihd_I_battCurr_T2;
  53. extern real32_T ihd_V_battU_T2;
  54. extern real32_T ihd_V_cellUAvrg;
  55. extern real32_T ihd_V_cellUMax;
  56. extern real32_T ihd_V_cellUMin;
  57. extern real32_T ihd_pct_socCor;
  58. extern uint8_T ihd_tm_dayEi;
  59. extern uint8_T ihd_tm_dayEo;
  60. extern uint8_T ihd_tm_hourEi;
  61. extern uint8_T ihd_tm_hourEo;
  62. extern uint8_T ihd_tm_minEi;
  63. extern uint8_T ihd_tm_minEo;
  64. extern uint8_T ihd_tm_monthEi;
  65. extern uint8_T ihd_tm_monthEo;
  66. extern uint16_T ihd_tm_parkTime;
  67. extern uint32_T ihd_tm_realTime;
  68. extern uint8_T ihd_tm_secEi;
  69. extern uint8_T ihd_tm_secEo;
  70. extern uint8_T ihd_tm_yearEi;
  71. extern uint8_T ihd_tm_yearEo;
  72. extern boolean_T ihv_flg_EESt[4];
  73. extern uint8_T rted_tm_day;
  74. extern uint8_T rted_tm_hour;
  75. extern uint8_T rted_tm_min;
  76. extern uint8_T rted_tm_month;
  77. extern uint8_T rted_tm_sec;
  78. extern uint8_T rted_tm_year;
  79. extern boolean_T rtev_flg_EESt[4];
  80. extern real32_T socd_Q_dMax;
  81. extern real32_T socd_Q_dMin;
  82. extern boolean_T socd_flg_EEsave;
  83. extern real32_T socd_pct_ahSoc;
  84. extern real32_T socd_pct_battSoc;
  85. extern real32_T socd_pct_battSocEi;
  86. extern real32_T socd_pct_battSocEo;
  87. extern real32_T socd_pct_bcuSoc;
  88. extern real32_T socd_pct_bcuSocEi;
  89. extern real32_T socd_pct_bcuSocEo;
  90. extern real32_T socd_pct_ekfSoc;
  91. extern real32_T sohd_pct_bcuSoh;
  92. #endif