aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/IMachineDataSynchronizer.cs
blob: bfd527a053977ba68694a3051d86e911c2cf5a53 (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
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 interface IMachineDataSynchronizer
    {
        event EventHandler SynchronizationStarted;
        event EventHandler<SynchronizationEndedEventArgs> SynchronizationEnded;
        event EventHandler<SynchronizationStatusChangedEventArgs> CurrentStatusChanged;
        int MaxJobs { get; set; }
        int MaxJobRuns { get; set; }
        int MaxMachinesEvents
pan class="n">SynchronizationStatus CurrentStatus { get; } SynchronizationStatus LastStatus { get; } SynchronizedObservableCollection<SynchronizationStatus> StatusHistory { get; } TimeSpan Interval { get; set; } bool IsEnabled { get; set; } bool IsSynchronizing { get; } Task Synchronize(); } }