Ejemplo n.º 1
0
		protected ScheduleSection(ProgramSchedule parent)
		{
			Parent = parent;
			UniqueID = Guid.NewGuid();
			Index = parent.Sections.Any() ? parent.Sections.Max(s => s.Index) + 1 : 0;
			Programs = new List<Program>();
			Summary = new SectionSummary(this);
			ContractSettings = new ContractSettings();

			#region Options
			ShowTime = true;
			ShowDaypart = true;
			ShowDay = true;
			ShowStation = true;
			ShowProgram = true;
			ShowLenght = false;
			ShowSpots = true;
			ShowEmptySpots = false;
			ShowCost = true;
			ShowLogo = false;

			ShowTotalPeriods = true;
			ShowTotalSpots = true;
			ShowAverageRate = true;
			ShowTotalRate = true;
			ShowNetRate = false;
			ShowDiscount = false;
			#endregion
		}
		public StrategySummaryContent(SectionSummary parent)
		{
			Parent = parent;
			Items = new List<ProgramStrategyItem>();

			ShowStation = true;
			ShowDescription = true;
		}
        public StrategySummaryContent(SectionSummary parent)
        {
            Parent = parent;
            Items  = new List <ProgramStrategyItem>();

            ShowStation     = true;
            ShowDescription = true;
        }
 public ProductSummaryContent(SectionSummary parent)
 {
     Parent = parent;
 }
 public CustomSummaryContent(SectionSummary parent)
 {
     Parent        = parent;
     IsDefaultSate = true;
 }
		public CustomSummaryContent(SectionSummary parent)
		{
			Parent = parent;
			IsDefaultSate = true;
		}
		public ProductSummaryContent(SectionSummary parent)
		{
			Parent = parent;
		}