#include "rtwtypes.h" #include "BCUCal.h" #include "BCUDisp.h" #include extern boolean_T FirstRun_SFM; extern void SFM_Init(void); extern void SFM(void); typedef struct { uint8_T fltNum81; uint8_T recNum81; uint8_T fltNum82; uint8_T recNum82; uint8_T fltNum83; uint8_T recNum83; uint8_T fltNum84; uint8_T recNum84; uint8_T fltNum85; uint8_T recNum85; uint8_T fltNum86; uint8_T recNum86; uint8_T fltNum87; uint8_T recNum87; uint8_T fltNum88; uint8_T recNum88; uint8_T fltNum89; uint8_T recNum89; uint8_T fltNum90; uint8_T recNum90; uint8_T fltNum97; uint8_T recNum97; uint8_T fltNum98; uint8_T recNum98; uint8_T fltNum99; uint8_T recNum99; uint8_T fltNum100; uint8_T recNum100; uint8_T fltNum101; uint8_T recNum101; uint8_T fltNum102; uint8_T recNum102; uint8_T fltNum103; uint8_T recNum103; uint8_T fltNum104; uint8_T recNum104; uint8_T fltNum105; uint8_T recNum105; uint8_T fltNum106; uint8_T recNum106; uint8_T fltNum107; uint8_T recNum107; uint8_T fltNum108; uint8_T recNum108; uint8_T fltNum109; uint8_T recNum109; uint8_T fltNum110; uint8_T recNum110; uint8_T fltNum111; uint8_T recNum111; uint8_T fltNum112; uint8_T recNum112; uint8_T fltNum113; uint8_T recNum113; uint8_T fltNum114; uint8_T recNum114; uint8_T fltNum115_1; uint8_T recNum115_1; uint8_T fltNum115_2; uint8_T recNum115_2; uint8_T fltNum116_1; uint8_T recNum116_1; uint8_T fltNum116_2; uint8_T recNum116_2; uint8_T fltNum131; uint8_T recNum131; uint8_T fltNum132; uint8_T recNum132; } DiagThrstruct; typedef struct { uint16_T N22; uint16_T N24; uint16_T N32; uint16_T N33; uint16_T N34; uint16_T N54; uint16_T N56; uint16_T N57; uint16_T N58; uint16_T N59; uint16_T N62; uint16_T N64; uint16_T N65; uint16_T N66; uint16_T N67; uint16_T N151; uint16_T N152; uint16_T N153; uint16_T N154; uint16_T N155; uint16_T N156; uint16_T N157; uint16_T N158; uint16_T N159; uint16_T N160; uint16_T N161; uint16_T N162; uint16_T N179; } DiagTimestruct; extern boolean_T DiagThrSystem1(boolean_T Enable, boolean_T precondition, uint16_T Input, uint16_T fltThr, uint16_T recThr, uint8_T fltNumThr, uint8_T recNumThr, uint8_T *fltNum, uint8_T *recNum, boolean_T *fitFlg); extern boolean_T DiagThrSystem2(boolean_T Enable, boolean_T precondition, uint16_T Input, uint16_T fltThr, uint16_T recThr, uint8_T fltNumThr, uint8_T recNumThr, uint8_T *fltNum, uint8_T *recNum, boolean_T *fitFlg); extern boolean_T JudgeTimeSystem(boolean_T Enable, boolean_T Input, uint16_T *N, uint16_T Thr);