#include "rtwtypes.h" #include "BCUCal.h" #include "BCUDisp.h" 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 { uint8_T N151; uint8_T N152; uint8_T N153; uint8_T N154; uint8_T N155; uint8_T N156; uint8_T N157; uint8_T N158; uint8_T N159; uint8_T N160; uint8_T N161; uint8_T N162; }DiagMisstruct; extern boolean_T DiagThrSystem1(boolean_T Enable, boolean_T precondition, uint16_T Input,uint16_T fltThr,uint16_T recThr,uint16_T fltNumThr,uint16_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,uint16_T fltNumThr,uint16_T recNumThr,uint8_T *fltNum,uint8_T *recNum,boolean_T *fitFlg); extern boolean_T MisMatich(boolean_T x, boolean_T y, uint8_T *N);