/// <summary>
        ///     Calculates all values for the incontinence rewet test
        /// </summary>
        /// <param name="incontinencePadTestValue">the test value</param>
        /// <param name="testSheetId">the test sheet id</param>
        /// <returns></returns>
        private IncontinencePadTestValue CalculateInkoRewetValues(IncontinencePadTestValue incontinencePadTestValue,
                                                                  Int32 testSheetId)
        {
            var testSheet       = TestBll.GetTestSheetInfo(testSheetId);
            var productionOrder = TestBll.GetProductionOrder(testSheet.FaNr);

            incontinencePadTestValue.RewetFreeDifference = incontinencePadTestValue.RewetFreeWetValue - incontinencePadTestValue.RewetFreeDryValue;
            incontinencePadTestValue.RewetFreeRw         = GetRewetFreeRwType(incontinencePadTestValue.RewetFreeDifference, productionOrder);
            return(incontinencePadTestValue);
        }
Esempio n. 2
0
        /// <summary>
        ///     Calculates all values for the incontinence rewet test
        /// </summary>
        /// <param name="incontinencePadTestValue">the test value</param>
        /// <param name="testSheetId">the test sheet id</param>
        /// <returns></returns>
        private IncontinencePadTestValue CalculateInkoRetentionValues(IncontinencePadTestValue incontinencePadTestValue,
                                                                      Int32 testSheetId)
        {
            var testSheet       = TestBll.GetTestSheetInfo(testSheetId);
            var productionOrder = TestBll.GetProductionOrder(testSheet.FaNr);

            incontinencePadTestValue.RetentionAbsorbtion = incontinencePadTestValue.RetentionWetValue - incontinencePadTestValue.RetentionWeight;
            incontinencePadTestValue.RetentionEndValue   = incontinencePadTestValue.RetentionAfterZentrifuge - incontinencePadTestValue.RetentionWeight;
            incontinencePadTestValue.RetentionRw         = GetRetentionRwType(incontinencePadTestValue.RetentionEndValue, productionOrder);
            return(incontinencePadTestValue);
        }
Esempio n. 3
0
        /// <summary>
        ///     Calculates all values for the baby diaper rewet test
        /// </summary>
        /// <param name="babyDiaperTestValue">the test value</param>
        /// <param name="testSheetId">the test sheet id</param>
        /// <returns></returns>
        private BabyDiaperTestValue CalculateBabyDiaperRewetValues(BabyDiaperTestValue babyDiaperTestValue,
                                                                   Int32 testSheetId)
        {
            var testSheet       = TestBll.GetTestSheetInfo(testSheetId);
            var productionOrder = TestBll.GetProductionOrder(testSheet.FaNr);

            babyDiaperTestValue.Rewet140Rw        = GetRewet140RwType(babyDiaperTestValue.Rewet140Value, productionOrder);
            babyDiaperTestValue.Rewet210Rw        = GetRewet210RwType(babyDiaperTestValue.Rewet210Value, productionOrder);
            babyDiaperTestValue.PenetrationRwType = GetPenetrationRwType(babyDiaperTestValue.PenetrationTimeAdditionFourth, productionOrder);
            return(babyDiaperTestValue);
        }
        /// <summary>
        ///     Calculates all values for the incontinence acquisition test
        /// </summary>
        /// <param name="incontinencePadTestValue">the test value</param>
        /// <param name="testSheetId">the test sheet id</param>
        /// <returns></returns>
        private IncontinencePadTestValue CalculateInkoAquisitionValues(IncontinencePadTestValue incontinencePadTestValue,
                                                                       Int32 testSheetId)
        {
            var testSheet       = TestBll.GetTestSheetInfo(testSheetId);
            var productionOrder = TestBll.GetProductionOrder(testSheet.FaNr);

            incontinencePadTestValue.AcquisitionTimeFirstRw  = GetMaxRw(incontinencePadTestValue.AcquisitionTimeFirst, productionOrder.Article.MaxHyTec1);
            incontinencePadTestValue.AcquisitionTimeSecondRw = GetMaxRw(incontinencePadTestValue.AcquisitionTimeSecond, productionOrder.Article.MaxHyTec2);
            incontinencePadTestValue.AcquisitionTimeThirdRw  = GetMaxRw(incontinencePadTestValue.AcquisitionTimeThird, productionOrder.Article.MaxHyTec3);

            incontinencePadTestValue.RewetAfterAcquisitionTimeWeightDifference = incontinencePadTestValue.RewetAfterAcquisitionTimeWetWeight
                                                                                 - incontinencePadTestValue.RewetAfterAcquisitionTimeDryWeight;
            incontinencePadTestValue.RewetAfterAcquisitionTimeRw = GetMaxRw(incontinencePadTestValue.RewetAfterAcquisitionTimeWeightDifference,
                                                                            productionOrder.Article.MaxInkoRewetAfterAquisition);
            return(incontinencePadTestValue);
        }
Esempio n. 5
0
        private void UpdateInkoRetentionAvg(TestSheet testSheet, TestValue retentionTestAvg)
        {
            var productionOrder = TestBll.GetProductionOrder(testSheet.FaNr);
            var tempInko        = new IncontinencePadTestValue {
                RetentionRw = RwType.Ok
            };
            var counter = 0;

            foreach (
                var testValue in
                testSheet.TestValues.Where(
                    testValue =>
                    (testValue.TestValueType == TestValueType.Single) &&
                    (testValue.IncontinencePadTestValue.TestType == TestTypeIncontinencePad.Retention))
                )
            {
                tempInko.RetentionWeight          += testValue.IncontinencePadTestValue.RetentionWeight;
                tempInko.RetentionWetValue        += testValue.IncontinencePadTestValue.RetentionWetValue;
                tempInko.RetentionAfterZentrifuge += testValue.IncontinencePadTestValue.RetentionAfterZentrifuge;
                tempInko.RetentionAbsorbtion      += testValue.IncontinencePadTestValue.RetentionAbsorbtion;
                tempInko.RetentionEndValue        += testValue.IncontinencePadTestValue.RetentionEndValue;
                if (testValue.IncontinencePadTestValue.RetentionRw == RwType.Worse)
                {
                    tempInko.RetentionRw = RwType.SomethingWorse;
                }
                counter++;
            }
            if (counter == 0)
            {
                counter = 1;
            }
            retentionTestAvg.IncontinencePadTestValue.RetentionWeight          = tempInko.RetentionWeight / counter;
            retentionTestAvg.IncontinencePadTestValue.RetentionWetValue        = tempInko.RetentionWetValue / counter;
            retentionTestAvg.IncontinencePadTestValue.RetentionAfterZentrifuge = tempInko.RetentionAfterZentrifuge / counter;
            retentionTestAvg.IncontinencePadTestValue.RetentionAbsorbtion      = tempInko.RetentionAbsorbtion / counter;
            retentionTestAvg.IncontinencePadTestValue.RetentionEndValue        = tempInko.RetentionEndValue / counter;
            if ((GetRetentionRwType(retentionTestAvg.IncontinencePadTestValue.RetentionEndValue, productionOrder) == RwType.Worse) && (tempInko.RetentionRw != RwType.Ok))
            {
                tempInko.RetentionRw = RwType.Worse;
            }
            retentionTestAvg.IncontinencePadTestValue.RetentionRw = tempInko.RetentionRw;
        }
Esempio n. 6
0
        private void UpdatePenetrationAvg(TestSheet testSheet, TestValue penetrationTestAvg)
        {
            var productionOrder = TestBll.GetProductionOrder(testSheet.FaNr);
            var tempBabyDiaper  = new BabyDiaperTestValue {
                PenetrationRwType = RwType.Ok
            };
            var counter = 0;

            foreach (
                var testValue in
                testSheet.TestValues.Where(
                    testValue =>
                    (testValue.TestValueType == TestValueType.Single) && (testValue.BabyDiaperTestValue.TestType == TestTypeBabyDiaper.RewetAndPenetrationTime))
                )
            {
                tempBabyDiaper.WeightDiaperDry += testValue.BabyDiaperTestValue.WeightDiaperDry;
                tempBabyDiaper.PenetrationTimeAdditionFirst  += testValue.BabyDiaperTestValue.PenetrationTimeAdditionFirst;
                tempBabyDiaper.PenetrationTimeAdditionSecond += testValue.BabyDiaperTestValue.PenetrationTimeAdditionSecond;
                tempBabyDiaper.PenetrationTimeAdditionThird  += testValue.BabyDiaperTestValue.PenetrationTimeAdditionThird;
                tempBabyDiaper.PenetrationTimeAdditionFourth += testValue.BabyDiaperTestValue.PenetrationTimeAdditionFourth;
                if (testValue.BabyDiaperTestValue.PenetrationRwType == RwType.Worse)
                {
                    tempBabyDiaper.PenetrationRwType = RwType.SomethingWorse;
                }
                counter++;
            }
            if (counter == 0)
            {
                counter = 1;
            }
            penetrationTestAvg.BabyDiaperTestValue.WeightDiaperDry = tempBabyDiaper.WeightDiaperDry / counter;
            penetrationTestAvg.BabyDiaperTestValue.PenetrationTimeAdditionFirst  = tempBabyDiaper.PenetrationTimeAdditionFirst / counter;
            penetrationTestAvg.BabyDiaperTestValue.PenetrationTimeAdditionSecond = tempBabyDiaper.PenetrationTimeAdditionSecond / counter;
            penetrationTestAvg.BabyDiaperTestValue.PenetrationTimeAdditionThird  = tempBabyDiaper.PenetrationTimeAdditionThird / counter;
            penetrationTestAvg.BabyDiaperTestValue.PenetrationTimeAdditionFourth = tempBabyDiaper.PenetrationTimeAdditionFourth / counter;
            if (GetPenetrationRwType(penetrationTestAvg.BabyDiaperTestValue.PenetrationTimeAdditionFourth, productionOrder) == RwType.Worse)
            {
                tempBabyDiaper.PenetrationRwType = RwType.Worse;
            }
            penetrationTestAvg.BabyDiaperTestValue.PenetrationRwType = tempBabyDiaper.PenetrationRwType;
        }
        private void UpdateRetentionAvg(TestSheet testSheet, TestValue retentionTestAvg)
        {
            var productionOrder = TestBll.GetProductionOrder(testSheet.FaNr);
            var tempBabyDiaper  = new BabyDiaperTestValue {
                RetentionRw = RwType.Ok
            };
            var counter = 0;

            foreach (
                var testValue in
                testSheet.TestValues.Where(
                    testValue => (testValue.TestValueType == TestValueType.Single) && (testValue.BabyDiaperTestValue.TestType == TestTypeBabyDiaper.Retention))
                )
            {
                tempBabyDiaper.WeightDiaperDry                 += testValue.BabyDiaperTestValue.WeightDiaperDry;
                tempBabyDiaper.RetentionWetWeight              += testValue.BabyDiaperTestValue.RetentionWetWeight;
                tempBabyDiaper.RetentionAfterZentrifugeValue   += testValue.BabyDiaperTestValue.RetentionAfterZentrifugeValue;
                tempBabyDiaper.RetentionAfterZentrifugePercent += testValue.BabyDiaperTestValue.RetentionAfterZentrifugePercent;
                if (testValue.BabyDiaperTestValue.RetentionRw == RwType.Worse)
                {
                    tempBabyDiaper.RetentionRw = RwType.SomethingWorse;
                }
                tempBabyDiaper.SapGHoewiValue += testValue.BabyDiaperTestValue.SapGHoewiValue;
                counter++;
            }
            if (counter == 0)
            {
                counter = 1;
            }
            retentionTestAvg.BabyDiaperTestValue.WeightDiaperDry                 = tempBabyDiaper.WeightDiaperDry / counter;
            retentionTestAvg.BabyDiaperTestValue.RetentionWetWeight              = tempBabyDiaper.RetentionWetWeight / counter;
            retentionTestAvg.BabyDiaperTestValue.RetentionAfterZentrifugeValue   = tempBabyDiaper.RetentionAfterZentrifugeValue / counter;
            retentionTestAvg.BabyDiaperTestValue.RetentionAfterZentrifugePercent = tempBabyDiaper.RetentionAfterZentrifugePercent / counter;
            if ((GetRetentionRwType(retentionTestAvg.BabyDiaperTestValue.RetentionAfterZentrifugeValue, productionOrder) == RwType.Worse) &&
                (tempBabyDiaper.RetentionRw != RwType.Ok))
            {
                tempBabyDiaper.RetentionRw = RwType.Worse;
            }
            retentionTestAvg.BabyDiaperTestValue.RetentionRw    = tempBabyDiaper.RetentionRw;
            retentionTestAvg.BabyDiaperTestValue.SapGHoewiValue = tempBabyDiaper.SapGHoewiValue / counter;
        }
        /// <summary>
        ///     Calculates all values for the baby diaper retention test
        /// </summary>
        /// <param name="babyDiaperTestValue">the test value</param>
        /// <param name="testSheetId">the test sheet id</param>
        /// <returns></returns>
        private BabyDiaperTestValue CalculateBabyDiaperRetentionValues(BabyDiaperTestValue babyDiaperTestValue,
                                                                       Int32 testSheetId)
        {
            var testSheet       = TestBll.GetTestSheetInfo(testSheetId);
            var productionOrder = TestBll.GetProductionOrder(testSheet.FaNr);

            babyDiaperTestValue.RetentionAfterZentrifugeValue = babyDiaperTestValue.RetentionWetWeight -
                                                                babyDiaperTestValue.WeightDiaperDry;
            if (Math.Abs(babyDiaperTestValue.WeightDiaperDry) > 0.1)
            {
                babyDiaperTestValue.RetentionAfterZentrifugePercent = (babyDiaperTestValue.RetentionWetWeight -
                                                                       babyDiaperTestValue.WeightDiaperDry) * 100.0 /
                                                                      babyDiaperTestValue.WeightDiaperDry;
            }
            babyDiaperTestValue.RetentionRw    = GetRetentionRwType(babyDiaperTestValue.RetentionAfterZentrifugeValue, productionOrder);
            babyDiaperTestValue.SapType        = testSheet.SAPType;
            babyDiaperTestValue.SapNr          = testSheet.SAPNr;
            babyDiaperTestValue.SapGHoewiValue = (babyDiaperTestValue.RetentionWetWeight - babyDiaperTestValue.WeightDiaperDry - productionOrder.Component.PillowRetentWithoutSAP)
                                                 / productionOrder.Component.SAP;
            return(babyDiaperTestValue);
        }
        private void UpdateInkoRewetAvg(TestSheet testSheet, TestValue rewetTestAvg)
        {
            var productionOrder = TestBll.GetProductionOrder(testSheet.FaNr);
            var tempInko        = new IncontinencePadTestValue {
                RewetFreeRw = RwType.Ok
            };
            var counter = 0;

            foreach (
                var testValue in
                testSheet.TestValues.Where(
                    testValue =>
                    (testValue.TestValueType == TestValueType.Single) &&
                    (testValue.IncontinencePadTestValue.TestType == TestTypeIncontinencePad.RewetFree))
                )
            {
                tempInko.RewetFreeDryValue   += testValue.IncontinencePadTestValue.RewetFreeDryValue;
                tempInko.RewetFreeWetValue   += testValue.IncontinencePadTestValue.RewetFreeWetValue;
                tempInko.RewetFreeDifference += testValue.IncontinencePadTestValue.RewetFreeDifference;
                if (testValue.IncontinencePadTestValue.RewetFreeRw == RwType.Worse)
                {
                    tempInko.RewetFreeRw = RwType.SomethingWorse;
                }
                counter++;
            }
            if (counter == 0)
            {
                counter = 1;
            }
            rewetTestAvg.IncontinencePadTestValue.RewetFreeDryValue   = tempInko.RewetFreeDryValue / counter;
            rewetTestAvg.IncontinencePadTestValue.RewetFreeWetValue   = tempInko.RewetFreeWetValue / counter;
            rewetTestAvg.IncontinencePadTestValue.RewetFreeDifference = tempInko.RewetFreeDifference / counter;
            if (GetRewetFreeRwType(rewetTestAvg.IncontinencePadTestValue.RewetFreeDifference, productionOrder) == RwType.Worse)
            {
                tempInko.RewetFreeRw = RwType.Worse;
            }
            rewetTestAvg.IncontinencePadTestValue.RewetFreeRw = tempInko.RewetFreeRw;
        }
        private void UpdateInkoAquisitionAvg(TestSheet testSheet, TestValue aquisitionTestAvg)
        {
            var productionOrder = TestBll.GetProductionOrder(testSheet.FaNr);
            var tempInko        = new IncontinencePadTestValue {
                RewetFreeRw = RwType.Ok
            };
            var counter = 0;

            foreach (
                var testValue in
                testSheet.TestValues.Where(
                    testValue =>
                    (testValue.TestValueType == TestValueType.Single) &&
                    (testValue.IncontinencePadTestValue.TestType == TestTypeIncontinencePad.AcquisitionTimeAndRewet))
                )
            {
                tempInko.AcquisitionTimeFirst  += testValue.IncontinencePadTestValue.AcquisitionTimeFirst;
                tempInko.AcquisitionTimeSecond += testValue.IncontinencePadTestValue.AcquisitionTimeSecond;
                tempInko.AcquisitionTimeThird  += testValue.IncontinencePadTestValue.AcquisitionTimeThird;
                tempInko.AcquisitionWeight     += testValue.IncontinencePadTestValue.AcquisitionWeight;

                tempInko.RewetAfterAcquisitionTimeDryWeight        += testValue.IncontinencePadTestValue.RewetAfterAcquisitionTimeDryWeight;
                tempInko.RewetAfterAcquisitionTimeWetWeight        += testValue.IncontinencePadTestValue.RewetAfterAcquisitionTimeWetWeight;
                tempInko.RewetAfterAcquisitionTimeWeightDifference += testValue.IncontinencePadTestValue.RewetAfterAcquisitionTimeWeightDifference;
                if (testValue.IncontinencePadTestValue.AcquisitionTimeFirstRw == RwType.Worse)
                {
                    tempInko.AcquisitionTimeFirstRw = RwType.SomethingWorse;
                }
                if (testValue.IncontinencePadTestValue.AcquisitionTimeSecondRw == RwType.Worse)
                {
                    tempInko.AcquisitionTimeSecondRw = RwType.SomethingWorse;
                }
                if (testValue.IncontinencePadTestValue.AcquisitionTimeThirdRw == RwType.Worse)
                {
                    tempInko.AcquisitionTimeThirdRw = RwType.SomethingWorse;
                }
                if (testValue.IncontinencePadTestValue.RewetAfterAcquisitionTimeRw == RwType.Worse)
                {
                    tempInko.RewetAfterAcquisitionTimeRw = RwType.SomethingWorse;
                }
                counter++;
            }
            if (counter == 0)
            {
                counter = 1;
            }
            aquisitionTestAvg.IncontinencePadTestValue.AcquisitionTimeFirst  = tempInko.AcquisitionTimeFirst / counter;
            aquisitionTestAvg.IncontinencePadTestValue.AcquisitionTimeSecond = tempInko.AcquisitionTimeSecond / counter;
            aquisitionTestAvg.IncontinencePadTestValue.AcquisitionTimeThird  = tempInko.AcquisitionTimeThird / counter;
            aquisitionTestAvg.IncontinencePadTestValue.AcquisitionWeight     = tempInko.AcquisitionWeight / counter;
            aquisitionTestAvg.IncontinencePadTestValue.RewetAfterAcquisitionTimeDryWeight        = tempInko.RewetAfterAcquisitionTimeDryWeight / counter;
            aquisitionTestAvg.IncontinencePadTestValue.RewetAfterAcquisitionTimeWetWeight        = tempInko.RewetAfterAcquisitionTimeWetWeight / counter;
            aquisitionTestAvg.IncontinencePadTestValue.RewetAfterAcquisitionTimeWeightDifference = tempInko.RewetAfterAcquisitionTimeWeightDifference / counter;

            if (GetMaxRw(aquisitionTestAvg.IncontinencePadTestValue.AcquisitionTimeFirst, productionOrder.Article.MaxHyTec1) == RwType.Worse)
            {
                tempInko.AcquisitionTimeFirstRw = RwType.Worse;
            }
            aquisitionTestAvg.IncontinencePadTestValue.AcquisitionTimeFirstRw = tempInko.AcquisitionTimeFirstRw;

            if (GetMaxRw(aquisitionTestAvg.IncontinencePadTestValue.AcquisitionTimeSecond, productionOrder.Article.MaxHyTec2) == RwType.Worse)
            {
                tempInko.AcquisitionTimeSecondRw = RwType.Worse;
            }
            aquisitionTestAvg.IncontinencePadTestValue.AcquisitionTimeSecondRw = tempInko.AcquisitionTimeSecondRw;

            if (GetMaxRw(aquisitionTestAvg.IncontinencePadTestValue.AcquisitionTimeThird, productionOrder.Article.MaxHyTec3) == RwType.Worse)
            {
                tempInko.AcquisitionTimeThirdRw = RwType.Worse;
            }
            aquisitionTestAvg.IncontinencePadTestValue.AcquisitionTimeThirdRw = tempInko.AcquisitionTimeThirdRw;

            if (GetMaxRw(aquisitionTestAvg.IncontinencePadTestValue.RewetAfterAcquisitionTimeWeightDifference, productionOrder.Article.MaxInkoRewetAfterAquisition)
                == RwType.Worse)
            {
                tempInko.RewetAfterAcquisitionTimeRw = RwType.Worse;
            }
            aquisitionTestAvg.IncontinencePadTestValue.RewetAfterAcquisitionTimeRw = tempInko.RewetAfterAcquisitionTimeRw;
        }
Esempio n. 11
0
        private void UpdateRewetAvg(TestSheet testSheet, TestValue rewetTestAvg)
        {
            var productionOrder = TestBll.GetProductionOrder(testSheet.FaNr);
            var tempBabyDiaper  = new BabyDiaperTestValue {
                Rewet140Rw = RwType.Ok, Rewet210Rw = RwType.Ok
            };
            var counter = 0;

            foreach (
                var testValue in
                testSheet.TestValues.Where(
                    testValue =>
                    (testValue.TestValueType == TestValueType.Single) &&
                    ((testValue.BabyDiaperTestValue.TestType == TestTypeBabyDiaper.Rewet) ||
                     (testValue.BabyDiaperTestValue.TestType == TestTypeBabyDiaper.RewetAndPenetrationTime)))
                )
            {
                tempBabyDiaper.WeightDiaperDry               += testValue.BabyDiaperTestValue.WeightDiaperDry;
                tempBabyDiaper.Rewet140Value                 += testValue.BabyDiaperTestValue.Rewet140Value;
                tempBabyDiaper.Rewet210Value                 += testValue.BabyDiaperTestValue.Rewet210Value;
                tempBabyDiaper.StrikeTroughValue             += testValue.BabyDiaperTestValue.StrikeTroughValue;
                tempBabyDiaper.DistributionOfTheStrikeTrough += testValue.BabyDiaperTestValue.DistributionOfTheStrikeTrough;
                if (testValue.BabyDiaperTestValue.Rewet140Rw == RwType.Worse)
                {
                    tempBabyDiaper.Rewet140Rw = RwType.SomethingWorse;
                }
                if (testValue.BabyDiaperTestValue.Rewet210Rw == RwType.Worse)
                {
                    tempBabyDiaper.Rewet210Rw = RwType.SomethingWorse;
                }
                if (testValue.BabyDiaperTestValue.PenetrationRwType == RwType.Worse)
                {
                    tempBabyDiaper.PenetrationRwType = RwType.SomethingWorse;
                }
                counter++;
            }
            if (counter == 0)
            {
                counter = 1;
            }
            rewetTestAvg.BabyDiaperTestValue.WeightDiaperDry               = tempBabyDiaper.WeightDiaperDry / counter;
            rewetTestAvg.BabyDiaperTestValue.Rewet140Value                 = tempBabyDiaper.Rewet140Value / counter;
            rewetTestAvg.BabyDiaperTestValue.Rewet210Value                 = tempBabyDiaper.Rewet210Value / counter;
            rewetTestAvg.BabyDiaperTestValue.StrikeTroughValue             = tempBabyDiaper.StrikeTroughValue / counter;
            rewetTestAvg.BabyDiaperTestValue.DistributionOfTheStrikeTrough = tempBabyDiaper.DistributionOfTheStrikeTrough / counter;
            if (GetRewet140RwType(rewetTestAvg.BabyDiaperTestValue.Rewet140Value, productionOrder) == RwType.Worse)
            {
                tempBabyDiaper.Rewet140Rw = RwType.Worse;
            }
            if (GetRewet210RwType(rewetTestAvg.BabyDiaperTestValue.Rewet210Value, productionOrder) == RwType.Worse)
            {
                tempBabyDiaper.Rewet210Rw = RwType.Worse;
            }
            if (GetPenetrationRwType(rewetTestAvg.BabyDiaperTestValue.PenetrationTimeAdditionFourth, productionOrder) == RwType.Worse)
            {
                tempBabyDiaper.PenetrationRwType = RwType.Worse;
            }

            rewetTestAvg.BabyDiaperTestValue.Rewet140Rw        = tempBabyDiaper.Rewet140Rw;
            rewetTestAvg.BabyDiaperTestValue.Rewet210Rw        = tempBabyDiaper.Rewet210Rw;
            rewetTestAvg.BabyDiaperTestValue.PenetrationRwType = tempBabyDiaper.PenetrationRwType;
        }