public CL_GroupVideoQuality(JMMServerBinary.Contract_GroupVideoQuality contract) { this.GroupName = contract.GroupName; this.GroupNameShort = contract.GroupNameShort; this.Ranking = contract.Ranking; this.Resolution = contract.Resolution; this.VideoSource = contract.VideoSource; this.FileCountNormal = contract.FileCountNormal; this.FileCountSpecials = contract.FileCountSpecials; this.NormalComplete = contract.NormalComplete; this.SpecialsComplete = contract.SpecialsComplete; this.NormalEpisodeNumbers = new List <int>(contract.NormalEpisodeNumbers); this.NormalEpisodeNumberSummary = contract.NormalEpisodeNumberSummary; this.VideoBitDepth = contract.VideoBitDepth; }
public GroupVideoQualityVM(JMMServerBinary.Contract_GroupVideoQuality contract) { this.GroupName = contract.GroupName; this.GroupNameShort = contract.GroupNameShort; this.Ranking = contract.Ranking; this.Resolution = contract.Resolution; this.VideoSource = contract.VideoSource; this.FileCountNormal = contract.FileCountNormal; this.FileCountSpecials = contract.FileCountSpecials; this.NormalComplete = contract.NormalComplete; this.SpecialsComplete = contract.SpecialsComplete; this.TotalFileSize = contract.TotalFileSize; this.TotalRunningTime = contract.TotalRunningTime; this.NormalEpisodeNumbers = contract.NormalEpisodeNumbers; this.NormalEpisodeNumberSummary = contract.NormalEpisodeNumberSummary; this.VideoBitDepth = contract.VideoBitDepth; }