示例#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);
        }