aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/SynchronizationStatus.cs
blob: 5b1d5d1d26e69a2ec9c2c2df0e20016305de7938 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core;

namespace Tango.PPC.Common.Synchronization
{
    public class SynchronizationStatus : ExtendedObject
    {
        private SynchronizationState _state;
        public SynchronizationState State
        {
            get { return _state; }
            set { _state = value; RaisePropertyChangedAuto(); }
        }

        private String _message;
        public String Message
        {
            get { return _message; }
            set { _message = value; RaisePropertyChangedAuto(); }
        }

        private String _errorReason;
        public String ErrorReason
        {
            get { return _errorReason; }
            set { _errorReason = value; RaisePropertyChangedAuto(); }
        }

        private TimeSpan? _duration;
        public TimeSpan? Duration        
        {
            get { return _duration; }
            set { _duration = value; RaisePropertyChangedAuto(); }
        }

        private DateTime _startDateTime;
        public DateTime StartDateTime
        {
            get { return _startDateTime; }
            set { _startDateTime = value; RaisePropertyChangedAuto(); }
        }
    }
}