Exemplo n.º 1
0
    public void  initAllDayForRead(AllDay allDayOrigin)
    {
        allMass = 0;

        //Всего с.в. из загруженных тонн за день и по сменам
        dayMassSV   = allDayOrigin.getDayMassSV();
        nightMassSV = allDayOrigin.getNightMassSV();
        allMassSV   = allDayOrigin.getAllMassSV();

        //Всего воды из за груженных тонн за день и по сменам
        dayMassWater   = allDayOrigin.getDayMassWater();
        nightMassWater = allDayOrigin.getNightMassWater();
        allMassWater   = allDayOrigin.getAllMassWater();

        serovodorodDay   = allDayOrigin.getSerovodorotDay();
        serovodorotNight = allDayOrigin.getSerovodorotNight();

        dateTime = allDayOrigin.getDateTime();


        //relation - отношение,рассчёт отношения массы с.в. и воды
        relationDaySV   = allDayOrigin.getRelationDaySV();
        relationNightSV = allDayOrigin.getRelationNightSV();
        relationAllSV   = allDayOrigin.getRelationAllSV();

        //Метан за сутки
        //allDayMetan = allDayOrigin.Meta;
        GPAvalue = allDayOrigin.getGPA();

        foreach (ProductComputationyInDay prodRead in allDayOrigin.getProductCompInDaysByVisable())
        {
            productCompForReads.AddLast(new ProductCompForRead(prodRead));
        }
    }
Exemplo n.º 2
0
 public AllDayDTO(AllDay allDay)
 {
     this.allMass          = allDay.getAllMass() + "";
     this.dayMassSV        = allDay.getDayMassSV() + "";
     this.nightMassSV      = allDay.getNightMassSV() + "";
     this.allMassSV        = allDay.getAllMassSV() + "";
     this.dayMassWater     = allDay.getDayMassWater() + "";
     this.nightMassWater   = allDay.getNightMassWater() + "";
     this.allMassWater     = allDay.getAllMassWater() + "";
     this.relationDaySV    = allDay.getRelationDaySV() + "";
     this.relationNightSV  = allDay.getRelationNightSV() + "";
     this.relationAllSV    = allDay.getRelationAllSV() + "";
     this.serovodorodDay   = allDay.getSerovodorotDay() + "";
     this.serovodorodNight = allDay.getSerovodorotNight() + "";
     this.GPA  = allDay.getGPA() + "";
     this.date = allDay.getDateTime().ToString("yyyy.MM.dd");
 }
Exemplo n.º 3
0
        public AllDayDtoRead(AllDay allDay_Now)
        {
            this.allMass = allDay_Now.getAllMass();

            this.dayMassSV   = allDay_Now.getDayMassSV();
            this.nightMassSV = allDay_Now.getNightMassSV();
            this.allMassSV   = allDay_Now.getAllMassSV();

            this.dayMassWater   = allDay_Now.getDayMassWater();
            this.nightMassWater = allDay_Now.getNightMassWater();
            this.allMassWater   = allDay_Now.getAllMassWater();

            this.relationDaySV   = allDay_Now.getRelationDaySV();
            this.relationNightSV = allDay_Now.getRelationNightSV();
            this.relationAllSV   = allDay_Now.getRelationAllSV();
            this.allDayMetan     = 0;
            this.GPAvalue        = allDay_Now.getGPA();
            serovodorodDay       = allDay_Now.getSerovodorotDay();
            serovodorotNight     = allDay_Now.getSerovodorotNight();
            this.coefForGPA      = 0;
            this.date            = allDay_Now.getDateTime().ToString("yyyy.MM.dd");
        }