-
Notifications
You must be signed in to change notification settings - Fork 0
/
Data.cs
63 lines (56 loc) · 1.72 KB
/
Data.cs
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ParallelSPSS
{
public class Data
{
// public static List<ValueCoding> valueCoding = new List<ValueCoding>();
public static List<VariableView> variableView = new List<VariableView>();
public static int indexRow;
public static int[] columnChoosen = new int[150];
public static float a;
public static float b;
//public object Clone()
//{
// return this.MemberwiseClone();
//}
public void setValue(double value, string labelValue, int index,int indexRow, string nama,string label,string type)
{
//valueCoding[index].value = value;
//valueCoding[index].label = label;
variableView[index].nama = nama;
variableView[index].type = type;
variableView[index].label = label ;
variableView[index].valueCoding[indexRow].label = labelValue;
variableView[index].valueCoding[indexRow].value = value;
}
public void init()
{
Data data = new Data();
}
}
public class ValueCoding
{
public double value
{
get; set;
}
public string label
{
get; set;
}
}
public class VariableView
{
public List<ValueCoding> valueCoding { get; set; }
public string nama { get; set; }
public string type { get; set; }
public string label { get; set; }
public List<string> missing { get; set; }
public List<string> missingRange { get; set; }
// public int Decimal {get;set;}
}
}