Exemple #1
0
        private Result SvAndGearValveLogic(Valve valve)
        {
            Result ret = Result.OK;

            ret = valve.DoPrime();
            if (!ret.IsOk)
            {
                return(ret);
            }

            ret = valve.DoPurge();
            if (!ret.IsOk)
            {
                return(ret);
            }

            ret = valve.DoPrime();

            return(ret);
        }
Exemple #2
0
        public Result DoPurgeAndPrime(Valve valve)
        {
            Result ret = Result.OK;

            ret = valve.DoPrime();
            if (!ret.IsOk)
            {
                return(ret);
            }

            ret = valve.DoPurge();
            return(ret);
        }