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)); } }
//Отрисовка значений на окне оператора(Panel Info) public void update_showInfo_onPanelInfo() { this.allMassSV.text = "Масса веществ за сутки : " + allDay_Now.getAllMassSV(); this.relationAllSV.text = "% сухих вешеств : " + allDay_Now.getRelationAllSV(); this.Date.text = "Дата : " + allDay_Now.getDateTime().ToString("dd.MM.yyyy"); this.GPA.text = "Ожидаемая мощность генерации, МВт : " + allDay_Now.getGPA(); }
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"); }
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"); }