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"); }