[9016] | 1 | #region License Information
|
---|
| 2 | /* HeuristicLab
|
---|
[17209] | 3 | * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL)
|
---|
[9016] | 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 |
|
---|
| 24 | namespace HeuristicLab.Clients.Hive.Administrator.Views {
|
---|
| 25 | public class HiveDowntime : Calendar.Appointment {
|
---|
| 26 | private Guid recurringId = Guid.Empty;
|
---|
| 27 |
|
---|
| 28 | public HiveDowntime()
|
---|
| 29 | : base() {
|
---|
| 30 | Changed = false;
|
---|
| 31 | }
|
---|
| 32 |
|
---|
| 33 | public bool Changed { get; set; }
|
---|
| 34 |
|
---|
| 35 | public new bool AllDayEvent {
|
---|
| 36 | get { return base.AllDayEvent; }
|
---|
| 37 | set { base.AllDayEvent = value; Changed = true; }
|
---|
| 38 | }
|
---|
| 39 |
|
---|
| 40 | public new bool Recurring {
|
---|
| 41 | get { return base.Recurring; }
|
---|
| 42 | set { base.Recurring = value; Changed = true; }
|
---|
| 43 | }
|
---|
| 44 |
|
---|
| 45 | public Guid RecurringId {
|
---|
| 46 | get { return recurringId; }
|
---|
| 47 | set { recurringId = value; Changed = true; }
|
---|
| 48 | }
|
---|
| 49 |
|
---|
| 50 | public new DateTime EndDate {
|
---|
| 51 | get { return base.EndDate; }
|
---|
| 52 | set { base.EndDate = value; Changed = true; }
|
---|
| 53 | }
|
---|
| 54 |
|
---|
| 55 | public new DateTime StartDate {
|
---|
| 56 | get { return base.StartDate; }
|
---|
| 57 | set { base.StartDate = value; Changed = true; }
|
---|
| 58 | }
|
---|
| 59 |
|
---|
| 60 | public bool Deleted { get; set; }
|
---|
| 61 |
|
---|
| 62 | public Guid Id { get; set; }
|
---|
| 63 | }
|
---|
| 64 | }
|
---|