Exemplo n.º 1
0
 public void SetDialyzingFluidFlow(DialyzingFluid toSuccessor, DialyzingFluid fromPredecessor)
 {
     IncomingFluidTemperature         = fromPredecessor.Temperature;
     IncomingQuantityOfDialyzingFluid = fromPredecessor.Quantity;
     toSuccessor.CopyValuesFrom(fromPredecessor);
     toSuccessor.Quantity = IncomingSuctionRateOnDialyzingFluidSide;
     toSuccessor.WasUsed  = true;
 }
Exemplo n.º 2
0
        public DialyzingFluid SetDialyzingFluidFlow(DialyzingFluid fromPredecessor)
        {
            IncomingFluidTemperature         = fromPredecessor.Temperature;
            IncomingQuantityOfDialyzingFluid = fromPredecessor.Quantity;
            var toSuccessor = fromPredecessor;

            toSuccessor.Quantity = IncomingSuctionRateOnDialyzingFluidSide;
            toSuccessor.WasUsed  = true;
            return(toSuccessor);
        }
Exemplo n.º 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);
        }