__TMPB1 := TON_TOTALIZER [ __CDINT00000004 ]
__TMPB1 := _NOT __TMPB1 
__TMPB__TON__IN := __TMPB1 
__FBL_RET := _PUSHCALLFB TON  TON_TOTALIZER 
__TMPB1 := TON_TOTALIZER [ __CDINT00000004 ]
_IF _NOT __TMPB1 _GOTO __LAB1 
__TMPR3 := __TMPR1 / __TMPR2 
__TMPR4 := FLOWRATE * __TMPR3 
__TMPR5 := FLOW_TODAY + __TMPR4 
FLOW_TODAY := __TMPR5 
_GOTO __LAB2 
__LAB1 : 
__LAB2 : 
__TMPUIN1 := CURRENTTIMERTC [ __CDINT00000012 ]
__TMPB1 := __TMPUIN1 = __UINT_NULL 
__TMPUIN2 := CURRENTTIMERTC [ __CDINT00000014 ]
__TMPB2 := __TMPUIN2 = __UINT_NULL 
__TMPB1 := __TMPB1 _AND __TMPB2 
__TMPUIN3 := CURRENTTIMERTC [ __CDINT00000016 ]
__TMPB3 := __TMPUIN3 = __UINT_NULL 
__TMPB1 := __TMPB1 _AND __TMPB3 
_IF _NOT __TMPB1 _GOTO __LAB3 
FLOW_YESTERDAY := FLOW_TODAY 
FLOW_TODAY := __TMPR6 
_GOTO __LAB4 
__LAB3 : 
__LAB4 : 
