1 | #region License Information
|
---|
2 | /* HeuristicLab
|
---|
3 | * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
|
---|
4 | *
|
---|
5 | * This file is part of HeuristicLab.
|
---|
6 | *
|
---|
7 | * HeuristicLab is free software: you can redistribute it and/or modify
|
---|
8 | * it under the terms of the GNU General Public License as published by
|
---|
9 | * the Free Software Foundation, either version 3 of the License, or
|
---|
10 | * (at your option) any later version.
|
---|
11 | *
|
---|
12 | * HeuristicLab is distributed in the hope that it will be useful,
|
---|
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
15 | * GNU General Public License for more details.
|
---|
16 | *
|
---|
17 | * You should have received a copy of the GNU General Public License
|
---|
18 | * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
|
---|
19 | */
|
---|
20 | #endregion
|
---|
21 |
|
---|
22 | using System;
|
---|
23 | using System.Drawing;
|
---|
24 | using System.Xml.Serialization;
|
---|
25 | using Calendar;
|
---|
26 |
|
---|
27 | namespace HeuristicLab.Clients.Hive.Views.Administration {
|
---|
28 |
|
---|
29 | public class HiveAppointment : Appointment {
|
---|
30 | private Guid recurringId = Guid.Empty;
|
---|
31 |
|
---|
32 | [XmlIgnore]
|
---|
33 | public int Layer {
|
---|
34 | get { return base.Layer; }
|
---|
35 | set { base.Layer = value; }
|
---|
36 | }
|
---|
37 |
|
---|
38 | [XmlIgnore]
|
---|
39 | public string Group {
|
---|
40 | get { return base.Group; }
|
---|
41 | set { base.Group = value; }
|
---|
42 | }
|
---|
43 |
|
---|
44 | [XmlAttribute("Locked")]
|
---|
45 | public bool Locked {
|
---|
46 | get { return base.Locked; }
|
---|
47 | set { base.Locked = value; }
|
---|
48 | }
|
---|
49 |
|
---|
50 | [XmlIgnore]
|
---|
51 | public Color Color {
|
---|
52 | get { return base.Color; }
|
---|
53 | set { base.Color = value; }
|
---|
54 | }
|
---|
55 |
|
---|
56 | [XmlIgnore]
|
---|
57 | public Color TextColor {
|
---|
58 | get { return base.TextColor; }
|
---|
59 | set { base.TextColor = value; }
|
---|
60 | }
|
---|
61 |
|
---|
62 | [XmlIgnore]
|
---|
63 | public Color BorderColor {
|
---|
64 | get { return base.BorderColor; }
|
---|
65 | set { base.BorderColor = value; }
|
---|
66 | }
|
---|
67 |
|
---|
68 | [XmlIgnore]
|
---|
69 | public bool DrawBorder {
|
---|
70 | get { return base.DrawBorder; }
|
---|
71 | set { base.DrawBorder = value; }
|
---|
72 | }
|
---|
73 |
|
---|
74 | [XmlAttribute("AllDayEvent")]
|
---|
75 | public bool AllDayEvent {
|
---|
76 | get { return base.AllDayEvent; }
|
---|
77 | set { base.AllDayEvent = value; }
|
---|
78 | }
|
---|
79 |
|
---|
80 | [XmlAttribute("Recurring")]
|
---|
81 | public bool Recurring {
|
---|
82 | get { return base.Recurring; }
|
---|
83 | set { base.Recurring = value; }
|
---|
84 | }
|
---|
85 |
|
---|
86 | [XmlAttribute("RecurringId")]
|
---|
87 | public Guid RecurringId {
|
---|
88 | get { return recurringId; }
|
---|
89 | set { recurringId = value; }
|
---|
90 | }
|
---|
91 |
|
---|
92 | [XmlAttribute("EndDate")]
|
---|
93 | public DateTime EndDate {
|
---|
94 | get { return base.EndDate; }
|
---|
95 | set { base.EndDate = value; }
|
---|
96 | }
|
---|
97 |
|
---|
98 | [XmlIgnore]
|
---|
99 | public int AppointmentId {
|
---|
100 | get { return base.AppointmentId; }
|
---|
101 | set { base.AppointmentId = value; }
|
---|
102 | }
|
---|
103 |
|
---|
104 | [XmlElement("Subject")]
|
---|
105 | public string Subject {
|
---|
106 | get { return base.Subject; }
|
---|
107 | set { base.Subject = value; }
|
---|
108 | }
|
---|
109 |
|
---|
110 | [XmlIgnore]
|
---|
111 | public string Location {
|
---|
112 | get { return base.Location; }
|
---|
113 | set { base.Location = value; }
|
---|
114 | }
|
---|
115 |
|
---|
116 | [XmlIgnore]
|
---|
117 | public string Note {
|
---|
118 | get { return base.Note; }
|
---|
119 | set { base.Note = value; }
|
---|
120 | }
|
---|
121 | }
|
---|
122 | }
|
---|