Files
BeWoPlaner/BeWo/Scheduler/SchedulerSettings.cs
Lyndon 68925d074f Kalender: Rechteprüfung überarbeitet. Aufgaben in den Kalender integriert.
Verwaltung: Notizen bei den Maßnahmen hinzugefügt
2019-02-28 12:38:29 +01:00

47 lines
1.3 KiB
C#

using System;
using BS.Shared;
namespace BeWo.Scheduler
{
public class SchedulerSettings
{
public SchedulerSettings(AppointmentKind kind, AppointmentViewType viewType)
{
Kind = kind;
ViewType = viewType;
DayViewCount = 1;
TimelineIntervalCount = 31;
GroupByResource = false;
TimelineResourceCount = 1;
StartDate = DateTime.Now;
AllowEdit = true;
AllowDelete = true;
AllowCreateNew = true;
AllowChangeResource = false;
}
public bool AllowEdit { get; set; }
public bool AllowCreateNew { get; set; }
public bool AllowDelete { get; set; }
public bool AllowChangeResource { get; set; }
public DateTime StartDate { get; set; }
public AppointmentKind Kind { get; set; }
public AppointmentViewType ViewType { get; set; }
public int DayViewCount { get; set; }
public int TimelineIntervalCount { get; set; }
public bool GroupByResource { get; set; }
public int TimelineResourceCount { get; set; }
}
}