aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Utilities/Tango.DispenserAnalyzer.UI/Analysis/IAnalyzer.cs
blob: fd3b3c267f9fb7e3088264d8d148c444df8d7232 (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
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);
    }
    [Analyzer("DISPENSERINTERFACE")]
    public interface IDispenserDispenserAnalyser : IAnalyzer<DispenserSample>
    {
    }
    [Analyzer("PROCESSINTERFACE")]
    public interface IProcessAnalyzer : IAnalyzer<ProcessSample>
    {
    }
}