Calculando o fluxo de saída a partir do fluxo de entrada
_str1 : qty no tanque
_str1,-1 : valor anterior da qty no tanque
_str2 : entrada (qty/min)
double flow=Str.ToDouble(_doJava.get("_str1",-1))-Str.ToDouble(_str1)+Str.ToDouble(_str2);
if (flow>0)
return flow;
else
return "0";