typedef union{ struct{ unsigned RemainZero:1; unsigned OverdraftOver:1; unsigned ShutDownVoltage:1; unsigned ValveState:1; unsigned MagAttach:1; unsigned LineCutOff:1; unsigned BreakSignal:1; unsigned SingleSensorERR:1; unsigned RemainLessAlarm:1; unsigned ValveTimesOpened:1; unsigned ValveTimesClosed:1; unsigned ValveIsLeak:1; unsigned ValveIsOpenning:1; unsigned ValveIsClosing:1; unsigned ValveIsMangle; unsigned ValveIsPosition:1; }Bits; unsigned int allbits; }RunFlagSTR; extern RunFlagSTR MYRunFlag; //警告开始 C4000: Condition always TRUE
main.c line 32
L1823: External object MYRunFlag in E:workwater_projectfree_testProject_1Project_1_DataStandardObjectCodemain.c.o created by default
|