Пример #1
0
        public ProductCompDto(ProductComputationyInDay prodComp)
        {
            nameProduct = prodComp.getNameProduct();



            dayMass = prodComp.getDayMass();

            nightMass = prodComp.getNightMass();

            dayMassSV = prodComp.getDayMassSV();

            nightMassSV = prodComp.getNightMassSV();

            dayMassWater = prodComp.getDayMassWater();

            nightMassWater = prodComp.getNightMassWater();

            metanDay = prodComp.getMetanDay();

            metanNight = prodComp.getMetanNight();
        }
Пример #2
0
        public ProductCompForRead(ProductComputationyInDay productCompOrigin)
        {
            nameProduct = productCompOrigin.getNameProduct();

            dayMassList = productCompOrigin.getDayMassList();

            nightMassList = productCompOrigin.getNightMassList();

            dayMass = productCompOrigin.getDayMass();

            nightMass = productCompOrigin.getNightMass();

            dayMassSV = productCompOrigin.getDayMassSV();

            nightMassSV = productCompOrigin.getNightMassSV();

            dayMassWater = productCompOrigin.getDayMassWater();

            nightMassWater = productCompOrigin.getNightMassWater();

            metanDay = productCompOrigin.getMetanDay();

            metanNight = productCompOrigin.getMetanNight();
        }