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); }
public Result DoPurgeAndPrime(Valve valve) { Result ret = Result.OK; ret = valve.DoPrime(); if (!ret.IsOk) { return(ret); } ret = valve.DoPurge(); return(ret); }