BCUDisp.h 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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_totalStaChrg;
  34. extern uint16_T damd_Nr_totalStaChrgEi;
  35. extern uint16_T damd_Nr_totalStaChrgEo;
  36. extern uint16_T damd_Nr_totalVehChrg;
  37. extern uint16_T damd_Nr_totalVehChrgEi;
  38. extern uint16_T damd_Nr_totalVehChrgEo;
  39. extern real32_T damd_Q_chrgCp;
  40. extern real32_T damd_Q_disChrgCp;
  41. extern real32_T damd_Q_regenCp;
  42. extern real32_T damd_Q_totalChrgCp;
  43. extern real32_T damd_Q_totalChrgCpEi;
  44. extern real32_T damd_Q_totalChrgCpEo;
  45. extern real32_T damd_Q_totalDisChrgCp;
  46. extern real32_T damd_Q_totalDisChrgCpEi;
  47. extern real32_T damd_Q_totalDisChrgCpEo;
  48. extern real32_T damd_Q_totalRegenCp;
  49. extern real32_T damd_Q_totalRegenCpEi;
  50. extern real32_T damd_Q_totalRegenCpEo;
  51. extern real32_T damd_Q_totalSatChrgCp;
  52. extern real32_T damd_Q_totalSatChrgCpEi;
  53. extern real32_T damd_Q_totalSatChrgCpEo;
  54. extern real32_T damd_Q_totalVehChrgCp;
  55. extern real32_T damd_Q_totalVehChrgCpEi;
  56. extern real32_T damd_Q_totalVehChrgCpEo;
  57. extern uint8_T damd_st_chgCnctObjEi;
  58. extern uint8_T damd_st_chgCnctObjEo;
  59. extern chrgSt dcmd_st_chrgSt_T2;
  60. extern chgCnctObj hvmd_st_chgCnctObj_T2;
  61. extern real32_T ihd_I_battCurr_T2;
  62. extern real32_T ihd_V_battU_T2;
  63. extern real32_T ihd_V_cellUAvrg;
  64. extern real32_T ihd_V_cellUMax;
  65. extern real32_T ihd_V_cellUMin;
  66. extern real32_T ihd_pct_socCor;
  67. extern uint8_T ihd_tm_dayEi;
  68. extern uint8_T ihd_tm_dayEo;
  69. extern uint8_T ihd_tm_hourEi;
  70. extern uint8_T ihd_tm_hourEo;
  71. extern uint8_T ihd_tm_minEi;
  72. extern uint8_T ihd_tm_minEo;
  73. extern uint8_T ihd_tm_monthEi;
  74. extern uint8_T ihd_tm_monthEo;
  75. extern uint16_T ihd_tm_parkTime;
  76. extern uint32_T ihd_tm_realTime;
  77. extern uint8_T ihd_tm_secEi;
  78. extern uint8_T ihd_tm_secEo;
  79. extern uint8_T ihd_tm_yearEi;
  80. extern uint8_T ihd_tm_yearEo;
  81. extern boolean_T ihv_flg_EESt[4];
  82. extern uint8_T rted_tm_day;
  83. extern uint8_T rted_tm_hour;
  84. extern uint8_T rted_tm_min;
  85. extern uint8_T rted_tm_month;
  86. extern uint8_T rted_tm_sec;
  87. extern uint8_T rted_tm_year;
  88. extern boolean_T rtev_flg_EESt[4];
  89. extern real32_T socd_Q_dMax;
  90. extern real32_T socd_Q_dMin;
  91. extern boolean_T socd_flg_EEsave;
  92. extern real32_T socd_pct_ahSoc;
  93. extern real32_T socd_pct_battSoc;
  94. extern real32_T socd_pct_battSocEi;
  95. extern real32_T socd_pct_battSocEo;
  96. extern real32_T socd_pct_bcuSoc;
  97. extern real32_T socd_pct_bcuSocEi;
  98. extern real32_T socd_pct_bcuSocEo;
  99. extern real32_T socd_pct_ekfSoc;
  100. extern real32_T sohd_pct_bcuSoh;
  101. #endif