public EngineeringSpecialtyInfo(EngineeringProductionInfo info) : this() { if (info.Specialty != null) { this.ID = info.Specialty.ID; this.EngineeringID = info.Specialty.EngineeringID; this.SpecialtyID = info.Specialty.SpecialtyID; this.Manager = info.Specialty.Manager; this.StartDate = info.Specialty.StartDate; this.EndDate = info.Specialty.EndDate; this.FinishDate = info.Specialty.FinishDate; this.Note = info.Specialty.Note; this.ProcessModel = info.Specialty.ProcessModel; this.IsDone = info.Specialty.IsDone; } }
public EngineeringVolumeInfo(EngineeringProductionInfo Info) : this() { if (Info.Volume != null) { this.ID = Info.Volume.ID; this.EngineeringID = Info.Volume.EngineeringID; this.SpecialtyID = Info.Volume.SpecialtyID; this.Number = Info.Volume.Number; this.Name = Info.Volume.Name; this.Designer = Info.Volume.Designer; this.Checker = Info.Volume.Checker; this.StartDate = Info.Volume.StartDate; this.EndDate = Info.Volume.EndDate; this.FinishDate = Info.Volume.FinishDate; this.Note = Info.Volume.Note; this.IsDone = Info.Volume.IsDone; } this.Engineering = Info.Engineering; this.Project = Info.Project; this.Specialty = Info.Specialty; }