Repository navigation
Expand file tree
/
Copy pathProcessClass.cs
More file actions
106 lines (81 loc) · 3.36 KB
/
Copy pathProcessClass.cs
File metadata and controls
106 lines (81 loc) · 3.36 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SMDProfiler
{
public delegate void SetupDelegate(string[] bits);
public class __processSeries
{
private string seriesProcess;
private string[] seriesNames;
private System.Drawing.Color[] seriesColours;
private double maxX, minY, maxY;
private SetupDelegate initFunc;
private SetupDelegate processFunc;
private SetupDelegate termFunc;
public __processSeries(string processName, string[] names, System.Drawing.Color[] colours, double maxx, double miny, double maxy, SetupDelegate ifunc, SetupDelegate pfunc, SetupDelegate tfunc)
{
this.seriesProcess = processName;
this.seriesNames = names;
this.seriesColours = colours;
this.maxX = maxx;
this.minY = miny;
this.maxY = maxy;
this.initFunc = ifunc;
this.processFunc = pfunc;
this.termFunc = tfunc;
}
public __processSeries(SetupDelegate ifunc)
{
this.seriesNames = null;
this.seriesColours = null;
this.initFunc = ifunc;
}
//------------------------------------------------------------------------------------------------------------------------------
public string SeriesProcess
{
get { return seriesProcess; }
}
//------------------------------------------------------------------------------------------------------------------------------
public string[] SeriesNames
{
get { return seriesNames; }
}
//------------------------------------------------------------------------------------------------------------------------------
public System.Drawing.Color[] SeriesColours
{
get { return seriesColours; }
}
//------------------------------------------------------------------------------------------------------------------------------
public double MaxX
{
get { return maxX; }
}
//------------------------------------------------------------------------------------------------------------------------------
public double MinY
{
get { return minY; }
}
//------------------------------------------------------------------------------------------------------------------------------
public double MaxY
{
get { return maxY; }
}
//------------------------------------------------------------------------------------------------------------------------------
public SetupDelegate InitFunc
{
get { return initFunc; }
}
//------------------------------------------------------------------------------------------------------------------------------
public SetupDelegate ProcessFunc
{
get { return processFunc; }
}
//------------------------------------------------------------------------------------------------------------------------------
public SetupDelegate TermFunc
{
get { return termFunc; }
}
};
}