예제 #1
0
파일: Dialyzer.cs 프로젝트: cubeme/ssharp
 public void SetDialyzingFluidFlow(DialyzingFluid toSuccessor, DialyzingFluid fromPredecessor)
 {
     IncomingFluidTemperature         = fromPredecessor.Temperature;
     IncomingQuantityOfDialyzingFluid = fromPredecessor.Quantity;
     toSuccessor.CopyValuesFrom(fromPredecessor);
     toSuccessor.Quantity = IncomingSuctionRateOnDialyzingFluidSide;
     toSuccessor.WasUsed  = true;
 }
예제 #2
0
        public DialyzingFluid SetDialyzingFluidFlow(DialyzingFluid fromPredecessor)
        {
            IncomingFluidTemperature         = fromPredecessor.Temperature;
            IncomingQuantityOfDialyzingFluid = fromPredecessor.Quantity;
            var toSuccessor = fromPredecessor;

            toSuccessor.Quantity = IncomingSuctionRateOnDialyzingFluidSide;
            toSuccessor.WasUsed  = true;
            return(toSuccessor);
        }
예제 #3
0
        /*
         * public void CopyValuesFrom(DialyzingFluid @from)
         * {
         *      Quantity = from.Quantity;
         *      KindOfDialysate = from.KindOfDialysate;
         *      ContaminatedByBlood = from.ContaminatedByBlood;
         *      WasUsed = from.WasUsed;
         *      Temperature = from.Temperature;
         * }
         */


        public static DialyzingFluid Default()
        {
            var dialyzingFluid = new DialyzingFluid();

            return(dialyzingFluid);
        }