aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Utilities/Tango.DispenserAnalyzer.UI/Analysis/IAnalyzer.cs
blob: 6f5e411a5b9af388dee8befb88bd0a4563a7a838 (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.DispenserAnalyzer.UI.Models;

namespace Tango.DispenserAnalyzer.UI.Analysis
{
    [Analyzer("BaseInterface")]
    public interface IBaseAnalyzer
    {

    }
    [Analyzer("INTERFACE")]
    public interface IAnalyzer<T>: IBaseAnalyzer
    {
        IReader<T> Reader { get; set; }
        Task<List<IAnalyzerResult>> Process(List<T> csvRows, bool backgroundMode);
        void GetPoints(List<T> samples, IList<OxyPlot.DataPoint> points);
        bool ShowChartAfterProcess { get; }
        bool AvailableCompareResults { get; }
    }

    [Analyzer("DISPENSERINTERFACE")]
    public interface IDispenserDispenserAnalyser : IAnalyzer<DispenserSample>
    {
    }

    [Analyzer("PROCESSINTERFACE")]
    public interface IProcessAnalyzer : IAnalyzer<ProcessSample>
    {
    }
}