aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/BackupRestore/RestoreSettings.cs
blob: a5b3433027d4c80e8522e736c06c7b22b6b7ea95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core;

namespace Tango.PPC.Common.BackupRestore
{
    public class RestoreSettings : ExtendedObject
    {
        private bool _allowDeleteJobs;
        public bool AllowDeleteJobs
        {
            get { return _allowDeleteJobs; }
            set { _allowDeleteJobs = value; RaisePropertyChangedAuto(); }
        }

        private bool _overwriteExistingJobs;
        public bool OverwriteExistingJobs
        {
            get { return _overwriteExistingJobs; }
            set { _overwriteExistingJobs = value; RaisePropertyChangedAuto(); }
        }

        public RestoreSettings()
        {
            OverwriteExistingJobs = true;
        }
    }
}