Ejemplo n.º 1
0
		public OptionSet(RegularSchedule parent)
		{
			UniqueID = Guid.NewGuid();
			TotalPeriods = 1;
			Programs = new List<OptionProgram>();
			ContractSettings = new ContractSettings();
		}
Ejemplo n.º 2
0
		public Snapshot(RegularSchedule parent)
		{
			UniqueID = Guid.NewGuid();
			Programs = new List<SnapshotProgram>();
			ActiveWeeks = new List<DateRange>();
			ContractSettings = new ContractSettings();
		}
Ejemplo n.º 3
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
		}
Ejemplo n.º 4
0
		public OptionSummary()
		{
			ApplySettingsForAll = false;
			ContractSettings = new ContractSettings();
		}
Ejemplo n.º 5
0
		public SnapshotSummary(RegularSchedule parent)
		{
			ApplySettingsForAll = false;

			ContractSettings = new ContractSettings();
		}