typedef enum
{
drTanklessStatePowerOnInit = 0,
drTanklessStateWorking = 1,
drTanklessStateStop = 2,
} TTanklessState;
TTanklessState sTanklessState;
typedef enum
{
drIgnition = 0,
drTansferFire = 1,
drTempControl = 2
} TTanklessWorkingSubState;
extern TTanklessWorkingSubState sWorkingSubState;
TByte rGasPressRlease;
TByte rGasPressRlease;
if (((sTanklessState == drTanklessStateWorking) && (sWorkingSubState > drIgnition)) && (rGasPressRlease))
{
}
上面if后面是如何判断的啊,请高手指教下,谢谢! |