27 lines
397 B
C
27 lines
397 B
C
|
|
#include "abnormalManage.h"
|
|
#include "parameter.h"
|
|
#include "capture.h"
|
|
#include "checkTime.h"
|
|
|
|
|
|
|
|
void checkAbnormal(void)
|
|
{
|
|
// checkTimeInit();
|
|
/* 滤波 */
|
|
adcCaptureFir();
|
|
|
|
/* 转换 */
|
|
setChargCurrent();
|
|
setDischargCurrent();
|
|
setOutputVoltage();
|
|
setSolarInCircuitVoltage();
|
|
|
|
/* 判断异常状态 */
|
|
|
|
|
|
// checkAbnormalTime = getCheckTime();
|
|
}
|
|
|