1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using System;
- using Comal.Classes;
- using InABox.Configuration;
- namespace PRSDesktop
- {
- public class CalendarSettings : IUserConfigurationSettings, IDashboardProperties
- {
-
- public CalendarViewType CalendarView { get; set; }
- public DateTime Date { get; set; }
-
- public EmployeeSelectorSettings EmployeeSelector { get; set; }
-
- public CalendarAssignmentType AssignmentType { get; set; }
- public CalendarBackgroundType BackgroundType { get; set; }
- public int StartHour { get; set; }
- public int EndHour { get; set; }
- public double Zoom { get; set; }
- public CalendarTimeInterval TimeInterval { get; set; }
- public CalendarSettingsVisibility SettingsVisible { get; set; }
-
- public EmployeeSelectorData EmployeeSelection { get; set; }
- public CalendarSettings()
- {
- Date = DateTime.Today;
- CalendarView = CalendarViewType.Day;
- EmployeeSelector = new EmployeeSelectorSettings();
- EmployeeSelection = new EmployeeSelectorData();
- AssignmentType = CalendarAssignmentType.Booked;
- BackgroundType = CalendarBackgroundType.Roster;
- StartHour = 5;
- EndHour = 18;
- Zoom = 100;
- SettingsVisible = CalendarSettingsVisibility.Hidden;
- }
-
- }
- }
|