ningshuxia
2025-04-09 845ce9e76fab972e3d19672c1f1fbb3a6a05666f
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
namespace IStation.Test
{
 
 
    public class DataCellViewModel
    {
        public string Name { get; set; }
        public double[] ValueList { get; set; }
 
    }
 
    public class PointViewModel
    {
        public PointViewModel() { }
        public PointViewModel(DateTime dt, double x, double y, double diff, int index)
        {
            this.Time = dt;
            this.X = x;
            this.Y = y;
            this.Diff = diff;
            this.Index = index;
        }
 
        public PointViewModel(PointViewModel rhs)
        {
            this.Time = rhs.Time;
            this.X = rhs.X;
            this.Y = rhs.Y;
            this.Index = rhs.Index;
            this.Diff = rhs.Diff;
        }
 
        public DateTime Time { get; set; }
        public int Index { get; set; }
        public double X { get; set; }
        public double Y { get; set; }
        public double Diff { get; set; }
 
    }
 
    public class RecordViewModel
    {
        public RecordViewModel() { }
 
        public DateTime Time { get; set; }
 
        public double Flow1 { get; set; }
        public double Pressure1 { get; set; }
 
        public double Flow2 { get; set; }
        public double Pressure2 { get; set; }
 
        public double FlowDiff2 { get; set; }
    }
 
 
 
}