/*
 * File: SOH_Var.c
 *
 * Code generated for Simulink model 'SOH'.
 *
 * Company                        : AIWAYS
 * Author                         : zhangzy
 * Model version                  : 'M100C100'
 * Simulink Coder version         : 8.13 (R2017b) 24-Jul-2017
 * C/C++ source code generated on : Fri Oct 23 15:05:51 2020
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: Infineon->TriCore
 * Code generation objectives:
 *    1. MISRA C:2012 guidelines
 *    2. Safety precaution
 * Validation result: Not run
 */

#include "rtwtypes.h"
#include "SOH_types.h"

/* Exported data definition */
#define ASW1_OEM_START_SEC_DEFAULT_RAM1_INIT_8
#include "Asw1_OEM_MemMap.h"

/* Definition for custom storage class: OutputVolatileUint8 */
volatile boolean_T LaSOH_OCVSOHCal_flg[112];/* SOH开启计算标志位 */
volatile boolean_T LbSOH_AutoOCVCorrect_flg;/* SOCOCV自动修正开启标志位 */
volatile boolean_T LbSOH_NvmDataClr_flg;/* NVM数据清除flg */
volatile boolean_T LbSOH_OCVSOHCal_flg;/* SOH计算标志位(所有电芯标志位取或) */
volatile boolean_T LbSOH_SOHTableEnable_flg;/* SOH允许查表标志位 */
volatile boolean_T LbSOH_ShutdownCellState_flg;/* SOH计算标志位 */

#define ASW1_OEM_STOP_SEC_DEFAULT_RAM1_INIT_8
#include "Asw1_OEM_MemMap.h"
#define ASW1_OEM_START_SEC_DEFAULT_RAM1_INIT_UNSPECIFIED
#include "Asw1_OEM_MemMap.h"

/* Definition for custom storage class: OutputVolatileUnspecified */
volatile real32_T LaSOH_AllCellSOC_pct[112];/* 所有电芯SOC */
volatile real32_T LcSOH_CalenderLifeLoss_pct;/* 日历寿命的SOH容量衰减 */
volatile real32_T LcSOH_CurrBatCap_Ah; /* 当前电池当前容量(Ah积分法) */
volatile real32_T LcSOH_CycleLifeLoss_pct;/* 循环寿命的SOH容量衰减 */
volatile real32_T LcSOH_MinCellCap_Ah; /* 最小单体容量 */
volatile real32_T LcSOH_QALoss_pct;    /* 质保线的SOH容量衰减 */
volatile real32_T LcSOH_QAOdoLoss_pct; /* 质保线的里程SOH容量衰减 */
volatile real32_T LcSOH_QAUsageLoss_pct;/* 质保线的使用时间SOH容量衰减 */
volatile real32_T LcSOH_SumCellCap_Ah; /* 所有单体容量之和 */

#define ASW1_OEM_STOP_SEC_DEFAULT_RAM1_INIT_UNSPECIFIED
#include "Asw1_OEM_MemMap.h"

/*
 * File trailer for generated code.
 *
 * [EOF]
 */
