Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Administration/3.4/Views/HiveAppointment.cs @ 6373

Last change on this file since 6373 was 6373, checked in by cneumuel, 13 years ago

#1233

  • moved ExperimentManager into separate plugin
  • moved Administration into separate plugin
File size: 3.4 KB
Line 
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
22using System;
23using System.Drawing;
24using System.Xml.Serialization;
25
26namespace HeuristicLab.Clients.Hive.Administration.Views {
27
28  public class HiveAppointment : Calendar.Appointment {
29    private Guid recurringId = Guid.Empty;
30
31    [XmlIgnore]
32    public bool Changed { get; set; }
33
34    public HiveAppointment()
35      : base() {
36      Changed = false;
37    }
38
39    [XmlIgnore]
40    public int Layer {
41      get { return base.Layer; }
42      set { base.Layer = value; }
43    }
44
45    [XmlIgnore]
46    public string Group {
47      get { return base.Group; }
48      set { base.Group = value; }
49    }
50
51    [XmlAttribute("Locked")]
52    public bool Locked {
53      get { return base.Locked; }
54      set { base.Locked = value; }
55    }
56
57    [XmlIgnore]
58    public Color Color {
59      get { return base.Color; }
60      set { base.Color = value; }
61    }
62
63    [XmlIgnore]
64    public Color TextColor {
65      get { return base.TextColor; }
66      set { base.TextColor = value; }
67    }
68
69    [XmlIgnore]
70    public Color BorderColor {
71      get { return base.BorderColor; }
72      set { base.BorderColor = value; }
73    }
74
75    [XmlIgnore]
76    public bool DrawBorder {
77      get { return base.DrawBorder; }
78      set { base.DrawBorder = value; }
79    }
80
81    [XmlAttribute("AllDayEvent")]
82    public bool AllDayEvent {
83      get { return base.AllDayEvent; }
84      set { base.AllDayEvent = value; Changed = true; }
85    }
86
87    [XmlAttribute("Recurring")]
88    public bool Recurring {
89      get { return base.Recurring; }
90      set { base.Recurring = value; Changed = true; }
91    }
92
93    [XmlAttribute("RecurringId")]
94    public Guid RecurringId {
95      get { return recurringId; }
96      set { recurringId = value; Changed = true; }
97    }
98
99    [XmlAttribute("EndDate")]
100    public DateTime EndDate {
101      get { return base.EndDate; }
102      set { base.EndDate = value; Changed = true; }
103    }
104
105    [XmlAttribute("StartDate")]
106    public DateTime StartDate {
107      get { return base.StartDate; }
108      set { base.StartDate = value; Changed = true; }
109    }
110
111    [XmlIgnore]
112    public int AppointmentId {
113      get { return base.AppointmentId; }
114      set { base.AppointmentId = value; }
115    }
116
117    [XmlElement("Subject")]
118    public string Subject {
119      get { return base.Subject; }
120      set { base.Subject = value; }
121    }
122
123    [XmlIgnore]
124    public string Location {
125      get { return base.Location; }
126      set { base.Location = value; }
127    }
128
129    [XmlIgnore]
130    public string Note {
131      get { return base.Note; }
132      set { base.Note = value; }
133    }
134  }
135}
Note: See TracBrowser for help on using the repository browser.