-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGenerateInput.cs
103 lines (81 loc) · 3.33 KB
/
GenerateInput.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
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjektGenerator_Test1
{
class GenerateInput
{
public List<DataToInsert> GetInputPaymentPlan()
{
List<DataToInsert> dataList = new List<DataToInsert>();
DataToInsert projectname = new DataToInsert();
DataToInsert projectnr = new DataToInsert();
DataToInsert extent = new DataToInsert();
DataToInsert date = new DataToInsert();
DataToInsert projectManager = new DataToInsert();
DataToInsert projectManagerPhoneNr = new DataToInsert();
DataToInsert CustomerName = new DataToInsert();
DataToInsert CustomerNr = new DataToInsert();
DataToInsert ReferenceCustomer = new DataToInsert();
DataToInsert resourceAccount = new DataToInsert();
DataToInsert AdressToWorkplace = new DataToInsert();
DataToInsert zipcodeAndTown = new DataToInsert();
dataList.Add(projectname);
dataList.Add(projectnr);
dataList.Add(extent);
dataList.Add(date);
dataList.Add(projectManager);
dataList.Add(projectManagerPhoneNr);
dataList.Add(CustomerName);
dataList.Add(CustomerNr);
dataList.Add(ReferenceCustomer);
dataList.Add(resourceAccount);
dataList.Add(AdressToWorkplace);
dataList.Add(zipcodeAndTown);
projectname.Column = 2;
projectname.Row = 6;
projectname.Text = "Ullna Golfklubb";
projectnr.Column = 2;
projectnr.Row = 8;
projectnr.Text = "600113";
extent.Column = 2;
extent.Row = 10;
extent.Text = "Ventilation inkl styr och regler";
date.Column = 2;
date.Row = 12;
date.Text = DateTime.Today.ToString();
projectManager.Column = 2;
projectManager.Row = 14;
projectManager.Text = Properties.Settings.Default.ProjectManager;
projectManagerPhoneNr.Column = 2;
projectManagerPhoneNr.Row = 16;
projectManagerPhoneNr.Text = Properties.Settings.Default.ProjectManagerPhoneNr;
CustomerName.Column = 2;
CustomerName.Row = 21;
CustomerName.Text = "HGP Bygg och konsult AB";
CustomerNr.Column = 2;
CustomerNr.Row = 23;
CustomerNr.Text = "23";
ReferenceCustomer.Column = 2;
ReferenceCustomer.Row = 25;
ReferenceCustomer.Text = "Bengt Hedin";
resourceAccount.Column = 2;
resourceAccount.Row = 27;
resourceAccount.Text = "2568";
AdressToWorkplace.Column = 2;
AdressToWorkplace.Row = 29;
AdressToWorkplace.Text = "Ullna Golfklubb";
zipcodeAndTown.Column = 2;
zipcodeAndTown.Row = 31;
zipcodeAndTown.Text = "725 92 Västerås";
return dataList;
}
public List<DataToInsert> GetInputKMA()
{
List<DataToInsert> dataList = new List<DataToInsert>();
return dataList;
}
}
}