">
3
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
4
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
5
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
6
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
7
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
8
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\155.pdf
|
|
9
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\257.pdf
|
|
10
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\323B.pdf
|
|
11
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
12
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\748E.pdf
|
|
13
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
14
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\817C.pdf
|
|
15
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
16
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
17
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
18
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
19
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
20
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
21
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
22
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
23
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.pdb
|
|
24
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
25
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
26
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
27
|
|
-C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
28
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
29
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
30
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
31
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
32
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
33
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
34
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
35
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\155.pdf
|
|
36
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\257.pdf
|
|
37
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\323B.pdf
|
|
38
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
39
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\748E.pdf
|
|
40
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
41
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\817C.pdf
|
|
42
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
43
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
44
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
45
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
46
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
47
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
48
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
49
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
50
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
51
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
52
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
53
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
54
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
55
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
56
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
57
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
58
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
59
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\155.pdf
|
|
60
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\257.pdf
|
|
61
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\323B.pdf
|
|
62
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
63
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\748E.pdf
|
|
64
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
65
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\817C.pdf
|
|
66
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
67
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
68
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
69
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
70
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
71
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
72
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
73
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
74
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.pdb
|
|
75
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
76
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
77
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
78
|
|
-E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
79
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
80
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
81
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
82
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
83
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
84
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
85
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
86
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
87
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
88
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
89
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
90
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
91
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
92
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
93
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
94
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.pdb
|
|
95
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
96
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
97
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
98
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
99
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
100
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
101
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
102
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
103
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
104
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
105
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
106
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
107
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
108
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
109
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
110
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
111
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
112
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
113
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
114
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
115
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
116
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
117
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
118
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
119
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
120
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
121
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
122
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
123
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
124
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
125
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
126
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
127
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
128
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.pdb
|
|
129
|
|
-K:\WpfApplication19\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
130
|
|
-K:\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
131
|
|
-K:\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
132
|
|
-K:\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
133
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
134
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
135
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
136
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
137
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
138
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
139
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
140
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
141
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
142
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
143
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
144
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
145
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
146
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
147
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
148
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
149
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
150
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
151
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
152
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
153
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
154
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
155
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.pdb
|
|
156
|
|
-F:\WpfApplication19\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
157
|
|
-F:\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
158
|
|
-F:\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
159
|
|
-F:\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
160
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
161
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
162
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
163
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
164
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
165
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
166
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
167
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
168
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
169
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
170
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
171
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
172
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
173
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
174
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
175
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
176
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
177
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
178
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
179
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
180
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
181
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
182
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\WpfLocalization.pdb
|
|
183
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
184
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
185
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
186
|
|
-F:\WpfApplication19 - Copy\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
187
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
188
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
189
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
190
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
191
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
192
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
193
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
194
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
195
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
196
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
197
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
198
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
199
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
200
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
201
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
202
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
203
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
204
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
205
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
206
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
207
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
208
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
209
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\WpfLocalization.pdb
|
|
210
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
211
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
212
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
213
|
|
-C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
214
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
215
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
216
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
217
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
218
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
219
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
220
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
221
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
222
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
223
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
224
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
225
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
226
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
227
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
228
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
229
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
230
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
231
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
232
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
233
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
234
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
235
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
236
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\WpfLocalization.pdb
|
|
237
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
238
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
239
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
240
|
|
-C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
241
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
242
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
243
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
244
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
245
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
246
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
247
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
248
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
249
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
250
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
251
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
252
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
253
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
254
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
255
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
256
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
257
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
258
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
259
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
260
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
261
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
262
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
263
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\WpfLocalization.pdb
|
|
264
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
265
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
266
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
267
|
|
-C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
268
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
269
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
270
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
271
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
272
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
273
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
274
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
275
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
276
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
277
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
278
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
279
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
280
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
281
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
282
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
283
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
284
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
285
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
286
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
287
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
288
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
289
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
290
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
291
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.csprojResolveAssemblyReference.cache
|
|
292
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
293
|
|
-C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
294
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
295
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
296
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
297
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
298
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
299
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
300
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
301
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
302
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
303
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
304
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
305
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
306
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
307
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
308
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
309
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
310
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
311
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
312
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
313
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
314
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
315
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
316
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
317
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.csprojResolveAssemblyReference.cache
|
|
318
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
319
|
|
-C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
320
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
321
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
322
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
323
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
324
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
325
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
326
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
327
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
328
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
329
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
330
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
331
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
332
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
333
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
334
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
335
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
336
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
337
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
338
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
339
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
340
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.exe.config
|
|
341
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
342
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
343
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
344
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.csprojAssemblyReference.cache
|
|
345
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.csproj.CoreCompileInputs.cache
|
|
346
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.csproj.CopyComplete
|
|
347
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
348
|
|
-D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
349
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
350
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
351
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
352
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
353
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
354
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
355
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
356
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
357
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
358
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
359
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
360
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
361
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
362
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe.config
|
|
363
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
364
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
365
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
366
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
367
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
368
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
369
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.exe.config
|
|
370
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
371
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.csproj.AssemblyReference.cache
|
|
372
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.csproj.SuggestedBindingRedirects.cache
|
|
373
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.csproj.CoreCompileInputs.cache
|
|
374
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.csproj.CopyComplete
|
|
375
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
376
|
|
-E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
|
1
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
|
2
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
|
3
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
|
4
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
|
5
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
|
6
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
|
7
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
|
8
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\155.pdf
|
|
|
9
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\257.pdf
|
|
|
10
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\323B.pdf
|
|
|
11
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
|
12
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\748E.pdf
|
|
|
13
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
|
14
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\817C.pdf
|
|
|
15
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
|
16
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
|
17
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
|
18
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
|
19
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
|
20
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
|
21
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
|
22
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
|
23
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.pdb
|
|
|
24
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
|
25
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
|
26
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
|
27
|
+C:\Users\COM 1\Desktop\ob_system\WpfApplication19\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
|
28
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
|
29
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
|
30
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
|
31
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
|
32
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
|
33
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
|
34
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
|
35
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\155.pdf
|
|
|
36
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\257.pdf
|
|
|
37
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\323B.pdf
|
|
|
38
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
|
39
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\748E.pdf
|
|
|
40
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
|
41
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\817C.pdf
|
|
|
42
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
|
43
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
|
44
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
|
45
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
|
46
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
|
47
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
|
48
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
|
49
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
|
50
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
|
51
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\WpfApplication19\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
|
52
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
|
53
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
|
54
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
|
55
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
|
56
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
|
57
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
|
58
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
|
59
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\155.pdf
|
|
|
60
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\257.pdf
|
|
|
61
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\323B.pdf
|
|
|
62
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
|
63
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\748E.pdf
|
|
|
64
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
|
65
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\817C.pdf
|
|
|
66
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
|
67
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
|
68
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
|
69
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
|
70
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
|
71
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
|
72
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
|
73
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
|
74
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.pdb
|
|
|
75
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
|
76
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
|
77
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
|
78
|
+E:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
|
79
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
|
80
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
|
81
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
|
82
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
|
83
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
|
84
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
|
85
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
|
86
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
|
87
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
|
88
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
|
89
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
|
90
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
|
91
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
|
92
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
|
93
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
|
94
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.pdb
|
|
|
95
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
|
96
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
|
97
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
|
98
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
|
99
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
|
100
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
|
101
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
|
102
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
|
103
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
|
104
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
|
105
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
|
106
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
|
107
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
|
108
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
|
109
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
|
110
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
|
111
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
|
112
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
|
113
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
|
114
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
|
115
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
|
116
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
|
117
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
|
118
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
|
119
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
|
120
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
|
121
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
|
122
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
|
123
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
|
124
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
|
125
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
|
126
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
|
127
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
|
128
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.pdb
|
|
|
129
|
+K:\WpfApplication19\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
|
130
|
+K:\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
|
131
|
+K:\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
|
132
|
+K:\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
|
133
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
|
134
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
|
135
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
|
136
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
|
137
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
|
138
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
|
139
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
|
140
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
|
141
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
|
142
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
|
143
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
|
144
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
|
145
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
|
146
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
|
147
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
|
148
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
|
149
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
|
150
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
|
151
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
|
152
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
|
153
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
|
154
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
|
155
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\WpfLocalization.pdb
|
|
|
156
|
+F:\WpfApplication19\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
|
157
|
+F:\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
|
158
|
+F:\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
|
159
|
+F:\WpfApplication19\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
|
160
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
|
161
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
|
162
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
|
163
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
|
164
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
|
165
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
|
166
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
|
167
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
|
168
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
|
169
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
|
170
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
|
171
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
|
172
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
|
173
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
|
174
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
|
175
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
|
176
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
|
177
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
|
178
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
|
179
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
|
180
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
|
181
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
|
182
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\WpfLocalization.pdb
|
|
|
183
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
|
184
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
|
185
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
|
186
|
+F:\WpfApplication19 - Copy\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
|
187
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
|
188
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
|
189
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
|
190
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
|
191
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
|
192
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
|
193
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
|
194
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
|
195
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
|
196
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
|
197
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
|
198
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
|
199
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
|
200
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
|
201
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
|
202
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
|
203
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
|
204
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
|
205
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
|
206
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
|
207
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
|
208
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
|
209
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\WpfLocalization.pdb
|
|
|
210
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
|
211
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
|
212
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
|
213
|
+C:\Users\tum\Documents\WpfApplication19 - Copy\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
|
214
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
|
215
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
|
216
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
|
217
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
|
218
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
|
219
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
|
220
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
|
221
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
|
222
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
|
223
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
|
224
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
|
225
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
|
226
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
|
227
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
|
228
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
|
229
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
|
230
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
|
231
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
|
232
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
|
233
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
|
234
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
|
235
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
|
236
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\WpfLocalization.pdb
|
|
|
237
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
|
238
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
|
239
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
|
240
|
+C:\Users\tum\Documents\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
|
241
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
|
242
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
|
243
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
|
244
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
|
245
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
|
246
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
|
247
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
|
248
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
|
249
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
|
250
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
|
251
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
|
252
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
|
253
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
|
254
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
|
255
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
|
256
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
|
257
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
|
258
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
|
259
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
|
260
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
|
261
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
|
262
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
|
263
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\WpfLocalization.pdb
|
|
|
264
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
|
265
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ResolveAssemblyReference.cache
|
|
|
266
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
|
267
|
+C:\Users\Public\Documents\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
|
268
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
|
269
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
|
270
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
|
271
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
|
272
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
|
273
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
|
274
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
|
275
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
|
276
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
|
277
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
|
278
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
|
279
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
|
280
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
|
281
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
|
282
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
|
283
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
|
284
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
|
285
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
|
286
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
|
287
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
|
288
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
|
289
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
|
290
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
|
291
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.csprojResolveAssemblyReference.cache
|
|
|
292
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
|
293
|
+C:\Users\tum\Desktop\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
|
294
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
|
295
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
|
296
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
|
297
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
|
298
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
|
299
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
|
300
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
|
301
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
|
302
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
|
303
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
|
304
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
|
305
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
|
306
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
|
307
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
|
308
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
|
309
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
|
310
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
|
311
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
|
312
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
|
313
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
|
314
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
|
315
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
|
316
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
|
317
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.csprojResolveAssemblyReference.cache
|
|
|
318
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
|
319
|
+C:\Users\tum\Desktop\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
|
320
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
|
321
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Sample.sdf
|
|
|
322
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
|
323
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
|
324
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
|
325
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
|
326
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
|
327
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
|
328
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
|
329
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
|
330
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
|
331
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
|
332
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
|
333
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
|
334
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
|
335
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
|
336
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
|
337
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
|
338
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
|
339
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
|
340
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.exe.config
|
|
|
341
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.pdb
|
|
|
342
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.xml
|
|
|
343
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
|
344
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.csprojAssemblyReference.cache
|
|
|
345
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.csproj.CoreCompileInputs.cache
|
|
|
346
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.csproj.CopyComplete
|
|
|
347
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
|
348
|
+D:\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
|
349
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\OperatingDatabase.sdf
|
|
|
350
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\011A.pdf
|
|
|
351
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1031A.pdf
|
|
|
352
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034.pdf
|
|
|
353
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1034A.pdf
|
|
|
354
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1417B.pdf
|
|
|
355
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1466.pdf
|
|
|
356
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1306.pdf
|
|
|
357
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\535.pdf
|
|
|
358
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1176A.pdf
|
|
|
359
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\817B.pdf
|
|
|
360
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\agreements\1146.pdf
|
|
|
361
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\sounds\Tornado_Siren.mp3
|
|
|
362
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe.config
|
|
|
363
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
|
|
|
364
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
|
|
|
365
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.exe
|
|
|
366
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\Newtonsoft.Json.dll
|
|
|
367
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfLocalization.dll
|
|
|
368
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.pdb
|
|
|
369
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\WpfApplication19.exe.config
|
|
|
370
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\bin\Debug\th-TH\WpfApplication19.resources.dll
|
|
|
371
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.csproj.AssemblyReference.cache
|
|
|
372
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.csproj.SuggestedBindingRedirects.cache
|
|
|
373
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.csproj.CoreCompileInputs.cache
|
|
|
374
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.csproj.CopyComplete
|
|
|
375
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.exe
|
|
|
376
|
+E:\lenovo\lenovo\fix-master\lab\OBAppSrc\OBAppSrc\ConsoleApplication1\obj\x86\Debug\ConsoleApplication1.pdb
|
|
|
@@ -1,10 +1,10 @@
|
|
1
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Release\ConsoleApplication1.exe
|
|
2
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Release\ConsoleApplication1.pdb
|
|
3
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Release\WpfApplication19.exe
|
|
4
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Release\WpfLocalization.dll
|
|
5
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Release\WpfApplication19.pdb
|
|
6
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Release\WpfLocalization.pdb
|
|
7
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Release\th-TH\WpfApplication19.resources.dll
|
|
8
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\obj\x86\Release\ResolveAssemblyReference.cache
|
|
9
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\obj\x86\Release\ConsoleApplication1.exe
|
|
10
|
|
-C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\obj\x86\Release\ConsoleApplication1.pdb
|
|
|
1
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Release\ConsoleApplication1.exe
|
|
|
2
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Release\ConsoleApplication1.pdb
|
|
|
3
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Release\WpfApplication19.exe
|
|
|
4
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Release\WpfLocalization.dll
|
|
|
5
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Release\WpfApplication19.pdb
|
|
|
6
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Release\WpfLocalization.pdb
|
|
|
7
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\bin\Release\th-TH\WpfApplication19.resources.dll
|
|
|
8
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\obj\x86\Release\ResolveAssemblyReference.cache
|
|
|
9
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\obj\x86\Release\ConsoleApplication1.exe
|
|
|
10
|
+C:\Users\tum\Documents\Visual Studio 2010\Projects\WpfApplication19\ConsoleApplication1\obj\x86\Release\ConsoleApplication1.pdb
|
|
|
@@ -1,12 +1,12 @@
|
|
1
|
|
-<Window
|
|
2
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
3
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
4
|
|
- x:Class="WpfApplication19.Window1"
|
|
5
|
|
- x:Name="AboutWindow"
|
|
6
|
|
- Title="About"
|
|
7
|
|
- Width="532" Height="522" WindowStartupLocation="CenterScreen">
|
|
8
|
|
-
|
|
9
|
|
- <Grid x:Name="LayoutRoot" HorizontalAlignment="Left" Width="526">
|
|
10
|
|
- <Image Margin="8,0,11,1" Source="simplico_about.png"/>
|
|
11
|
|
- </Grid>
|
|
|
1
|
+<Window
|
|
|
2
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
3
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
4
|
+ x:Class="WpfApplication19.Window1"
|
|
|
5
|
+ x:Name="AboutWindow"
|
|
|
6
|
+ Title="About"
|
|
|
7
|
+ Width="532" Height="522" WindowStartupLocation="CenterScreen">
|
|
|
8
|
+
|
|
|
9
|
+ <Grid x:Name="LayoutRoot" HorizontalAlignment="Left" Width="526">
|
|
|
10
|
+ <Image Margin="8,0,11,1" Source="simplico_about.png"/>
|
|
|
11
|
+ </Grid>
|
|
12
|
12
|
</Window>
|
|
|
@@ -1,27 +1,27 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Text;
|
|
4
|
|
-using System.Windows;
|
|
5
|
|
-using System.Windows.Controls;
|
|
6
|
|
-using System.Windows.Data;
|
|
7
|
|
-using System.Windows.Documents;
|
|
8
|
|
-using System.Windows.Input;
|
|
9
|
|
-using System.Windows.Media;
|
|
10
|
|
-using System.Windows.Media.Imaging;
|
|
11
|
|
-using System.Windows.Shapes;
|
|
12
|
|
-
|
|
13
|
|
-namespace WpfApplication19
|
|
14
|
|
-{
|
|
15
|
|
- /// <summary>
|
|
16
|
|
- /// Interaction logic for Window1.xaml
|
|
17
|
|
- /// </summary>
|
|
18
|
|
- public partial class Window1 : Window
|
|
19
|
|
- {
|
|
20
|
|
- public Window1()
|
|
21
|
|
- {
|
|
22
|
|
- this.InitializeComponent();
|
|
23
|
|
-
|
|
24
|
|
- // Insert code required on object creation below this point.
|
|
25
|
|
- }
|
|
26
|
|
- }
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Text;
|
|
|
4
|
+using System.Windows;
|
|
|
5
|
+using System.Windows.Controls;
|
|
|
6
|
+using System.Windows.Data;
|
|
|
7
|
+using System.Windows.Documents;
|
|
|
8
|
+using System.Windows.Input;
|
|
|
9
|
+using System.Windows.Media;
|
|
|
10
|
+using System.Windows.Media.Imaging;
|
|
|
11
|
+using System.Windows.Shapes;
|
|
|
12
|
+
|
|
|
13
|
+namespace WpfApplication19
|
|
|
14
|
+{
|
|
|
15
|
+ /// <summary>
|
|
|
16
|
+ /// Interaction logic for Window1.xaml
|
|
|
17
|
+ /// </summary>
|
|
|
18
|
+ public partial class Window1 : Window
|
|
|
19
|
+ {
|
|
|
20
|
+ public Window1()
|
|
|
21
|
+ {
|
|
|
22
|
+ this.InitializeComponent();
|
|
|
23
|
+
|
|
|
24
|
+ // Insert code required on object creation below this point.
|
|
|
25
|
+ }
|
|
|
26
|
+ }
|
|
27
|
27
|
}
|
|
|
@@ -1,14 +1,14 @@
|
|
1
|
|
-<Window x:Class="WpfApplication19.Alert"
|
|
2
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
3
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
4
|
|
- Title="Alert" Height="257" Width="510">
|
|
5
|
|
- <Grid>
|
|
6
|
|
- <TextBlock Height="43" HorizontalAlignment="Left" Margin="12,34,0,0" Name="MainWarningMsg" Text="TextBlock" VerticalAlignment="Top" Width="464" TextAlignment="Center" FontSize="26" Foreground="#FFFF0A0A" />
|
|
7
|
|
- <TextBlock Height="23" HorizontalAlignment="Left" Margin="69,94,0,0" Name="textBlock2" Text="Please replace new measurement header, because it exceeds the limit" VerticalAlignment="Top" Width="344" />
|
|
8
|
|
- <TextBlock Height="23" HorizontalAlignment="Left" Margin="123,123,0,0" Name="textBlock3" Text="If header replaced successful, press OK" VerticalAlignment="Top" Width="219" />
|
|
9
|
|
- <Button Content="OK" Height="39" HorizontalAlignment="Right" Margin="0,152,120,0" Name="ChangeBtn" VerticalAlignment="Top" Width="120" FontSize="24" Click="ChangeBtn_Click" />
|
|
10
|
|
- <Button Content="Stop Alert" Height="39" HorizontalAlignment="Left" Margin="96,152,0,0" Name="stopAlert" VerticalAlignment="Top" Width="132" FontWeight="Normal" FontSize="20" Click="stopAlert_Click" />
|
|
11
|
|
- <MediaElement Height="44" HorizontalAlignment="Left" Margin="366,174,0,0" Name="warningSound" VerticalAlignment="Top" Width="122" Source="sounds/Tornado_Siren.mp3" LoadedBehavior="Manual" Volume="1" />
|
|
12
|
|
- </Grid>
|
|
13
|
|
-
|
|
14
|
|
-</Window>
|
|
|
1
|
+<Window x:Class="WpfApplication19.Alert"
|
|
|
2
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
3
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
4
|
+ Title="Alert" Height="257" Width="510">
|
|
|
5
|
+ <Grid>
|
|
|
6
|
+ <TextBlock Height="43" HorizontalAlignment="Left" Margin="12,34,0,0" Name="MainWarningMsg" Text="TextBlock" VerticalAlignment="Top" Width="464" TextAlignment="Center" FontSize="26" Foreground="#FFFF0A0A" />
|
|
|
7
|
+ <TextBlock Height="23" HorizontalAlignment="Left" Margin="69,94,0,0" Name="textBlock2" Text="Please replace new measurement header, because it exceeds the limit" VerticalAlignment="Top" Width="344" />
|
|
|
8
|
+ <TextBlock Height="23" HorizontalAlignment="Left" Margin="123,123,0,0" Name="textBlock3" Text="If header replaced successful, press OK" VerticalAlignment="Top" Width="219" />
|
|
|
9
|
+ <Button Content="OK" Height="39" HorizontalAlignment="Right" Margin="0,152,120,0" Name="ChangeBtn" VerticalAlignment="Top" Width="120" FontSize="24" Click="ChangeBtn_Click" />
|
|
|
10
|
+ <Button Content="Stop Alert" Height="39" HorizontalAlignment="Left" Margin="96,152,0,0" Name="stopAlert" VerticalAlignment="Top" Width="132" FontWeight="Normal" FontSize="20" Click="stopAlert_Click" />
|
|
|
11
|
+ <MediaElement Height="44" HorizontalAlignment="Left" Margin="366,174,0,0" Name="warningSound" VerticalAlignment="Top" Width="122" Source="sounds/Tornado_Siren.mp3" LoadedBehavior="Manual" Volume="1" />
|
|
|
12
|
+ </Grid>
|
|
|
13
|
+
|
|
|
14
|
+</Window>
|
|
|
@@ -1,44 +1,44 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-using System.Windows;
|
|
6
|
|
-using System.Windows.Controls;
|
|
7
|
|
-using System.Windows.Data;
|
|
8
|
|
-using System.Windows.Documents;
|
|
9
|
|
-using System.Windows.Input;
|
|
10
|
|
-using System.Windows.Media;
|
|
11
|
|
-using System.Windows.Media.Imaging;
|
|
12
|
|
-using System.Windows.Shapes;
|
|
13
|
|
-
|
|
14
|
|
-namespace WpfApplication19
|
|
15
|
|
-{
|
|
16
|
|
- /// <summary>
|
|
17
|
|
- /// Interaction logic for Alert.xaml
|
|
18
|
|
- /// </summary>
|
|
19
|
|
- public partial class Alert : Window
|
|
20
|
|
- {
|
|
21
|
|
- public Alert()
|
|
22
|
|
- {
|
|
23
|
|
- InitializeComponent();
|
|
24
|
|
- warningSound.Play();
|
|
25
|
|
- }
|
|
26
|
|
- public void SetAlertMsg(string msg){
|
|
27
|
|
- MainWarningMsg.Text = msg;
|
|
28
|
|
- }
|
|
29
|
|
-
|
|
30
|
|
- private void ChangeBtn_Click(object sender, RoutedEventArgs e)
|
|
31
|
|
- {
|
|
32
|
|
- //Application.Current.MainWindow.Show();
|
|
33
|
|
- var w = (MainWindow)Application.Current.MainWindow;
|
|
34
|
|
- //var s = ((ComboBoxItem)DateTimeCB.SelectedItem).Content.ToString();
|
|
35
|
|
- w.ResetHeaderUsage();
|
|
36
|
|
- Close();
|
|
37
|
|
- }
|
|
38
|
|
-
|
|
39
|
|
- private void stopAlert_Click(object sender, RoutedEventArgs e)
|
|
40
|
|
- {
|
|
41
|
|
- warningSound.Stop();
|
|
42
|
|
- }
|
|
43
|
|
- }
|
|
44
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+using System.Windows;
|
|
|
6
|
+using System.Windows.Controls;
|
|
|
7
|
+using System.Windows.Data;
|
|
|
8
|
+using System.Windows.Documents;
|
|
|
9
|
+using System.Windows.Input;
|
|
|
10
|
+using System.Windows.Media;
|
|
|
11
|
+using System.Windows.Media.Imaging;
|
|
|
12
|
+using System.Windows.Shapes;
|
|
|
13
|
+
|
|
|
14
|
+namespace WpfApplication19
|
|
|
15
|
+{
|
|
|
16
|
+ /// <summary>
|
|
|
17
|
+ /// Interaction logic for Alert.xaml
|
|
|
18
|
+ /// </summary>
|
|
|
19
|
+ public partial class Alert : Window
|
|
|
20
|
+ {
|
|
|
21
|
+ public Alert()
|
|
|
22
|
+ {
|
|
|
23
|
+ InitializeComponent();
|
|
|
24
|
+ warningSound.Play();
|
|
|
25
|
+ }
|
|
|
26
|
+ public void SetAlertMsg(string msg){
|
|
|
27
|
+ MainWarningMsg.Text = msg;
|
|
|
28
|
+ }
|
|
|
29
|
+
|
|
|
30
|
+ private void ChangeBtn_Click(object sender, RoutedEventArgs e)
|
|
|
31
|
+ {
|
|
|
32
|
+ //Application.Current.MainWindow.Show();
|
|
|
33
|
+ var w = (MainWindow)Application.Current.MainWindow;
|
|
|
34
|
+ //var s = ((ComboBoxItem)DateTimeCB.SelectedItem).Content.ToString();
|
|
|
35
|
+ w.ResetHeaderUsage();
|
|
|
36
|
+ Close();
|
|
|
37
|
+ }
|
|
|
38
|
+
|
|
|
39
|
+ private void stopAlert_Click(object sender, RoutedEventArgs e)
|
|
|
40
|
+ {
|
|
|
41
|
+ warningSound.Stop();
|
|
|
42
|
+ }
|
|
|
43
|
+ }
|
|
|
44
|
+}
|
|
|
@@ -1,37 +1,37 @@
|
|
1
|
|
-<?xml version="1.0"?>
|
|
2
|
|
-<configuration>
|
|
3
|
|
- <configSections>
|
|
4
|
|
- </configSections>
|
|
5
|
|
- <appSettings>
|
|
6
|
|
- <add key="machinePort" value="COM10"/>
|
|
7
|
|
-
|
|
8
|
|
- <add key="productionDbCS" value="Data Source=127.0.0.1;User ID=user1;Password=1234; Initial Catalog=OB2011DB"/>
|
|
9
|
|
- <add key="operatingDbCs" value="Data Source=|DataDirectory|\OperatingDatabase.sdf"/>
|
|
10
|
|
-
|
|
11
|
|
- <add key="webServerURL" value="http://127.0.0.1:3000"/>
|
|
12
|
|
- <add key="currentMachine" value="1"/>
|
|
13
|
|
- <add key="ClientSettingsProvider.ServiceUri" value=""/>
|
|
14
|
|
- <add key="fontName" value="Ubuntu Mono"/>
|
|
15
|
|
- <add key="fontSize" value="9"/>
|
|
16
|
|
- </appSettings>
|
|
17
|
|
- <connectionStrings>
|
|
18
|
|
- <add name="labEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="Data Source=.\sqlexpress;Initial Catalog=lab;User ID=user1;Password=1234;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient"/>
|
|
19
|
|
- <add name="WpfApplication19.Properties.Settings.OperatingDatabaseConnectionString" connectionString="Data Source=|DataDirectory|\OperatingDatabase.sdf" providerName="Microsoft.SqlServerCe.Client.3.5"/>
|
|
20
|
|
- <add name="WpfApplication19.Properties.Settings.SampleConnectionString" connectionString="Data Source=|DataDirectory|\Sample.sdf" providerName="Microsoft.SqlServerCe.Client.3.5"/>
|
|
21
|
|
- </connectionStrings>
|
|
22
|
|
- <startup>
|
|
23
|
|
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
|
|
24
|
|
- </startup>
|
|
25
|
|
- <system.web>
|
|
26
|
|
- <membership defaultProvider="ClientAuthenticationMembershipProvider">
|
|
27
|
|
- <providers>
|
|
28
|
|
- <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri=""/>
|
|
29
|
|
- </providers>
|
|
30
|
|
- </membership>
|
|
31
|
|
- <roleManager defaultProvider="ClientRoleProvider" enabled="true">
|
|
32
|
|
- <providers>
|
|
33
|
|
- <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400"/>
|
|
34
|
|
- </providers>
|
|
35
|
|
- </roleManager>
|
|
36
|
|
- </system.web>
|
|
37
|
|
-</configuration>
|
|
|
1
|
+<?xml version="1.0"?>
|
|
|
2
|
+<configuration>
|
|
|
3
|
+ <configSections>
|
|
|
4
|
+ </configSections>
|
|
|
5
|
+ <appSettings>
|
|
|
6
|
+ <add key="machinePort" value="COM10"/>
|
|
|
7
|
+
|
|
|
8
|
+ <add key="productionDbCS" value="Data Source=127.0.0.1;User ID=user1;Password=1234; Initial Catalog=OB2011DB"/>
|
|
|
9
|
+ <add key="operatingDbCs" value="Data Source=|DataDirectory|\OperatingDatabase.sdf"/>
|
|
|
10
|
+
|
|
|
11
|
+ <add key="webServerURL" value="http://127.0.0.1:3000"/>
|
|
|
12
|
+ <add key="currentMachine" value="1"/>
|
|
|
13
|
+ <add key="ClientSettingsProvider.ServiceUri" value=""/>
|
|
|
14
|
+ <add key="fontName" value="Ubuntu Mono"/>
|
|
|
15
|
+ <add key="fontSize" value="9"/>
|
|
|
16
|
+ </appSettings>
|
|
|
17
|
+ <connectionStrings>
|
|
|
18
|
+ <add name="labEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="Data Source=.\sqlexpress;Initial Catalog=lab;User ID=user1;Password=1234;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient"/>
|
|
|
19
|
+ <add name="WpfApplication19.Properties.Settings.OperatingDatabaseConnectionString" connectionString="Data Source=|DataDirectory|\OperatingDatabase.sdf" providerName="Microsoft.SqlServerCe.Client.3.5"/>
|
|
|
20
|
+ <add name="WpfApplication19.Properties.Settings.SampleConnectionString" connectionString="Data Source=|DataDirectory|\Sample.sdf" providerName="Microsoft.SqlServerCe.Client.3.5"/>
|
|
|
21
|
+ </connectionStrings>
|
|
|
22
|
+ <startup>
|
|
|
23
|
+ <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
|
|
|
24
|
+ </startup>
|
|
|
25
|
+ <system.web>
|
|
|
26
|
+ <membership defaultProvider="ClientAuthenticationMembershipProvider">
|
|
|
27
|
+ <providers>
|
|
|
28
|
+ <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri=""/>
|
|
|
29
|
+ </providers>
|
|
|
30
|
+ </membership>
|
|
|
31
|
+ <roleManager defaultProvider="ClientRoleProvider" enabled="true">
|
|
|
32
|
+ <providers>
|
|
|
33
|
+ <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400"/>
|
|
|
34
|
+ </providers>
|
|
|
35
|
+ </roleManager>
|
|
|
36
|
+ </system.web>
|
|
|
37
|
+</configuration>
|
|
|
@@ -1,14 +1,14 @@
|
|
1
|
|
-<Application x:Class="WpfApplication19.App"
|
|
2
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
3
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
4
|
|
- StartupUri="MainWindow.xaml">
|
|
5
|
|
- <Application.Resources>
|
|
6
|
|
-
|
|
7
|
|
- <ResourceDictionary>
|
|
8
|
|
- <ResourceDictionary.MergedDictionaries>
|
|
9
|
|
- <ResourceDictionary Source="Simple Styles.xaml"/>
|
|
10
|
|
- </ResourceDictionary.MergedDictionaries>
|
|
11
|
|
- </ResourceDictionary>
|
|
12
|
|
-
|
|
13
|
|
- </Application.Resources>
|
|
14
|
|
-</Application>
|
|
|
1
|
+<Application x:Class="WpfApplication19.App"
|
|
|
2
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
3
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
4
|
+ StartupUri="MainWindow.xaml">
|
|
|
5
|
+ <Application.Resources>
|
|
|
6
|
+
|
|
|
7
|
+ <ResourceDictionary>
|
|
|
8
|
+ <ResourceDictionary.MergedDictionaries>
|
|
|
9
|
+ <ResourceDictionary Source="Simple Styles.xaml"/>
|
|
|
10
|
+ </ResourceDictionary.MergedDictionaries>
|
|
|
11
|
+ </ResourceDictionary>
|
|
|
12
|
+
|
|
|
13
|
+ </Application.Resources>
|
|
|
14
|
+</Application>
|
|
|
@@ -1,16 +1,16 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Configuration;
|
|
4
|
|
-using System.Data;
|
|
5
|
|
-using System.Linq;
|
|
6
|
|
-using System.Windows;
|
|
7
|
|
-
|
|
8
|
|
-namespace WpfApplication19
|
|
9
|
|
-{
|
|
10
|
|
- /// <summary>
|
|
11
|
|
- /// Interaction logic for App.xaml
|
|
12
|
|
- /// </summary>
|
|
13
|
|
- public partial class App : Application
|
|
14
|
|
- {
|
|
15
|
|
- }
|
|
16
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Configuration;
|
|
|
4
|
+using System.Data;
|
|
|
5
|
+using System.Linq;
|
|
|
6
|
+using System.Windows;
|
|
|
7
|
+
|
|
|
8
|
+namespace WpfApplication19
|
|
|
9
|
+{
|
|
|
10
|
+ /// <summary>
|
|
|
11
|
+ /// Interaction logic for App.xaml
|
|
|
12
|
+ /// </summary>
|
|
|
13
|
+ public partial class App : Application
|
|
|
14
|
+ {
|
|
|
15
|
+ }
|
|
|
16
|
+}
|
|
|
@@ -1,115 +1,115 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-using System.IO;
|
|
6
|
|
-using System.Security.Cryptography;
|
|
7
|
|
-namespace WpfApplication19
|
|
8
|
|
-{
|
|
9
|
|
- class Authentication
|
|
10
|
|
- {
|
|
11
|
|
- static byte[] encryptStringToBytes_AES(string plainText, byte[] Key, byte[] IV)
|
|
12
|
|
- {
|
|
13
|
|
- // Check arguments.
|
|
14
|
|
- if (plainText == null || plainText.Length <= 0)
|
|
15
|
|
- throw new ArgumentNullException("plainText");
|
|
16
|
|
- if (Key == null || Key.Length <= 0)
|
|
17
|
|
- throw new ArgumentNullException("Key");
|
|
18
|
|
- if (IV == null || IV.Length <= 0)
|
|
19
|
|
- throw new ArgumentNullException("IV");
|
|
20
|
|
-
|
|
21
|
|
- // Declare the stream used to encrypt to an in memory
|
|
22
|
|
- // array of bytes.
|
|
23
|
|
- MemoryStream msEncrypt = null;
|
|
24
|
|
-
|
|
25
|
|
- // Declare the RijndaelManaged object
|
|
26
|
|
- // used to encrypt the data.
|
|
27
|
|
- RijndaelManaged aesAlg = null;
|
|
28
|
|
-
|
|
29
|
|
- try
|
|
30
|
|
- {
|
|
31
|
|
- // Create a RijndaelManaged object
|
|
32
|
|
- // with the specified key and IV.
|
|
33
|
|
- aesAlg = new RijndaelManaged();
|
|
34
|
|
- aesAlg.Key = Key;
|
|
35
|
|
- aesAlg.IV = IV;
|
|
36
|
|
-
|
|
37
|
|
- // Create an encrypto to perform the stream transform.
|
|
38
|
|
- ICryptoTransform encryptor = aesAlg.CreateEncryptor(aesAlg.Key, aesAlg.IV);
|
|
39
|
|
-
|
|
40
|
|
- // Create the streams used for encryption.
|
|
41
|
|
- msEncrypt = new MemoryStream();
|
|
42
|
|
- using (CryptoStream csEncrypt = new CryptoStream(msEncrypt, encryptor, CryptoStreamMode.Write))
|
|
43
|
|
- {
|
|
44
|
|
- using (StreamWriter swEncrypt = new StreamWriter(csEncrypt))
|
|
45
|
|
- {
|
|
46
|
|
- //Write all data to the stream.
|
|
47
|
|
- swEncrypt.Write(plainText);
|
|
48
|
|
- }
|
|
49
|
|
- }
|
|
50
|
|
- }
|
|
51
|
|
- finally
|
|
52
|
|
- {
|
|
53
|
|
- // Clear the RijndaelManaged object.
|
|
54
|
|
- if (aesAlg != null)
|
|
55
|
|
- aesAlg.Clear();
|
|
56
|
|
- }
|
|
57
|
|
-
|
|
58
|
|
- // Return the encrypted bytes from the memory stream.
|
|
59
|
|
- return msEncrypt.ToArray();
|
|
60
|
|
- }
|
|
61
|
|
-
|
|
62
|
|
- static string decryptStringFromBytes_AES(byte[] cipherText, byte[] Key, byte[] IV)
|
|
63
|
|
- {
|
|
64
|
|
- // Check arguments.
|
|
65
|
|
- if (cipherText == null || cipherText.Length <= 0)
|
|
66
|
|
- throw new ArgumentNullException("cipherText");
|
|
67
|
|
- if (Key == null || Key.Length <= 0)
|
|
68
|
|
- throw new ArgumentNullException("Key");
|
|
69
|
|
- if (IV == null || IV.Length <= 0)
|
|
70
|
|
- throw new ArgumentNullException("IV");
|
|
71
|
|
-
|
|
72
|
|
- // Declare the RijndaelManaged object
|
|
73
|
|
- // used to decrypt the data.
|
|
74
|
|
- RijndaelManaged aesAlg = null;
|
|
75
|
|
-
|
|
76
|
|
- // Declare the string used to hold
|
|
77
|
|
- // the decrypted text.
|
|
78
|
|
- string plaintext = null;
|
|
79
|
|
-
|
|
80
|
|
- try
|
|
81
|
|
- {
|
|
82
|
|
- // Create a RijndaelManaged object
|
|
83
|
|
- // with the specified key and IV.
|
|
84
|
|
- aesAlg = new RijndaelManaged();
|
|
85
|
|
- aesAlg.Key = Key;
|
|
86
|
|
- aesAlg.IV = IV;
|
|
87
|
|
-
|
|
88
|
|
- // Create a decrytor to perform the stream transform.
|
|
89
|
|
- ICryptoTransform decryptor = aesAlg.CreateDecryptor(aesAlg.Key, aesAlg.IV);
|
|
90
|
|
- // Create the streams used for decryption.
|
|
91
|
|
- using (MemoryStream msDecrypt = new MemoryStream(cipherText))
|
|
92
|
|
- {
|
|
93
|
|
- using (CryptoStream csDecrypt = new CryptoStream(msDecrypt, decryptor, CryptoStreamMode.Read))
|
|
94
|
|
- {
|
|
95
|
|
- using (StreamReader srDecrypt = new StreamReader(csDecrypt))
|
|
96
|
|
-
|
|
97
|
|
- // Read the decrypted bytes from the decrypting stream
|
|
98
|
|
- // and place them in a string.
|
|
99
|
|
- plaintext = srDecrypt.ReadToEnd();
|
|
100
|
|
- }
|
|
101
|
|
- }
|
|
102
|
|
- }
|
|
103
|
|
- finally
|
|
104
|
|
- {
|
|
105
|
|
- // Clear the RijndaelManaged object.
|
|
106
|
|
- if (aesAlg != null)
|
|
107
|
|
- aesAlg.Clear();
|
|
108
|
|
- }
|
|
109
|
|
-
|
|
110
|
|
- return plaintext;
|
|
111
|
|
- }
|
|
112
|
|
-
|
|
113
|
|
-
|
|
114
|
|
- }
|
|
115
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+using System.IO;
|
|
|
6
|
+using System.Security.Cryptography;
|
|
|
7
|
+namespace WpfApplication19
|
|
|
8
|
+{
|
|
|
9
|
+ class Authentication
|
|
|
10
|
+ {
|
|
|
11
|
+ static byte[] encryptStringToBytes_AES(string plainText, byte[] Key, byte[] IV)
|
|
|
12
|
+ {
|
|
|
13
|
+ // Check arguments.
|
|
|
14
|
+ if (plainText == null || plainText.Length <= 0)
|
|
|
15
|
+ throw new ArgumentNullException("plainText");
|
|
|
16
|
+ if (Key == null || Key.Length <= 0)
|
|
|
17
|
+ throw new ArgumentNullException("Key");
|
|
|
18
|
+ if (IV == null || IV.Length <= 0)
|
|
|
19
|
+ throw new ArgumentNullException("IV");
|
|
|
20
|
+
|
|
|
21
|
+ // Declare the stream used to encrypt to an in memory
|
|
|
22
|
+ // array of bytes.
|
|
|
23
|
+ MemoryStream msEncrypt = null;
|
|
|
24
|
+
|
|
|
25
|
+ // Declare the RijndaelManaged object
|
|
|
26
|
+ // used to encrypt the data.
|
|
|
27
|
+ RijndaelManaged aesAlg = null;
|
|
|
28
|
+
|
|
|
29
|
+ try
|
|
|
30
|
+ {
|
|
|
31
|
+ // Create a RijndaelManaged object
|
|
|
32
|
+ // with the specified key and IV.
|
|
|
33
|
+ aesAlg = new RijndaelManaged();
|
|
|
34
|
+ aesAlg.Key = Key;
|
|
|
35
|
+ aesAlg.IV = IV;
|
|
|
36
|
+
|
|
|
37
|
+ // Create an encrypto to perform the stream transform.
|
|
|
38
|
+ ICryptoTransform encryptor = aesAlg.CreateEncryptor(aesAlg.Key, aesAlg.IV);
|
|
|
39
|
+
|
|
|
40
|
+ // Create the streams used for encryption.
|
|
|
41
|
+ msEncrypt = new MemoryStream();
|
|
|
42
|
+ using (CryptoStream csEncrypt = new CryptoStream(msEncrypt, encryptor, CryptoStreamMode.Write))
|
|
|
43
|
+ {
|
|
|
44
|
+ using (StreamWriter swEncrypt = new StreamWriter(csEncrypt))
|
|
|
45
|
+ {
|
|
|
46
|
+ //Write all data to the stream.
|
|
|
47
|
+ swEncrypt.Write(plainText);
|
|
|
48
|
+ }
|
|
|
49
|
+ }
|
|
|
50
|
+ }
|
|
|
51
|
+ finally
|
|
|
52
|
+ {
|
|
|
53
|
+ // Clear the RijndaelManaged object.
|
|
|
54
|
+ if (aesAlg != null)
|
|
|
55
|
+ aesAlg.Clear();
|
|
|
56
|
+ }
|
|
|
57
|
+
|
|
|
58
|
+ // Return the encrypted bytes from the memory stream.
|
|
|
59
|
+ return msEncrypt.ToArray();
|
|
|
60
|
+ }
|
|
|
61
|
+
|
|
|
62
|
+ static string decryptStringFromBytes_AES(byte[] cipherText, byte[] Key, byte[] IV)
|
|
|
63
|
+ {
|
|
|
64
|
+ // Check arguments.
|
|
|
65
|
+ if (cipherText == null || cipherText.Length <= 0)
|
|
|
66
|
+ throw new ArgumentNullException("cipherText");
|
|
|
67
|
+ if (Key == null || Key.Length <= 0)
|
|
|
68
|
+ throw new ArgumentNullException("Key");
|
|
|
69
|
+ if (IV == null || IV.Length <= 0)
|
|
|
70
|
+ throw new ArgumentNullException("IV");
|
|
|
71
|
+
|
|
|
72
|
+ // Declare the RijndaelManaged object
|
|
|
73
|
+ // used to decrypt the data.
|
|
|
74
|
+ RijndaelManaged aesAlg = null;
|
|
|
75
|
+
|
|
|
76
|
+ // Declare the string used to hold
|
|
|
77
|
+ // the decrypted text.
|
|
|
78
|
+ string plaintext = null;
|
|
|
79
|
+
|
|
|
80
|
+ try
|
|
|
81
|
+ {
|
|
|
82
|
+ // Create a RijndaelManaged object
|
|
|
83
|
+ // with the specified key and IV.
|
|
|
84
|
+ aesAlg = new RijndaelManaged();
|
|
|
85
|
+ aesAlg.Key = Key;
|
|
|
86
|
+ aesAlg.IV = IV;
|
|
|
87
|
+
|
|
|
88
|
+ // Create a decrytor to perform the stream transform.
|
|
|
89
|
+ ICryptoTransform decryptor = aesAlg.CreateDecryptor(aesAlg.Key, aesAlg.IV);
|
|
|
90
|
+ // Create the streams used for decryption.
|
|
|
91
|
+ using (MemoryStream msDecrypt = new MemoryStream(cipherText))
|
|
|
92
|
+ {
|
|
|
93
|
+ using (CryptoStream csDecrypt = new CryptoStream(msDecrypt, decryptor, CryptoStreamMode.Read))
|
|
|
94
|
+ {
|
|
|
95
|
+ using (StreamReader srDecrypt = new StreamReader(csDecrypt))
|
|
|
96
|
+
|
|
|
97
|
+ // Read the decrypted bytes from the decrypting stream
|
|
|
98
|
+ // and place them in a string.
|
|
|
99
|
+ plaintext = srDecrypt.ReadToEnd();
|
|
|
100
|
+ }
|
|
|
101
|
+ }
|
|
|
102
|
+ }
|
|
|
103
|
+ finally
|
|
|
104
|
+ {
|
|
|
105
|
+ // Clear the RijndaelManaged object.
|
|
|
106
|
+ if (aesAlg != null)
|
|
|
107
|
+ aesAlg.Clear();
|
|
|
108
|
+ }
|
|
|
109
|
+
|
|
|
110
|
+ return plaintext;
|
|
|
111
|
+ }
|
|
|
112
|
+
|
|
|
113
|
+
|
|
|
114
|
+ }
|
|
|
115
|
+}
|
|
|
@@ -1,10 +1,10 @@
|
|
1
|
|
-<Window x:Class="WpfApplication19.ChooseRecord"
|
|
2
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
3
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
4
|
|
- Title="ChooseRecord" Height="136" Width="441" Name="ChooseRecordWindow">
|
|
5
|
|
- <Grid>
|
|
6
|
|
- <Label Content="Record Date Time" Height="28" HorizontalAlignment="Left" Margin="28,37,0,0" Name="label1" VerticalAlignment="Top" />
|
|
7
|
|
- <ComboBox Height="23" HorizontalAlignment="Left" Margin="139,37,0,0" Name="DateTimeCB" VerticalAlignment="Top" Width="120" />
|
|
8
|
|
- <Button Content="OK" Height="23" HorizontalAlignment="Left" Margin="280,37,0,0" Name="PreviewBtn" VerticalAlignment="Top" Width="75" Click="PreviewBtn_Click" />
|
|
9
|
|
- </Grid>
|
|
10
|
|
-</Window>
|
|
|
1
|
+<Window x:Class="WpfApplication19.ChooseRecord"
|
|
|
2
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
3
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
4
|
+ Title="ChooseRecord" Height="136" Width="441" Name="ChooseRecordWindow">
|
|
|
5
|
+ <Grid>
|
|
|
6
|
+ <Label Content="Record Date Time" Height="28" HorizontalAlignment="Left" Margin="28,37,0,0" Name="label1" VerticalAlignment="Top" />
|
|
|
7
|
+ <ComboBox Height="23" HorizontalAlignment="Left" Margin="139,37,0,0" Name="DateTimeCB" VerticalAlignment="Top" Width="120" />
|
|
|
8
|
+ <Button Content="OK" Height="23" HorizontalAlignment="Left" Margin="280,37,0,0" Name="PreviewBtn" VerticalAlignment="Top" Width="75" Click="PreviewBtn_Click" />
|
|
|
9
|
+ </Grid>
|
|
|
10
|
+</Window>
|
|
|
@@ -1,61 +1,61 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-using System.Windows;
|
|
6
|
|
-using System.Windows.Controls;
|
|
7
|
|
-using System.Windows.Data;
|
|
8
|
|
-using System.Windows.Documents;
|
|
9
|
|
-using System.Windows.Input;
|
|
10
|
|
-using System.Windows.Media;
|
|
11
|
|
-using System.Windows.Media.Imaging;
|
|
12
|
|
-using System.Windows.Shapes;
|
|
13
|
|
-using System.Data.Sql;
|
|
14
|
|
-using System.Data.SqlClient;
|
|
15
|
|
-
|
|
16
|
|
-namespace WpfApplication19
|
|
17
|
|
-{
|
|
18
|
|
- /// <summary>
|
|
19
|
|
- /// Interaction logic for ChooseRecord.xaml
|
|
20
|
|
- /// </summary>
|
|
21
|
|
- public partial class ChooseRecord : Window
|
|
22
|
|
- {
|
|
23
|
|
- private SqlConnection _proConn;
|
|
24
|
|
- public ChooseRecord(string lotNo)
|
|
25
|
|
- {
|
|
26
|
|
- InitializeComponent();
|
|
27
|
|
- this.LotNo = lotNo;
|
|
28
|
|
- try
|
|
29
|
|
- {
|
|
30
|
|
- _proConn = Utils.createSqlConnection("productionDbCS");
|
|
31
|
|
- }
|
|
32
|
|
- catch (SqlException se)
|
|
33
|
|
- {
|
|
34
|
|
- MessageBox.Show("productionDbCS : ", se.Message);
|
|
35
|
|
- }
|
|
36
|
|
- SetupObject();
|
|
37
|
|
- //LotNoLabel.Content = LotNo;
|
|
38
|
|
- }
|
|
39
|
|
- private void SetupObject()
|
|
40
|
|
- {
|
|
41
|
|
- SqlDataReader reader = Utils.Query(_proConn, "select updated_at from data where lot_no = '"+this.LotNo+"' group by updated_at");
|
|
42
|
|
- while (reader.Read())
|
|
43
|
|
- {
|
|
44
|
|
-
|
|
45
|
|
- DateTimeCB.Items.Add(new ComboBoxItem() { Tag = "a", Content = reader["updated_at"].ToString() });
|
|
46
|
|
- }
|
|
47
|
|
- reader.Close();
|
|
48
|
|
- //DateTimeCB.ItemsSource =
|
|
49
|
|
- }
|
|
50
|
|
- public string LotNo { get; set; }
|
|
51
|
|
-
|
|
52
|
|
- private void PreviewBtn_Click(object sender, RoutedEventArgs e)
|
|
53
|
|
- {
|
|
54
|
|
- Application.Current.MainWindow.Show();
|
|
55
|
|
- var w = (MainWindow)Application.Current.MainWindow;
|
|
56
|
|
- var s = ((ComboBoxItem)DateTimeCB.SelectedItem).Content.ToString();
|
|
57
|
|
- w.setFilterLogData(((ComboBoxItem)DateTimeCB.SelectedItem).Content.ToString());
|
|
58
|
|
- Close();
|
|
59
|
|
- }
|
|
60
|
|
- }
|
|
61
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+using System.Windows;
|
|
|
6
|
+using System.Windows.Controls;
|
|
|
7
|
+using System.Windows.Data;
|
|
|
8
|
+using System.Windows.Documents;
|
|
|
9
|
+using System.Windows.Input;
|
|
|
10
|
+using System.Windows.Media;
|
|
|
11
|
+using System.Windows.Media.Imaging;
|
|
|
12
|
+using System.Windows.Shapes;
|
|
|
13
|
+using System.Data.Sql;
|
|
|
14
|
+using System.Data.SqlClient;
|
|
|
15
|
+
|
|
|
16
|
+namespace WpfApplication19
|
|
|
17
|
+{
|
|
|
18
|
+ /// <summary>
|
|
|
19
|
+ /// Interaction logic for ChooseRecord.xaml
|
|
|
20
|
+ /// </summary>
|
|
|
21
|
+ public partial class ChooseRecord : Window
|
|
|
22
|
+ {
|
|
|
23
|
+ private SqlConnection _proConn;
|
|
|
24
|
+ public ChooseRecord(string lotNo)
|
|
|
25
|
+ {
|
|
|
26
|
+ InitializeComponent();
|
|
|
27
|
+ this.LotNo = lotNo;
|
|
|
28
|
+ try
|
|
|
29
|
+ {
|
|
|
30
|
+ _proConn = Utils.createSqlConnection("productionDbCS");
|
|
|
31
|
+ }
|
|
|
32
|
+ catch (SqlException se)
|
|
|
33
|
+ {
|
|
|
34
|
+ MessageBox.Show("productionDbCS : ", se.Message);
|
|
|
35
|
+ }
|
|
|
36
|
+ SetupObject();
|
|
|
37
|
+ //LotNoLabel.Content = LotNo;
|
|
|
38
|
+ }
|
|
|
39
|
+ private void SetupObject()
|
|
|
40
|
+ {
|
|
|
41
|
+ SqlDataReader reader = Utils.Query(_proConn, "select updated_at from data where lot_no = '"+this.LotNo+"' group by updated_at");
|
|
|
42
|
+ while (reader.Read())
|
|
|
43
|
+ {
|
|
|
44
|
+
|
|
|
45
|
+ DateTimeCB.Items.Add(new ComboBoxItem() { Tag = "a", Content = reader["updated_at"].ToString() });
|
|
|
46
|
+ }
|
|
|
47
|
+ reader.Close();
|
|
|
48
|
+ //DateTimeCB.ItemsSource =
|
|
|
49
|
+ }
|
|
|
50
|
+ public string LotNo { get; set; }
|
|
|
51
|
+
|
|
|
52
|
+ private void PreviewBtn_Click(object sender, RoutedEventArgs e)
|
|
|
53
|
+ {
|
|
|
54
|
+ Application.Current.MainWindow.Show();
|
|
|
55
|
+ var w = (MainWindow)Application.Current.MainWindow;
|
|
|
56
|
+ var s = ((ComboBoxItem)DateTimeCB.SelectedItem).Content.ToString();
|
|
|
57
|
+ w.setFilterLogData(((ComboBoxItem)DateTimeCB.SelectedItem).Content.ToString());
|
|
|
58
|
+ Close();
|
|
|
59
|
+ }
|
|
|
60
|
+ }
|
|
|
61
|
+}
|
|
|
@@ -1,21 +1,21 @@
|
|
1
|
|
-<Window x:Class="WpfApplication19.ChooseRecord2"
|
|
2
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
3
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
4
|
|
- Title="ChooseRecord2" Height="291" Width="517" Loaded="Window_Loaded">
|
|
5
|
|
- <Grid>
|
|
6
|
|
- <Grid.RowDefinitions>
|
|
7
|
|
- <RowDefinition Height="207*" />
|
|
8
|
|
- <RowDefinition Height="45*" />
|
|
9
|
|
- </Grid.RowDefinitions>
|
|
10
|
|
- <DataGrid AutoGenerateColumns="False" Name="chooseGrid" CanUserAddRows="False">
|
|
11
|
|
- <DataGrid.Columns>
|
|
12
|
|
- <DataGridTextColumn Header="Lot No." Width="*" Binding="{Binding lotNo}" IsReadOnly="True" />
|
|
13
|
|
- <DataGridTextColumn Header="Code" Width="*" Binding="{Binding code}" IsReadOnly="True" />
|
|
14
|
|
- <DataGridTextColumn Header="Date" Width="*" Binding="{Binding date}" IsReadOnly="True" />
|
|
15
|
|
- <DataGridTextColumn Header="Average" Width="*" Binding="{Binding avg}" IsReadOnly="True" />
|
|
16
|
|
- </DataGrid.Columns>
|
|
17
|
|
- </DataGrid>
|
|
18
|
|
- <Button Content="Select" Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="420,10,0,0" Name="selectBtn" VerticalAlignment="Top" Width="75" Click="selectBtn_Click" />
|
|
19
|
|
- <Button Content="Cancel" Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="329,10,0,0" Name="cancel" VerticalAlignment="Top" Width="75" Click="cancel_Click" />
|
|
20
|
|
- </Grid>
|
|
21
|
|
-</Window>
|
|
|
1
|
+<Window x:Class="WpfApplication19.ChooseRecord2"
|
|
|
2
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
3
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
4
|
+ Title="ChooseRecord2" Height="291" Width="517" Loaded="Window_Loaded">
|
|
|
5
|
+ <Grid>
|
|
|
6
|
+ <Grid.RowDefinitions>
|
|
|
7
|
+ <RowDefinition Height="207*" />
|
|
|
8
|
+ <RowDefinition Height="45*" />
|
|
|
9
|
+ </Grid.RowDefinitions>
|
|
|
10
|
+ <DataGrid AutoGenerateColumns="False" Name="chooseGrid" CanUserAddRows="False">
|
|
|
11
|
+ <DataGrid.Columns>
|
|
|
12
|
+ <DataGridTextColumn Header="Lot No." Width="*" Binding="{Binding lotNo}" IsReadOnly="True" />
|
|
|
13
|
+ <DataGridTextColumn Header="Code" Width="*" Binding="{Binding code}" IsReadOnly="True" />
|
|
|
14
|
+ <DataGridTextColumn Header="Date" Width="*" Binding="{Binding date}" IsReadOnly="True" />
|
|
|
15
|
+ <DataGridTextColumn Header="Average" Width="*" Binding="{Binding avg}" IsReadOnly="True" />
|
|
|
16
|
+ </DataGrid.Columns>
|
|
|
17
|
+ </DataGrid>
|
|
|
18
|
+ <Button Content="Select" Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="420,10,0,0" Name="selectBtn" VerticalAlignment="Top" Width="75" Click="selectBtn_Click" />
|
|
|
19
|
+ <Button Content="Cancel" Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="329,10,0,0" Name="cancel" VerticalAlignment="Top" Width="75" Click="cancel_Click" />
|
|
|
20
|
+ </Grid>
|
|
|
21
|
+</Window>
|
|
|
@@ -1,105 +1,105 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-using System.Windows;
|
|
6
|
|
-using System.Windows.Controls;
|
|
7
|
|
-using System.Windows.Data;
|
|
8
|
|
-using System.Windows.Documents;
|
|
9
|
|
-using System.Windows.Input;
|
|
10
|
|
-using System.Windows.Media;
|
|
11
|
|
-using System.Windows.Media.Imaging;
|
|
12
|
|
-using System.Windows.Shapes;
|
|
13
|
|
-using System.Data.Sql;
|
|
14
|
|
-using System.Data.SqlClient;
|
|
15
|
|
-using System.Collections.ObjectModel;
|
|
16
|
|
-using System.Windows.Interop;
|
|
17
|
|
-using System.Runtime.InteropServices;
|
|
18
|
|
-namespace WpfApplication19
|
|
19
|
|
-{
|
|
20
|
|
- /// <summary>
|
|
21
|
|
- /// Interaction logic for ChooseRecord2.xaml
|
|
22
|
|
- /// </summary>
|
|
23
|
|
- public partial class ChooseRecord2 : Window
|
|
24
|
|
- {
|
|
25
|
|
- private string _lotNo;
|
|
26
|
|
- private SqlConnection _proConn;
|
|
27
|
|
- private ObservableCollection<RecordSelection> _recordList = new ObservableCollection<RecordSelection>();
|
|
28
|
|
-
|
|
29
|
|
- private const int GWL_STYLE = -16;
|
|
30
|
|
- private const int WS_SYSMENU = 0x80000;
|
|
31
|
|
- [DllImport("user32.dll", SetLastError = true)]
|
|
32
|
|
- private static extern int GetWindowLong(IntPtr hWnd, int nIndex);
|
|
33
|
|
- [DllImport("user32.dll")]
|
|
34
|
|
- private static extern int SetWindowLong(IntPtr hWnd, int nIndex, int dwNewLong);
|
|
35
|
|
-
|
|
36
|
|
-
|
|
37
|
|
- public ChooseRecord2(string lotNo)
|
|
38
|
|
- {
|
|
39
|
|
-
|
|
40
|
|
- InitializeComponent();
|
|
41
|
|
-
|
|
42
|
|
- _lotNo = lotNo;
|
|
43
|
|
- try
|
|
44
|
|
- {
|
|
45
|
|
- _proConn = Utils.createSqlConnection("productionDbCS");
|
|
46
|
|
- }
|
|
47
|
|
- catch (SqlException se)
|
|
48
|
|
- {
|
|
49
|
|
- MessageBox.Show("productionDbCS : ", se.Message);
|
|
50
|
|
- }
|
|
51
|
|
- setUpGrid();
|
|
52
|
|
- }
|
|
53
|
|
- private void setUpGrid(){
|
|
54
|
|
- /*
|
|
55
|
|
- SqlDataReader reader = Utils.Query(_proConn, "select * from data where lot_no = '" + this.LotNo + "' group by updated_at");
|
|
56
|
|
- while (reader.Read())
|
|
57
|
|
- {
|
|
58
|
|
-
|
|
59
|
|
- DateTimeCB.Items.Add(new ComboBoxItem() { Tag = "a", Content = reader["updated_at"].ToString() });
|
|
60
|
|
- }
|
|
61
|
|
- reader.Close();*/
|
|
62
|
|
- SqlDataReader reader = Utils.Query(_proConn, "select * from lot_summary where lot_no = '"+_lotNo+"' order by created_at desc");
|
|
63
|
|
- while(reader.Read()){
|
|
64
|
|
-
|
|
65
|
|
- _recordList.Add(new RecordSelection(){ lotNo = reader["lot_no"].ToString(),
|
|
66
|
|
- code = reader["code"].ToString(),
|
|
67
|
|
- date = Convert.ToDateTime(reader["created_at"]),
|
|
68
|
|
- avg = Convert.ToDouble(reader["avg"])});
|
|
69
|
|
- }
|
|
70
|
|
- chooseGrid.ItemsSource = _recordList;
|
|
71
|
|
- reader.Close();
|
|
72
|
|
- }
|
|
73
|
|
-
|
|
74
|
|
- private void selectBtn_Click(object sender, RoutedEventArgs e)
|
|
75
|
|
- {
|
|
76
|
|
- RecordSelection r = chooseGrid.SelectedItem as RecordSelection;
|
|
77
|
|
- var w = (MainWindow)Application.Current.MainWindow;
|
|
78
|
|
- try{
|
|
79
|
|
- w.setFilterLogData(r.date.ToString());
|
|
80
|
|
- Close();
|
|
81
|
|
- }catch{
|
|
82
|
|
- MessageBox.Show("Please Select A Record");
|
|
83
|
|
- }
|
|
84
|
|
- }
|
|
85
|
|
-
|
|
86
|
|
- private void Window_Loaded(object sender, RoutedEventArgs e)
|
|
87
|
|
- {
|
|
88
|
|
- var hwnd = new WindowInteropHelper(this).Handle;
|
|
89
|
|
- SetWindowLong(hwnd, GWL_STYLE, GetWindowLong(hwnd, GWL_STYLE) & ~WS_SYSMENU);
|
|
90
|
|
-
|
|
91
|
|
- }
|
|
92
|
|
-
|
|
93
|
|
- private void cancel_Click(object sender, RoutedEventArgs e)
|
|
94
|
|
- {
|
|
95
|
|
- Close();
|
|
96
|
|
- }
|
|
97
|
|
-
|
|
98
|
|
- }
|
|
99
|
|
- class RecordSelection{
|
|
100
|
|
- public string lotNo { get; set; }
|
|
101
|
|
- public string code { get; set; }
|
|
102
|
|
- public DateTime date { get; set; }
|
|
103
|
|
- public double avg { get; set; }
|
|
104
|
|
- }
|
|
105
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+using System.Windows;
|
|
|
6
|
+using System.Windows.Controls;
|
|
|
7
|
+using System.Windows.Data;
|
|
|
8
|
+using System.Windows.Documents;
|
|
|
9
|
+using System.Windows.Input;
|
|
|
10
|
+using System.Windows.Media;
|
|
|
11
|
+using System.Windows.Media.Imaging;
|
|
|
12
|
+using System.Windows.Shapes;
|
|
|
13
|
+using System.Data.Sql;
|
|
|
14
|
+using System.Data.SqlClient;
|
|
|
15
|
+using System.Collections.ObjectModel;
|
|
|
16
|
+using System.Windows.Interop;
|
|
|
17
|
+using System.Runtime.InteropServices;
|
|
|
18
|
+namespace WpfApplication19
|
|
|
19
|
+{
|
|
|
20
|
+ /// <summary>
|
|
|
21
|
+ /// Interaction logic for ChooseRecord2.xaml
|
|
|
22
|
+ /// </summary>
|
|
|
23
|
+ public partial class ChooseRecord2 : Window
|
|
|
24
|
+ {
|
|
|
25
|
+ private string _lotNo;
|
|
|
26
|
+ private SqlConnection _proConn;
|
|
|
27
|
+ private ObservableCollection<RecordSelection> _recordList = new ObservableCollection<RecordSelection>();
|
|
|
28
|
+
|
|
|
29
|
+ private const int GWL_STYLE = -16;
|
|
|
30
|
+ private const int WS_SYSMENU = 0x80000;
|
|
|
31
|
+ [DllImport("user32.dll", SetLastError = true)]
|
|
|
32
|
+ private static extern int GetWindowLong(IntPtr hWnd, int nIndex);
|
|
|
33
|
+ [DllImport("user32.dll")]
|
|
|
34
|
+ private static extern int SetWindowLong(IntPtr hWnd, int nIndex, int dwNewLong);
|
|
|
35
|
+
|
|
|
36
|
+
|
|
|
37
|
+ public ChooseRecord2(string lotNo)
|
|
|
38
|
+ {
|
|
|
39
|
+
|
|
|
40
|
+ InitializeComponent();
|
|
|
41
|
+
|
|
|
42
|
+ _lotNo = lotNo;
|
|
|
43
|
+ try
|
|
|
44
|
+ {
|
|
|
45
|
+ _proConn = Utils.createSqlConnection("productionDbCS");
|
|
|
46
|
+ }
|
|
|
47
|
+ catch (SqlException se)
|
|
|
48
|
+ {
|
|
|
49
|
+ MessageBox.Show("productionDbCS : ", se.Message);
|
|
|
50
|
+ }
|
|
|
51
|
+ setUpGrid();
|
|
|
52
|
+ }
|
|
|
53
|
+ private void setUpGrid(){
|
|
|
54
|
+ /*
|
|
|
55
|
+ SqlDataReader reader = Utils.Query(_proConn, "select * from data where lot_no = '" + this.LotNo + "' group by updated_at");
|
|
|
56
|
+ while (reader.Read())
|
|
|
57
|
+ {
|
|
|
58
|
+
|
|
|
59
|
+ DateTimeCB.Items.Add(new ComboBoxItem() { Tag = "a", Content = reader["updated_at"].ToString() });
|
|
|
60
|
+ }
|
|
|
61
|
+ reader.Close();*/
|
|
|
62
|
+ SqlDataReader reader = Utils.Query(_proConn, "select * from lot_summary where lot_no = '"+_lotNo+"' order by created_at desc");
|
|
|
63
|
+ while(reader.Read()){
|
|
|
64
|
+
|
|
|
65
|
+ _recordList.Add(new RecordSelection(){ lotNo = reader["lot_no"].ToString(),
|
|
|
66
|
+ code = reader["code"].ToString(),
|
|
|
67
|
+ date = Convert.ToDateTime(reader["created_at"]),
|
|
|
68
|
+ avg = Convert.ToDouble(reader["avg"])});
|
|
|
69
|
+ }
|
|
|
70
|
+ chooseGrid.ItemsSource = _recordList;
|
|
|
71
|
+ reader.Close();
|
|
|
72
|
+ }
|
|
|
73
|
+
|
|
|
74
|
+ private void selectBtn_Click(object sender, RoutedEventArgs e)
|
|
|
75
|
+ {
|
|
|
76
|
+ RecordSelection r = chooseGrid.SelectedItem as RecordSelection;
|
|
|
77
|
+ var w = (MainWindow)Application.Current.MainWindow;
|
|
|
78
|
+ try{
|
|
|
79
|
+ w.setFilterLogData(r.date.ToString());
|
|
|
80
|
+ Close();
|
|
|
81
|
+ }catch{
|
|
|
82
|
+ MessageBox.Show("Please Select A Record");
|
|
|
83
|
+ }
|
|
|
84
|
+ }
|
|
|
85
|
+
|
|
|
86
|
+ private void Window_Loaded(object sender, RoutedEventArgs e)
|
|
|
87
|
+ {
|
|
|
88
|
+ var hwnd = new WindowInteropHelper(this).Handle;
|
|
|
89
|
+ SetWindowLong(hwnd, GWL_STYLE, GetWindowLong(hwnd, GWL_STYLE) & ~WS_SYSMENU);
|
|
|
90
|
+
|
|
|
91
|
+ }
|
|
|
92
|
+
|
|
|
93
|
+ private void cancel_Click(object sender, RoutedEventArgs e)
|
|
|
94
|
+ {
|
|
|
95
|
+ Close();
|
|
|
96
|
+ }
|
|
|
97
|
+
|
|
|
98
|
+ }
|
|
|
99
|
+ class RecordSelection{
|
|
|
100
|
+ public string lotNo { get; set; }
|
|
|
101
|
+ public string code { get; set; }
|
|
|
102
|
+ public DateTime date { get; set; }
|
|
|
103
|
+ public double avg { get; set; }
|
|
|
104
|
+ }
|
|
|
105
|
+}
|
|
|
@@ -1,119 +1,119 @@
|
|
1
|
|
-<Window x:Class="WpfApplication19.DailyCheck"
|
|
2
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
3
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
4
|
|
- Title="DailyCheck" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" d:DesignHeight="351" SizeToContent="WidthAndHeight" ResizeMode="CanResize" WindowStartupLocation="CenterScreen" WindowState="Maximized" Closed="Window_Closed">
|
|
5
|
|
- <Window.Resources>
|
|
6
|
|
- <Style TargetType="{x:Type DataGridCell}">
|
|
7
|
|
- <Style.Triggers>
|
|
8
|
|
- <Trigger Property="DataGridCell.IsFocused" Value="True">
|
|
9
|
|
- <Setter Property="Background" Value="#ff0000" />
|
|
10
|
|
- <Setter Property="Foreground" Value="#ffffff" />
|
|
11
|
|
- </Trigger>
|
|
12
|
|
-
|
|
13
|
|
-
|
|
14
|
|
- </Style.Triggers>
|
|
15
|
|
- <Setter Property="FontSize" Value="20" />
|
|
16
|
|
- </Style>
|
|
17
|
|
- <Style x:Key="DatePickerStyle1" TargetType="{x:Type DatePicker}">
|
|
18
|
|
- <Setter Property="Foreground" Value="#FF333333"/>
|
|
19
|
|
- <Setter Property="IsTodayHighlighted" Value="True"/>
|
|
20
|
|
- <Setter Property="SelectedDateFormat" Value="Short"/>
|
|
21
|
|
- <Setter Property="Background" Value="Transparent"/>
|
|
22
|
|
- <Setter Property="Padding" Value="2"/>
|
|
23
|
|
- <Setter Property="BorderBrush">
|
|
24
|
|
- <Setter.Value>
|
|
25
|
|
- <LinearGradientBrush EndPoint=".5,0" StartPoint=".5,1">
|
|
26
|
|
- <GradientStop Color="#FFA3AEB9" Offset="0"/>
|
|
27
|
|
- <GradientStop Color="#FF8399A9" Offset="0.375"/>
|
|
28
|
|
- <GradientStop Color="#FF718597" Offset="0.375"/>
|
|
29
|
|
- <GradientStop Color="#FF617584" Offset="1"/>
|
|
30
|
|
- </LinearGradientBrush>
|
|
31
|
|
- </Setter.Value>
|
|
32
|
|
- </Setter>
|
|
33
|
|
- <Setter Property="BorderThickness" Value="1"/>
|
|
34
|
|
- <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
|
|
35
|
|
- <Setter Property="Template">
|
|
36
|
|
- <Setter.Value>
|
|
37
|
|
- <ControlTemplate TargetType="{x:Type DatePicker}">
|
|
38
|
|
- <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}">
|
|
39
|
|
- <VisualStateManager.VisualStateGroups>
|
|
40
|
|
- <VisualStateGroup x:Name="CommonStates">
|
|
41
|
|
- <VisualState x:Name="Normal"/>
|
|
42
|
|
- <VisualState x:Name="Disabled">
|
|
43
|
|
- <Storyboard>
|
|
44
|
|
- <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_DisabledVisual"/>
|
|
45
|
|
- </Storyboard>
|
|
46
|
|
- </VisualState>
|
|
47
|
|
- </VisualStateGroup>
|
|
48
|
|
- </VisualStateManager.VisualStateGroups>
|
|
49
|
|
- <Grid x:Name="PART_Root" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
|
|
50
|
|
- <Grid.Resources>
|
|
51
|
|
- <SolidColorBrush x:Key="DisabledBrush" Color="#A5FFFFFF"/>
|
|
52
|
|
- <ControlTemplate x:Key="DropDownButtonTemplate" TargetType="{x:Type Button}">
|
|
53
|
|
- <Grid>
|
|
54
|
|
- <VisualStateManager.VisualStateGroups>
|
|
55
|
|
- <VisualStateGroup x:Name="CommonStates">
|
|
56
|
|
- <VisualStateGroup.Transitions>
|
|
57
|
|
- <VisualTransition GeneratedDuration="0"/>
|
|
58
|
|
- <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
|
|
59
|
|
- <VisualTransition GeneratedDuration="0:0:0.1" To="Pressed"/>
|
|
60
|
|
- </VisualStateGroup.Transitions>
|
|
61
|
|
- <VisualState x:Name="Normal"/>
|
|
62
|
|
- <VisualState x:Name="MouseOver"/>
|
|
63
|
|
- <VisualState x:Name="Pressed"/>
|
|
64
|
|
- <VisualState x:Name="Disabled"/>
|
|
65
|
|
- </VisualStateGroup>
|
|
66
|
|
- </VisualStateManager.VisualStateGroups>
|
|
67
|
|
- <Image Grid.ColumnSpan="1" Grid.RowSpan="1" Source="ical2.png" Margin="0,0,1,0.298"/>
|
|
68
|
|
- </Grid>
|
|
69
|
|
- </ControlTemplate>
|
|
70
|
|
- </Grid.Resources>
|
|
71
|
|
- <Grid.ColumnDefinitions>
|
|
72
|
|
- <ColumnDefinition Width="*"/>
|
|
73
|
|
- <ColumnDefinition Width="Auto"/>
|
|
74
|
|
- </Grid.ColumnDefinitions>
|
|
75
|
|
- <Button x:Name="PART_Button" Grid.Column="1" Foreground="{TemplateBinding Foreground}" Focusable="False" HorizontalAlignment="Left" Margin="3,0,3,0" Grid.Row="0" Template="{StaticResource DropDownButtonTemplate}" VerticalAlignment="Top" Width="30"/>
|
|
76
|
|
- <DatePickerTextBox x:Name="PART_TextBox" Grid.Column="0" Foreground="{TemplateBinding Foreground}" Focusable="{TemplateBinding Focusable}" HorizontalContentAlignment="Stretch" Grid.Row="0" VerticalContentAlignment="Stretch" FontSize="16"/>
|
|
77
|
|
- <Grid x:Name="PART_DisabledVisual" Grid.ColumnSpan="2" Grid.Column="0" IsHitTestVisible="False" Opacity="0" Grid.Row="0">
|
|
78
|
|
- <Grid.ColumnDefinitions>
|
|
79
|
|
- <ColumnDefinition Width="*"/>
|
|
80
|
|
- <ColumnDefinition Width="Auto"/>
|
|
81
|
|
- </Grid.ColumnDefinitions>
|
|
82
|
|
- <Rectangle Grid.Column="0" Fill="#A5FFFFFF" RadiusY="1" Grid.Row="0" RadiusX="1"/>
|
|
83
|
|
- <Rectangle Grid.Column="1" Fill="#A5FFFFFF" Height="18" Margin="3,0,3,0" RadiusY="1" Grid.Row="0" RadiusX="1" Width="19"/>
|
|
84
|
|
- <Popup x:Name="PART_Popup" AllowsTransparency="True" Placement="Bottom" PlacementTarget="{Binding ElementName=PART_TextBox}" StaysOpen="False"/>
|
|
85
|
|
- </Grid>
|
|
86
|
|
- </Grid>
|
|
87
|
|
- </Border>
|
|
88
|
|
- </ControlTemplate>
|
|
89
|
|
- </Setter.Value>
|
|
90
|
|
- </Setter>
|
|
91
|
|
- </Style>
|
|
92
|
|
- </Window.Resources>
|
|
93
|
|
- <Viewbox>
|
|
94
|
|
- <Grid Width="800" Height="311">
|
|
95
|
|
- <Button Content="Save" Height="32" HorizontalAlignment="Left" Margin="673,175,0,0" Name="saveBtn" VerticalAlignment="Top" Width="81" Click="saveBtn_Click" />
|
|
96
|
|
- <TextBlock Height="94" HorizontalAlignment="Left" Margin="646,67,0,0" Name="measureBlock" Text="00.00" VerticalAlignment="Top" Width="142" Background="#FF1A0202" Foreground="#FFF21919" TextAlignment="Center" FontSize="56" Padding="0,8" />
|
|
97
|
|
- <DataGrid AutoGenerateColumns="False" Height="187" HorizontalAlignment="Left" Margin="41,67,0,0" Name="dailyCheckGrid" VerticalAlignment="Top" Width="561" CanUserAddRows="False" CanUserReorderColumns="False" CanUserSortColumns="False" Focusable="True" SelectedValuePath="P1" SelectionUnit="FullRow" GotFocus="dailyCheckGrid_GotFocus" Loaded="dailyCheckGrid_Loaded">
|
|
98
|
|
- <DataGrid.Columns>
|
|
99
|
|
- <DataGridTextColumn Header="Header" Width="*" Binding="{Binding header}" IsReadOnly="True"/>
|
|
100
|
|
- <DataGridTextColumn Header="P1" Width="*" Binding="{Binding p1, StringFormat=0.00}" IsReadOnly="True" />
|
|
101
|
|
- <DataGridTextColumn Header="P2" Width="*" Binding="{Binding p2, StringFormat=0.00}" IsReadOnly="True"/>
|
|
102
|
|
- <DataGridTextColumn Header="P3" Width="*" Binding="{Binding p3, StringFormat=0.00}" IsReadOnly="True"/>
|
|
103
|
|
- <DataGridTextColumn Header="Avg" Width="*" Binding="{Binding avg, StringFormat=0.00}" IsReadOnly="True"/>
|
|
104
|
|
- <DataGridTextColumn Header="Result" Width="*" Binding="{Binding result}" IsReadOnly="True"/>
|
|
105
|
|
- </DataGrid.Columns>
|
|
106
|
|
- </DataGrid>
|
|
107
|
|
- <Button Content="Commit" Height="23" HorizontalAlignment="Left" Margin="527,268,0,0" Name="commitBtn" VerticalAlignment="Top" Width="75" Click="commitBtn_Click" />
|
|
108
|
|
- <DatePicker Height="29" HorizontalAlignment="Left" Margin="233.725,24.683,0,0" Name="datePicker" VerticalAlignment="Top" Width="142" Text="hello" SelectedDateChanged="datePicker_SelectedDateChanged" Style="{DynamicResource DatePickerStyle1}" RenderTransformOrigin="0.509,-0.966" />
|
|
109
|
|
- <ComboBox Height="29.858" HorizontalAlignment="Left" Margin="41,24.254,0,0" Name="shiftCB" VerticalAlignment="Top" Width="172.853" SelectedIndex="0" FontSize="16">
|
|
110
|
|
- <ComboBoxItem Content="Day ( 08.00 - 20.00 )" Tag="day" />
|
|
111
|
|
- <ComboBoxItem Content="Night ( 20.00 - 08.00 )" Tag="night" />
|
|
112
|
|
- </ComboBox>
|
|
113
|
|
- <TextBlock Height="23" HorizontalAlignment="Left" Margin="41,269,0,0" Name="textBlock1" Text="Standard values, OB :" VerticalAlignment="Top" Foreground="#CA000000" />
|
|
114
|
|
- <TextBlock Height="23" HorizontalAlignment="Left" Margin="164,268,0,0" Name="textBlock2" Text="0.59 - 0.70" VerticalAlignment="Top" Foreground="#FF3063F0" FontWeight="Bold" FontSize="14" />
|
|
115
|
|
- <TextBlock Foreground="#CA000000" Height="23" HorizontalAlignment="Left" Margin="265,270,0,0" Name="textBlock4" Text="OC :" VerticalAlignment="Top" />
|
|
116
|
|
- <TextBlock FontSize="14" FontWeight="Bold" Foreground="#FF3063F0" Height="23" HorizontalAlignment="Left" Margin="297,268,0,0" Name="textBlock3" Text="0.28 - 0.37" VerticalAlignment="Top" />
|
|
117
|
|
- </Grid>
|
|
118
|
|
- </Viewbox>
|
|
119
|
|
-</Window>
|
|
|
1
|
+<Window x:Class="WpfApplication19.DailyCheck"
|
|
|
2
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
3
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
4
|
+ Title="DailyCheck" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" d:DesignHeight="351" SizeToContent="WidthAndHeight" ResizeMode="CanResize" WindowStartupLocation="CenterScreen" WindowState="Maximized" Closed="Window_Closed">
|
|
|
5
|
+ <Window.Resources>
|
|
|
6
|
+ <Style TargetType="{x:Type DataGridCell}">
|
|
|
7
|
+ <Style.Triggers>
|
|
|
8
|
+ <Trigger Property="DataGridCell.IsFocused" Value="True">
|
|
|
9
|
+ <Setter Property="Background" Value="#ff0000" />
|
|
|
10
|
+ <Setter Property="Foreground" Value="#ffffff" />
|
|
|
11
|
+ </Trigger>
|
|
|
12
|
+
|
|
|
13
|
+
|
|
|
14
|
+ </Style.Triggers>
|
|
|
15
|
+ <Setter Property="FontSize" Value="20" />
|
|
|
16
|
+ </Style>
|
|
|
17
|
+ <Style x:Key="DatePickerStyle1" TargetType="{x:Type DatePicker}">
|
|
|
18
|
+ <Setter Property="Foreground" Value="#FF333333"/>
|
|
|
19
|
+ <Setter Property="IsTodayHighlighted" Value="True"/>
|
|
|
20
|
+ <Setter Property="SelectedDateFormat" Value="Short"/>
|
|
|
21
|
+ <Setter Property="Background" Value="Transparent"/>
|
|
|
22
|
+ <Setter Property="Padding" Value="2"/>
|
|
|
23
|
+ <Setter Property="BorderBrush">
|
|
|
24
|
+ <Setter.Value>
|
|
|
25
|
+ <LinearGradientBrush EndPoint=".5,0" StartPoint=".5,1">
|
|
|
26
|
+ <GradientStop Color="#FFA3AEB9" Offset="0"/>
|
|
|
27
|
+ <GradientStop Color="#FF8399A9" Offset="0.375"/>
|
|
|
28
|
+ <GradientStop Color="#FF718597" Offset="0.375"/>
|
|
|
29
|
+ <GradientStop Color="#FF617584" Offset="1"/>
|
|
|
30
|
+ </LinearGradientBrush>
|
|
|
31
|
+ </Setter.Value>
|
|
|
32
|
+ </Setter>
|
|
|
33
|
+ <Setter Property="BorderThickness" Value="1"/>
|
|
|
34
|
+ <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
|
|
|
35
|
+ <Setter Property="Template">
|
|
|
36
|
+ <Setter.Value>
|
|
|
37
|
+ <ControlTemplate TargetType="{x:Type DatePicker}">
|
|
|
38
|
+ <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}">
|
|
|
39
|
+ <VisualStateManager.VisualStateGroups>
|
|
|
40
|
+ <VisualStateGroup x:Name="CommonStates">
|
|
|
41
|
+ <VisualState x:Name="Normal"/>
|
|
|
42
|
+ <VisualState x:Name="Disabled">
|
|
|
43
|
+ <Storyboard>
|
|
|
44
|
+ <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_DisabledVisual"/>
|
|
|
45
|
+ </Storyboard>
|
|
|
46
|
+ </VisualState>
|
|
|
47
|
+ </VisualStateGroup>
|
|
|
48
|
+ </VisualStateManager.VisualStateGroups>
|
|
|
49
|
+ <Grid x:Name="PART_Root" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
|
|
|
50
|
+ <Grid.Resources>
|
|
|
51
|
+ <SolidColorBrush x:Key="DisabledBrush" Color="#A5FFFFFF"/>
|
|
|
52
|
+ <ControlTemplate x:Key="DropDownButtonTemplate" TargetType="{x:Type Button}">
|
|
|
53
|
+ <Grid>
|
|
|
54
|
+ <VisualStateManager.VisualStateGroups>
|
|
|
55
|
+ <VisualStateGroup x:Name="CommonStates">
|
|
|
56
|
+ <VisualStateGroup.Transitions>
|
|
|
57
|
+ <VisualTransition GeneratedDuration="0"/>
|
|
|
58
|
+ <VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver"/>
|
|
|
59
|
+ <VisualTransition GeneratedDuration="0:0:0.1" To="Pressed"/>
|
|
|
60
|
+ </VisualStateGroup.Transitions>
|
|
|
61
|
+ <VisualState x:Name="Normal"/>
|
|
|
62
|
+ <VisualState x:Name="MouseOver"/>
|
|
|
63
|
+ <VisualState x:Name="Pressed"/>
|
|
|
64
|
+ <VisualState x:Name="Disabled"/>
|
|
|
65
|
+ </VisualStateGroup>
|
|
|
66
|
+ </VisualStateManager.VisualStateGroups>
|
|
|
67
|
+ <Image Grid.ColumnSpan="1" Grid.RowSpan="1" Source="ical2.png" Margin="0,0,1,0.298"/>
|
|
|
68
|
+ </Grid>
|
|
|
69
|
+ </ControlTemplate>
|
|
|
70
|
+ </Grid.Resources>
|
|
|
71
|
+ <Grid.ColumnDefinitions>
|
|
|
72
|
+ <ColumnDefinition Width="*"/>
|
|
|
73
|
+ <ColumnDefinition Width="Auto"/>
|
|
|
74
|
+ </Grid.ColumnDefinitions>
|
|
|
75
|
+ <Button x:Name="PART_Button" Grid.Column="1" Foreground="{TemplateBinding Foreground}" Focusable="False" HorizontalAlignment="Left" Margin="3,0,3,0" Grid.Row="0" Template="{StaticResource DropDownButtonTemplate}" VerticalAlignment="Top" Width="30"/>
|
|
|
76
|
+ <DatePickerTextBox x:Name="PART_TextBox" Grid.Column="0" Foreground="{TemplateBinding Foreground}" Focusable="{TemplateBinding Focusable}" HorizontalContentAlignment="Stretch" Grid.Row="0" VerticalContentAlignment="Stretch" FontSize="16"/>
|
|
|
77
|
+ <Grid x:Name="PART_DisabledVisual" Grid.ColumnSpan="2" Grid.Column="0" IsHitTestVisible="False" Opacity="0" Grid.Row="0">
|
|
|
78
|
+ <Grid.ColumnDefinitions>
|
|
|
79
|
+ <ColumnDefinition Width="*"/>
|
|
|
80
|
+ <ColumnDefinition Width="Auto"/>
|
|
|
81
|
+ </Grid.ColumnDefinitions>
|
|
|
82
|
+ <Rectangle Grid.Column="0" Fill="#A5FFFFFF" RadiusY="1" Grid.Row="0" RadiusX="1"/>
|
|
|
83
|
+ <Rectangle Grid.Column="1" Fill="#A5FFFFFF" Height="18" Margin="3,0,3,0" RadiusY="1" Grid.Row="0" RadiusX="1" Width="19"/>
|
|
|
84
|
+ <Popup x:Name="PART_Popup" AllowsTransparency="True" Placement="Bottom" PlacementTarget="{Binding ElementName=PART_TextBox}" StaysOpen="False"/>
|
|
|
85
|
+ </Grid>
|
|
|
86
|
+ </Grid>
|
|
|
87
|
+ </Border>
|
|
|
88
|
+ </ControlTemplate>
|
|
|
89
|
+ </Setter.Value>
|
|
|
90
|
+ </Setter>
|
|
|
91
|
+ </Style>
|
|
|
92
|
+ </Window.Resources>
|
|
|
93
|
+ <Viewbox>
|
|
|
94
|
+ <Grid Width="800" Height="311">
|
|
|
95
|
+ <Button Content="Save" Height="32" HorizontalAlignment="Left" Margin="673,175,0,0" Name="saveBtn" VerticalAlignment="Top" Width="81" Click="saveBtn_Click" />
|
|
|
96
|
+ <TextBlock Height="94" HorizontalAlignment="Left" Margin="646,67,0,0" Name="measureBlock" Text="00.00" VerticalAlignment="Top" Width="142" Background="#FF1A0202" Foreground="#FFF21919" TextAlignment="Center" FontSize="56" Padding="0,8" />
|
|
|
97
|
+ <DataGrid AutoGenerateColumns="False" Height="187" HorizontalAlignment="Left" Margin="41,67,0,0" Name="dailyCheckGrid" VerticalAlignment="Top" Width="561" CanUserAddRows="False" CanUserReorderColumns="False" CanUserSortColumns="False" Focusable="True" SelectedValuePath="P1" SelectionUnit="FullRow" GotFocus="dailyCheckGrid_GotFocus" Loaded="dailyCheckGrid_Loaded">
|
|
|
98
|
+ <DataGrid.Columns>
|
|
|
99
|
+ <DataGridTextColumn Header="Header" Width="*" Binding="{Binding header}" IsReadOnly="True"/>
|
|
|
100
|
+ <DataGridTextColumn Header="P1" Width="*" Binding="{Binding p1, StringFormat=0.00}" IsReadOnly="True" />
|
|
|
101
|
+ <DataGridTextColumn Header="P2" Width="*" Binding="{Binding p2, StringFormat=0.00}" IsReadOnly="True"/>
|
|
|
102
|
+ <DataGridTextColumn Header="P3" Width="*" Binding="{Binding p3, StringFormat=0.00}" IsReadOnly="True"/>
|
|
|
103
|
+ <DataGridTextColumn Header="Avg" Width="*" Binding="{Binding avg, StringFormat=0.00}" IsReadOnly="True"/>
|
|
|
104
|
+ <DataGridTextColumn Header="Result" Width="*" Binding="{Binding result}" IsReadOnly="True"/>
|
|
|
105
|
+ </DataGrid.Columns>
|
|
|
106
|
+ </DataGrid>
|
|
|
107
|
+ <Button Content="Commit" Height="23" HorizontalAlignment="Left" Margin="527,268,0,0" Name="commitBtn" VerticalAlignment="Top" Width="75" Click="commitBtn_Click" />
|
|
|
108
|
+ <DatePicker Height="29" HorizontalAlignment="Left" Margin="233.725,24.683,0,0" Name="datePicker" VerticalAlignment="Top" Width="142" Text="hello" SelectedDateChanged="datePicker_SelectedDateChanged" Style="{DynamicResource DatePickerStyle1}" RenderTransformOrigin="0.509,-0.966" />
|
|
|
109
|
+ <ComboBox Height="29.858" HorizontalAlignment="Left" Margin="41,24.254,0,0" Name="shiftCB" VerticalAlignment="Top" Width="172.853" SelectedIndex="0" FontSize="16">
|
|
|
110
|
+ <ComboBoxItem Content="Day ( 08.00 - 20.00 )" Tag="day" />
|
|
|
111
|
+ <ComboBoxItem Content="Night ( 20.00 - 08.00 )" Tag="night" />
|
|
|
112
|
+ </ComboBox>
|
|
|
113
|
+ <TextBlock Height="23" HorizontalAlignment="Left" Margin="41,269,0,0" Name="textBlock1" Text="Standard values, OB :" VerticalAlignment="Top" Foreground="#CA000000" />
|
|
|
114
|
+ <TextBlock Height="23" HorizontalAlignment="Left" Margin="164,268,0,0" Name="textBlock2" Text="0.59 - 0.70" VerticalAlignment="Top" Foreground="#FF3063F0" FontWeight="Bold" FontSize="14" />
|
|
|
115
|
+ <TextBlock Foreground="#CA000000" Height="23" HorizontalAlignment="Left" Margin="265,270,0,0" Name="textBlock4" Text="OC :" VerticalAlignment="Top" />
|
|
|
116
|
+ <TextBlock FontSize="14" FontWeight="Bold" Foreground="#FF3063F0" Height="23" HorizontalAlignment="Left" Margin="297,268,0,0" Name="textBlock3" Text="0.28 - 0.37" VerticalAlignment="Top" />
|
|
|
117
|
+ </Grid>
|
|
|
118
|
+ </Viewbox>
|
|
|
119
|
+</Window>
|
|
|
@@ -1,293 +1,293 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-using System.Windows;
|
|
6
|
|
-using System.Windows.Controls;
|
|
7
|
|
-using System.Windows.Data;
|
|
8
|
|
-using System.Windows.Documents;
|
|
9
|
|
-using System.Windows.Input;
|
|
10
|
|
-using System.Windows.Media;
|
|
11
|
|
-using System.Windows.Media.Imaging;
|
|
12
|
|
-using System.Windows.Shapes;
|
|
13
|
|
-using System.Collections.ObjectModel;
|
|
14
|
|
-using System.Data.SqlClient;
|
|
15
|
|
-using System.Data;
|
|
16
|
|
-namespace WpfApplication19
|
|
17
|
|
-{
|
|
18
|
|
- /// <summary>
|
|
19
|
|
- /// Interaction logic for DailyCheck.xaml
|
|
20
|
|
- /// </summary>
|
|
21
|
|
- public partial class DailyCheck : Window
|
|
22
|
|
- {
|
|
23
|
|
- ObservableCollection<DailyChecker> _dailyChecks = new ObservableCollection<DailyChecker>();
|
|
24
|
|
- DataGridCellInfo _cell;
|
|
25
|
|
- DataGridColumn _col;
|
|
26
|
|
- DailyChecker _item;
|
|
27
|
|
- SqlConnection _proConn;
|
|
28
|
|
- DateTime _now, _tomorrow;
|
|
29
|
|
- string _shift;
|
|
30
|
|
- public DailyCheck()
|
|
31
|
|
- {
|
|
32
|
|
- InitializeComponent();
|
|
33
|
|
-
|
|
34
|
|
- //nowLabel.Content = String.Format("{0:dd/MM/yyyy}", DateTime.Now);
|
|
35
|
|
- //var test = DateTime.Now + 1;
|
|
36
|
|
- _now = DateTime.Now.Date;
|
|
37
|
|
- _tomorrow = _now.AddDays(1);
|
|
38
|
|
- var c = DateTime.Now.AddDays(1);
|
|
39
|
|
-
|
|
40
|
|
- var hr = DateTime.Now.TimeOfDay.Hours;
|
|
41
|
|
- //shiftCB.SelectionChanged -= shiftCB_SelectionChanged;
|
|
42
|
|
- if(hr >= 8 && hr <= 19){
|
|
43
|
|
- _shift = "day";
|
|
44
|
|
- shiftCB.SelectedIndex = 0;
|
|
45
|
|
- }else{
|
|
46
|
|
- _shift = "night";
|
|
47
|
|
- shiftCB.SelectedIndex = 1;
|
|
48
|
|
- }
|
|
49
|
|
-
|
|
50
|
|
-
|
|
51
|
|
- datePicker.SelectedDateChanged -= datePicker_SelectedDateChanged;
|
|
52
|
|
- datePicker.SelectedDate =_now;
|
|
53
|
|
- datePicker.SelectedDateChanged += datePicker_SelectedDateChanged;
|
|
54
|
|
-
|
|
55
|
|
- shiftCB.SelectionChanged += shiftCB_SelectionChanged;
|
|
56
|
|
- try
|
|
57
|
|
- {
|
|
58
|
|
- _proConn = Utils.createSqlConnection("productionDbCS");
|
|
59
|
|
-
|
|
60
|
|
- }
|
|
61
|
|
- catch (SqlException se)
|
|
62
|
|
- {
|
|
63
|
|
- MessageBox.Show("productionDbCS : ", se.Message);
|
|
64
|
|
- }
|
|
65
|
|
- //var w = (MainWindow)Application.Current.MainWindow;
|
|
66
|
|
- //_proConn = w.proConn;
|
|
67
|
|
- initDataGrid();
|
|
68
|
|
- //dailyCheckGrid.Focus();
|
|
69
|
|
-
|
|
70
|
|
-
|
|
71
|
|
- }
|
|
72
|
|
- void initDataGrid(){
|
|
73
|
|
- setGrid(_now, _tomorrow, _shift);
|
|
74
|
|
-
|
|
75
|
|
-
|
|
76
|
|
- }
|
|
77
|
|
-
|
|
78
|
|
- private void setGrid(DateTime from, DateTime to, string shift)
|
|
79
|
|
- {
|
|
80
|
|
- var id = Utils.getSetting("currentMachine");
|
|
81
|
|
- var sql = string.Format("select * from daily_checks where created_at >= '{0:yyyy-MM-dd}' and created_at < '{1:yyyy-MM-dd}' and machine_id = {2} and shift = '{3}'"
|
|
82
|
|
- , from,to, id, shift);
|
|
83
|
|
- var reader = Utils.Query(_proConn, sql);
|
|
84
|
|
-
|
|
85
|
|
- dailyCheckGrid.ItemsSource = null;
|
|
86
|
|
- _dailyChecks.Clear();
|
|
87
|
|
- if (reader.HasRows)
|
|
88
|
|
- {
|
|
89
|
|
- while (reader.Read())
|
|
90
|
|
- {
|
|
91
|
|
-
|
|
92
|
|
- _dailyChecks.Add(new DailyChecker()
|
|
93
|
|
- {
|
|
94
|
|
- header = reader["header"].ToString().ToUpper(),
|
|
95
|
|
- p1 = Math.Round(Convert.ToDouble(reader["p1"]), 2),
|
|
96
|
|
- p2 = Math.Round(Convert.ToDouble(reader["p2"]), 2),
|
|
97
|
|
- p3 = Math.Round(Convert.ToDouble(reader["p3"]), 2),
|
|
98
|
|
- avg = Math.Round(Convert.ToDouble(reader["avg"]), 2),
|
|
99
|
|
- result = reader["result"].ToString()
|
|
100
|
|
- });
|
|
101
|
|
- }
|
|
102
|
|
-
|
|
103
|
|
- }
|
|
104
|
|
- else
|
|
105
|
|
- {
|
|
106
|
|
- _dailyChecks.Add(new DailyChecker() { header = "OB", p1 = 0, p2 = 0, p3 = 0, avg = 0 });
|
|
107
|
|
- _dailyChecks.Add(new DailyChecker() { header = "OC", p1 = 0, p2 = 0, p3 = 0, avg = 0 });
|
|
108
|
|
- _dailyChecks.Add(new DailyChecker() { header = "RH", p1 = 0, p2 = 0, p3 = 0, avg = 0 });
|
|
109
|
|
- }
|
|
110
|
|
- reader.Close();
|
|
111
|
|
- dailyCheckGrid.Items.Clear();
|
|
112
|
|
- dailyCheckGrid.ItemsSource = _dailyChecks;
|
|
113
|
|
- }
|
|
114
|
|
-
|
|
115
|
|
-
|
|
116
|
|
- private void saveBtn_Click(object sender, RoutedEventArgs e)
|
|
117
|
|
- {
|
|
118
|
|
- int row, col;
|
|
119
|
|
- string header;
|
|
120
|
|
- //dailyCheckGrid.Focus();
|
|
121
|
|
- try{
|
|
122
|
|
- header = _cell.Column.Header.ToString();
|
|
123
|
|
- row = _dailyChecks.IndexOf((_cell.Item as DailyChecker));
|
|
124
|
|
- col = _col.DisplayIndex;
|
|
125
|
|
- }catch{
|
|
126
|
|
- dailyCheckGrid.Focus();
|
|
127
|
|
- dailyCheckGrid.CurrentCell = new DataGridCellInfo(
|
|
128
|
|
- dailyCheckGrid.Items[0], dailyCheckGrid.Columns[1]);
|
|
129
|
|
- dailyCheckGrid.BeginEdit();
|
|
130
|
|
- header = "P1";
|
|
131
|
|
- row = 0;
|
|
132
|
|
- col = 1;
|
|
133
|
|
- _item = _dailyChecks[0];
|
|
134
|
|
- }
|
|
135
|
|
- switch(header){
|
|
136
|
|
- case "P1":
|
|
137
|
|
- //var c = dailyCheckGrid.CurrentItem as DailyChecker;
|
|
138
|
|
- _item.p1 = Convert.ToDouble(measureBlock.Text);
|
|
139
|
|
- break;
|
|
140
|
|
- case "P2":
|
|
141
|
|
- _item.p2 = Convert.ToDouble(measureBlock.Text);
|
|
142
|
|
- break;
|
|
143
|
|
- case "P3":
|
|
144
|
|
- _item.p3 = Convert.ToDouble(measureBlock.Text);
|
|
145
|
|
- break;
|
|
146
|
|
-
|
|
147
|
|
- }
|
|
148
|
|
- _item.avg = Math.Round((_item.p1 + _item.p2 + _item.p3)/3, 2);
|
|
149
|
|
- if(_item.header == "OB"){
|
|
150
|
|
- if(_item.avg >= 0.59 && _item.avg <= 0.70){
|
|
151
|
|
- _item.result = "OK";
|
|
152
|
|
- }else {
|
|
153
|
|
- _item.result = "NG";
|
|
154
|
|
- }
|
|
155
|
|
- }
|
|
156
|
|
- if(_item.header == "OC"){
|
|
157
|
|
- if (_item.avg >= 0.28 && _item.avg <= 0.37)
|
|
158
|
|
- {
|
|
159
|
|
- _item.result = "OK";
|
|
160
|
|
- }
|
|
161
|
|
- else
|
|
162
|
|
- {
|
|
163
|
|
- _item.result = "NG";
|
|
164
|
|
- }
|
|
165
|
|
- }
|
|
166
|
|
- dailyCheckGrid.Items.Refresh();
|
|
167
|
|
- dailyCheckGrid.Focus();
|
|
168
|
|
- if(header != "Header" && header != "Avg" && header != "P3"){
|
|
169
|
|
- dailyCheckGrid.CurrentCell = new DataGridCellInfo(
|
|
170
|
|
- dailyCheckGrid.Items[row], dailyCheckGrid.Columns[col + 1]);
|
|
171
|
|
- dailyCheckGrid.BeginEdit();
|
|
172
|
|
- }
|
|
173
|
|
- if(header == "P3"){
|
|
174
|
|
- try{
|
|
175
|
|
- dailyCheckGrid.CurrentCell = new DataGridCellInfo(
|
|
176
|
|
- dailyCheckGrid.Items[row+1], dailyCheckGrid.Columns[1]);
|
|
177
|
|
- dailyCheckGrid.SelectedItem = dailyCheckGrid.Items[row + 1];
|
|
178
|
|
- dailyCheckGrid.BeginEdit();
|
|
179
|
|
- }catch{
|
|
180
|
|
- dailyCheckGrid.CurrentCell = new DataGridCellInfo(
|
|
181
|
|
- dailyCheckGrid.Items[0], dailyCheckGrid.Columns[1]);
|
|
182
|
|
- dailyCheckGrid.SelectedItem = dailyCheckGrid.Items[0];
|
|
183
|
|
- dailyCheckGrid.BeginEdit();
|
|
184
|
|
- }
|
|
185
|
|
- }
|
|
186
|
|
-
|
|
187
|
|
- }
|
|
188
|
|
-
|
|
189
|
|
-
|
|
190
|
|
-
|
|
191
|
|
-
|
|
192
|
|
-
|
|
193
|
|
- private void dailyCheckGrid_GotFocus(object sender, RoutedEventArgs e)
|
|
194
|
|
- {
|
|
195
|
|
- _cell = dailyCheckGrid.CurrentCell;
|
|
196
|
|
- _col = dailyCheckGrid.CurrentColumn;
|
|
197
|
|
- _item = dailyCheckGrid.CurrentItem as DailyChecker;
|
|
198
|
|
-
|
|
199
|
|
- }
|
|
200
|
|
-
|
|
201
|
|
-
|
|
202
|
|
-
|
|
203
|
|
- private void dailyCheckGrid_Loaded(object sender, RoutedEventArgs e)
|
|
204
|
|
- {
|
|
205
|
|
- dailyCheckGrid.Focus();
|
|
206
|
|
- dailyCheckGrid.CurrentCell = new DataGridCellInfo(
|
|
207
|
|
- dailyCheckGrid.Items[0], dailyCheckGrid.Columns[1]);
|
|
208
|
|
- dailyCheckGrid.BeginEdit();
|
|
209
|
|
- }
|
|
210
|
|
-
|
|
211
|
|
- private void commitBtn_Click(object sender, RoutedEventArgs e)
|
|
212
|
|
- {
|
|
213
|
|
- commitData();
|
|
214
|
|
- MessageBox.Show("Commit Daily Check Complete");
|
|
215
|
|
- Close();
|
|
216
|
|
- }
|
|
217
|
|
-
|
|
218
|
|
- private void commitData()
|
|
219
|
|
- {
|
|
220
|
|
- var id = Utils.getSetting("currentMachine");
|
|
221
|
|
- var sql = string.Format("delete daily_checks where machine_id = {0} and created_at >= '{1:yyyy-MM-dd}' and created_at < '{2:yyyy-MM-dd}' and shift = '{3}'", id, _now, _tomorrow, _shift);
|
|
222
|
|
- var reader = Utils.Query(_proConn, sql);
|
|
223
|
|
- reader.Close();
|
|
224
|
|
- string empid = GlobalVars.user.empid;
|
|
225
|
|
- foreach (var item in _dailyChecks)
|
|
226
|
|
- {
|
|
227
|
|
-
|
|
228
|
|
- sql = string.Format("insert into daily_checks(header, p1, p2, p3, avg, created_at, updated_at,machine_id, empid, shift, result) values('{0}', {1}, {2}, {3}, {4}, '{5}', '{6}', {7}, '{8}', '{9}', '{10}')"
|
|
229
|
|
- , item.header.ToUpper(), item.p1, item.p2, item.p3, item.avg, _now, DateTime.Now, id, empid, _shift, item.result);
|
|
230
|
|
- reader = Utils.Query(_proConn, sql);
|
|
231
|
|
- reader.Close();
|
|
232
|
|
- }
|
|
233
|
|
- }
|
|
234
|
|
-
|
|
235
|
|
- private void datePicker_SelectedDateChanged(object sender, SelectionChangedEventArgs e)
|
|
236
|
|
- {
|
|
237
|
|
- //MessageBox.Show("change date");
|
|
238
|
|
- if (commitBtn.IsEnabled == true)
|
|
239
|
|
- commitData();
|
|
240
|
|
- var d = (DateTime)datePicker.SelectedDate;
|
|
241
|
|
- var shift = (shiftCB.SelectedItem as ComboBoxItem).Tag.ToString();
|
|
242
|
|
- if (d.Date == DateTime.Now.Date && shift == _shift)
|
|
243
|
|
- {
|
|
244
|
|
- saveBtn.IsEnabled = true;
|
|
245
|
|
- commitBtn.IsEnabled = true;
|
|
246
|
|
- }
|
|
247
|
|
- else
|
|
248
|
|
- {
|
|
249
|
|
- saveBtn.IsEnabled = false;
|
|
250
|
|
- commitBtn.IsEnabled = false;
|
|
251
|
|
- }
|
|
252
|
|
- var from = (DateTime)datePicker.SelectedDate;
|
|
253
|
|
-
|
|
254
|
|
- setGrid(from.Date, from.Date.AddDays(1), shift);
|
|
255
|
|
- }
|
|
256
|
|
-
|
|
257
|
|
- private void shiftCB_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
|
258
|
|
- {
|
|
259
|
|
- //var d = (DateTime)datePicker.SelectedDate;
|
|
260
|
|
- if( commitBtn.IsEnabled == true)
|
|
261
|
|
- commitData();
|
|
262
|
|
- var d = (DateTime)datePicker.SelectedDate;
|
|
263
|
|
- var shift = (shiftCB.SelectedItem as ComboBoxItem).Tag.ToString();
|
|
264
|
|
- if (d.Date == DateTime.Now.Date && shift == _shift)
|
|
265
|
|
- {
|
|
266
|
|
- saveBtn.IsEnabled = true;
|
|
267
|
|
- commitBtn.IsEnabled = true;
|
|
268
|
|
- }
|
|
269
|
|
- else
|
|
270
|
|
- {
|
|
271
|
|
- saveBtn.IsEnabled = false;
|
|
272
|
|
- commitBtn.IsEnabled = false;
|
|
273
|
|
- }
|
|
274
|
|
- var from = (DateTime)datePicker.SelectedDate;
|
|
275
|
|
-
|
|
276
|
|
- setGrid(from.Date, from.Date.AddDays(1), shift);
|
|
277
|
|
- }
|
|
278
|
|
-
|
|
279
|
|
- private void Window_Closed(object sender, EventArgs e)
|
|
280
|
|
- {
|
|
281
|
|
- if (commitBtn.IsEnabled == true)
|
|
282
|
|
- commitData();
|
|
283
|
|
- }
|
|
284
|
|
-
|
|
285
|
|
-
|
|
286
|
|
-
|
|
287
|
|
-
|
|
288
|
|
-
|
|
289
|
|
-
|
|
290
|
|
-
|
|
291
|
|
-
|
|
292
|
|
- }
|
|
293
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+using System.Windows;
|
|
|
6
|
+using System.Windows.Controls;
|
|
|
7
|
+using System.Windows.Data;
|
|
|
8
|
+using System.Windows.Documents;
|
|
|
9
|
+using System.Windows.Input;
|
|
|
10
|
+using System.Windows.Media;
|
|
|
11
|
+using System.Windows.Media.Imaging;
|
|
|
12
|
+using System.Windows.Shapes;
|
|
|
13
|
+using System.Collections.ObjectModel;
|
|
|
14
|
+using System.Data.SqlClient;
|
|
|
15
|
+using System.Data;
|
|
|
16
|
+namespace WpfApplication19
|
|
|
17
|
+{
|
|
|
18
|
+ /// <summary>
|
|
|
19
|
+ /// Interaction logic for DailyCheck.xaml
|
|
|
20
|
+ /// </summary>
|
|
|
21
|
+ public partial class DailyCheck : Window
|
|
|
22
|
+ {
|
|
|
23
|
+ ObservableCollection<DailyChecker> _dailyChecks = new ObservableCollection<DailyChecker>();
|
|
|
24
|
+ DataGridCellInfo _cell;
|
|
|
25
|
+ DataGridColumn _col;
|
|
|
26
|
+ DailyChecker _item;
|
|
|
27
|
+ SqlConnection _proConn;
|
|
|
28
|
+ DateTime _now, _tomorrow;
|
|
|
29
|
+ string _shift;
|
|
|
30
|
+ public DailyCheck()
|
|
|
31
|
+ {
|
|
|
32
|
+ InitializeComponent();
|
|
|
33
|
+
|
|
|
34
|
+ //nowLabel.Content = String.Format("{0:dd/MM/yyyy}", DateTime.Now);
|
|
|
35
|
+ //var test = DateTime.Now + 1;
|
|
|
36
|
+ _now = DateTime.Now.Date;
|
|
|
37
|
+ _tomorrow = _now.AddDays(1);
|
|
|
38
|
+ var c = DateTime.Now.AddDays(1);
|
|
|
39
|
+
|
|
|
40
|
+ var hr = DateTime.Now.TimeOfDay.Hours;
|
|
|
41
|
+ //shiftCB.SelectionChanged -= shiftCB_SelectionChanged;
|
|
|
42
|
+ if(hr >= 8 && hr <= 19){
|
|
|
43
|
+ _shift = "day";
|
|
|
44
|
+ shiftCB.SelectedIndex = 0;
|
|
|
45
|
+ }else{
|
|
|
46
|
+ _shift = "night";
|
|
|
47
|
+ shiftCB.SelectedIndex = 1;
|
|
|
48
|
+ }
|
|
|
49
|
+
|
|
|
50
|
+
|
|
|
51
|
+ datePicker.SelectedDateChanged -= datePicker_SelectedDateChanged;
|
|
|
52
|
+ datePicker.SelectedDate =_now;
|
|
|
53
|
+ datePicker.SelectedDateChanged += datePicker_SelectedDateChanged;
|
|
|
54
|
+
|
|
|
55
|
+ shiftCB.SelectionChanged += shiftCB_SelectionChanged;
|
|
|
56
|
+ try
|
|
|
57
|
+ {
|
|
|
58
|
+ _proConn = Utils.createSqlConnection("productionDbCS");
|
|
|
59
|
+
|
|
|
60
|
+ }
|
|
|
61
|
+ catch (SqlException se)
|
|
|
62
|
+ {
|
|
|
63
|
+ MessageBox.Show("productionDbCS : ", se.Message);
|
|
|
64
|
+ }
|
|
|
65
|
+ //var w = (MainWindow)Application.Current.MainWindow;
|
|
|
66
|
+ //_proConn = w.proConn;
|
|
|
67
|
+ initDataGrid();
|
|
|
68
|
+ //dailyCheckGrid.Focus();
|
|
|
69
|
+
|
|
|
70
|
+
|
|
|
71
|
+ }
|
|
|
72
|
+ void initDataGrid(){
|
|
|
73
|
+ setGrid(_now, _tomorrow, _shift);
|
|
|
74
|
+
|
|
|
75
|
+
|
|
|
76
|
+ }
|
|
|
77
|
+
|
|
|
78
|
+ private void setGrid(DateTime from, DateTime to, string shift)
|
|
|
79
|
+ {
|
|
|
80
|
+ var id = Utils.getSetting("currentMachine");
|
|
|
81
|
+ var sql = string.Format("select * from daily_checks where created_at >= '{0:yyyy-MM-dd}' and created_at < '{1:yyyy-MM-dd}' and machine_id = {2} and shift = '{3}'"
|
|
|
82
|
+ , from,to, id, shift);
|
|
|
83
|
+ var reader = Utils.Query(_proConn, sql);
|
|
|
84
|
+
|
|
|
85
|
+ dailyCheckGrid.ItemsSource = null;
|
|
|
86
|
+ _dailyChecks.Clear();
|
|
|
87
|
+ if (reader.HasRows)
|
|
|
88
|
+ {
|
|
|
89
|
+ while (reader.Read())
|
|
|
90
|
+ {
|
|
|
91
|
+
|
|
|
92
|
+ _dailyChecks.Add(new DailyChecker()
|
|
|
93
|
+ {
|
|
|
94
|
+ header = reader["header"].ToString().ToUpper(),
|
|
|
95
|
+ p1 = Math.Round(Convert.ToDouble(reader["p1"]), 2),
|
|
|
96
|
+ p2 = Math.Round(Convert.ToDouble(reader["p2"]), 2),
|
|
|
97
|
+ p3 = Math.Round(Convert.ToDouble(reader["p3"]), 2),
|
|
|
98
|
+ avg = Math.Round(Convert.ToDouble(reader["avg"]), 2),
|
|
|
99
|
+ result = reader["result"].ToString()
|
|
|
100
|
+ });
|
|
|
101
|
+ }
|
|
|
102
|
+
|
|
|
103
|
+ }
|
|
|
104
|
+ else
|
|
|
105
|
+ {
|
|
|
106
|
+ _dailyChecks.Add(new DailyChecker() { header = "OB", p1 = 0, p2 = 0, p3 = 0, avg = 0 });
|
|
|
107
|
+ _dailyChecks.Add(new DailyChecker() { header = "OC", p1 = 0, p2 = 0, p3 = 0, avg = 0 });
|
|
|
108
|
+ _dailyChecks.Add(new DailyChecker() { header = "RH", p1 = 0, p2 = 0, p3 = 0, avg = 0 });
|
|
|
109
|
+ }
|
|
|
110
|
+ reader.Close();
|
|
|
111
|
+ dailyCheckGrid.Items.Clear();
|
|
|
112
|
+ dailyCheckGrid.ItemsSource = _dailyChecks;
|
|
|
113
|
+ }
|
|
|
114
|
+
|
|
|
115
|
+
|
|
|
116
|
+ private void saveBtn_Click(object sender, RoutedEventArgs e)
|
|
|
117
|
+ {
|
|
|
118
|
+ int row, col;
|
|
|
119
|
+ string header;
|
|
|
120
|
+ //dailyCheckGrid.Focus();
|
|
|
121
|
+ try{
|
|
|
122
|
+ header = _cell.Column.Header.ToString();
|
|
|
123
|
+ row = _dailyChecks.IndexOf((_cell.Item as DailyChecker));
|
|
|
124
|
+ col = _col.DisplayIndex;
|
|
|
125
|
+ }catch{
|
|
|
126
|
+ dailyCheckGrid.Focus();
|
|
|
127
|
+ dailyCheckGrid.CurrentCell = new DataGridCellInfo(
|
|
|
128
|
+ dailyCheckGrid.Items[0], dailyCheckGrid.Columns[1]);
|
|
|
129
|
+ dailyCheckGrid.BeginEdit();
|
|
|
130
|
+ header = "P1";
|
|
|
131
|
+ row = 0;
|
|
|
132
|
+ col = 1;
|
|
|
133
|
+ _item = _dailyChecks[0];
|
|
|
134
|
+ }
|
|
|
135
|
+ switch(header){
|
|
|
136
|
+ case "P1":
|
|
|
137
|
+ //var c = dailyCheckGrid.CurrentItem as DailyChecker;
|
|
|
138
|
+ _item.p1 = Convert.ToDouble(measureBlock.Text);
|
|
|
139
|
+ break;
|
|
|
140
|
+ case "P2":
|
|
|
141
|
+ _item.p2 = Convert.ToDouble(measureBlock.Text);
|
|
|
142
|
+ break;
|
|
|
143
|
+ case "P3":
|
|
|
144
|
+ _item.p3 = Convert.ToDouble(measureBlock.Text);
|
|
|
145
|
+ break;
|
|
|
146
|
+
|
|
|
147
|
+ }
|
|
|
148
|
+ _item.avg = Math.Round((_item.p1 + _item.p2 + _item.p3)/3, 2);
|
|
|
149
|
+ if(_item.header == "OB"){
|
|
|
150
|
+ if(_item.avg >= 0.59 && _item.avg <= 0.70){
|
|
|
151
|
+ _item.result = "OK";
|
|
|
152
|
+ }else {
|
|
|
153
|
+ _item.result = "NG";
|
|
|
154
|
+ }
|
|
|
155
|
+ }
|
|
|
156
|
+ if(_item.header == "OC"){
|
|
|
157
|
+ if (_item.avg >= 0.28 && _item.avg <= 0.37)
|
|
|
158
|
+ {
|
|
|
159
|
+ _item.result = "OK";
|
|
|
160
|
+ }
|
|
|
161
|
+ else
|
|
|
162
|
+ {
|
|
|
163
|
+ _item.result = "NG";
|
|
|
164
|
+ }
|
|
|
165
|
+ }
|
|
|
166
|
+ dailyCheckGrid.Items.Refresh();
|
|
|
167
|
+ dailyCheckGrid.Focus();
|
|
|
168
|
+ if(header != "Header" && header != "Avg" && header != "P3"){
|
|
|
169
|
+ dailyCheckGrid.CurrentCell = new DataGridCellInfo(
|
|
|
170
|
+ dailyCheckGrid.Items[row], dailyCheckGrid.Columns[col + 1]);
|
|
|
171
|
+ dailyCheckGrid.BeginEdit();
|
|
|
172
|
+ }
|
|
|
173
|
+ if(header == "P3"){
|
|
|
174
|
+ try{
|
|
|
175
|
+ dailyCheckGrid.CurrentCell = new DataGridCellInfo(
|
|
|
176
|
+ dailyCheckGrid.Items[row+1], dailyCheckGrid.Columns[1]);
|
|
|
177
|
+ dailyCheckGrid.SelectedItem = dailyCheckGrid.Items[row + 1];
|
|
|
178
|
+ dailyCheckGrid.BeginEdit();
|
|
|
179
|
+ }catch{
|
|
|
180
|
+ dailyCheckGrid.CurrentCell = new DataGridCellInfo(
|
|
|
181
|
+ dailyCheckGrid.Items[0], dailyCheckGrid.Columns[1]);
|
|
|
182
|
+ dailyCheckGrid.SelectedItem = dailyCheckGrid.Items[0];
|
|
|
183
|
+ dailyCheckGrid.BeginEdit();
|
|
|
184
|
+ }
|
|
|
185
|
+ }
|
|
|
186
|
+
|
|
|
187
|
+ }
|
|
|
188
|
+
|
|
|
189
|
+
|
|
|
190
|
+
|
|
|
191
|
+
|
|
|
192
|
+
|
|
|
193
|
+ private void dailyCheckGrid_GotFocus(object sender, RoutedEventArgs e)
|
|
|
194
|
+ {
|
|
|
195
|
+ _cell = dailyCheckGrid.CurrentCell;
|
|
|
196
|
+ _col = dailyCheckGrid.CurrentColumn;
|
|
|
197
|
+ _item = dailyCheckGrid.CurrentItem as DailyChecker;
|
|
|
198
|
+
|
|
|
199
|
+ }
|
|
|
200
|
+
|
|
|
201
|
+
|
|
|
202
|
+
|
|
|
203
|
+ private void dailyCheckGrid_Loaded(object sender, RoutedEventArgs e)
|
|
|
204
|
+ {
|
|
|
205
|
+ dailyCheckGrid.Focus();
|
|
|
206
|
+ dailyCheckGrid.CurrentCell = new DataGridCellInfo(
|
|
|
207
|
+ dailyCheckGrid.Items[0], dailyCheckGrid.Columns[1]);
|
|
|
208
|
+ dailyCheckGrid.BeginEdit();
|
|
|
209
|
+ }
|
|
|
210
|
+
|
|
|
211
|
+ private void commitBtn_Click(object sender, RoutedEventArgs e)
|
|
|
212
|
+ {
|
|
|
213
|
+ commitData();
|
|
|
214
|
+ MessageBox.Show("Commit Daily Check Complete");
|
|
|
215
|
+ Close();
|
|
|
216
|
+ }
|
|
|
217
|
+
|
|
|
218
|
+ private void commitData()
|
|
|
219
|
+ {
|
|
|
220
|
+ var id = Utils.getSetting("currentMachine");
|
|
|
221
|
+ var sql = string.Format("delete daily_checks where machine_id = {0} and created_at >= '{1:yyyy-MM-dd}' and created_at < '{2:yyyy-MM-dd}' and shift = '{3}'", id, _now, _tomorrow, _shift);
|
|
|
222
|
+ var reader = Utils.Query(_proConn, sql);
|
|
|
223
|
+ reader.Close();
|
|
|
224
|
+ string empid = GlobalVars.user.empid;
|
|
|
225
|
+ foreach (var item in _dailyChecks)
|
|
|
226
|
+ {
|
|
|
227
|
+
|
|
|
228
|
+ sql = string.Format("insert into daily_checks(header, p1, p2, p3, avg, created_at, updated_at,machine_id, empid, shift, result) values('{0}', {1}, {2}, {3}, {4}, '{5}', '{6}', {7}, '{8}', '{9}', '{10}')"
|
|
|
229
|
+ , item.header.ToUpper(), item.p1, item.p2, item.p3, item.avg, _now, DateTime.Now, id, empid, _shift, item.result);
|
|
|
230
|
+ reader = Utils.Query(_proConn, sql);
|
|
|
231
|
+ reader.Close();
|
|
|
232
|
+ }
|
|
|
233
|
+ }
|
|
|
234
|
+
|
|
|
235
|
+ private void datePicker_SelectedDateChanged(object sender, SelectionChangedEventArgs e)
|
|
|
236
|
+ {
|
|
|
237
|
+ //MessageBox.Show("change date");
|
|
|
238
|
+ if (commitBtn.IsEnabled == true)
|
|
|
239
|
+ commitData();
|
|
|
240
|
+ var d = (DateTime)datePicker.SelectedDate;
|
|
|
241
|
+ var shift = (shiftCB.SelectedItem as ComboBoxItem).Tag.ToString();
|
|
|
242
|
+ if (d.Date == DateTime.Now.Date && shift == _shift)
|
|
|
243
|
+ {
|
|
|
244
|
+ saveBtn.IsEnabled = true;
|
|
|
245
|
+ commitBtn.IsEnabled = true;
|
|
|
246
|
+ }
|
|
|
247
|
+ else
|
|
|
248
|
+ {
|
|
|
249
|
+ saveBtn.IsEnabled = false;
|
|
|
250
|
+ commitBtn.IsEnabled = false;
|
|
|
251
|
+ }
|
|
|
252
|
+ var from = (DateTime)datePicker.SelectedDate;
|
|
|
253
|
+
|
|
|
254
|
+ setGrid(from.Date, from.Date.AddDays(1), shift);
|
|
|
255
|
+ }
|
|
|
256
|
+
|
|
|
257
|
+ private void shiftCB_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
|
|
258
|
+ {
|
|
|
259
|
+ //var d = (DateTime)datePicker.SelectedDate;
|
|
|
260
|
+ if( commitBtn.IsEnabled == true)
|
|
|
261
|
+ commitData();
|
|
|
262
|
+ var d = (DateTime)datePicker.SelectedDate;
|
|
|
263
|
+ var shift = (shiftCB.SelectedItem as ComboBoxItem).Tag.ToString();
|
|
|
264
|
+ if (d.Date == DateTime.Now.Date && shift == _shift)
|
|
|
265
|
+ {
|
|
|
266
|
+ saveBtn.IsEnabled = true;
|
|
|
267
|
+ commitBtn.IsEnabled = true;
|
|
|
268
|
+ }
|
|
|
269
|
+ else
|
|
|
270
|
+ {
|
|
|
271
|
+ saveBtn.IsEnabled = false;
|
|
|
272
|
+ commitBtn.IsEnabled = false;
|
|
|
273
|
+ }
|
|
|
274
|
+ var from = (DateTime)datePicker.SelectedDate;
|
|
|
275
|
+
|
|
|
276
|
+ setGrid(from.Date, from.Date.AddDays(1), shift);
|
|
|
277
|
+ }
|
|
|
278
|
+
|
|
|
279
|
+ private void Window_Closed(object sender, EventArgs e)
|
|
|
280
|
+ {
|
|
|
281
|
+ if (commitBtn.IsEnabled == true)
|
|
|
282
|
+ commitData();
|
|
|
283
|
+ }
|
|
|
284
|
+
|
|
|
285
|
+
|
|
|
286
|
+
|
|
|
287
|
+
|
|
|
288
|
+
|
|
|
289
|
+
|
|
|
290
|
+
|
|
|
291
|
+
|
|
|
292
|
+ }
|
|
|
293
|
+}
|
|
|
@@ -1,17 +1,17 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-
|
|
6
|
|
-namespace WpfApplication19
|
|
7
|
|
-{
|
|
8
|
|
- class DailyChecker
|
|
9
|
|
- {
|
|
10
|
|
- public string header { get; set; }
|
|
11
|
|
- public double p1 {get; set; }
|
|
12
|
|
- public double p2 { get; set; }
|
|
13
|
|
- public double p3 { get; set; }
|
|
14
|
|
- public double avg { get; set; }
|
|
15
|
|
- public string result {get; set; }
|
|
16
|
|
- }
|
|
17
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+
|
|
|
6
|
+namespace WpfApplication19
|
|
|
7
|
+{
|
|
|
8
|
+ class DailyChecker
|
|
|
9
|
+ {
|
|
|
10
|
+ public string header { get; set; }
|
|
|
11
|
+ public double p1 {get; set; }
|
|
|
12
|
+ public double p2 { get; set; }
|
|
|
13
|
+ public double p3 { get; set; }
|
|
|
14
|
+ public double avg { get; set; }
|
|
|
15
|
+ public string result {get; set; }
|
|
|
16
|
+ }
|
|
|
17
|
+}
|
|
|
@@ -1,8 +1,8 @@
|
|
1
|
|
-<Window x:Class="WpfApplication19.Debug"
|
|
2
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
3
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
4
|
|
- Title="Debug" Height="300" Width="300" Name="debugWindow">
|
|
5
|
|
- <Grid>
|
|
6
|
|
- <TextBox Margin="12,12,0,0" Name="debugTextBox" TextWrapping="WrapWithOverflow" VerticalScrollBarVisibility="Auto" AcceptsReturn="True" />
|
|
7
|
|
- </Grid>
|
|
8
|
|
-</Window>
|
|
|
1
|
+<Window x:Class="WpfApplication19.Debug"
|
|
|
2
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
3
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
4
|
+ Title="Debug" Height="300" Width="300" Name="debugWindow">
|
|
|
5
|
+ <Grid>
|
|
|
6
|
+ <TextBox Margin="12,12,0,0" Name="debugTextBox" TextWrapping="WrapWithOverflow" VerticalScrollBarVisibility="Auto" AcceptsReturn="True" />
|
|
|
7
|
+ </Grid>
|
|
|
8
|
+</Window>
|
|
|
@@ -1,26 +1,26 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-using System.Windows;
|
|
6
|
|
-using System.Windows.Controls;
|
|
7
|
|
-using System.Windows.Data;
|
|
8
|
|
-using System.Windows.Documents;
|
|
9
|
|
-using System.Windows.Input;
|
|
10
|
|
-using System.Windows.Media;
|
|
11
|
|
-using System.Windows.Media.Imaging;
|
|
12
|
|
-using System.Windows.Shapes;
|
|
13
|
|
-
|
|
14
|
|
-namespace WpfApplication19
|
|
15
|
|
-{
|
|
16
|
|
- /// <summary>
|
|
17
|
|
- /// Interaction logic for Debug.xaml
|
|
18
|
|
- /// </summary>
|
|
19
|
|
- public partial class Debug : Window
|
|
20
|
|
- {
|
|
21
|
|
- public Debug()
|
|
22
|
|
- {
|
|
23
|
|
- InitializeComponent();
|
|
24
|
|
- }
|
|
25
|
|
- }
|
|
26
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+using System.Windows;
|
|
|
6
|
+using System.Windows.Controls;
|
|
|
7
|
+using System.Windows.Data;
|
|
|
8
|
+using System.Windows.Documents;
|
|
|
9
|
+using System.Windows.Input;
|
|
|
10
|
+using System.Windows.Media;
|
|
|
11
|
+using System.Windows.Media.Imaging;
|
|
|
12
|
+using System.Windows.Shapes;
|
|
|
13
|
+
|
|
|
14
|
+namespace WpfApplication19
|
|
|
15
|
+{
|
|
|
16
|
+ /// <summary>
|
|
|
17
|
+ /// Interaction logic for Debug.xaml
|
|
|
18
|
+ /// </summary>
|
|
|
19
|
+ public partial class Debug : Window
|
|
|
20
|
+ {
|
|
|
21
|
+ public Debug()
|
|
|
22
|
+ {
|
|
|
23
|
+ InitializeComponent();
|
|
|
24
|
+ }
|
|
|
25
|
+ }
|
|
|
26
|
+}
|
|
|
@@ -1,11 +1,11 @@
|
|
1
|
|
-<Window x:Class="WpfApplication19.EditINWindow"
|
|
2
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
3
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
4
|
|
- Title="IN* Editor" Height="140" Width="447" ResizeMode="NoResize" WindowStyle="None" BorderThickness="2" BorderBrush="Red" WindowStartupLocation="CenterScreen">
|
|
5
|
|
- <Grid Name="grid1">
|
|
6
|
|
- <Button Content="Save" Height="23" HorizontalAlignment="Left" Margin="177,56,0,0" Name="saveBtn" VerticalAlignment="Top" Width="75" Click="saveBtn_Click" DataContext="{Binding}" />
|
|
7
|
|
- <Label Content="Grain Size" Height="28" HorizontalAlignment="Left" Margin="25,10,0,0" Name="label1" VerticalAlignment="Top" FontWeight="Bold" FontSize="16" />
|
|
8
|
|
- <TextBox Height="26" HorizontalAlignment="Left" Margin="116,12,0,0" Name="grainSizeInput" VerticalAlignment="Top" Width="249" FontSize="16" PreviewKeyDown="grainSizeInput_PreviewKeyDown" />
|
|
9
|
|
- </Grid>
|
|
10
|
|
-
|
|
11
|
|
-</Window>
|
|
|
1
|
+<Window x:Class="WpfApplication19.EditINWindow"
|
|
|
2
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
3
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
4
|
+ Title="IN* Editor" Height="140" Width="447" ResizeMode="NoResize" WindowStyle="None" BorderThickness="2" BorderBrush="Red" WindowStartupLocation="CenterScreen">
|
|
|
5
|
+ <Grid Name="grid1">
|
|
|
6
|
+ <Button Content="Save" Height="23" HorizontalAlignment="Left" Margin="177,56,0,0" Name="saveBtn" VerticalAlignment="Top" Width="75" Click="saveBtn_Click" DataContext="{Binding}" />
|
|
|
7
|
+ <Label Content="Grain Size" Height="28" HorizontalAlignment="Left" Margin="25,10,0,0" Name="label1" VerticalAlignment="Top" FontWeight="Bold" FontSize="16" />
|
|
|
8
|
+ <TextBox Height="26" HorizontalAlignment="Left" Margin="116,12,0,0" Name="grainSizeInput" VerticalAlignment="Top" Width="249" FontSize="16" PreviewKeyDown="grainSizeInput_PreviewKeyDown" />
|
|
|
9
|
+ </Grid>
|
|
|
10
|
+
|
|
|
11
|
+</Window>
|
|
|
@@ -1,42 +1,42 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-using System.Windows;
|
|
6
|
|
-using System.Windows.Controls;
|
|
7
|
|
-using System.Windows.Data;
|
|
8
|
|
-using System.Windows.Documents;
|
|
9
|
|
-using System.Windows.Input;
|
|
10
|
|
-using System.Windows.Media;
|
|
11
|
|
-using System.Windows.Media.Imaging;
|
|
12
|
|
-using System.Windows.Shapes;
|
|
13
|
|
-
|
|
14
|
|
-namespace WpfApplication19
|
|
15
|
|
-{
|
|
16
|
|
- /// <summary>
|
|
17
|
|
- /// Interaction logic for EditINWindow.xaml
|
|
18
|
|
- /// </summary>
|
|
19
|
|
- public partial class EditINWindow : Window
|
|
20
|
|
- {
|
|
21
|
|
- public EditINWindow()
|
|
22
|
|
- {
|
|
23
|
|
- InitializeComponent();
|
|
24
|
|
- var w = (MainWindow)Application.Current.MainWindow;
|
|
25
|
|
- grainSizeInput.Text = w.inStarGS;
|
|
26
|
|
- }
|
|
27
|
|
-
|
|
28
|
|
- private void saveBtn_Click(object sender, RoutedEventArgs e)
|
|
29
|
|
- {
|
|
30
|
|
- var w = (MainWindow)Application.Current.MainWindow;
|
|
31
|
|
- w.inStarGS = grainSizeInput.Text;
|
|
32
|
|
- this.Close();
|
|
33
|
|
- }
|
|
34
|
|
-
|
|
35
|
|
- private void grainSizeInput_PreviewKeyDown(object sender, KeyEventArgs e)
|
|
36
|
|
- {
|
|
37
|
|
- if ((e.Key >= Key.D0 && e.Key <= Key.D9) || e.Key == Key.Next || e.Key == Key.Back || e.Key == Key.Delete || e.Key == Key.Left || e.Key == Key.Right)
|
|
38
|
|
- e.Handled = false;
|
|
39
|
|
- else e.Handled = true;
|
|
40
|
|
- }
|
|
41
|
|
- }
|
|
42
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+using System.Windows;
|
|
|
6
|
+using System.Windows.Controls;
|
|
|
7
|
+using System.Windows.Data;
|
|
|
8
|
+using System.Windows.Documents;
|
|
|
9
|
+using System.Windows.Input;
|
|
|
10
|
+using System.Windows.Media;
|
|
|
11
|
+using System.Windows.Media.Imaging;
|
|
|
12
|
+using System.Windows.Shapes;
|
|
|
13
|
+
|
|
|
14
|
+namespace WpfApplication19
|
|
|
15
|
+{
|
|
|
16
|
+ /// <summary>
|
|
|
17
|
+ /// Interaction logic for EditINWindow.xaml
|
|
|
18
|
+ /// </summary>
|
|
|
19
|
+ public partial class EditINWindow : Window
|
|
|
20
|
+ {
|
|
|
21
|
+ public EditINWindow()
|
|
|
22
|
+ {
|
|
|
23
|
+ InitializeComponent();
|
|
|
24
|
+ var w = (MainWindow)Application.Current.MainWindow;
|
|
|
25
|
+ grainSizeInput.Text = w.inStarGS;
|
|
|
26
|
+ }
|
|
|
27
|
+
|
|
|
28
|
+ private void saveBtn_Click(object sender, RoutedEventArgs e)
|
|
|
29
|
+ {
|
|
|
30
|
+ var w = (MainWindow)Application.Current.MainWindow;
|
|
|
31
|
+ w.inStarGS = grainSizeInput.Text;
|
|
|
32
|
+ this.Close();
|
|
|
33
|
+ }
|
|
|
34
|
+
|
|
|
35
|
+ private void grainSizeInput_PreviewKeyDown(object sender, KeyEventArgs e)
|
|
|
36
|
+ {
|
|
|
37
|
+ if ((e.Key >= Key.D0 && e.Key <= Key.D9) || e.Key == Key.Next || e.Key == Key.Back || e.Key == Key.Delete || e.Key == Key.Left || e.Key == Key.Right)
|
|
|
38
|
+ e.Handled = false;
|
|
|
39
|
+ else e.Handled = true;
|
|
|
40
|
+ }
|
|
|
41
|
+ }
|
|
|
42
|
+}
|
|
|
@@ -1,10 +1,10 @@
|
|
1
|
|
-<Window x:Class="WpfApplication19.EditMIDWindow"
|
|
2
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
3
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
4
|
|
- Title="MID Editor" Height="162" Width="436" WindowStartupLocation="CenterScreen" WindowStyle="None" BorderThickness="2" BorderBrush="Red">
|
|
5
|
|
- <Grid>
|
|
6
|
|
- <Label Content="Grain Size" Height="28" HorizontalAlignment="Left" Margin="35,32,0,0" Name="label1" VerticalAlignment="Top" FontWeight="Bold" FontSize="14" />
|
|
7
|
|
- <TextBox Height="28" HorizontalAlignment="Left" Margin="116,34,0,0" Name="grainSizeInput" VerticalAlignment="Top" Width="227" FontSize="14" PreviewKeyDown="grainSizeInput_PreviewKeyDown" />
|
|
8
|
|
- <Button Content="Save" Height="23" HorizontalAlignment="Left" Margin="170,78,0,0" Name="saveBtn" VerticalAlignment="Top" Width="75" Click="saveBtn_Click" />
|
|
9
|
|
- </Grid>
|
|
10
|
|
-</Window>
|
|
|
1
|
+<Window x:Class="WpfApplication19.EditMIDWindow"
|
|
|
2
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
3
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
4
|
+ Title="MID Editor" Height="162" Width="436" WindowStartupLocation="CenterScreen" WindowStyle="None" BorderThickness="2" BorderBrush="Red">
|
|
|
5
|
+ <Grid>
|
|
|
6
|
+ <Label Content="Grain Size" Height="28" HorizontalAlignment="Left" Margin="35,32,0,0" Name="label1" VerticalAlignment="Top" FontWeight="Bold" FontSize="14" />
|
|
|
7
|
+ <TextBox Height="28" HorizontalAlignment="Left" Margin="116,34,0,0" Name="grainSizeInput" VerticalAlignment="Top" Width="227" FontSize="14" PreviewKeyDown="grainSizeInput_PreviewKeyDown" />
|
|
|
8
|
+ <Button Content="Save" Height="23" HorizontalAlignment="Left" Margin="170,78,0,0" Name="saveBtn" VerticalAlignment="Top" Width="75" Click="saveBtn_Click" />
|
|
|
9
|
+ </Grid>
|
|
|
10
|
+</Window>
|
|
|
@@ -1,45 +1,45 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-using System.Windows;
|
|
6
|
|
-using System.Windows.Controls;
|
|
7
|
|
-using System.Windows.Data;
|
|
8
|
|
-using System.Windows.Documents;
|
|
9
|
|
-using System.Windows.Input;
|
|
10
|
|
-using System.Windows.Media;
|
|
11
|
|
-using System.Windows.Media.Imaging;
|
|
12
|
|
-using System.Windows.Shapes;
|
|
13
|
|
-
|
|
14
|
|
-namespace WpfApplication19
|
|
15
|
|
-{
|
|
16
|
|
- /// <summary>
|
|
17
|
|
- /// Interaction logic for EditMIDWindow.xaml
|
|
18
|
|
- /// </summary>
|
|
19
|
|
- public partial class EditMIDWindow : Window
|
|
20
|
|
- {
|
|
21
|
|
- public EditMIDWindow()
|
|
22
|
|
- {
|
|
23
|
|
- InitializeComponent();
|
|
24
|
|
- var w = (MainWindow)Application.Current.MainWindow;
|
|
25
|
|
- grainSizeInput.Text = w.midGS;
|
|
26
|
|
- }
|
|
27
|
|
-
|
|
28
|
|
- private void saveBtn_Click(object sender, RoutedEventArgs e)
|
|
29
|
|
- {
|
|
30
|
|
- var w = (MainWindow)Application.Current.MainWindow;
|
|
31
|
|
- w.midGS = grainSizeInput.Text;
|
|
32
|
|
- this.Close();
|
|
33
|
|
- }
|
|
34
|
|
-
|
|
35
|
|
- private void grainSizeInput_PreviewKeyDown(object sender, KeyEventArgs e)
|
|
36
|
|
- {
|
|
37
|
|
- if( (e.Key >= Key.D0 && e.Key <= Key.D9) || e.Key == Key.Next || e.Key == Key.Back || e.Key == Key.Delete || e.Key == Key.Left || e.Key == Key.Right)
|
|
38
|
|
- e.Handled = false;
|
|
39
|
|
- else e.Handled = true;
|
|
40
|
|
- }
|
|
41
|
|
-
|
|
42
|
|
-
|
|
43
|
|
-
|
|
44
|
|
- }
|
|
45
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+using System.Windows;
|
|
|
6
|
+using System.Windows.Controls;
|
|
|
7
|
+using System.Windows.Data;
|
|
|
8
|
+using System.Windows.Documents;
|
|
|
9
|
+using System.Windows.Input;
|
|
|
10
|
+using System.Windows.Media;
|
|
|
11
|
+using System.Windows.Media.Imaging;
|
|
|
12
|
+using System.Windows.Shapes;
|
|
|
13
|
+
|
|
|
14
|
+namespace WpfApplication19
|
|
|
15
|
+{
|
|
|
16
|
+ /// <summary>
|
|
|
17
|
+ /// Interaction logic for EditMIDWindow.xaml
|
|
|
18
|
+ /// </summary>
|
|
|
19
|
+ public partial class EditMIDWindow : Window
|
|
|
20
|
+ {
|
|
|
21
|
+ public EditMIDWindow()
|
|
|
22
|
+ {
|
|
|
23
|
+ InitializeComponent();
|
|
|
24
|
+ var w = (MainWindow)Application.Current.MainWindow;
|
|
|
25
|
+ grainSizeInput.Text = w.midGS;
|
|
|
26
|
+ }
|
|
|
27
|
+
|
|
|
28
|
+ private void saveBtn_Click(object sender, RoutedEventArgs e)
|
|
|
29
|
+ {
|
|
|
30
|
+ var w = (MainWindow)Application.Current.MainWindow;
|
|
|
31
|
+ w.midGS = grainSizeInput.Text;
|
|
|
32
|
+ this.Close();
|
|
|
33
|
+ }
|
|
|
34
|
+
|
|
|
35
|
+ private void grainSizeInput_PreviewKeyDown(object sender, KeyEventArgs e)
|
|
|
36
|
+ {
|
|
|
37
|
+ if( (e.Key >= Key.D0 && e.Key <= Key.D9) || e.Key == Key.Next || e.Key == Key.Back || e.Key == Key.Delete || e.Key == Key.Left || e.Key == Key.Right)
|
|
|
38
|
+ e.Handled = false;
|
|
|
39
|
+ else e.Handled = true;
|
|
|
40
|
+ }
|
|
|
41
|
+
|
|
|
42
|
+
|
|
|
43
|
+
|
|
|
44
|
+ }
|
|
|
45
|
+}
|
|
|
@@ -1,18 +1,18 @@
|
|
1
|
|
-<Window x:Class="WpfApplication19.EditUsingTime"
|
|
2
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
3
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
4
|
|
- Title="Edit Using Time" WindowStartupLocation="CenterScreen">
|
|
5
|
|
- <Viewbox Stretch="Fill">
|
|
6
|
|
- <Grid Width="400" Height="252">
|
|
7
|
|
- <Label Content="OB" Height="39" HorizontalAlignment="Left" Margin="91,72,0,0" Name="label1" VerticalAlignment="Top" FontSize="22" />
|
|
8
|
|
- <TextBox Height="28" HorizontalAlignment="Left" Margin="143,79,0,0" Name="obInput" VerticalAlignment="Top" Width="120" />
|
|
9
|
|
- <TextBlock Height="44" HorizontalAlignment="Left" Margin="32,15,0,0" Name="textBlock1" Text="You can edit using time of any header by enter value in text box and click "Save"" VerticalAlignment="Top" TextWrapping="Wrap" TextAlignment="Center" Width="340" Foreground="#FF5A63DB" />
|
|
10
|
|
- <Label Content="OC" FontSize="22" Height="39" HorizontalAlignment="Left" Margin="92,111,0,0" Name="label2" VerticalAlignment="Top" />
|
|
11
|
|
- <TextBox Height="28" HorizontalAlignment="Left" Margin="143,118,0,0" Name="ocInput" VerticalAlignment="Top" Width="120" />
|
|
12
|
|
- <Label Content="RH" FontSize="22" Height="39" HorizontalAlignment="Left" Margin="93,156,0,0" Name="label3" VerticalAlignment="Top" />
|
|
13
|
|
- <TextBox Height="28" HorizontalAlignment="Left" Margin="143,163,0,0" Name="rhInput" VerticalAlignment="Top" Width="120" />
|
|
14
|
|
- <Button Content="Save" Height="23" HorizontalAlignment="Left" Margin="306,212,0,0" Name="saveBtn" VerticalAlignment="Top" Width="75" Click="saveBtn_Click" />
|
|
15
|
|
- </Grid>
|
|
16
|
|
- </Viewbox>
|
|
17
|
|
-
|
|
18
|
|
-</Window>
|
|
|
1
|
+<Window x:Class="WpfApplication19.EditUsingTime"
|
|
|
2
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
3
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
4
|
+ Title="Edit Using Time" WindowStartupLocation="CenterScreen">
|
|
|
5
|
+ <Viewbox Stretch="Fill">
|
|
|
6
|
+ <Grid Width="400" Height="252">
|
|
|
7
|
+ <Label Content="OB" Height="39" HorizontalAlignment="Left" Margin="91,72,0,0" Name="label1" VerticalAlignment="Top" FontSize="22" />
|
|
|
8
|
+ <TextBox Height="28" HorizontalAlignment="Left" Margin="143,79,0,0" Name="obInput" VerticalAlignment="Top" Width="120" />
|
|
|
9
|
+ <TextBlock Height="44" HorizontalAlignment="Left" Margin="32,15,0,0" Name="textBlock1" Text="You can edit using time of any header by enter value in text box and click "Save"" VerticalAlignment="Top" TextWrapping="Wrap" TextAlignment="Center" Width="340" Foreground="#FF5A63DB" />
|
|
|
10
|
+ <Label Content="OC" FontSize="22" Height="39" HorizontalAlignment="Left" Margin="92,111,0,0" Name="label2" VerticalAlignment="Top" />
|
|
|
11
|
+ <TextBox Height="28" HorizontalAlignment="Left" Margin="143,118,0,0" Name="ocInput" VerticalAlignment="Top" Width="120" />
|
|
|
12
|
+ <Label Content="RH" FontSize="22" Height="39" HorizontalAlignment="Left" Margin="93,156,0,0" Name="label3" VerticalAlignment="Top" />
|
|
|
13
|
+ <TextBox Height="28" HorizontalAlignment="Left" Margin="143,163,0,0" Name="rhInput" VerticalAlignment="Top" Width="120" />
|
|
|
14
|
+ <Button Content="Save" Height="23" HorizontalAlignment="Left" Margin="306,212,0,0" Name="saveBtn" VerticalAlignment="Top" Width="75" Click="saveBtn_Click" />
|
|
|
15
|
+ </Grid>
|
|
|
16
|
+ </Viewbox>
|
|
|
17
|
+
|
|
|
18
|
+</Window>
|
|
|
@@ -1,125 +1,125 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-using System.Windows;
|
|
6
|
|
-using System.Windows.Controls;
|
|
7
|
|
-using System.Windows.Data;
|
|
8
|
|
-using System.Windows.Documents;
|
|
9
|
|
-using System.Windows.Input;
|
|
10
|
|
-using System.Windows.Media;
|
|
11
|
|
-using System.Windows.Media.Imaging;
|
|
12
|
|
-using System.Windows.Navigation;
|
|
13
|
|
-using System.Windows.Shapes;
|
|
14
|
|
-using System.Globalization;
|
|
15
|
|
-using WpfLocalization;
|
|
16
|
|
-using System.Threading;
|
|
17
|
|
-using System.Data.SqlClient;
|
|
18
|
|
-using System.Data;
|
|
19
|
|
-using System.Diagnostics;
|
|
20
|
|
-using System.IO;
|
|
21
|
|
-using System.Collections;
|
|
22
|
|
-using System.IO.Ports;
|
|
23
|
|
-using System.Collections.ObjectModel;
|
|
24
|
|
-using System.Reflection;
|
|
25
|
|
-using System.Configuration;
|
|
26
|
|
-using System.Collections.Specialized;
|
|
27
|
|
-using System.Data.SqlServerCe;
|
|
28
|
|
-using System.ComponentModel;
|
|
29
|
|
-using System.Windows.Threading;
|
|
30
|
|
-
|
|
31
|
|
-namespace WpfApplication19
|
|
32
|
|
-{
|
|
33
|
|
- /// <summary>
|
|
34
|
|
- /// Interaction logic for EditUsingTime.xaml
|
|
35
|
|
- /// </summary>
|
|
36
|
|
- public partial class EditUsingTime : Window
|
|
37
|
|
- {
|
|
38
|
|
- SqlCeConnection _opConn;
|
|
39
|
|
- public EditUsingTime()
|
|
40
|
|
- {
|
|
41
|
|
- InitializeComponent();
|
|
42
|
|
- initDatabase();
|
|
43
|
|
- initUI();
|
|
44
|
|
- }
|
|
45
|
|
- void initDatabase()
|
|
46
|
|
- {
|
|
47
|
|
- try
|
|
48
|
|
- {
|
|
49
|
|
- _opConn = Utils.createSqlCeConnection("operatingDbCS");
|
|
50
|
|
-
|
|
51
|
|
-
|
|
52
|
|
- }
|
|
53
|
|
- catch (SqlCeException se)
|
|
54
|
|
- {
|
|
55
|
|
- MessageBox.Show("operatingDbCS : ", se.Message);
|
|
56
|
|
- }
|
|
57
|
|
- }
|
|
58
|
|
- void initUI()
|
|
59
|
|
- {
|
|
60
|
|
- obInput.Text = getUsingTime("OB").ToString();
|
|
61
|
|
- ocInput.Text = getUsingTime("OC").ToString();
|
|
62
|
|
- rhInput.Text = getUsingTime("RH").ToString();
|
|
63
|
|
- }
|
|
64
|
|
- private int getUsingTime(string header)
|
|
65
|
|
- {
|
|
66
|
|
- var reader = Utils.Query(_opConn, "select * from UsingTime");
|
|
67
|
|
- reader.Read();
|
|
68
|
|
- int v = 0;
|
|
69
|
|
- switch (header)
|
|
70
|
|
- {
|
|
71
|
|
- case "OB":
|
|
72
|
|
- v = Convert.ToInt32(reader["ob"]);
|
|
73
|
|
-
|
|
74
|
|
- break;
|
|
75
|
|
- case "OC":
|
|
76
|
|
- v = Convert.ToInt32(reader["oc"]);
|
|
77
|
|
- break;
|
|
78
|
|
- case "RH":
|
|
79
|
|
- v = Convert.ToInt32(reader["rh"]);
|
|
80
|
|
- break;
|
|
81
|
|
- default:
|
|
82
|
|
- MessageBox.Show("Bad Header Name");
|
|
83
|
|
- break;
|
|
84
|
|
- }
|
|
85
|
|
- reader.Close();
|
|
86
|
|
-
|
|
87
|
|
-
|
|
88
|
|
- return v;
|
|
89
|
|
- }
|
|
90
|
|
-
|
|
91
|
|
- private void saveBtn_Click(object sender, RoutedEventArgs e)
|
|
92
|
|
- {
|
|
93
|
|
- updateUsingTime("OB", Convert.ToInt32(obInput.Text));
|
|
94
|
|
- updateUsingTime("OC", Convert.ToInt32(ocInput.Text));
|
|
95
|
|
- updateUsingTime("RH", Convert.ToInt32(rhInput.Text));
|
|
96
|
|
- //Application.Current.MainWindow.Show();
|
|
97
|
|
- var w = (MainWindow)Application.Current.MainWindow;
|
|
98
|
|
- w.refreshUsingTime();
|
|
99
|
|
- Close();
|
|
100
|
|
- }
|
|
101
|
|
- private void updateUsingTime(string p, int n = -1)
|
|
102
|
|
- {
|
|
103
|
|
-
|
|
104
|
|
- switch (p)
|
|
105
|
|
- {
|
|
106
|
|
- case "OB":
|
|
107
|
|
- Utils.Query(_opConn, "update UsingTime set ob = " + n);
|
|
108
|
|
- break;
|
|
109
|
|
- case "OC":
|
|
110
|
|
-
|
|
111
|
|
-
|
|
112
|
|
- Utils.Query(_opConn, "update UsingTime set oc = " + n);
|
|
113
|
|
- break;
|
|
114
|
|
- case "RH":
|
|
115
|
|
-
|
|
116
|
|
- Utils.Query(_opConn, "update UsingTime set rh = " + n);
|
|
117
|
|
-
|
|
118
|
|
- break;
|
|
119
|
|
- default:
|
|
120
|
|
- MessageBox.Show("Header Name Error");
|
|
121
|
|
- break;
|
|
122
|
|
- }
|
|
123
|
|
- }
|
|
124
|
|
- }
|
|
125
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+using System.Windows;
|
|
|
6
|
+using System.Windows.Controls;
|
|
|
7
|
+using System.Windows.Data;
|
|
|
8
|
+using System.Windows.Documents;
|
|
|
9
|
+using System.Windows.Input;
|
|
|
10
|
+using System.Windows.Media;
|
|
|
11
|
+using System.Windows.Media.Imaging;
|
|
|
12
|
+using System.Windows.Navigation;
|
|
|
13
|
+using System.Windows.Shapes;
|
|
|
14
|
+using System.Globalization;
|
|
|
15
|
+using WpfLocalization;
|
|
|
16
|
+using System.Threading;
|
|
|
17
|
+using System.Data.SqlClient;
|
|
|
18
|
+using System.Data;
|
|
|
19
|
+using System.Diagnostics;
|
|
|
20
|
+using System.IO;
|
|
|
21
|
+using System.Collections;
|
|
|
22
|
+using System.IO.Ports;
|
|
|
23
|
+using System.Collections.ObjectModel;
|
|
|
24
|
+using System.Reflection;
|
|
|
25
|
+using System.Configuration;
|
|
|
26
|
+using System.Collections.Specialized;
|
|
|
27
|
+using System.Data.SqlServerCe;
|
|
|
28
|
+using System.ComponentModel;
|
|
|
29
|
+using System.Windows.Threading;
|
|
|
30
|
+
|
|
|
31
|
+namespace WpfApplication19
|
|
|
32
|
+{
|
|
|
33
|
+ /// <summary>
|
|
|
34
|
+ /// Interaction logic for EditUsingTime.xaml
|
|
|
35
|
+ /// </summary>
|
|
|
36
|
+ public partial class EditUsingTime : Window
|
|
|
37
|
+ {
|
|
|
38
|
+ SqlCeConnection _opConn;
|
|
|
39
|
+ public EditUsingTime()
|
|
|
40
|
+ {
|
|
|
41
|
+ InitializeComponent();
|
|
|
42
|
+ initDatabase();
|
|
|
43
|
+ initUI();
|
|
|
44
|
+ }
|
|
|
45
|
+ void initDatabase()
|
|
|
46
|
+ {
|
|
|
47
|
+ try
|
|
|
48
|
+ {
|
|
|
49
|
+ _opConn = Utils.createSqlCeConnection("operatingDbCS");
|
|
|
50
|
+
|
|
|
51
|
+
|
|
|
52
|
+ }
|
|
|
53
|
+ catch (SqlCeException se)
|
|
|
54
|
+ {
|
|
|
55
|
+ MessageBox.Show("operatingDbCS : ", se.Message);
|
|
|
56
|
+ }
|
|
|
57
|
+ }
|
|
|
58
|
+ void initUI()
|
|
|
59
|
+ {
|
|
|
60
|
+ obInput.Text = getUsingTime("OB").ToString();
|
|
|
61
|
+ ocInput.Text = getUsingTime("OC").ToString();
|
|
|
62
|
+ rhInput.Text = getUsingTime("RH").ToString();
|
|
|
63
|
+ }
|
|
|
64
|
+ private int getUsingTime(string header)
|
|
|
65
|
+ {
|
|
|
66
|
+ var reader = Utils.Query(_opConn, "select * from UsingTime");
|
|
|
67
|
+ reader.Read();
|
|
|
68
|
+ int v = 0;
|
|
|
69
|
+ switch (header)
|
|
|
70
|
+ {
|
|
|
71
|
+ case "OB":
|
|
|
72
|
+ v = Convert.ToInt32(reader["ob"]);
|
|
|
73
|
+
|
|
|
74
|
+ break;
|
|
|
75
|
+ case "OC":
|
|
|
76
|
+ v = Convert.ToInt32(reader["oc"]);
|
|
|
77
|
+ break;
|
|
|
78
|
+ case "RH":
|
|
|
79
|
+ v = Convert.ToInt32(reader["rh"]);
|
|
|
80
|
+ break;
|
|
|
81
|
+ default:
|
|
|
82
|
+ MessageBox.Show("Bad Header Name");
|
|
|
83
|
+ break;
|
|
|
84
|
+ }
|
|
|
85
|
+ reader.Close();
|
|
|
86
|
+
|
|
|
87
|
+
|
|
|
88
|
+ return v;
|
|
|
89
|
+ }
|
|
|
90
|
+
|
|
|
91
|
+ private void saveBtn_Click(object sender, RoutedEventArgs e)
|
|
|
92
|
+ {
|
|
|
93
|
+ updateUsingTime("OB", Convert.ToInt32(obInput.Text));
|
|
|
94
|
+ updateUsingTime("OC", Convert.ToInt32(ocInput.Text));
|
|
|
95
|
+ updateUsingTime("RH", Convert.ToInt32(rhInput.Text));
|
|
|
96
|
+ //Application.Current.MainWindow.Show();
|
|
|
97
|
+ var w = (MainWindow)Application.Current.MainWindow;
|
|
|
98
|
+ w.refreshUsingTime();
|
|
|
99
|
+ Close();
|
|
|
100
|
+ }
|
|
|
101
|
+ private void updateUsingTime(string p, int n = -1)
|
|
|
102
|
+ {
|
|
|
103
|
+
|
|
|
104
|
+ switch (p)
|
|
|
105
|
+ {
|
|
|
106
|
+ case "OB":
|
|
|
107
|
+ Utils.Query(_opConn, "update UsingTime set ob = " + n);
|
|
|
108
|
+ break;
|
|
|
109
|
+ case "OC":
|
|
|
110
|
+
|
|
|
111
|
+
|
|
|
112
|
+ Utils.Query(_opConn, "update UsingTime set oc = " + n);
|
|
|
113
|
+ break;
|
|
|
114
|
+ case "RH":
|
|
|
115
|
+
|
|
|
116
|
+ Utils.Query(_opConn, "update UsingTime set rh = " + n);
|
|
|
117
|
+
|
|
|
118
|
+ break;
|
|
|
119
|
+ default:
|
|
|
120
|
+ MessageBox.Show("Header Name Error");
|
|
|
121
|
+ break;
|
|
|
122
|
+ }
|
|
|
123
|
+ }
|
|
|
124
|
+ }
|
|
|
125
|
+}
|
|
|
@@ -1,12 +1,12 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-
|
|
6
|
|
-namespace WpfApplication19
|
|
7
|
|
-{
|
|
8
|
|
- public static class GlobalVars
|
|
9
|
|
- {
|
|
10
|
|
- public static User user { get; set; }
|
|
11
|
|
- }
|
|
12
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+
|
|
|
6
|
+namespace WpfApplication19
|
|
|
7
|
+{
|
|
|
8
|
+ public static class GlobalVars
|
|
|
9
|
+ {
|
|
|
10
|
+ public static User user { get; set; }
|
|
|
11
|
+ }
|
|
|
12
|
+}
|
|
|
@@ -1,10 +1,10 @@
|
|
1
|
|
-<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
|
-<TestSettings name="Local" id="74cc313b-c7c9-4c03-8ad4-97535485f097" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
|
|
3
|
|
- <Description>These are default test settings for a local test run.</Description>
|
|
4
|
|
- <Deployment enabled="false" />
|
|
5
|
|
- <Execution>
|
|
6
|
|
- <TestTypeSpecific />
|
|
7
|
|
- <AgentRule name="Execution Agents">
|
|
8
|
|
- </AgentRule>
|
|
9
|
|
- </Execution>
|
|
|
1
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
2
|
+<TestSettings name="Local" id="74cc313b-c7c9-4c03-8ad4-97535485f097" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
|
|
|
3
|
+ <Description>These are default test settings for a local test run.</Description>
|
|
|
4
|
+ <Deployment enabled="false" />
|
|
|
5
|
+ <Execution>
|
|
|
6
|
+ <TestTypeSpecific />
|
|
|
7
|
+ <AgentRule name="Execution Agents">
|
|
|
8
|
+ </AgentRule>
|
|
|
9
|
+ </Execution>
|
|
10
|
10
|
</TestSettings>
|
|
|
@@ -1,15 +1,15 @@
|
|
1
|
|
-<Window x:Class="WpfApplication19.LoginWindow"
|
|
2
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
3
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
4
|
|
- Title="User Login" Height="274" Width="353" WindowStyle="None" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" BorderThickness="2">
|
|
5
|
|
- <Grid>
|
|
6
|
|
- <Label Content="User ID" Height="28" HorizontalAlignment="Left" Margin="62,85,0,0" Name="label1" VerticalAlignment="Top" />
|
|
7
|
|
- <Label Content="Password" Height="28" HorizontalAlignment="Left" Margin="51,119,0,0" Name="label2" VerticalAlignment="Top" />
|
|
8
|
|
- <TextBox Height="23" Margin="124,85,0,0" Name="userIDTextInput" VerticalAlignment="Top" HorizontalAlignment="Left" Width="143" />
|
|
9
|
|
- <PasswordBox Height="23" HorizontalAlignment="Left" Margin="124,119,0,0" Name="passwordBox" VerticalAlignment="Top" Width="143" />
|
|
10
|
|
- <Button Content="Login" Height="23" HorizontalAlignment="Left" Margin="192,159,0,0" Name="loginButton" VerticalAlignment="Top" Width="75" Click="loginButton_Click" IsDefault="True" Focusable="False" />
|
|
11
|
|
- <Button Content="Cancel" Height="23" HorizontalAlignment="Left" Margin="65,159,0,0" VerticalAlignment="Top" Width="75" Click="button2_Click" Name="cancel" />
|
|
12
|
|
- <TextBlock Height="23" HorizontalAlignment="Left" Margin="74,199,0,0" Name="alertText" Text="" VerticalAlignment="Top" Width="193" TextAlignment="Center" />
|
|
13
|
|
- <Image Height="70" HorizontalAlignment="Left" Margin="124,5,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="80" Source="/WpfApplication19;component/Images/user_group.png" />
|
|
14
|
|
- </Grid>
|
|
15
|
|
-</Window>
|
|
|
1
|
+<Window x:Class="WpfApplication19.LoginWindow"
|
|
|
2
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
3
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
4
|
+ Title="User Login" Height="274" Width="353" WindowStyle="None" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" BorderThickness="2">
|
|
|
5
|
+ <Grid>
|
|
|
6
|
+ <Label Content="User ID" Height="28" HorizontalAlignment="Left" Margin="62,85,0,0" Name="label1" VerticalAlignment="Top" />
|
|
|
7
|
+ <Label Content="Password" Height="28" HorizontalAlignment="Left" Margin="51,119,0,0" Name="label2" VerticalAlignment="Top" />
|
|
|
8
|
+ <TextBox Height="23" Margin="124,85,0,0" Name="userIDTextInput" VerticalAlignment="Top" HorizontalAlignment="Left" Width="143" />
|
|
|
9
|
+ <PasswordBox Height="23" HorizontalAlignment="Left" Margin="124,119,0,0" Name="passwordBox" VerticalAlignment="Top" Width="143" />
|
|
|
10
|
+ <Button Content="Login" Height="23" HorizontalAlignment="Left" Margin="192,159,0,0" Name="loginButton" VerticalAlignment="Top" Width="75" Click="loginButton_Click" IsDefault="True" Focusable="False" />
|
|
|
11
|
+ <Button Content="Cancel" Height="23" HorizontalAlignment="Left" Margin="65,159,0,0" VerticalAlignment="Top" Width="75" Click="button2_Click" Name="cancel" />
|
|
|
12
|
+ <TextBlock Height="23" HorizontalAlignment="Left" Margin="74,199,0,0" Name="alertText" Text="" VerticalAlignment="Top" Width="193" TextAlignment="Center" />
|
|
|
13
|
+ <Image Height="70" HorizontalAlignment="Left" Margin="124,5,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="80" Source="/WpfApplication19;component/Images/user_group.png" />
|
|
|
14
|
+ </Grid>
|
|
|
15
|
+</Window>
|
|
|
@@ -1,108 +1,108 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-using System.Windows;
|
|
6
|
|
-using System.Windows.Controls;
|
|
7
|
|
-using System.Windows.Data;
|
|
8
|
|
-using System.Windows.Documents;
|
|
9
|
|
-using System.Windows.Input;
|
|
10
|
|
-using System.Windows.Media;
|
|
11
|
|
-using System.Windows.Media.Imaging;
|
|
12
|
|
-using System.Windows.Shapes;
|
|
13
|
|
-using Newtonsoft.Json.Linq;
|
|
14
|
|
-namespace WpfApplication19
|
|
15
|
|
-{
|
|
16
|
|
- /// <summary>
|
|
17
|
|
- /// Interaction logic for LoginWindow.xaml
|
|
18
|
|
- /// </summary>
|
|
19
|
|
-
|
|
20
|
|
-
|
|
21
|
|
- public partial class LoginWindow : Window
|
|
22
|
|
- {
|
|
23
|
|
-
|
|
24
|
|
- bool _isSkip = true;
|
|
25
|
|
- public LoginWindow()
|
|
26
|
|
- {
|
|
27
|
|
-
|
|
28
|
|
- InitializeComponent();
|
|
29
|
|
- userIDTextInput.Focus();
|
|
30
|
|
- }
|
|
31
|
|
-
|
|
32
|
|
- private void button2_Click(object sender, RoutedEventArgs e)
|
|
33
|
|
- {
|
|
34
|
|
-
|
|
35
|
|
- //this.Close();
|
|
36
|
|
- this.DialogResult = false;
|
|
37
|
|
- Application.Current.MainWindow.Close();
|
|
38
|
|
-
|
|
39
|
|
- }
|
|
40
|
|
-
|
|
41
|
|
- private void loginButton_Click(object sender, RoutedEventArgs e)
|
|
42
|
|
- {
|
|
43
|
|
- string data = string.Format("empid={0}&password={1}", userIDTextInput.Text, passwordBox.Password);
|
|
44
|
|
- string passwd = passwordBox.Password;
|
|
45
|
|
- WebAppConnector wp = new WebAppConnector()
|
|
46
|
|
- {
|
|
47
|
|
-
|
|
48
|
|
- Uri = Utils.getSetting("webServerURL")+"/sessions.json",
|
|
49
|
|
- Method = "POST",
|
|
50
|
|
- PostData = data
|
|
51
|
|
- };
|
|
52
|
|
- Response r = null;
|
|
53
|
|
- try {
|
|
54
|
|
- r = wp.sendRequest();
|
|
55
|
|
- }catch{
|
|
56
|
|
- if(_isSkip == false)
|
|
57
|
|
- MessageBox.Show("Cannot Send Data to Server, Please Try Again or Get Help from System Administrator");
|
|
58
|
|
- //for skip block
|
|
59
|
|
- else {
|
|
60
|
|
- this.DialogResult = true;
|
|
61
|
|
-
|
|
62
|
|
- User u = new User();
|
|
63
|
|
- u.email = "1234";
|
|
64
|
|
- u.empid = "root";
|
|
65
|
|
- u.password = "1234";
|
|
66
|
|
- u.roles.Add("admin");
|
|
67
|
|
- GlobalVars.user = u;
|
|
68
|
|
-
|
|
69
|
|
- Application.Current.MainWindow.Show();
|
|
70
|
|
- var w = (MainWindow)Application.Current.MainWindow;
|
|
71
|
|
- Close();
|
|
72
|
|
- return;
|
|
73
|
|
- }
|
|
74
|
|
- }
|
|
75
|
|
- string ans = (string)r.jsonBody["msg"];
|
|
76
|
|
- //Console.WriteLine((JArray)r.jsonBody["roles"]);
|
|
77
|
|
-
|
|
78
|
|
- if (r.status == "OK" && ans == "Y")
|
|
79
|
|
- {
|
|
80
|
|
- this.DialogResult = true;
|
|
81
|
|
-
|
|
82
|
|
-
|
|
83
|
|
- User u = new User();
|
|
84
|
|
- u.password = passwd;
|
|
85
|
|
- u.email = (string)r.jsonBody["email"];
|
|
86
|
|
- u.empid = (string)r.jsonBody["empid"];
|
|
87
|
|
- foreach (var role in r.jsonBody["roles"])
|
|
88
|
|
- {
|
|
89
|
|
- u.roles.Add((string)role);
|
|
90
|
|
- }
|
|
91
|
|
- GlobalVars.user = u;
|
|
92
|
|
- Close();
|
|
93
|
|
- Application.Current.MainWindow.Show();
|
|
94
|
|
-
|
|
95
|
|
- var w = (MainWindow)Application.Current.MainWindow;
|
|
96
|
|
-
|
|
97
|
|
- //w.UpdateStatus(u);
|
|
98
|
|
- }
|
|
99
|
|
- else
|
|
100
|
|
- {
|
|
101
|
|
- alertText.Text = "Your UserID and Password invalid!!";
|
|
102
|
|
-
|
|
103
|
|
- }
|
|
104
|
|
-
|
|
105
|
|
-
|
|
106
|
|
- }
|
|
107
|
|
- }
|
|
108
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+using System.Windows;
|
|
|
6
|
+using System.Windows.Controls;
|
|
|
7
|
+using System.Windows.Data;
|
|
|
8
|
+using System.Windows.Documents;
|
|
|
9
|
+using System.Windows.Input;
|
|
|
10
|
+using System.Windows.Media;
|
|
|
11
|
+using System.Windows.Media.Imaging;
|
|
|
12
|
+using System.Windows.Shapes;
|
|
|
13
|
+using Newtonsoft.Json.Linq;
|
|
|
14
|
+namespace WpfApplication19
|
|
|
15
|
+{
|
|
|
16
|
+ /// <summary>
|
|
|
17
|
+ /// Interaction logic for LoginWindow.xaml
|
|
|
18
|
+ /// </summary>
|
|
|
19
|
+
|
|
|
20
|
+
|
|
|
21
|
+ public partial class LoginWindow : Window
|
|
|
22
|
+ {
|
|
|
23
|
+
|
|
|
24
|
+ bool _isSkip = true;
|
|
|
25
|
+ public LoginWindow()
|
|
|
26
|
+ {
|
|
|
27
|
+
|
|
|
28
|
+ InitializeComponent();
|
|
|
29
|
+ userIDTextInput.Focus();
|
|
|
30
|
+ }
|
|
|
31
|
+
|
|
|
32
|
+ private void button2_Click(object sender, RoutedEventArgs e)
|
|
|
33
|
+ {
|
|
|
34
|
+
|
|
|
35
|
+ //this.Close();
|
|
|
36
|
+ this.DialogResult = false;
|
|
|
37
|
+ Application.Current.MainWindow.Close();
|
|
|
38
|
+
|
|
|
39
|
+ }
|
|
|
40
|
+
|
|
|
41
|
+ private void loginButton_Click(object sender, RoutedEventArgs e)
|
|
|
42
|
+ {
|
|
|
43
|
+ string data = string.Format("empid={0}&password={1}", userIDTextInput.Text, passwordBox.Password);
|
|
|
44
|
+ string passwd = passwordBox.Password;
|
|
|
45
|
+ WebAppConnector wp = new WebAppConnector()
|
|
|
46
|
+ {
|
|
|
47
|
+
|
|
|
48
|
+ Uri = Utils.getSetting("webServerURL")+"/sessions.json",
|
|
|
49
|
+ Method = "POST",
|
|
|
50
|
+ PostData = data
|
|
|
51
|
+ };
|
|
|
52
|
+ Response r = null;
|
|
|
53
|
+ try {
|
|
|
54
|
+ r = wp.sendRequest();
|
|
|
55
|
+ }catch{
|
|
|
56
|
+ if(_isSkip == false)
|
|
|
57
|
+ MessageBox.Show("Cannot Send Data to Server, Please Try Again or Get Help from System Administrator");
|
|
|
58
|
+ //for skip block
|
|
|
59
|
+ else {
|
|
|
60
|
+ this.DialogResult = true;
|
|
|
61
|
+
|
|
|
62
|
+ User u = new User();
|
|
|
63
|
+ u.email = "1234";
|
|
|
64
|
+ u.empid = "root";
|
|
|
65
|
+ u.password = "1234";
|
|
|
66
|
+ u.roles.Add("admin");
|
|
|
67
|
+ GlobalVars.user = u;
|
|
|
68
|
+
|
|
|
69
|
+ Application.Current.MainWindow.Show();
|
|
|
70
|
+ var w = (MainWindow)Application.Current.MainWindow;
|
|
|
71
|
+ Close();
|
|
|
72
|
+ return;
|
|
|
73
|
+ }
|
|
|
74
|
+ }
|
|
|
75
|
+ string ans = (string)r.jsonBody["msg"];
|
|
|
76
|
+ //Console.WriteLine((JArray)r.jsonBody["roles"]);
|
|
|
77
|
+
|
|
|
78
|
+ if (r.status == "OK" && ans == "Y")
|
|
|
79
|
+ {
|
|
|
80
|
+ this.DialogResult = true;
|
|
|
81
|
+
|
|
|
82
|
+
|
|
|
83
|
+ User u = new User();
|
|
|
84
|
+ u.password = passwd;
|
|
|
85
|
+ u.email = (string)r.jsonBody["email"];
|
|
|
86
|
+ u.empid = (string)r.jsonBody["empid"];
|
|
|
87
|
+ foreach (var role in r.jsonBody["roles"])
|
|
|
88
|
+ {
|
|
|
89
|
+ u.roles.Add((string)role);
|
|
|
90
|
+ }
|
|
|
91
|
+ GlobalVars.user = u;
|
|
|
92
|
+ Close();
|
|
|
93
|
+ Application.Current.MainWindow.Show();
|
|
|
94
|
+
|
|
|
95
|
+ var w = (MainWindow)Application.Current.MainWindow;
|
|
|
96
|
+
|
|
|
97
|
+ //w.UpdateStatus(u);
|
|
|
98
|
+ }
|
|
|
99
|
+ else
|
|
|
100
|
+ {
|
|
|
101
|
+ alertText.Text = "Your UserID and Password invalid!!";
|
|
|
102
|
+
|
|
|
103
|
+ }
|
|
|
104
|
+
|
|
|
105
|
+
|
|
|
106
|
+ }
|
|
|
107
|
+ }
|
|
|
108
|
+}
|
|
|
@@ -1,80 +1,80 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-using System.ComponentModel;
|
|
6
|
|
-using System.Reflection;
|
|
7
|
|
-namespace WpfApplication19
|
|
8
|
|
-{
|
|
9
|
|
- class MeasurePoint : INotifyPropertyChanged
|
|
10
|
|
-{
|
|
11
|
|
-
|
|
12
|
|
- #region INotifyPropertyChanged Members
|
|
13
|
|
-
|
|
14
|
|
- public event PropertyChangedEventHandler PropertyChanged;
|
|
15
|
|
-
|
|
16
|
|
- protected void Notify(string propName)
|
|
17
|
|
- {
|
|
18
|
|
- if (this.PropertyChanged != null)
|
|
19
|
|
- {
|
|
20
|
|
- PropertyChanged(this, new PropertyChangedEventArgs(propName));
|
|
21
|
|
- }
|
|
22
|
|
- }
|
|
23
|
|
- #endregion
|
|
24
|
|
- /*
|
|
25
|
|
- private int _P1;
|
|
26
|
|
-
|
|
27
|
|
- public int P1
|
|
28
|
|
- {
|
|
29
|
|
- get { return _P1; }
|
|
30
|
|
- set
|
|
31
|
|
- {
|
|
32
|
|
-
|
|
33
|
|
- this._P1 = value;
|
|
34
|
|
- Notify("P1");
|
|
35
|
|
- }
|
|
36
|
|
- }
|
|
37
|
|
- */
|
|
38
|
|
- public int Count { get; set; }
|
|
39
|
|
- public double P1 { get; set; }
|
|
40
|
|
- public double P2 { get; set; }
|
|
41
|
|
- public double P3 { get; set; }
|
|
42
|
|
- public double P4 { get; set; }
|
|
43
|
|
- public double P5 { get; set; }
|
|
44
|
|
- public double P6 { get; set; }
|
|
45
|
|
- public double P7 { get; set; }
|
|
46
|
|
- public double P8 { get; set; }
|
|
47
|
|
- public double P9 { get; set; }
|
|
48
|
|
- public double P10 { get; set; }
|
|
49
|
|
- public double Avg { get; set; }
|
|
50
|
|
- public string Grade { get; set; }
|
|
51
|
|
- public string ResultGrade { get; set; }
|
|
52
|
|
- public string Type { get; set; }
|
|
53
|
|
- public int SubOrder { get; set; }
|
|
54
|
|
- public void setValue(string alias, double value)
|
|
55
|
|
- {
|
|
56
|
|
- PropertyInfo methodInfo =
|
|
57
|
|
- typeof(MeasurePoint).GetProperty("P"+alias);
|
|
58
|
|
-
|
|
59
|
|
- // Use the instance to call the method without arguments
|
|
60
|
|
-
|
|
61
|
|
- try{
|
|
62
|
|
- int cn = Convert.ToInt16(alias);
|
|
63
|
|
- if (cn >= 1 && cn <= 10)
|
|
64
|
|
- methodInfo.SetValue(this, value, null);
|
|
65
|
|
- }catch{
|
|
66
|
|
- return;
|
|
67
|
|
- }
|
|
68
|
|
-
|
|
69
|
|
- }
|
|
70
|
|
- public float GetValue(string alias)
|
|
71
|
|
- {
|
|
72
|
|
- PropertyInfo methodInfo =
|
|
73
|
|
- typeof(MeasurePoint).GetProperty(alias);
|
|
74
|
|
-
|
|
75
|
|
-
|
|
76
|
|
-
|
|
77
|
|
- return (float)methodInfo.GetValue(this, null);
|
|
78
|
|
- }
|
|
79
|
|
- }
|
|
80
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+using System.ComponentModel;
|
|
|
6
|
+using System.Reflection;
|
|
|
7
|
+namespace WpfApplication19
|
|
|
8
|
+{
|
|
|
9
|
+ class MeasurePoint : INotifyPropertyChanged
|
|
|
10
|
+{
|
|
|
11
|
+
|
|
|
12
|
+ #region INotifyPropertyChanged Members
|
|
|
13
|
+
|
|
|
14
|
+ public event PropertyChangedEventHandler PropertyChanged;
|
|
|
15
|
+
|
|
|
16
|
+ protected void Notify(string propName)
|
|
|
17
|
+ {
|
|
|
18
|
+ if (this.PropertyChanged != null)
|
|
|
19
|
+ {
|
|
|
20
|
+ PropertyChanged(this, new PropertyChangedEventArgs(propName));
|
|
|
21
|
+ }
|
|
|
22
|
+ }
|
|
|
23
|
+ #endregion
|
|
|
24
|
+ /*
|
|
|
25
|
+ private int _P1;
|
|
|
26
|
+
|
|
|
27
|
+ public int P1
|
|
|
28
|
+ {
|
|
|
29
|
+ get { return _P1; }
|
|
|
30
|
+ set
|
|
|
31
|
+ {
|
|
|
32
|
+
|
|
|
33
|
+ this._P1 = value;
|
|
|
34
|
+ Notify("P1");
|
|
|
35
|
+ }
|
|
|
36
|
+ }
|
|
|
37
|
+ */
|
|
|
38
|
+ public int Count { get; set; }
|
|
|
39
|
+ public double P1 { get; set; }
|
|
|
40
|
+ public double P2 { get; set; }
|
|
|
41
|
+ public double P3 { get; set; }
|
|
|
42
|
+ public double P4 { get; set; }
|
|
|
43
|
+ public double P5 { get; set; }
|
|
|
44
|
+ public double P6 { get; set; }
|
|
|
45
|
+ public double P7 { get; set; }
|
|
|
46
|
+ public double P8 { get; set; }
|
|
|
47
|
+ public double P9 { get; set; }
|
|
|
48
|
+ public double P10 { get; set; }
|
|
|
49
|
+ public double Avg { get; set; }
|
|
|
50
|
+ public string Grade { get; set; }
|
|
|
51
|
+ public string ResultGrade { get; set; }
|
|
|
52
|
+ public string Type { get; set; }
|
|
|
53
|
+ public int SubOrder { get; set; }
|
|
|
54
|
+ public void setValue(string alias, double value)
|
|
|
55
|
+ {
|
|
|
56
|
+ PropertyInfo methodInfo =
|
|
|
57
|
+ typeof(MeasurePoint).GetProperty("P"+alias);
|
|
|
58
|
+
|
|
|
59
|
+ // Use the instance to call the method without arguments
|
|
|
60
|
+
|
|
|
61
|
+ try{
|
|
|
62
|
+ int cn = Convert.ToInt16(alias);
|
|
|
63
|
+ if (cn >= 1 && cn <= 10)
|
|
|
64
|
+ methodInfo.SetValue(this, value, null);
|
|
|
65
|
+ }catch{
|
|
|
66
|
+ return;
|
|
|
67
|
+ }
|
|
|
68
|
+
|
|
|
69
|
+ }
|
|
|
70
|
+ public float GetValue(string alias)
|
|
|
71
|
+ {
|
|
|
72
|
+ PropertyInfo methodInfo =
|
|
|
73
|
+ typeof(MeasurePoint).GetProperty(alias);
|
|
|
74
|
+
|
|
|
75
|
+
|
|
|
76
|
+
|
|
|
77
|
+ return (float)methodInfo.GetValue(this, null);
|
|
|
78
|
+ }
|
|
|
79
|
+ }
|
|
|
80
|
+}
|
|
|
@@ -1,280 +1,280 @@
|
|
1
|
|
-//------------------------------------------------------------------------------
|
|
2
|
|
-// <auto-generated>
|
|
3
|
|
-// This code was generated from a template.
|
|
4
|
|
-//
|
|
5
|
|
-// Manual changes to this file may cause unexpected behavior in your application.
|
|
6
|
|
-// Manual changes to this file will be overwritten if the code is regenerated.
|
|
7
|
|
-// </auto-generated>
|
|
8
|
|
-//------------------------------------------------------------------------------
|
|
9
|
|
-
|
|
10
|
|
-using System;
|
|
11
|
|
-using System.Data.Objects;
|
|
12
|
|
-using System.Data.Objects.DataClasses;
|
|
13
|
|
-using System.Data.EntityClient;
|
|
14
|
|
-using System.ComponentModel;
|
|
15
|
|
-using System.Xml.Serialization;
|
|
16
|
|
-using System.Runtime.Serialization;
|
|
17
|
|
-
|
|
18
|
|
-[assembly: EdmSchemaAttribute()]
|
|
19
|
|
-
|
|
20
|
|
-namespace WpfApplication19
|
|
21
|
|
-{
|
|
22
|
|
- #region Contexts
|
|
23
|
|
-
|
|
24
|
|
- /// <summary>
|
|
25
|
|
- /// No Metadata Documentation available.
|
|
26
|
|
- /// </summary>
|
|
27
|
|
- public partial class labEntities : ObjectContext
|
|
28
|
|
- {
|
|
29
|
|
- #region Constructors
|
|
30
|
|
-
|
|
31
|
|
- /// <summary>
|
|
32
|
|
- /// Initializes a new labEntities object using the connection string found in the 'labEntities' section of the application configuration file.
|
|
33
|
|
- /// </summary>
|
|
34
|
|
- public labEntities() : base("name=labEntities", "labEntities")
|
|
35
|
|
- {
|
|
36
|
|
- this.ContextOptions.LazyLoadingEnabled = true;
|
|
37
|
|
- OnContextCreated();
|
|
38
|
|
- }
|
|
39
|
|
-
|
|
40
|
|
- /// <summary>
|
|
41
|
|
- /// Initialize a new labEntities object.
|
|
42
|
|
- /// </summary>
|
|
43
|
|
- public labEntities(string connectionString) : base(connectionString, "labEntities")
|
|
44
|
|
- {
|
|
45
|
|
- this.ContextOptions.LazyLoadingEnabled = true;
|
|
46
|
|
- OnContextCreated();
|
|
47
|
|
- }
|
|
48
|
|
-
|
|
49
|
|
- /// <summary>
|
|
50
|
|
- /// Initialize a new labEntities object.
|
|
51
|
|
- /// </summary>
|
|
52
|
|
- public labEntities(EntityConnection connection) : base(connection, "labEntities")
|
|
53
|
|
- {
|
|
54
|
|
- this.ContextOptions.LazyLoadingEnabled = true;
|
|
55
|
|
- OnContextCreated();
|
|
56
|
|
- }
|
|
57
|
|
-
|
|
58
|
|
- #endregion
|
|
59
|
|
-
|
|
60
|
|
- #region Partial Methods
|
|
61
|
|
-
|
|
62
|
|
- partial void OnContextCreated();
|
|
63
|
|
-
|
|
64
|
|
- #endregion
|
|
65
|
|
-
|
|
66
|
|
- #region ObjectSet Properties
|
|
67
|
|
-
|
|
68
|
|
- /// <summary>
|
|
69
|
|
- /// No Metadata Documentation available.
|
|
70
|
|
- /// </summary>
|
|
71
|
|
- public ObjectSet<user> users
|
|
72
|
|
- {
|
|
73
|
|
- get
|
|
74
|
|
- {
|
|
75
|
|
- if ((_users == null))
|
|
76
|
|
- {
|
|
77
|
|
- _users = base.CreateObjectSet<user>("users");
|
|
78
|
|
- }
|
|
79
|
|
- return _users;
|
|
80
|
|
- }
|
|
81
|
|
- }
|
|
82
|
|
- private ObjectSet<user> _users;
|
|
83
|
|
-
|
|
84
|
|
- #endregion
|
|
85
|
|
- #region AddTo Methods
|
|
86
|
|
-
|
|
87
|
|
- /// <summary>
|
|
88
|
|
- /// Deprecated Method for adding a new object to the users EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
|
|
89
|
|
- /// </summary>
|
|
90
|
|
- public void AddTousers(user user)
|
|
91
|
|
- {
|
|
92
|
|
- base.AddObject("users", user);
|
|
93
|
|
- }
|
|
94
|
|
-
|
|
95
|
|
- #endregion
|
|
96
|
|
- }
|
|
97
|
|
-
|
|
98
|
|
-
|
|
99
|
|
- #endregion
|
|
100
|
|
-
|
|
101
|
|
- #region Entities
|
|
102
|
|
-
|
|
103
|
|
- /// <summary>
|
|
104
|
|
- /// No Metadata Documentation available.
|
|
105
|
|
- /// </summary>
|
|
106
|
|
- [EdmEntityTypeAttribute(NamespaceName="labModel", Name="user")]
|
|
107
|
|
- [Serializable()]
|
|
108
|
|
- [DataContractAttribute(IsReference=true)]
|
|
109
|
|
- public partial class user : EntityObject
|
|
110
|
|
- {
|
|
111
|
|
- #region Factory Method
|
|
112
|
|
-
|
|
113
|
|
- /// <summary>
|
|
114
|
|
- /// Create a new user object.
|
|
115
|
|
- /// </summary>
|
|
116
|
|
- /// <param name="id">Initial value of the id property.</param>
|
|
117
|
|
- public static user Createuser(global::System.Int32 id)
|
|
118
|
|
- {
|
|
119
|
|
- user user = new user();
|
|
120
|
|
- user.id = id;
|
|
121
|
|
- return user;
|
|
122
|
|
- }
|
|
123
|
|
-
|
|
124
|
|
- #endregion
|
|
125
|
|
- #region Primitive Properties
|
|
126
|
|
-
|
|
127
|
|
- /// <summary>
|
|
128
|
|
- /// No Metadata Documentation available.
|
|
129
|
|
- /// </summary>
|
|
130
|
|
- [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
|
|
131
|
|
- [DataMemberAttribute()]
|
|
132
|
|
- public global::System.Int32 id
|
|
133
|
|
- {
|
|
134
|
|
- get
|
|
135
|
|
- {
|
|
136
|
|
- return _id;
|
|
137
|
|
- }
|
|
138
|
|
- set
|
|
139
|
|
- {
|
|
140
|
|
- if (_id != value)
|
|
141
|
|
- {
|
|
142
|
|
- OnidChanging(value);
|
|
143
|
|
- ReportPropertyChanging("id");
|
|
144
|
|
- _id = StructuralObject.SetValidValue(value);
|
|
145
|
|
- ReportPropertyChanged("id");
|
|
146
|
|
- OnidChanged();
|
|
147
|
|
- }
|
|
148
|
|
- }
|
|
149
|
|
- }
|
|
150
|
|
- private global::System.Int32 _id;
|
|
151
|
|
- partial void OnidChanging(global::System.Int32 value);
|
|
152
|
|
- partial void OnidChanged();
|
|
153
|
|
-
|
|
154
|
|
- /// <summary>
|
|
155
|
|
- /// No Metadata Documentation available.
|
|
156
|
|
- /// </summary>
|
|
157
|
|
- [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
|
|
158
|
|
- [DataMemberAttribute()]
|
|
159
|
|
- public global::System.String email
|
|
160
|
|
- {
|
|
161
|
|
- get
|
|
162
|
|
- {
|
|
163
|
|
- return _email;
|
|
164
|
|
- }
|
|
165
|
|
- set
|
|
166
|
|
- {
|
|
167
|
|
- OnemailChanging(value);
|
|
168
|
|
- ReportPropertyChanging("email");
|
|
169
|
|
- _email = StructuralObject.SetValidValue(value, true);
|
|
170
|
|
- ReportPropertyChanged("email");
|
|
171
|
|
- OnemailChanged();
|
|
172
|
|
- }
|
|
173
|
|
- }
|
|
174
|
|
- private global::System.String _email;
|
|
175
|
|
- partial void OnemailChanging(global::System.String value);
|
|
176
|
|
- partial void OnemailChanged();
|
|
177
|
|
-
|
|
178
|
|
- /// <summary>
|
|
179
|
|
- /// No Metadata Documentation available.
|
|
180
|
|
- /// </summary>
|
|
181
|
|
- [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
|
|
182
|
|
- [DataMemberAttribute()]
|
|
183
|
|
- public global::System.String hashed_password
|
|
184
|
|
- {
|
|
185
|
|
- get
|
|
186
|
|
- {
|
|
187
|
|
- return _hashed_password;
|
|
188
|
|
- }
|
|
189
|
|
- set
|
|
190
|
|
- {
|
|
191
|
|
- Onhashed_passwordChanging(value);
|
|
192
|
|
- ReportPropertyChanging("hashed_password");
|
|
193
|
|
- _hashed_password = StructuralObject.SetValidValue(value, true);
|
|
194
|
|
- ReportPropertyChanged("hashed_password");
|
|
195
|
|
- Onhashed_passwordChanged();
|
|
196
|
|
- }
|
|
197
|
|
- }
|
|
198
|
|
- private global::System.String _hashed_password;
|
|
199
|
|
- partial void Onhashed_passwordChanging(global::System.String value);
|
|
200
|
|
- partial void Onhashed_passwordChanged();
|
|
201
|
|
-
|
|
202
|
|
- /// <summary>
|
|
203
|
|
- /// No Metadata Documentation available.
|
|
204
|
|
- /// </summary>
|
|
205
|
|
- [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
|
|
206
|
|
- [DataMemberAttribute()]
|
|
207
|
|
- public Nullable<global::System.DateTime> created_at
|
|
208
|
|
- {
|
|
209
|
|
- get
|
|
210
|
|
- {
|
|
211
|
|
- return _created_at;
|
|
212
|
|
- }
|
|
213
|
|
- set
|
|
214
|
|
- {
|
|
215
|
|
- Oncreated_atChanging(value);
|
|
216
|
|
- ReportPropertyChanging("created_at");
|
|
217
|
|
- _created_at = StructuralObject.SetValidValue(value);
|
|
218
|
|
- ReportPropertyChanged("created_at");
|
|
219
|
|
- Oncreated_atChanged();
|
|
220
|
|
- }
|
|
221
|
|
- }
|
|
222
|
|
- private Nullable<global::System.DateTime> _created_at;
|
|
223
|
|
- partial void Oncreated_atChanging(Nullable<global::System.DateTime> value);
|
|
224
|
|
- partial void Oncreated_atChanged();
|
|
225
|
|
-
|
|
226
|
|
- /// <summary>
|
|
227
|
|
- /// No Metadata Documentation available.
|
|
228
|
|
- /// </summary>
|
|
229
|
|
- [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
|
|
230
|
|
- [DataMemberAttribute()]
|
|
231
|
|
- public Nullable<global::System.DateTime> updated_at
|
|
232
|
|
- {
|
|
233
|
|
- get
|
|
234
|
|
- {
|
|
235
|
|
- return _updated_at;
|
|
236
|
|
- }
|
|
237
|
|
- set
|
|
238
|
|
- {
|
|
239
|
|
- Onupdated_atChanging(value);
|
|
240
|
|
- ReportPropertyChanging("updated_at");
|
|
241
|
|
- _updated_at = StructuralObject.SetValidValue(value);
|
|
242
|
|
- ReportPropertyChanged("updated_at");
|
|
243
|
|
- Onupdated_atChanged();
|
|
244
|
|
- }
|
|
245
|
|
- }
|
|
246
|
|
- private Nullable<global::System.DateTime> _updated_at;
|
|
247
|
|
- partial void Onupdated_atChanging(Nullable<global::System.DateTime> value);
|
|
248
|
|
- partial void Onupdated_atChanged();
|
|
249
|
|
-
|
|
250
|
|
- /// <summary>
|
|
251
|
|
- /// No Metadata Documentation available.
|
|
252
|
|
- /// </summary>
|
|
253
|
|
- [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
|
|
254
|
|
- [DataMemberAttribute()]
|
|
255
|
|
- public Nullable<global::System.Boolean> active
|
|
256
|
|
- {
|
|
257
|
|
- get
|
|
258
|
|
- {
|
|
259
|
|
- return _active;
|
|
260
|
|
- }
|
|
261
|
|
- set
|
|
262
|
|
- {
|
|
263
|
|
- OnactiveChanging(value);
|
|
264
|
|
- ReportPropertyChanging("active");
|
|
265
|
|
- _active = StructuralObject.SetValidValue(value);
|
|
266
|
|
- ReportPropertyChanged("active");
|
|
267
|
|
- OnactiveChanged();
|
|
268
|
|
- }
|
|
269
|
|
- }
|
|
270
|
|
- private Nullable<global::System.Boolean> _active;
|
|
271
|
|
- partial void OnactiveChanging(Nullable<global::System.Boolean> value);
|
|
272
|
|
- partial void OnactiveChanged();
|
|
273
|
|
-
|
|
274
|
|
- #endregion
|
|
275
|
|
-
|
|
276
|
|
- }
|
|
277
|
|
-
|
|
278
|
|
- #endregion
|
|
279
|
|
-
|
|
280
|
|
-}
|
|
|
1
|
+//------------------------------------------------------------------------------
|
|
|
2
|
+// <auto-generated>
|
|
|
3
|
+// This code was generated from a template.
|
|
|
4
|
+//
|
|
|
5
|
+// Manual changes to this file may cause unexpected behavior in your application.
|
|
|
6
|
+// Manual changes to this file will be overwritten if the code is regenerated.
|
|
|
7
|
+// </auto-generated>
|
|
|
8
|
+//------------------------------------------------------------------------------
|
|
|
9
|
+
|
|
|
10
|
+using System;
|
|
|
11
|
+using System.Data.Objects;
|
|
|
12
|
+using System.Data.Objects.DataClasses;
|
|
|
13
|
+using System.Data.EntityClient;
|
|
|
14
|
+using System.ComponentModel;
|
|
|
15
|
+using System.Xml.Serialization;
|
|
|
16
|
+using System.Runtime.Serialization;
|
|
|
17
|
+
|
|
|
18
|
+[assembly: EdmSchemaAttribute()]
|
|
|
19
|
+
|
|
|
20
|
+namespace WpfApplication19
|
|
|
21
|
+{
|
|
|
22
|
+ #region Contexts
|
|
|
23
|
+
|
|
|
24
|
+ /// <summary>
|
|
|
25
|
+ /// No Metadata Documentation available.
|
|
|
26
|
+ /// </summary>
|
|
|
27
|
+ public partial class labEntities : ObjectContext
|
|
|
28
|
+ {
|
|
|
29
|
+ #region Constructors
|
|
|
30
|
+
|
|
|
31
|
+ /// <summary>
|
|
|
32
|
+ /// Initializes a new labEntities object using the connection string found in the 'labEntities' section of the application configuration file.
|
|
|
33
|
+ /// </summary>
|
|
|
34
|
+ public labEntities() : base("name=labEntities", "labEntities")
|
|
|
35
|
+ {
|
|
|
36
|
+ this.ContextOptions.LazyLoadingEnabled = true;
|
|
|
37
|
+ OnContextCreated();
|
|
|
38
|
+ }
|
|
|
39
|
+
|
|
|
40
|
+ /// <summary>
|
|
|
41
|
+ /// Initialize a new labEntities object.
|
|
|
42
|
+ /// </summary>
|
|
|
43
|
+ public labEntities(string connectionString) : base(connectionString, "labEntities")
|
|
|
44
|
+ {
|
|
|
45
|
+ this.ContextOptions.LazyLoadingEnabled = true;
|
|
|
46
|
+ OnContextCreated();
|
|
|
47
|
+ }
|
|
|
48
|
+
|
|
|
49
|
+ /// <summary>
|
|
|
50
|
+ /// Initialize a new labEntities object.
|
|
|
51
|
+ /// </summary>
|
|
|
52
|
+ public labEntities(EntityConnection connection) : base(connection, "labEntities")
|
|
|
53
|
+ {
|
|
|
54
|
+ this.ContextOptions.LazyLoadingEnabled = true;
|
|
|
55
|
+ OnContextCreated();
|
|
|
56
|
+ }
|
|
|
57
|
+
|
|
|
58
|
+ #endregion
|
|
|
59
|
+
|
|
|
60
|
+ #region Partial Methods
|
|
|
61
|
+
|
|
|
62
|
+ partial void OnContextCreated();
|
|
|
63
|
+
|
|
|
64
|
+ #endregion
|
|
|
65
|
+
|
|
|
66
|
+ #region ObjectSet Properties
|
|
|
67
|
+
|
|
|
68
|
+ /// <summary>
|
|
|
69
|
+ /// No Metadata Documentation available.
|
|
|
70
|
+ /// </summary>
|
|
|
71
|
+ public ObjectSet<user> users
|
|
|
72
|
+ {
|
|
|
73
|
+ get
|
|
|
74
|
+ {
|
|
|
75
|
+ if ((_users == null))
|
|
|
76
|
+ {
|
|
|
77
|
+ _users = base.CreateObjectSet<user>("users");
|
|
|
78
|
+ }
|
|
|
79
|
+ return _users;
|
|
|
80
|
+ }
|
|
|
81
|
+ }
|
|
|
82
|
+ private ObjectSet<user> _users;
|
|
|
83
|
+
|
|
|
84
|
+ #endregion
|
|
|
85
|
+ #region AddTo Methods
|
|
|
86
|
+
|
|
|
87
|
+ /// <summary>
|
|
|
88
|
+ /// Deprecated Method for adding a new object to the users EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
|
|
|
89
|
+ /// </summary>
|
|
|
90
|
+ public void AddTousers(user user)
|
|
|
91
|
+ {
|
|
|
92
|
+ base.AddObject("users", user);
|
|
|
93
|
+ }
|
|
|
94
|
+
|
|
|
95
|
+ #endregion
|
|
|
96
|
+ }
|
|
|
97
|
+
|
|
|
98
|
+
|
|
|
99
|
+ #endregion
|
|
|
100
|
+
|
|
|
101
|
+ #region Entities
|
|
|
102
|
+
|
|
|
103
|
+ /// <summary>
|
|
|
104
|
+ /// No Metadata Documentation available.
|
|
|
105
|
+ /// </summary>
|
|
|
106
|
+ [EdmEntityTypeAttribute(NamespaceName="labModel", Name="user")]
|
|
|
107
|
+ [Serializable()]
|
|
|
108
|
+ [DataContractAttribute(IsReference=true)]
|
|
|
109
|
+ public partial class user : EntityObject
|
|
|
110
|
+ {
|
|
|
111
|
+ #region Factory Method
|
|
|
112
|
+
|
|
|
113
|
+ /// <summary>
|
|
|
114
|
+ /// Create a new user object.
|
|
|
115
|
+ /// </summary>
|
|
|
116
|
+ /// <param name="id">Initial value of the id property.</param>
|
|
|
117
|
+ public static user Createuser(global::System.Int32 id)
|
|
|
118
|
+ {
|
|
|
119
|
+ user user = new user();
|
|
|
120
|
+ user.id = id;
|
|
|
121
|
+ return user;
|
|
|
122
|
+ }
|
|
|
123
|
+
|
|
|
124
|
+ #endregion
|
|
|
125
|
+ #region Primitive Properties
|
|
|
126
|
+
|
|
|
127
|
+ /// <summary>
|
|
|
128
|
+ /// No Metadata Documentation available.
|
|
|
129
|
+ /// </summary>
|
|
|
130
|
+ [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
|
|
|
131
|
+ [DataMemberAttribute()]
|
|
|
132
|
+ public global::System.Int32 id
|
|
|
133
|
+ {
|
|
|
134
|
+ get
|
|
|
135
|
+ {
|
|
|
136
|
+ return _id;
|
|
|
137
|
+ }
|
|
|
138
|
+ set
|
|
|
139
|
+ {
|
|
|
140
|
+ if (_id != value)
|
|
|
141
|
+ {
|
|
|
142
|
+ OnidChanging(value);
|
|
|
143
|
+ ReportPropertyChanging("id");
|
|
|
144
|
+ _id = StructuralObject.SetValidValue(value);
|
|
|
145
|
+ ReportPropertyChanged("id");
|
|
|
146
|
+ OnidChanged();
|
|
|
147
|
+ }
|
|
|
148
|
+ }
|
|
|
149
|
+ }
|
|
|
150
|
+ private global::System.Int32 _id;
|
|
|
151
|
+ partial void OnidChanging(global::System.Int32 value);
|
|
|
152
|
+ partial void OnidChanged();
|
|
|
153
|
+
|
|
|
154
|
+ /// <summary>
|
|
|
155
|
+ /// No Metadata Documentation available.
|
|
|
156
|
+ /// </summary>
|
|
|
157
|
+ [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
|
|
|
158
|
+ [DataMemberAttribute()]
|
|
|
159
|
+ public global::System.String email
|
|
|
160
|
+ {
|
|
|
161
|
+ get
|
|
|
162
|
+ {
|
|
|
163
|
+ return _email;
|
|
|
164
|
+ }
|
|
|
165
|
+ set
|
|
|
166
|
+ {
|
|
|
167
|
+ OnemailChanging(value);
|
|
|
168
|
+ ReportPropertyChanging("email");
|
|
|
169
|
+ _email = StructuralObject.SetValidValue(value, true);
|
|
|
170
|
+ ReportPropertyChanged("email");
|
|
|
171
|
+ OnemailChanged();
|
|
|
172
|
+ }
|
|
|
173
|
+ }
|
|
|
174
|
+ private global::System.String _email;
|
|
|
175
|
+ partial void OnemailChanging(global::System.String value);
|
|
|
176
|
+ partial void OnemailChanged();
|
|
|
177
|
+
|
|
|
178
|
+ /// <summary>
|
|
|
179
|
+ /// No Metadata Documentation available.
|
|
|
180
|
+ /// </summary>
|
|
|
181
|
+ [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
|
|
|
182
|
+ [DataMemberAttribute()]
|
|
|
183
|
+ public global::System.String hashed_password
|
|
|
184
|
+ {
|
|
|
185
|
+ get
|
|
|
186
|
+ {
|
|
|
187
|
+ return _hashed_password;
|
|
|
188
|
+ }
|
|
|
189
|
+ set
|
|
|
190
|
+ {
|
|
|
191
|
+ Onhashed_passwordChanging(value);
|
|
|
192
|
+ ReportPropertyChanging("hashed_password");
|
|
|
193
|
+ _hashed_password = StructuralObject.SetValidValue(value, true);
|
|
|
194
|
+ ReportPropertyChanged("hashed_password");
|
|
|
195
|
+ Onhashed_passwordChanged();
|
|
|
196
|
+ }
|
|
|
197
|
+ }
|
|
|
198
|
+ private global::System.String _hashed_password;
|
|
|
199
|
+ partial void Onhashed_passwordChanging(global::System.String value);
|
|
|
200
|
+ partial void Onhashed_passwordChanged();
|
|
|
201
|
+
|
|
|
202
|
+ /// <summary>
|
|
|
203
|
+ /// No Metadata Documentation available.
|
|
|
204
|
+ /// </summary>
|
|
|
205
|
+ [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
|
|
|
206
|
+ [DataMemberAttribute()]
|
|
|
207
|
+ public Nullable<global::System.DateTime> created_at
|
|
|
208
|
+ {
|
|
|
209
|
+ get
|
|
|
210
|
+ {
|
|
|
211
|
+ return _created_at;
|
|
|
212
|
+ }
|
|
|
213
|
+ set
|
|
|
214
|
+ {
|
|
|
215
|
+ Oncreated_atChanging(value);
|
|
|
216
|
+ ReportPropertyChanging("created_at");
|
|
|
217
|
+ _created_at = StructuralObject.SetValidValue(value);
|
|
|
218
|
+ ReportPropertyChanged("created_at");
|
|
|
219
|
+ Oncreated_atChanged();
|
|
|
220
|
+ }
|
|
|
221
|
+ }
|
|
|
222
|
+ private Nullable<global::System.DateTime> _created_at;
|
|
|
223
|
+ partial void Oncreated_atChanging(Nullable<global::System.DateTime> value);
|
|
|
224
|
+ partial void Oncreated_atChanged();
|
|
|
225
|
+
|
|
|
226
|
+ /// <summary>
|
|
|
227
|
+ /// No Metadata Documentation available.
|
|
|
228
|
+ /// </summary>
|
|
|
229
|
+ [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
|
|
|
230
|
+ [DataMemberAttribute()]
|
|
|
231
|
+ public Nullable<global::System.DateTime> updated_at
|
|
|
232
|
+ {
|
|
|
233
|
+ get
|
|
|
234
|
+ {
|
|
|
235
|
+ return _updated_at;
|
|
|
236
|
+ }
|
|
|
237
|
+ set
|
|
|
238
|
+ {
|
|
|
239
|
+ Onupdated_atChanging(value);
|
|
|
240
|
+ ReportPropertyChanging("updated_at");
|
|
|
241
|
+ _updated_at = StructuralObject.SetValidValue(value);
|
|
|
242
|
+ ReportPropertyChanged("updated_at");
|
|
|
243
|
+ Onupdated_atChanged();
|
|
|
244
|
+ }
|
|
|
245
|
+ }
|
|
|
246
|
+ private Nullable<global::System.DateTime> _updated_at;
|
|
|
247
|
+ partial void Onupdated_atChanging(Nullable<global::System.DateTime> value);
|
|
|
248
|
+ partial void Onupdated_atChanged();
|
|
|
249
|
+
|
|
|
250
|
+ /// <summary>
|
|
|
251
|
+ /// No Metadata Documentation available.
|
|
|
252
|
+ /// </summary>
|
|
|
253
|
+ [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
|
|
|
254
|
+ [DataMemberAttribute()]
|
|
|
255
|
+ public Nullable<global::System.Boolean> active
|
|
|
256
|
+ {
|
|
|
257
|
+ get
|
|
|
258
|
+ {
|
|
|
259
|
+ return _active;
|
|
|
260
|
+ }
|
|
|
261
|
+ set
|
|
|
262
|
+ {
|
|
|
263
|
+ OnactiveChanging(value);
|
|
|
264
|
+ ReportPropertyChanging("active");
|
|
|
265
|
+ _active = StructuralObject.SetValidValue(value);
|
|
|
266
|
+ ReportPropertyChanged("active");
|
|
|
267
|
+ OnactiveChanged();
|
|
|
268
|
+ }
|
|
|
269
|
+ }
|
|
|
270
|
+ private Nullable<global::System.Boolean> _active;
|
|
|
271
|
+ partial void OnactiveChanging(Nullable<global::System.Boolean> value);
|
|
|
272
|
+ partial void OnactiveChanged();
|
|
|
273
|
+
|
|
|
274
|
+ #endregion
|
|
|
275
|
+
|
|
|
276
|
+ }
|
|
|
277
|
+
|
|
|
278
|
+ #endregion
|
|
|
279
|
+
|
|
|
280
|
+}
|
|
|
@@ -1,120 +1,120 @@
|
|
1
|
|
-<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
|
-<edmx:Edmx Version="2.0" xmlns:edmx="http://schemas.microsoft.com/ado/2008/10/edmx">
|
|
3
|
|
- <!-- EF Runtime content -->
|
|
4
|
|
- <edmx:Runtime>
|
|
5
|
|
- <!-- SSDL content -->
|
|
6
|
|
- <edmx:StorageModels>
|
|
7
|
|
- <Schema Namespace="labModel.Store" Alias="Self" Provider="System.Data.SqlClient" ProviderManifestToken="2008" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2009/02/edm/ssdl">
|
|
8
|
|
- <EntityContainer Name="labModelStoreContainer">
|
|
9
|
|
- <EntitySet Name="users" EntityType="labModel.Store.users" store:Type="Tables" Schema="dbo" />
|
|
10
|
|
- </EntityContainer>
|
|
11
|
|
- <EntityType Name="users">
|
|
12
|
|
- <Key>
|
|
13
|
|
- <PropertyRef Name="id" />
|
|
14
|
|
- </Key>
|
|
15
|
|
- <Property Name="id" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
|
|
16
|
|
- <Property Name="email" Type="nchar" MaxLength="40" />
|
|
17
|
|
- <Property Name="hashed_password" Type="nchar" MaxLength="250" />
|
|
18
|
|
- <Property Name="created_at" Type="datetime" />
|
|
19
|
|
- <Property Name="updated_at" Type="datetime" />
|
|
20
|
|
- <Property Name="active" Type="bit" />
|
|
21
|
|
- </EntityType>
|
|
22
|
|
- <!--Errors Found During Generation:
|
|
23
|
|
- warning 6013: The table/view 'lab.dbo.v_master_view' does not have a primary key defined and no valid primary key could be inferred. This table/view has been excluded. To use the entity, you will need to review your schema, add the correct keys, and uncomment it.
|
|
24
|
|
-
|
|
25
|
|
- <EntityType Name="v_master_view">
|
|
26
|
|
- <Property Name="PRO1" Type="float" />
|
|
27
|
|
- <Property Name="PRO1C" Type="nvarchar" MaxLength="255" />
|
|
28
|
|
- <Property Name="PRO2" Type="nvarchar" MaxLength="255" />
|
|
29
|
|
- <Property Name="PRO5" Type="float" />
|
|
30
|
|
- <Property Name="PRO8" Type="float" />
|
|
31
|
|
- <Property Name="PRO9" Type="nvarchar" MaxLength="255" />
|
|
32
|
|
- <Property Name="PRO10" Type="float" />
|
|
33
|
|
- <Property Name="PRO11" Type="float" />
|
|
34
|
|
- <Property Name="PRO12" Type="float" />
|
|
35
|
|
- <Property Name="PRO13" Type="nvarchar" MaxLength="255" />
|
|
36
|
|
- <Property Name="PRO14" Type="float" />
|
|
37
|
|
- <Property Name="PRO15" Type="nvarchar" MaxLength="255" />
|
|
38
|
|
- <Property Name="PRO16" Type="float" />
|
|
39
|
|
- <Property Name="PRO17" Type="nvarchar" MaxLength="255" />
|
|
40
|
|
- <Property Name="PRO18" Type="nvarchar" MaxLength="255" />
|
|
41
|
|
- <Property Name="MC23" Type="nvarchar" MaxLength="255" />
|
|
42
|
|
- <Property Name="MC20" Type="float" />
|
|
43
|
|
- <Property Name="MP34" Type="nvarchar" MaxLength="255" />
|
|
44
|
|
- <Property Name="MP39" Type="nvarchar" MaxLength="255" />
|
|
45
|
|
- <Property Name="MI13" Type="float" />
|
|
46
|
|
- <Property Name="TC" Type="float" />
|
|
47
|
|
- <Property Name="MI14" Type="float" />
|
|
48
|
|
- <Property Name="MI15" Type="float" />
|
|
49
|
|
- <Property Name="MI16" Type="float" />
|
|
50
|
|
- <Property Name="MI17" Type="nvarchar" MaxLength="255" />
|
|
51
|
|
- <Property Name="MI18" Type="float" />
|
|
52
|
|
- <Property Name="MI19" Type="float" />
|
|
53
|
|
- <Property Name="MI20" Type="float" />
|
|
54
|
|
- <Property Name="MI21" Type="nvarchar" MaxLength="255" />
|
|
55
|
|
- <Property Name="MI22" Type="float" />
|
|
56
|
|
- <Property Name="MI23" Type="float" />
|
|
57
|
|
- <Property Name="MI31" Type="nvarchar" MaxLength="255" />
|
|
58
|
|
- <Property Name="MI33" Type="nvarchar" MaxLength="255" />
|
|
59
|
|
- <Property Name="INSAGM" Type="nvarchar" MaxLength="255" />
|
|
60
|
|
- <Property Name="MARAGM" Type="nvarchar" MaxLength="255" />
|
|
61
|
|
- </EntityType>-->
|
|
62
|
|
- </Schema>
|
|
63
|
|
- </edmx:StorageModels>
|
|
64
|
|
- <!-- CSDL content -->
|
|
65
|
|
- <edmx:ConceptualModels>
|
|
66
|
|
- <Schema Namespace="labModel" Alias="Self" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
|
|
67
|
|
- <EntityContainer Name="labEntities" annotation:LazyLoadingEnabled="true">
|
|
68
|
|
- <EntitySet Name="users" EntityType="labModel.user" />
|
|
69
|
|
- </EntityContainer>
|
|
70
|
|
- <EntityType Name="user">
|
|
71
|
|
- <Key>
|
|
72
|
|
- <PropertyRef Name="id" />
|
|
73
|
|
- </Key>
|
|
74
|
|
- <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
75
|
|
- <Property Name="email" Type="String" MaxLength="40" Unicode="true" FixedLength="true" />
|
|
76
|
|
- <Property Name="hashed_password" Type="String" MaxLength="250" Unicode="true" FixedLength="true" />
|
|
77
|
|
- <Property Name="created_at" Type="DateTime" />
|
|
78
|
|
- <Property Name="updated_at" Type="DateTime" />
|
|
79
|
|
- <Property Name="active" Type="Boolean" />
|
|
80
|
|
- </EntityType>
|
|
81
|
|
- </Schema>
|
|
82
|
|
- </edmx:ConceptualModels>
|
|
83
|
|
- <!-- C-S mapping content -->
|
|
84
|
|
- <edmx:Mappings>
|
|
85
|
|
- <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2008/09/mapping/cs">
|
|
86
|
|
- <EntityContainerMapping StorageEntityContainer="labModelStoreContainer" CdmEntityContainer="labEntities">
|
|
87
|
|
- <EntitySetMapping Name="users"><EntityTypeMapping TypeName="labModel.user"><MappingFragment StoreEntitySet="users">
|
|
88
|
|
- <ScalarProperty Name="id" ColumnName="id" />
|
|
89
|
|
- <ScalarProperty Name="email" ColumnName="email" />
|
|
90
|
|
- <ScalarProperty Name="hashed_password" ColumnName="hashed_password" />
|
|
91
|
|
- <ScalarProperty Name="created_at" ColumnName="created_at" />
|
|
92
|
|
- <ScalarProperty Name="updated_at" ColumnName="updated_at" />
|
|
93
|
|
- <ScalarProperty Name="active" ColumnName="active" />
|
|
94
|
|
- </MappingFragment></EntityTypeMapping></EntitySetMapping>
|
|
95
|
|
- </EntityContainerMapping>
|
|
96
|
|
- </Mapping>
|
|
97
|
|
- </edmx:Mappings>
|
|
98
|
|
- </edmx:Runtime>
|
|
99
|
|
- <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
|
|
100
|
|
- <Designer xmlns="http://schemas.microsoft.com/ado/2008/10/edmx">
|
|
101
|
|
- <Connection>
|
|
102
|
|
- <DesignerInfoPropertySet>
|
|
103
|
|
- <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
|
|
104
|
|
- </DesignerInfoPropertySet>
|
|
105
|
|
- </Connection>
|
|
106
|
|
- <Options>
|
|
107
|
|
- <DesignerInfoPropertySet>
|
|
108
|
|
- <DesignerProperty Name="ValidateOnBuild" Value="true" />
|
|
109
|
|
- <DesignerProperty Name="EnablePluralization" Value="True" />
|
|
110
|
|
- <DesignerProperty Name="IncludeForeignKeysInModel" Value="True" />
|
|
111
|
|
- </DesignerInfoPropertySet>
|
|
112
|
|
- </Options>
|
|
113
|
|
- <!-- Diagram content (shape and connector positions) -->
|
|
114
|
|
- <Diagrams>
|
|
115
|
|
- <Diagram Name="Model1">
|
|
116
|
|
- <EntityTypeShape EntityType="labModel.user" Width="1.5" PointX="0.75" PointY="0.75" Height="2.172587890625" IsExpanded="true" />
|
|
117
|
|
- </Diagram>
|
|
118
|
|
- </Diagrams>
|
|
119
|
|
- </Designer>
|
|
|
1
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
2
|
+<edmx:Edmx Version="2.0" xmlns:edmx="http://schemas.microsoft.com/ado/2008/10/edmx">
|
|
|
3
|
+ <!-- EF Runtime content -->
|
|
|
4
|
+ <edmx:Runtime>
|
|
|
5
|
+ <!-- SSDL content -->
|
|
|
6
|
+ <edmx:StorageModels>
|
|
|
7
|
+ <Schema Namespace="labModel.Store" Alias="Self" Provider="System.Data.SqlClient" ProviderManifestToken="2008" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2009/02/edm/ssdl">
|
|
|
8
|
+ <EntityContainer Name="labModelStoreContainer">
|
|
|
9
|
+ <EntitySet Name="users" EntityType="labModel.Store.users" store:Type="Tables" Schema="dbo" />
|
|
|
10
|
+ </EntityContainer>
|
|
|
11
|
+ <EntityType Name="users">
|
|
|
12
|
+ <Key>
|
|
|
13
|
+ <PropertyRef Name="id" />
|
|
|
14
|
+ </Key>
|
|
|
15
|
+ <Property Name="id" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
|
|
|
16
|
+ <Property Name="email" Type="nchar" MaxLength="40" />
|
|
|
17
|
+ <Property Name="hashed_password" Type="nchar" MaxLength="250" />
|
|
|
18
|
+ <Property Name="created_at" Type="datetime" />
|
|
|
19
|
+ <Property Name="updated_at" Type="datetime" />
|
|
|
20
|
+ <Property Name="active" Type="bit" />
|
|
|
21
|
+ </EntityType>
|
|
|
22
|
+ <!--Errors Found During Generation:
|
|
|
23
|
+ warning 6013: The table/view 'lab.dbo.v_master_view' does not have a primary key defined and no valid primary key could be inferred. This table/view has been excluded. To use the entity, you will need to review your schema, add the correct keys, and uncomment it.
|
|
|
24
|
+
|
|
|
25
|
+ <EntityType Name="v_master_view">
|
|
|
26
|
+ <Property Name="PRO1" Type="float" />
|
|
|
27
|
+ <Property Name="PRO1C" Type="nvarchar" MaxLength="255" />
|
|
|
28
|
+ <Property Name="PRO2" Type="nvarchar" MaxLength="255" />
|
|
|
29
|
+ <Property Name="PRO5" Type="float" />
|
|
|
30
|
+ <Property Name="PRO8" Type="float" />
|
|
|
31
|
+ <Property Name="PRO9" Type="nvarchar" MaxLength="255" />
|
|
|
32
|
+ <Property Name="PRO10" Type="float" />
|
|
|
33
|
+ <Property Name="PRO11" Type="float" />
|
|
|
34
|
+ <Property Name="PRO12" Type="float" />
|
|
|
35
|
+ <Property Name="PRO13" Type="nvarchar" MaxLength="255" />
|
|
|
36
|
+ <Property Name="PRO14" Type="float" />
|
|
|
37
|
+ <Property Name="PRO15" Type="nvarchar" MaxLength="255" />
|
|
|
38
|
+ <Property Name="PRO16" Type="float" />
|
|
|
39
|
+ <Property Name="PRO17" Type="nvarchar" MaxLength="255" />
|
|
|
40
|
+ <Property Name="PRO18" Type="nvarchar" MaxLength="255" />
|
|
|
41
|
+ <Property Name="MC23" Type="nvarchar" MaxLength="255" />
|
|
|
42
|
+ <Property Name="MC20" Type="float" />
|
|
|
43
|
+ <Property Name="MP34" Type="nvarchar" MaxLength="255" />
|
|
|
44
|
+ <Property Name="MP39" Type="nvarchar" MaxLength="255" />
|
|
|
45
|
+ <Property Name="MI13" Type="float" />
|
|
|
46
|
+ <Property Name="TC" Type="float" />
|
|
|
47
|
+ <Property Name="MI14" Type="float" />
|
|
|
48
|
+ <Property Name="MI15" Type="float" />
|
|
|
49
|
+ <Property Name="MI16" Type="float" />
|
|
|
50
|
+ <Property Name="MI17" Type="nvarchar" MaxLength="255" />
|
|
|
51
|
+ <Property Name="MI18" Type="float" />
|
|
|
52
|
+ <Property Name="MI19" Type="float" />
|
|
|
53
|
+ <Property Name="MI20" Type="float" />
|
|
|
54
|
+ <Property Name="MI21" Type="nvarchar" MaxLength="255" />
|
|
|
55
|
+ <Property Name="MI22" Type="float" />
|
|
|
56
|
+ <Property Name="MI23" Type="float" />
|
|
|
57
|
+ <Property Name="MI31" Type="nvarchar" MaxLength="255" />
|
|
|
58
|
+ <Property Name="MI33" Type="nvarchar" MaxLength="255" />
|
|
|
59
|
+ <Property Name="INSAGM" Type="nvarchar" MaxLength="255" />
|
|
|
60
|
+ <Property Name="MARAGM" Type="nvarchar" MaxLength="255" />
|
|
|
61
|
+ </EntityType>-->
|
|
|
62
|
+ </Schema>
|
|
|
63
|
+ </edmx:StorageModels>
|
|
|
64
|
+ <!-- CSDL content -->
|
|
|
65
|
+ <edmx:ConceptualModels>
|
|
|
66
|
+ <Schema Namespace="labModel" Alias="Self" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
|
|
|
67
|
+ <EntityContainer Name="labEntities" annotation:LazyLoadingEnabled="true">
|
|
|
68
|
+ <EntitySet Name="users" EntityType="labModel.user" />
|
|
|
69
|
+ </EntityContainer>
|
|
|
70
|
+ <EntityType Name="user">
|
|
|
71
|
+ <Key>
|
|
|
72
|
+ <PropertyRef Name="id" />
|
|
|
73
|
+ </Key>
|
|
|
74
|
+ <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
|
75
|
+ <Property Name="email" Type="String" MaxLength="40" Unicode="true" FixedLength="true" />
|
|
|
76
|
+ <Property Name="hashed_password" Type="String" MaxLength="250" Unicode="true" FixedLength="true" />
|
|
|
77
|
+ <Property Name="created_at" Type="DateTime" />
|
|
|
78
|
+ <Property Name="updated_at" Type="DateTime" />
|
|
|
79
|
+ <Property Name="active" Type="Boolean" />
|
|
|
80
|
+ </EntityType>
|
|
|
81
|
+ </Schema>
|
|
|
82
|
+ </edmx:ConceptualModels>
|
|
|
83
|
+ <!-- C-S mapping content -->
|
|
|
84
|
+ <edmx:Mappings>
|
|
|
85
|
+ <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2008/09/mapping/cs">
|
|
|
86
|
+ <EntityContainerMapping StorageEntityContainer="labModelStoreContainer" CdmEntityContainer="labEntities">
|
|
|
87
|
+ <EntitySetMapping Name="users"><EntityTypeMapping TypeName="labModel.user"><MappingFragment StoreEntitySet="users">
|
|
|
88
|
+ <ScalarProperty Name="id" ColumnName="id" />
|
|
|
89
|
+ <ScalarProperty Name="email" ColumnName="email" />
|
|
|
90
|
+ <ScalarProperty Name="hashed_password" ColumnName="hashed_password" />
|
|
|
91
|
+ <ScalarProperty Name="created_at" ColumnName="created_at" />
|
|
|
92
|
+ <ScalarProperty Name="updated_at" ColumnName="updated_at" />
|
|
|
93
|
+ <ScalarProperty Name="active" ColumnName="active" />
|
|
|
94
|
+ </MappingFragment></EntityTypeMapping></EntitySetMapping>
|
|
|
95
|
+ </EntityContainerMapping>
|
|
|
96
|
+ </Mapping>
|
|
|
97
|
+ </edmx:Mappings>
|
|
|
98
|
+ </edmx:Runtime>
|
|
|
99
|
+ <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
|
|
|
100
|
+ <Designer xmlns="http://schemas.microsoft.com/ado/2008/10/edmx">
|
|
|
101
|
+ <Connection>
|
|
|
102
|
+ <DesignerInfoPropertySet>
|
|
|
103
|
+ <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
|
|
|
104
|
+ </DesignerInfoPropertySet>
|
|
|
105
|
+ </Connection>
|
|
|
106
|
+ <Options>
|
|
|
107
|
+ <DesignerInfoPropertySet>
|
|
|
108
|
+ <DesignerProperty Name="ValidateOnBuild" Value="true" />
|
|
|
109
|
+ <DesignerProperty Name="EnablePluralization" Value="True" />
|
|
|
110
|
+ <DesignerProperty Name="IncludeForeignKeysInModel" Value="True" />
|
|
|
111
|
+ </DesignerInfoPropertySet>
|
|
|
112
|
+ </Options>
|
|
|
113
|
+ <!-- Diagram content (shape and connector positions) -->
|
|
|
114
|
+ <Diagrams>
|
|
|
115
|
+ <Diagram Name="Model1">
|
|
|
116
|
+ <EntityTypeShape EntityType="labModel.user" Width="1.5" PointX="0.75" PointY="0.75" Height="2.172587890625" IsExpanded="true" />
|
|
|
117
|
+ </Diagram>
|
|
|
118
|
+ </Diagrams>
|
|
|
119
|
+ </Designer>
|
|
120
|
120
|
</edmx:Edmx>
|
|
|
@@ -1,34 +1,34 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-using System.Windows.Data;
|
|
6
|
|
-using System.Globalization;
|
|
7
|
|
-using System.Windows;
|
|
8
|
|
-namespace WpfApplication19
|
|
9
|
|
-{
|
|
10
|
|
- public class NameConverter : IMultiValueConverter
|
|
11
|
|
- {
|
|
12
|
|
- public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
|
|
13
|
|
- {
|
|
14
|
|
- string name;
|
|
15
|
|
-
|
|
16
|
|
- Console.WriteLine(values[0].ToString());
|
|
17
|
|
- if (values[0] == DependencyProperty.UnsetValue)
|
|
18
|
|
- {
|
|
19
|
|
- return "";
|
|
20
|
|
- }
|
|
21
|
|
- name = values[0] + "-" + values[1];
|
|
22
|
|
-
|
|
23
|
|
- return name;
|
|
24
|
|
- }
|
|
25
|
|
-
|
|
26
|
|
- public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
|
|
27
|
|
- {
|
|
28
|
|
- string[] splitValues = ((string)value).Split(' ');
|
|
29
|
|
- return splitValues;
|
|
30
|
|
- }
|
|
31
|
|
- }
|
|
32
|
|
-
|
|
33
|
|
-
|
|
34
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+using System.Windows.Data;
|
|
|
6
|
+using System.Globalization;
|
|
|
7
|
+using System.Windows;
|
|
|
8
|
+namespace WpfApplication19
|
|
|
9
|
+{
|
|
|
10
|
+ public class NameConverter : IMultiValueConverter
|
|
|
11
|
+ {
|
|
|
12
|
+ public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
|
|
|
13
|
+ {
|
|
|
14
|
+ string name;
|
|
|
15
|
+
|
|
|
16
|
+ Console.WriteLine(values[0].ToString());
|
|
|
17
|
+ if (values[0] == DependencyProperty.UnsetValue)
|
|
|
18
|
+ {
|
|
|
19
|
+ return "";
|
|
|
20
|
+ }
|
|
|
21
|
+ name = values[0] + "-" + values[1];
|
|
|
22
|
+
|
|
|
23
|
+ return name;
|
|
|
24
|
+ }
|
|
|
25
|
+
|
|
|
26
|
+ public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
|
|
|
27
|
+ {
|
|
|
28
|
+ string[] splitValues = ((string)value).Split(' ');
|
|
|
29
|
+ return splitValues;
|
|
|
30
|
+ }
|
|
|
31
|
+ }
|
|
|
32
|
+
|
|
|
33
|
+
|
|
|
34
|
+}
|
|
|
@@ -1,100 +1,100 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-using System.Threading;
|
|
6
|
|
-using System.IO;
|
|
7
|
|
-using System.IO.Ports;
|
|
8
|
|
-namespace WpfApplication19
|
|
9
|
|
-{
|
|
10
|
|
- public class OBInterface
|
|
11
|
|
- {
|
|
12
|
|
- SerialPort _sp;
|
|
13
|
|
- public OBInterface(SerialPort sp)
|
|
14
|
|
- {
|
|
15
|
|
- _sp = sp;
|
|
16
|
|
- DataSender sender = new DataSender(_sp);
|
|
17
|
|
- DataReceiver receiver = new DataReceiver(_sp);
|
|
18
|
|
-
|
|
19
|
|
- Thread pro = new Thread(new ThreadStart(sender.ThreadRun));
|
|
20
|
|
- Thread con = new Thread(new ThreadStart(receiver.ThreadRun));
|
|
21
|
|
-
|
|
22
|
|
- try
|
|
23
|
|
- {
|
|
24
|
|
- pro.Start();
|
|
25
|
|
- con.Start();
|
|
26
|
|
- pro.Join();
|
|
27
|
|
- con.Join();
|
|
28
|
|
- }
|
|
29
|
|
- catch (ThreadStateException e)
|
|
30
|
|
- {
|
|
31
|
|
- Console.WriteLine(e);
|
|
32
|
|
- }
|
|
33
|
|
- catch (ThreadInterruptedException e)
|
|
34
|
|
- {
|
|
35
|
|
- Console.WriteLine(e);
|
|
36
|
|
- }
|
|
37
|
|
- }
|
|
38
|
|
- }
|
|
39
|
|
- public class DataSender
|
|
40
|
|
- {
|
|
41
|
|
- SerialPort _serialPort;
|
|
42
|
|
- public DataSender(SerialPort sp)
|
|
43
|
|
- {
|
|
44
|
|
- _serialPort = sp;
|
|
45
|
|
- }
|
|
46
|
|
- public void ThreadRun()
|
|
47
|
|
- {
|
|
48
|
|
- while(_serialPort.IsOpen){
|
|
49
|
|
- Console.WriteLine("Sending");
|
|
50
|
|
- Thread.Sleep(500);
|
|
51
|
|
- }
|
|
52
|
|
- }
|
|
53
|
|
- }
|
|
54
|
|
- public class DataReceiver
|
|
55
|
|
- {
|
|
56
|
|
- SerialPort _serialPort;
|
|
57
|
|
- public DataReceiver(SerialPort sp)
|
|
58
|
|
- {
|
|
59
|
|
- _serialPort = sp;
|
|
60
|
|
- }
|
|
61
|
|
- public void ThreadRun()
|
|
62
|
|
- {
|
|
63
|
|
- while (_serialPort.IsOpen)
|
|
64
|
|
- {
|
|
65
|
|
- Console.WriteLine("Reading");
|
|
66
|
|
- Thread.Sleep(500);
|
|
67
|
|
- }
|
|
68
|
|
- }
|
|
69
|
|
- }
|
|
70
|
|
- class Connector
|
|
71
|
|
- {
|
|
72
|
|
- bool _readerFlag = false;
|
|
73
|
|
- public void ReadFromComPort()
|
|
74
|
|
- {
|
|
75
|
|
- lock (this)
|
|
76
|
|
- {
|
|
77
|
|
- if (!_readerFlag)
|
|
78
|
|
- {
|
|
79
|
|
- try
|
|
80
|
|
- {
|
|
81
|
|
- Monitor.Wait(this);
|
|
82
|
|
- }
|
|
83
|
|
- catch (SynchronizationLockException e)
|
|
84
|
|
- {
|
|
85
|
|
- Console.WriteLine(e);
|
|
86
|
|
- }
|
|
87
|
|
- catch (ThreadInterruptedException e)
|
|
88
|
|
- {
|
|
89
|
|
- Console.WriteLine(e);
|
|
90
|
|
- }
|
|
91
|
|
- }
|
|
92
|
|
- Console.WriteLine("Reader");
|
|
93
|
|
- }
|
|
94
|
|
- }
|
|
95
|
|
- public void WriteToComPort()
|
|
96
|
|
- {
|
|
97
|
|
-
|
|
98
|
|
- }
|
|
99
|
|
- }
|
|
100
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+using System.Threading;
|
|
|
6
|
+using System.IO;
|
|
|
7
|
+using System.IO.Ports;
|
|
|
8
|
+namespace WpfApplication19
|
|
|
9
|
+{
|
|
|
10
|
+ public class OBInterface
|
|
|
11
|
+ {
|
|
|
12
|
+ SerialPort _sp;
|
|
|
13
|
+ public OBInterface(SerialPort sp)
|
|
|
14
|
+ {
|
|
|
15
|
+ _sp = sp;
|
|
|
16
|
+ DataSender sender = new DataSender(_sp);
|
|
|
17
|
+ DataReceiver receiver = new DataReceiver(_sp);
|
|
|
18
|
+
|
|
|
19
|
+ Thread pro = new Thread(new ThreadStart(sender.ThreadRun));
|
|
|
20
|
+ Thread con = new Thread(new ThreadStart(receiver.ThreadRun));
|
|
|
21
|
+
|
|
|
22
|
+ try
|
|
|
23
|
+ {
|
|
|
24
|
+ pro.Start();
|
|
|
25
|
+ con.Start();
|
|
|
26
|
+ pro.Join();
|
|
|
27
|
+ con.Join();
|
|
|
28
|
+ }
|
|
|
29
|
+ catch (ThreadStateException e)
|
|
|
30
|
+ {
|
|
|
31
|
+ Console.WriteLine(e);
|
|
|
32
|
+ }
|
|
|
33
|
+ catch (ThreadInterruptedException e)
|
|
|
34
|
+ {
|
|
|
35
|
+ Console.WriteLine(e);
|
|
|
36
|
+ }
|
|
|
37
|
+ }
|
|
|
38
|
+ }
|
|
|
39
|
+ public class DataSender
|
|
|
40
|
+ {
|
|
|
41
|
+ SerialPort _serialPort;
|
|
|
42
|
+ public DataSender(SerialPort sp)
|
|
|
43
|
+ {
|
|
|
44
|
+ _serialPort = sp;
|
|
|
45
|
+ }
|
|
|
46
|
+ public void ThreadRun()
|
|
|
47
|
+ {
|
|
|
48
|
+ while(_serialPort.IsOpen){
|
|
|
49
|
+ Console.WriteLine("Sending");
|
|
|
50
|
+ Thread.Sleep(500);
|
|
|
51
|
+ }
|
|
|
52
|
+ }
|
|
|
53
|
+ }
|
|
|
54
|
+ public class DataReceiver
|
|
|
55
|
+ {
|
|
|
56
|
+ SerialPort _serialPort;
|
|
|
57
|
+ public DataReceiver(SerialPort sp)
|
|
|
58
|
+ {
|
|
|
59
|
+ _serialPort = sp;
|
|
|
60
|
+ }
|
|
|
61
|
+ public void ThreadRun()
|
|
|
62
|
+ {
|
|
|
63
|
+ while (_serialPort.IsOpen)
|
|
|
64
|
+ {
|
|
|
65
|
+ Console.WriteLine("Reading");
|
|
|
66
|
+ Thread.Sleep(500);
|
|
|
67
|
+ }
|
|
|
68
|
+ }
|
|
|
69
|
+ }
|
|
|
70
|
+ class Connector
|
|
|
71
|
+ {
|
|
|
72
|
+ bool _readerFlag = false;
|
|
|
73
|
+ public void ReadFromComPort()
|
|
|
74
|
+ {
|
|
|
75
|
+ lock (this)
|
|
|
76
|
+ {
|
|
|
77
|
+ if (!_readerFlag)
|
|
|
78
|
+ {
|
|
|
79
|
+ try
|
|
|
80
|
+ {
|
|
|
81
|
+ Monitor.Wait(this);
|
|
|
82
|
+ }
|
|
|
83
|
+ catch (SynchronizationLockException e)
|
|
|
84
|
+ {
|
|
|
85
|
+ Console.WriteLine(e);
|
|
|
86
|
+ }
|
|
|
87
|
+ catch (ThreadInterruptedException e)
|
|
|
88
|
+ {
|
|
|
89
|
+ Console.WriteLine(e);
|
|
|
90
|
+ }
|
|
|
91
|
+ }
|
|
|
92
|
+ Console.WriteLine("Reader");
|
|
|
93
|
+ }
|
|
|
94
|
+ }
|
|
|
95
|
+ public void WriteToComPort()
|
|
|
96
|
+ {
|
|
|
97
|
+
|
|
|
98
|
+ }
|
|
|
99
|
+ }
|
|
|
100
|
+}
|
|
|
@@ -1,19 +1,19 @@
|
|
1
|
|
-<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
|
-<xs:schema id="OperatingDatabaseDataSet" targetNamespace="http://tempuri.org/OperatingDatabaseDataSet.xsd" xmlns:mstns="http://tempuri.org/OperatingDatabaseDataSet.xsd" xmlns="http://tempuri.org/OperatingDatabaseDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
|
|
3
|
|
- <xs:annotation>
|
|
4
|
|
- <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
|
5
|
|
- <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
6
|
|
- <Connections>
|
|
7
|
|
- <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="OperatingDatabaseConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="OperatingDatabaseConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.WpfApplication19.Properties.Settings.GlobalReference.Default.OperatingDatabaseConnectionString" Provider="Microsoft.SqlServerCe.Client.3.5" />
|
|
8
|
|
- </Connections>
|
|
9
|
|
- <Tables />
|
|
10
|
|
- <Sources />
|
|
11
|
|
- </DataSource>
|
|
12
|
|
- </xs:appinfo>
|
|
13
|
|
- </xs:annotation>
|
|
14
|
|
- <xs:element name="OperatingDatabaseDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="OperatingDatabaseDataSet" msprop:Generator_UserDSName="OperatingDatabaseDataSet">
|
|
15
|
|
- <xs:complexType>
|
|
16
|
|
- <xs:choice minOccurs="0" maxOccurs="unbounded" />
|
|
17
|
|
- </xs:complexType>
|
|
18
|
|
- </xs:element>
|
|
|
1
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
2
|
+<xs:schema id="OperatingDatabaseDataSet" targetNamespace="http://tempuri.org/OperatingDatabaseDataSet.xsd" xmlns:mstns="http://tempuri.org/OperatingDatabaseDataSet.xsd" xmlns="http://tempuri.org/OperatingDatabaseDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
|
|
|
3
|
+ <xs:annotation>
|
|
|
4
|
+ <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
|
|
5
|
+ <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
|
6
|
+ <Connections>
|
|
|
7
|
+ <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="OperatingDatabaseConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="OperatingDatabaseConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.WpfApplication19.Properties.Settings.GlobalReference.Default.OperatingDatabaseConnectionString" Provider="Microsoft.SqlServerCe.Client.3.5" />
|
|
|
8
|
+ </Connections>
|
|
|
9
|
+ <Tables />
|
|
|
10
|
+ <Sources />
|
|
|
11
|
+ </DataSource>
|
|
|
12
|
+ </xs:appinfo>
|
|
|
13
|
+ </xs:annotation>
|
|
|
14
|
+ <xs:element name="OperatingDatabaseDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="OperatingDatabaseDataSet" msprop:Generator_UserDSName="OperatingDatabaseDataSet">
|
|
|
15
|
+ <xs:complexType>
|
|
|
16
|
+ <xs:choice minOccurs="0" maxOccurs="unbounded" />
|
|
|
17
|
+ </xs:complexType>
|
|
|
18
|
+ </xs:element>
|
|
19
|
19
|
</xs:schema>
|
|
|
@@ -1,57 +1,57 @@
|
|
1
|
|
-<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
|
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
|
- <PropertyGroup>
|
|
4
|
|
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
5
|
|
- <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
|
6
|
|
- <ProductVersion>8.0.30703</ProductVersion>
|
|
7
|
|
- <SchemaVersion>2.0</SchemaVersion>
|
|
8
|
|
- <ProjectGuid>{BD97B575-6BD1-4B1F-81DB-3747D2E4E260}</ProjectGuid>
|
|
9
|
|
- <OutputType>Exe</OutputType>
|
|
10
|
|
- <AppDesignerFolder>Properties</AppDesignerFolder>
|
|
11
|
|
- <RootNamespace>Playing</RootNamespace>
|
|
12
|
|
- <AssemblyName>Playing</AssemblyName>
|
|
13
|
|
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
|
14
|
|
- <TargetFrameworkProfile>Client</TargetFrameworkProfile>
|
|
15
|
|
- <FileAlignment>512</FileAlignment>
|
|
16
|
|
- </PropertyGroup>
|
|
17
|
|
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
|
18
|
|
- <PlatformTarget>x86</PlatformTarget>
|
|
19
|
|
- <DebugSymbols>true</DebugSymbols>
|
|
20
|
|
- <DebugType>full</DebugType>
|
|
21
|
|
- <Optimize>false</Optimize>
|
|
22
|
|
- <OutputPath>bin\Debug\</OutputPath>
|
|
23
|
|
- <DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
24
|
|
- <ErrorReport>prompt</ErrorReport>
|
|
25
|
|
- <WarningLevel>4</WarningLevel>
|
|
26
|
|
- </PropertyGroup>
|
|
27
|
|
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
|
28
|
|
- <PlatformTarget>x86</PlatformTarget>
|
|
29
|
|
- <DebugType>pdbonly</DebugType>
|
|
30
|
|
- <Optimize>true</Optimize>
|
|
31
|
|
- <OutputPath>bin\Release\</OutputPath>
|
|
32
|
|
- <DefineConstants>TRACE</DefineConstants>
|
|
33
|
|
- <ErrorReport>prompt</ErrorReport>
|
|
34
|
|
- <WarningLevel>4</WarningLevel>
|
|
35
|
|
- </PropertyGroup>
|
|
36
|
|
- <ItemGroup>
|
|
37
|
|
- <Reference Include="System" />
|
|
38
|
|
- <Reference Include="System.Core" />
|
|
39
|
|
- <Reference Include="System.Xml.Linq" />
|
|
40
|
|
- <Reference Include="System.Data.DataSetExtensions" />
|
|
41
|
|
- <Reference Include="Microsoft.CSharp" />
|
|
42
|
|
- <Reference Include="System.Data" />
|
|
43
|
|
- <Reference Include="System.Xml" />
|
|
44
|
|
- </ItemGroup>
|
|
45
|
|
- <ItemGroup>
|
|
46
|
|
- <Compile Include="Program.cs" />
|
|
47
|
|
- <Compile Include="Properties\AssemblyInfo.cs" />
|
|
48
|
|
- </ItemGroup>
|
|
49
|
|
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
50
|
|
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
51
|
|
- Other similar extension points exist, see Microsoft.Common.targets.
|
|
52
|
|
- <Target Name="BeforeBuild">
|
|
53
|
|
- </Target>
|
|
54
|
|
- <Target Name="AfterBuild">
|
|
55
|
|
- </Target>
|
|
56
|
|
- -->
|
|
|
1
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
2
|
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
3
|
+ <PropertyGroup>
|
|
|
4
|
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
|
5
|
+ <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
|
|
6
|
+ <ProductVersion>8.0.30703</ProductVersion>
|
|
|
7
|
+ <SchemaVersion>2.0</SchemaVersion>
|
|
|
8
|
+ <ProjectGuid>{BD97B575-6BD1-4B1F-81DB-3747D2E4E260}</ProjectGuid>
|
|
|
9
|
+ <OutputType>Exe</OutputType>
|
|
|
10
|
+ <AppDesignerFolder>Properties</AppDesignerFolder>
|
|
|
11
|
+ <RootNamespace>Playing</RootNamespace>
|
|
|
12
|
+ <AssemblyName>Playing</AssemblyName>
|
|
|
13
|
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
|
|
14
|
+ <TargetFrameworkProfile>Client</TargetFrameworkProfile>
|
|
|
15
|
+ <FileAlignment>512</FileAlignment>
|
|
|
16
|
+ </PropertyGroup>
|
|
|
17
|
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
|
|
18
|
+ <PlatformTarget>x86</PlatformTarget>
|
|
|
19
|
+ <DebugSymbols>true</DebugSymbols>
|
|
|
20
|
+ <DebugType>full</DebugType>
|
|
|
21
|
+ <Optimize>false</Optimize>
|
|
|
22
|
+ <OutputPath>bin\Debug\</OutputPath>
|
|
|
23
|
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
|
24
|
+ <ErrorReport>prompt</ErrorReport>
|
|
|
25
|
+ <WarningLevel>4</WarningLevel>
|
|
|
26
|
+ </PropertyGroup>
|
|
|
27
|
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
|
|
28
|
+ <PlatformTarget>x86</PlatformTarget>
|
|
|
29
|
+ <DebugType>pdbonly</DebugType>
|
|
|
30
|
+ <Optimize>true</Optimize>
|
|
|
31
|
+ <OutputPath>bin\Release\</OutputPath>
|
|
|
32
|
+ <DefineConstants>TRACE</DefineConstants>
|
|
|
33
|
+ <ErrorReport>prompt</ErrorReport>
|
|
|
34
|
+ <WarningLevel>4</WarningLevel>
|
|
|
35
|
+ </PropertyGroup>
|
|
|
36
|
+ <ItemGroup>
|
|
|
37
|
+ <Reference Include="System" />
|
|
|
38
|
+ <Reference Include="System.Core" />
|
|
|
39
|
+ <Reference Include="System.Xml.Linq" />
|
|
|
40
|
+ <Reference Include="System.Data.DataSetExtensions" />
|
|
|
41
|
+ <Reference Include="Microsoft.CSharp" />
|
|
|
42
|
+ <Reference Include="System.Data" />
|
|
|
43
|
+ <Reference Include="System.Xml" />
|
|
|
44
|
+ </ItemGroup>
|
|
|
45
|
+ <ItemGroup>
|
|
|
46
|
+ <Compile Include="Program.cs" />
|
|
|
47
|
+ <Compile Include="Properties\AssemblyInfo.cs" />
|
|
|
48
|
+ </ItemGroup>
|
|
|
49
|
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
|
50
|
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
|
51
|
+ Other similar extension points exist, see Microsoft.Common.targets.
|
|
|
52
|
+ <Target Name="BeforeBuild">
|
|
|
53
|
+ </Target>
|
|
|
54
|
+ <Target Name="AfterBuild">
|
|
|
55
|
+ </Target>
|
|
|
56
|
+ -->
|
|
57
|
57
|
</Project>
|
|
|
@@ -1,14 +1,14 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-
|
|
6
|
|
-namespace Playing
|
|
7
|
|
-{
|
|
8
|
|
- class Program
|
|
9
|
|
- {
|
|
10
|
|
- static void Main(string[] args)
|
|
11
|
|
- {
|
|
12
|
|
- }
|
|
13
|
|
- }
|
|
14
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+
|
|
|
6
|
+namespace Playing
|
|
|
7
|
+{
|
|
|
8
|
+ class Program
|
|
|
9
|
+ {
|
|
|
10
|
+ static void Main(string[] args)
|
|
|
11
|
+ {
|
|
|
12
|
+ }
|
|
|
13
|
+ }
|
|
|
14
|
+}
|
|
|
@@ -1,36 +1,36 @@
|
|
1
|
|
-using System.Reflection;
|
|
2
|
|
-using System.Runtime.CompilerServices;
|
|
3
|
|
-using System.Runtime.InteropServices;
|
|
4
|
|
-
|
|
5
|
|
-// General Information about an assembly is controlled through the following
|
|
6
|
|
-// set of attributes. Change these attribute values to modify the information
|
|
7
|
|
-// associated with an assembly.
|
|
8
|
|
-[assembly: AssemblyTitle("Playing")]
|
|
9
|
|
-[assembly: AssemblyDescription("")]
|
|
10
|
|
-[assembly: AssemblyConfiguration("")]
|
|
11
|
|
-[assembly: AssemblyCompany("Microsoft")]
|
|
12
|
|
-[assembly: AssemblyProduct("Playing")]
|
|
13
|
|
-[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
|
|
14
|
|
-[assembly: AssemblyTrademark("")]
|
|
15
|
|
-[assembly: AssemblyCulture("")]
|
|
16
|
|
-
|
|
17
|
|
-// Setting ComVisible to false makes the types in this assembly not visible
|
|
18
|
|
-// to COM components. If you need to access a type in this assembly from
|
|
19
|
|
-// COM, set the ComVisible attribute to true on that type.
|
|
20
|
|
-[assembly: ComVisible(false)]
|
|
21
|
|
-
|
|
22
|
|
-// The following GUID is for the ID of the typelib if this project is exposed to COM
|
|
23
|
|
-[assembly: Guid("ea14ecdf-91c9-4564-81b9-39cd096a5820")]
|
|
24
|
|
-
|
|
25
|
|
-// Version information for an assembly consists of the following four values:
|
|
26
|
|
-//
|
|
27
|
|
-// Major Version
|
|
28
|
|
-// Minor Version
|
|
29
|
|
-// Build Number
|
|
30
|
|
-// Revision
|
|
31
|
|
-//
|
|
32
|
|
-// You can specify all the values or you can default the Build and Revision Numbers
|
|
33
|
|
-// by using the '*' as shown below:
|
|
34
|
|
-// [assembly: AssemblyVersion("1.0.*")]
|
|
35
|
|
-[assembly: AssemblyVersion("1.0.0.0")]
|
|
36
|
|
-[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
|
1
|
+using System.Reflection;
|
|
|
2
|
+using System.Runtime.CompilerServices;
|
|
|
3
|
+using System.Runtime.InteropServices;
|
|
|
4
|
+
|
|
|
5
|
+// General Information about an assembly is controlled through the following
|
|
|
6
|
+// set of attributes. Change these attribute values to modify the information
|
|
|
7
|
+// associated with an assembly.
|
|
|
8
|
+[assembly: AssemblyTitle("Playing")]
|
|
|
9
|
+[assembly: AssemblyDescription("")]
|
|
|
10
|
+[assembly: AssemblyConfiguration("")]
|
|
|
11
|
+[assembly: AssemblyCompany("Microsoft")]
|
|
|
12
|
+[assembly: AssemblyProduct("Playing")]
|
|
|
13
|
+[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
|
|
|
14
|
+[assembly: AssemblyTrademark("")]
|
|
|
15
|
+[assembly: AssemblyCulture("")]
|
|
|
16
|
+
|
|
|
17
|
+// Setting ComVisible to false makes the types in this assembly not visible
|
|
|
18
|
+// to COM components. If you need to access a type in this assembly from
|
|
|
19
|
+// COM, set the ComVisible attribute to true on that type.
|
|
|
20
|
+[assembly: ComVisible(false)]
|
|
|
21
|
+
|
|
|
22
|
+// The following GUID is for the ID of the typelib if this project is exposed to COM
|
|
|
23
|
+[assembly: Guid("ea14ecdf-91c9-4564-81b9-39cd096a5820")]
|
|
|
24
|
+
|
|
|
25
|
+// Version information for an assembly consists of the following four values:
|
|
|
26
|
+//
|
|
|
27
|
+// Major Version
|
|
|
28
|
+// Minor Version
|
|
|
29
|
+// Build Number
|
|
|
30
|
+// Revision
|
|
|
31
|
+//
|
|
|
32
|
+// You can specify all the values or you can default the Build and Revision Numbers
|
|
|
33
|
+// by using the '*' as shown below:
|
|
|
34
|
+// [assembly: AssemblyVersion("1.0.*")]
|
|
|
35
|
+[assembly: AssemblyVersion("1.0.0.0")]
|
|
|
36
|
+[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
|
@@ -1,144 +1,144 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Text;
|
|
4
|
|
-using System.Windows;
|
|
5
|
|
-using System.Windows.Controls;
|
|
6
|
|
-using System.Windows.Data;
|
|
7
|
|
-using System.Windows.Documents;
|
|
8
|
|
-using System.Windows.Input;
|
|
9
|
|
-using System.Windows.Media;
|
|
10
|
|
-using System.Windows.Media.Imaging;
|
|
11
|
|
-using System.Windows.Shapes;
|
|
12
|
|
-using System.Printing;
|
|
13
|
|
-
|
|
14
|
|
-namespace WpfApplication19
|
|
15
|
|
-{
|
|
16
|
|
- public class Printer
|
|
17
|
|
- {
|
|
18
|
|
- //public int c;
|
|
19
|
|
- public static void Print(string s, int ncol){
|
|
20
|
|
-
|
|
21
|
|
- var n = s.Split('\n').Length - 1;
|
|
22
|
|
-
|
|
23
|
|
-
|
|
24
|
|
- int fn;
|
|
25
|
|
- int limitFont = 11;
|
|
26
|
|
- if( ncol >= 3 && n <= 5){
|
|
27
|
|
- fn = limitFont;
|
|
28
|
|
-
|
|
29
|
|
- }
|
|
30
|
|
- else{
|
|
31
|
|
- fn = 16 - n;
|
|
32
|
|
- if (fn < limitFont)
|
|
33
|
|
- fn = limitFont;
|
|
34
|
|
- }
|
|
35
|
|
-
|
|
36
|
|
-
|
|
37
|
|
-
|
|
38
|
|
- char last = s[s.Length - 1];
|
|
39
|
|
- if( last != '\n'){
|
|
40
|
|
- s = s + '\n';
|
|
41
|
|
- }
|
|
42
|
|
- var s3 = s.Split('\n');
|
|
43
|
|
- n = s3.Length - 1;
|
|
44
|
|
- for (int i = 0; i < n; i += 7)
|
|
45
|
|
- {
|
|
46
|
|
- string k;
|
|
47
|
|
- if (i + 7 > n)
|
|
48
|
|
- {
|
|
49
|
|
- k = string.Join("\n", s3, i, n - i);
|
|
50
|
|
- //Console.WriteLine("*" + k);
|
|
51
|
|
-
|
|
52
|
|
-
|
|
53
|
|
- }
|
|
54
|
|
- else
|
|
55
|
|
- {
|
|
56
|
|
-
|
|
57
|
|
- k = String.Join("\n", s3, i, 7);
|
|
58
|
|
- //visual.Text = k;
|
|
59
|
|
- //Console.WriteLine(k);
|
|
60
|
|
- }
|
|
61
|
|
- PrintRawLabel(k, fn);
|
|
62
|
|
-
|
|
63
|
|
- }
|
|
64
|
|
-
|
|
65
|
|
- }
|
|
66
|
|
- //public int c;
|
|
67
|
|
- public static void Print(string s)
|
|
68
|
|
- {
|
|
69
|
|
- PrintDialog printDialog = new PrintDialog();
|
|
70
|
|
- printDialog.PrintQueue = LocalPrintServer.GetDefaultPrintQueue();
|
|
71
|
|
- //string line1 = "x.23 2.42 5.23 23.23 23.42 23.42 23.42\n";
|
|
72
|
|
- Run run = new Run(s);
|
|
73
|
|
-
|
|
74
|
|
- /*
|
|
75
|
|
- Viewbox vb = new Viewbox();
|
|
76
|
|
- vb.Stretch = Stretch.Uniform;
|
|
77
|
|
- vb.VerticalAlignment = VerticalAlignment.Top;
|
|
78
|
|
- vb.HorizontalAlignment = HorizontalAlignment.Left;
|
|
79
|
|
- */
|
|
80
|
|
- // Wrap it in a TextBlock.
|
|
81
|
|
- TextBlock visual = new TextBlock(run);
|
|
82
|
|
-
|
|
83
|
|
- //RotateTransform rt = new RotateTransform();
|
|
84
|
|
- //rt.Angle = 90;
|
|
85
|
|
- //visual.LayoutTransform = rt;
|
|
86
|
|
- //visual.RenderTransform = rt;
|
|
87
|
|
- visual.Margin = new Thickness(10);
|
|
88
|
|
- // Allow wrapping to fit the page width.
|
|
89
|
|
- visual.TextWrapping = TextWrapping.WrapWithOverflow;
|
|
90
|
|
- visual.FontSize = Int32.Parse(Utils.getSetting("fontSize"));
|
|
91
|
|
- visual.FontFamily = new FontFamily(Utils.getSetting("fontName"));
|
|
92
|
|
- visual.FontWeight = FontWeights.Bold;
|
|
93
|
|
- //visual.FontStretch = FontStretches.ExtraCondensed;
|
|
94
|
|
- // Scale the TextBlock in both dimensions.
|
|
95
|
|
-
|
|
96
|
|
- //visual.LayoutTransform = new ScaleTransform(zoom / 100, zoom / 100);
|
|
97
|
|
-
|
|
98
|
|
- // Get the size of the page.
|
|
99
|
|
- Size pageSize = new Size(printDialog.PrintableAreaWidth, printDialog.PrintableAreaHeight);
|
|
100
|
|
- // Trigger the sizing of the element.
|
|
101
|
|
- visual.Measure(pageSize);
|
|
102
|
|
- visual.Arrange(new Rect(0, 0, pageSize.Width, pageSize.Height));
|
|
103
|
|
- visual.HorizontalAlignment = HorizontalAlignment.Left;
|
|
104
|
|
- visual.VerticalAlignment = VerticalAlignment.Top;
|
|
105
|
|
- // Print the element.
|
|
106
|
|
-
|
|
107
|
|
- //vb.Child = visual;
|
|
108
|
|
- //printDialog.PrintVisual(visual, "A Scaled Drawing");
|
|
109
|
|
- printDialog.PrintVisual(visual, "A Scaled Drawing");
|
|
110
|
|
-
|
|
111
|
|
-
|
|
112
|
|
- }
|
|
113
|
|
- static void PrintRawLabel(string s, int fontSize){
|
|
114
|
|
- //
|
|
115
|
|
- PrintDialog printDialog = new PrintDialog();
|
|
116
|
|
-
|
|
117
|
|
- printDialog.PrintQueue = LocalPrintServer.GetDefaultPrintQueue();
|
|
118
|
|
-
|
|
119
|
|
-
|
|
120
|
|
- Run run = new Run(s);
|
|
121
|
|
-
|
|
122
|
|
- // Wrap it in a TextBlock.
|
|
123
|
|
- TextBlock visual = new TextBlock(run);
|
|
124
|
|
- //visual.FontFamily = new FontFamily("Cordia New");
|
|
125
|
|
- visual.FontSize = fontSize;
|
|
126
|
|
- visual.Margin = new Thickness(15, 0, 15, 0);
|
|
127
|
|
- // Allow wrapping to fit the page width.
|
|
128
|
|
- visual.TextWrapping = TextWrapping.Wrap;
|
|
129
|
|
- visual.FontFamily = new FontFamily(Utils.getSetting("fontName"));
|
|
130
|
|
- //visual.FontSize = Int32.Parse(Util.getSetting("fontSize"));
|
|
131
|
|
- visual.FontWeight = FontWeights.Bold;
|
|
132
|
|
- visual.FontStretch = FontStretches.ExtraCondensed;
|
|
133
|
|
- // Scale the TextBlock in both dimensions.
|
|
134
|
|
-
|
|
135
|
|
-
|
|
136
|
|
-
|
|
137
|
|
- Size pageSize = new Size(printDialog.PrintableAreaWidth, printDialog.PrintableAreaHeight);
|
|
138
|
|
- visual.Measure(pageSize);
|
|
139
|
|
- visual.Arrange(new Rect(0, 0, pageSize.Width, pageSize.Height));
|
|
140
|
|
-
|
|
141
|
|
- printDialog.PrintVisual(visual, "InspectionLabel");
|
|
142
|
|
- }
|
|
143
|
|
- }
|
|
144
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Text;
|
|
|
4
|
+using System.Windows;
|
|
|
5
|
+using System.Windows.Controls;
|
|
|
6
|
+using System.Windows.Data;
|
|
|
7
|
+using System.Windows.Documents;
|
|
|
8
|
+using System.Windows.Input;
|
|
|
9
|
+using System.Windows.Media;
|
|
|
10
|
+using System.Windows.Media.Imaging;
|
|
|
11
|
+using System.Windows.Shapes;
|
|
|
12
|
+using System.Printing;
|
|
|
13
|
+
|
|
|
14
|
+namespace WpfApplication19
|
|
|
15
|
+{
|
|
|
16
|
+ public class Printer
|
|
|
17
|
+ {
|
|
|
18
|
+ //public int c;
|
|
|
19
|
+ public static void Print(string s, int ncol){
|
|
|
20
|
+
|
|
|
21
|
+ var n = s.Split('\n').Length - 1;
|
|
|
22
|
+
|
|
|
23
|
+
|
|
|
24
|
+ int fn;
|
|
|
25
|
+ int limitFont = 11;
|
|
|
26
|
+ if( ncol >= 3 && n <= 5){
|
|
|
27
|
+ fn = limitFont;
|
|
|
28
|
+
|
|
|
29
|
+ }
|
|
|
30
|
+ else{
|
|
|
31
|
+ fn = 16 - n;
|
|
|
32
|
+ if (fn < limitFont)
|
|
|
33
|
+ fn = limitFont;
|
|
|
34
|
+ }
|
|
|
35
|
+
|
|
|
36
|
+
|
|
|
37
|
+
|
|
|
38
|
+ char last = s[s.Length - 1];
|
|
|
39
|
+ if( last != '\n'){
|
|
|
40
|
+ s = s + '\n';
|
|
|
41
|
+ }
|
|
|
42
|
+ var s3 = s.Split('\n');
|
|
|
43
|
+ n = s3.Length - 1;
|
|
|
44
|
+ for (int i = 0; i < n; i += 7)
|
|
|
45
|
+ {
|
|
|
46
|
+ string k;
|
|
|
47
|
+ if (i + 7 > n)
|
|
|
48
|
+ {
|
|
|
49
|
+ k = string.Join("\n", s3, i, n - i);
|
|
|
50
|
+ //Console.WriteLine("*" + k);
|
|
|
51
|
+
|
|
|
52
|
+
|
|
|
53
|
+ }
|
|
|
54
|
+ else
|
|
|
55
|
+ {
|
|
|
56
|
+
|
|
|
57
|
+ k = String.Join("\n", s3, i, 7);
|
|
|
58
|
+ //visual.Text = k;
|
|
|
59
|
+ //Console.WriteLine(k);
|
|
|
60
|
+ }
|
|
|
61
|
+ PrintRawLabel(k, fn);
|
|
|
62
|
+
|
|
|
63
|
+ }
|
|
|
64
|
+
|
|
|
65
|
+ }
|
|
|
66
|
+ //public int c;
|
|
|
67
|
+ public static void Print(string s)
|
|
|
68
|
+ {
|
|
|
69
|
+ PrintDialog printDialog = new PrintDialog();
|
|
|
70
|
+ printDialog.PrintQueue = LocalPrintServer.GetDefaultPrintQueue();
|
|
|
71
|
+ //string line1 = "x.23 2.42 5.23 23.23 23.42 23.42 23.42\n";
|
|
|
72
|
+ Run run = new Run(s);
|
|
|
73
|
+
|
|
|
74
|
+ /*
|
|
|
75
|
+ Viewbox vb = new Viewbox();
|
|
|
76
|
+ vb.Stretch = Stretch.Uniform;
|
|
|
77
|
+ vb.VerticalAlignment = VerticalAlignment.Top;
|
|
|
78
|
+ vb.HorizontalAlignment = HorizontalAlignment.Left;
|
|
|
79
|
+ */
|
|
|
80
|
+ // Wrap it in a TextBlock.
|
|
|
81
|
+ TextBlock visual = new TextBlock(run);
|
|
|
82
|
+
|
|
|
83
|
+ //RotateTransform rt = new RotateTransform();
|
|
|
84
|
+ //rt.Angle = 90;
|
|
|
85
|
+ //visual.LayoutTransform = rt;
|
|
|
86
|
+ //visual.RenderTransform = rt;
|
|
|
87
|
+ visual.Margin = new Thickness(10);
|
|
|
88
|
+ // Allow wrapping to fit the page width.
|
|
|
89
|
+ visual.TextWrapping = TextWrapping.WrapWithOverflow;
|
|
|
90
|
+ visual.FontSize = Int32.Parse(Utils.getSetting("fontSize"));
|
|
|
91
|
+ visual.FontFamily = new FontFamily(Utils.getSetting("fontName"));
|
|
|
92
|
+ visual.FontWeight = FontWeights.Bold;
|
|
|
93
|
+ //visual.FontStretch = FontStretches.ExtraCondensed;
|
|
|
94
|
+ // Scale the TextBlock in both dimensions.
|
|
|
95
|
+
|
|
|
96
|
+ //visual.LayoutTransform = new ScaleTransform(zoom / 100, zoom / 100);
|
|
|
97
|
+
|
|
|
98
|
+ // Get the size of the page.
|
|
|
99
|
+ Size pageSize = new Size(printDialog.PrintableAreaWidth, printDialog.PrintableAreaHeight);
|
|
|
100
|
+ // Trigger the sizing of the element.
|
|
|
101
|
+ visual.Measure(pageSize);
|
|
|
102
|
+ visual.Arrange(new Rect(0, 0, pageSize.Width, pageSize.Height));
|
|
|
103
|
+ visual.HorizontalAlignment = HorizontalAlignment.Left;
|
|
|
104
|
+ visual.VerticalAlignment = VerticalAlignment.Top;
|
|
|
105
|
+ // Print the element.
|
|
|
106
|
+
|
|
|
107
|
+ //vb.Child = visual;
|
|
|
108
|
+ //printDialog.PrintVisual(visual, "A Scaled Drawing");
|
|
|
109
|
+ printDialog.PrintVisual(visual, "A Scaled Drawing");
|
|
|
110
|
+
|
|
|
111
|
+
|
|
|
112
|
+ }
|
|
|
113
|
+ static void PrintRawLabel(string s, int fontSize){
|
|
|
114
|
+ //
|
|
|
115
|
+ PrintDialog printDialog = new PrintDialog();
|
|
|
116
|
+
|
|
|
117
|
+ printDialog.PrintQueue = LocalPrintServer.GetDefaultPrintQueue();
|
|
|
118
|
+
|
|
|
119
|
+
|
|
|
120
|
+ Run run = new Run(s);
|
|
|
121
|
+
|
|
|
122
|
+ // Wrap it in a TextBlock.
|
|
|
123
|
+ TextBlock visual = new TextBlock(run);
|
|
|
124
|
+ //visual.FontFamily = new FontFamily("Cordia New");
|
|
|
125
|
+ visual.FontSize = fontSize;
|
|
|
126
|
+ visual.Margin = new Thickness(15, 0, 15, 0);
|
|
|
127
|
+ // Allow wrapping to fit the page width.
|
|
|
128
|
+ visual.TextWrapping = TextWrapping.Wrap;
|
|
|
129
|
+ visual.FontFamily = new FontFamily(Utils.getSetting("fontName"));
|
|
|
130
|
+ //visual.FontSize = Int32.Parse(Util.getSetting("fontSize"));
|
|
|
131
|
+ visual.FontWeight = FontWeights.Bold;
|
|
|
132
|
+ visual.FontStretch = FontStretches.ExtraCondensed;
|
|
|
133
|
+ // Scale the TextBlock in both dimensions.
|
|
|
134
|
+
|
|
|
135
|
+
|
|
|
136
|
+
|
|
|
137
|
+ Size pageSize = new Size(printDialog.PrintableAreaWidth, printDialog.PrintableAreaHeight);
|
|
|
138
|
+ visual.Measure(pageSize);
|
|
|
139
|
+ visual.Arrange(new Rect(0, 0, pageSize.Width, pageSize.Height));
|
|
|
140
|
+
|
|
|
141
|
+ printDialog.PrintVisual(visual, "InspectionLabel");
|
|
|
142
|
+ }
|
|
|
143
|
+ }
|
|
|
144
|
+}
|
|
|
@@ -1,57 +1,57 @@
|
|
1
|
|
-using System.Reflection;
|
|
2
|
|
-using System.Resources;
|
|
3
|
|
-using System.Runtime.CompilerServices;
|
|
4
|
|
-using System.Runtime.InteropServices;
|
|
5
|
|
-using System.Windows;
|
|
6
|
|
-
|
|
7
|
|
-// General Information about an assembly is controlled through the following
|
|
8
|
|
-// set of attributes. Change these attribute values to modify the information
|
|
9
|
|
-// associated with an assembly.
|
|
10
|
|
-[assembly: AssemblyTitle("OB Client")]
|
|
11
|
|
-[assembly: AssemblyDescription("")]
|
|
12
|
|
-[assembly: AssemblyConfiguration("")]
|
|
13
|
|
-[assembly: AssemblyCompany("Simplico")]
|
|
14
|
|
-[assembly: AssemblyProduct("OB System")]
|
|
15
|
|
-[assembly: AssemblyCopyright("Copyright © Simplico 2011")]
|
|
16
|
|
-[assembly: AssemblyTrademark("")]
|
|
17
|
|
-[assembly: AssemblyCulture("")]
|
|
18
|
|
-
|
|
19
|
|
-// Setting ComVisible to false makes the types in this assembly not visible
|
|
20
|
|
-// to COM components. If you need to access a type in this assembly from
|
|
21
|
|
-// COM, set the ComVisible attribute to true on that type.
|
|
22
|
|
-[assembly: ComVisible(false)]
|
|
23
|
|
-
|
|
24
|
|
-//In order to begin building localizable applications, set
|
|
25
|
|
-//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
|
|
26
|
|
-//inside a <PropertyGroup>. For example, if you are using US english
|
|
27
|
|
-//in your source files, set the <UICulture> to en-US. Then uncomment
|
|
28
|
|
-//the NeutralResourceLanguage attribute below. Update the "en-US" in
|
|
29
|
|
-//the line below to match the UICulture setting in the project file.
|
|
30
|
|
-
|
|
31
|
|
-//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
|
|
32
|
|
-
|
|
33
|
|
-
|
|
34
|
|
-[assembly: ThemeInfo(
|
|
35
|
|
- ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
|
|
36
|
|
- //(used if a resource is not found in the page,
|
|
37
|
|
- // or application resource dictionaries)
|
|
38
|
|
- ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
|
|
39
|
|
- //(used if a resource is not found in the page,
|
|
40
|
|
- // app, or any theme specific resource dictionaries)
|
|
41
|
|
-)]
|
|
42
|
|
-
|
|
43
|
|
-
|
|
44
|
|
-// Version information for an assembly consists of the following four values:
|
|
45
|
|
-//
|
|
46
|
|
-// Major Version
|
|
47
|
|
-// Minor Version
|
|
48
|
|
-// Build Number
|
|
49
|
|
-// Revision
|
|
50
|
|
-//
|
|
51
|
|
-// You can specify all the values or you can default the Build and Revision Numbers
|
|
52
|
|
-// by using the '*' as shown below:
|
|
53
|
|
-// [assembly: AssemblyVersion("1.0.*")]
|
|
54
|
|
-[assembly: AssemblyVersion("1.0.0.0")]
|
|
55
|
|
-[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
56
|
|
-
|
|
|
1
|
+using System.Reflection;
|
|
|
2
|
+using System.Resources;
|
|
|
3
|
+using System.Runtime.CompilerServices;
|
|
|
4
|
+using System.Runtime.InteropServices;
|
|
|
5
|
+using System.Windows;
|
|
|
6
|
+
|
|
|
7
|
+// General Information about an assembly is controlled through the following
|
|
|
8
|
+// set of attributes. Change these attribute values to modify the information
|
|
|
9
|
+// associated with an assembly.
|
|
|
10
|
+[assembly: AssemblyTitle("OB Client")]
|
|
|
11
|
+[assembly: AssemblyDescription("")]
|
|
|
12
|
+[assembly: AssemblyConfiguration("")]
|
|
|
13
|
+[assembly: AssemblyCompany("Simplico")]
|
|
|
14
|
+[assembly: AssemblyProduct("OB System")]
|
|
|
15
|
+[assembly: AssemblyCopyright("Copyright © Simplico 2011")]
|
|
|
16
|
+[assembly: AssemblyTrademark("")]
|
|
|
17
|
+[assembly: AssemblyCulture("")]
|
|
|
18
|
+
|
|
|
19
|
+// Setting ComVisible to false makes the types in this assembly not visible
|
|
|
20
|
+// to COM components. If you need to access a type in this assembly from
|
|
|
21
|
+// COM, set the ComVisible attribute to true on that type.
|
|
|
22
|
+[assembly: ComVisible(false)]
|
|
|
23
|
+
|
|
|
24
|
+//In order to begin building localizable applications, set
|
|
|
25
|
+//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
|
|
|
26
|
+//inside a <PropertyGroup>. For example, if you are using US english
|
|
|
27
|
+//in your source files, set the <UICulture> to en-US. Then uncomment
|
|
|
28
|
+//the NeutralResourceLanguage attribute below. Update the "en-US" in
|
|
|
29
|
+//the line below to match the UICulture setting in the project file.
|
|
|
30
|
+
|
|
|
31
|
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
|
|
|
32
|
+
|
|
|
33
|
+
|
|
|
34
|
+[assembly: ThemeInfo(
|
|
|
35
|
+ ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
|
|
|
36
|
+ //(used if a resource is not found in the page,
|
|
|
37
|
+ // or application resource dictionaries)
|
|
|
38
|
+ ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
|
|
|
39
|
+ //(used if a resource is not found in the page,
|
|
|
40
|
+ // app, or any theme specific resource dictionaries)
|
|
|
41
|
+)]
|
|
|
42
|
+
|
|
|
43
|
+
|
|
|
44
|
+// Version information for an assembly consists of the following four values:
|
|
|
45
|
+//
|
|
|
46
|
+// Major Version
|
|
|
47
|
+// Minor Version
|
|
|
48
|
+// Build Number
|
|
|
49
|
+// Revision
|
|
|
50
|
+//
|
|
|
51
|
+// You can specify all the values or you can default the Build and Revision Numbers
|
|
|
52
|
+// by using the '*' as shown below:
|
|
|
53
|
+// [assembly: AssemblyVersion("1.0.*")]
|
|
|
54
|
+[assembly: AssemblyVersion("1.0.0.0")]
|
|
|
55
|
+[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
|
56
|
+
|
|
57
|
57
|
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("TestAuthentication")]
|
|
|
@@ -1,10 +1,10 @@
|
|
1
|
|
-<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
|
-<!--
|
|
3
|
|
- This file is automatically generated by Visual Studio .Net. It is
|
|
4
|
|
- used to store generic object data source configuration information.
|
|
5
|
|
- Renaming the file extension or editing the content of this file may
|
|
6
|
|
- cause the file to be unrecognizable by the program.
|
|
7
|
|
--->
|
|
8
|
|
-<GenericObjectDataSource DisplayName="labEntities" Identifier="WpfApplication19.labEntities" ProviderType="Microsoft.VisualStudio.DataDesign.DataSourceProviders.EntityDataModel.EdmDataSourceProvider" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
9
|
|
- <TypeInfo>WpfApplication19.labEntities, Model1.Designer.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
|
|
1
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
2
|
+<!--
|
|
|
3
|
+ This file is automatically generated by Visual Studio .Net. It is
|
|
|
4
|
+ used to store generic object data source configuration information.
|
|
|
5
|
+ Renaming the file extension or editing the content of this file may
|
|
|
6
|
+ cause the file to be unrecognizable by the program.
|
|
|
7
|
+-->
|
|
|
8
|
+<GenericObjectDataSource DisplayName="labEntities" Identifier="WpfApplication19.labEntities" ProviderType="Microsoft.VisualStudio.DataDesign.DataSourceProviders.EntityDataModel.EdmDataSourceProvider" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
|
9
|
+ <TypeInfo>WpfApplication19.labEntities, Model1.Designer.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
|
10
|
10
|
</GenericObjectDataSource>
|
|
|
@@ -1,405 +1,405 @@
|
|
1
|
|
-//------------------------------------------------------------------------------
|
|
2
|
|
-// <auto-generated>
|
|
3
|
|
-// This code was generated by a tool.
|
|
4
|
|
-// Runtime Version:4.0.30319.42000
|
|
5
|
|
-//
|
|
6
|
|
-// Changes to this file may cause incorrect behavior and will be lost if
|
|
7
|
|
-// the code is regenerated.
|
|
8
|
|
-// </auto-generated>
|
|
9
|
|
-//------------------------------------------------------------------------------
|
|
10
|
|
-
|
|
11
|
|
-namespace WpfApplication19.Properties {
|
|
12
|
|
- using System;
|
|
13
|
|
-
|
|
14
|
|
-
|
|
15
|
|
- /// <summary>
|
|
16
|
|
- /// A strongly-typed resource class, for looking up localized strings, etc.
|
|
17
|
|
- /// </summary>
|
|
18
|
|
- // This class was auto-generated by the StronglyTypedResourceBuilder
|
|
19
|
|
- // class via a tool like ResGen or Visual Studio.
|
|
20
|
|
- // To add or remove a member, edit your .ResX file then rerun ResGen
|
|
21
|
|
- // with the /str option, or rebuild your VS project.
|
|
22
|
|
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
|
23
|
|
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
24
|
|
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
|
25
|
|
- internal class Resources {
|
|
26
|
|
-
|
|
27
|
|
- private static global::System.Resources.ResourceManager resourceMan;
|
|
28
|
|
-
|
|
29
|
|
- private static global::System.Globalization.CultureInfo resourceCulture;
|
|
30
|
|
-
|
|
31
|
|
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
|
32
|
|
- internal Resources() {
|
|
33
|
|
- }
|
|
34
|
|
-
|
|
35
|
|
- /// <summary>
|
|
36
|
|
- /// Returns the cached ResourceManager instance used by this class.
|
|
37
|
|
- /// </summary>
|
|
38
|
|
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
39
|
|
- internal static global::System.Resources.ResourceManager ResourceManager {
|
|
40
|
|
- get {
|
|
41
|
|
- if (object.ReferenceEquals(resourceMan, null)) {
|
|
42
|
|
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WpfApplication19.Properties.Resources", typeof(Resources).Assembly);
|
|
43
|
|
- resourceMan = temp;
|
|
44
|
|
- }
|
|
45
|
|
- return resourceMan;
|
|
46
|
|
- }
|
|
47
|
|
- }
|
|
48
|
|
-
|
|
49
|
|
- /// <summary>
|
|
50
|
|
- /// Overrides the current thread's CurrentUICulture property for all
|
|
51
|
|
- /// resource lookups using this strongly typed resource class.
|
|
52
|
|
- /// </summary>
|
|
53
|
|
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
54
|
|
- internal static global::System.Globalization.CultureInfo Culture {
|
|
55
|
|
- get {
|
|
56
|
|
- return resourceCulture;
|
|
57
|
|
- }
|
|
58
|
|
- set {
|
|
59
|
|
- resourceCulture = value;
|
|
60
|
|
- }
|
|
61
|
|
- }
|
|
62
|
|
-
|
|
63
|
|
- /// <summary>
|
|
64
|
|
- /// Looks up a localized string similar to Add Column.
|
|
65
|
|
- /// </summary>
|
|
66
|
|
- internal static string AddColumn {
|
|
67
|
|
- get {
|
|
68
|
|
- return ResourceManager.GetString("AddColumn", resourceCulture);
|
|
69
|
|
- }
|
|
70
|
|
- }
|
|
71
|
|
-
|
|
72
|
|
- /// <summary>
|
|
73
|
|
- /// Looks up a localized string similar to Add IN*.
|
|
74
|
|
- /// </summary>
|
|
75
|
|
- internal static string AddIn {
|
|
76
|
|
- get {
|
|
77
|
|
- return ResourceManager.GetString("AddIn", resourceCulture);
|
|
78
|
|
- }
|
|
79
|
|
- }
|
|
80
|
|
-
|
|
81
|
|
- /// <summary>
|
|
82
|
|
- /// Looks up a localized string similar to Add Middle.
|
|
83
|
|
- /// </summary>
|
|
84
|
|
- internal static string AddMiddle {
|
|
85
|
|
- get {
|
|
86
|
|
- return ResourceManager.GetString("AddMiddle", resourceCulture);
|
|
87
|
|
- }
|
|
88
|
|
- }
|
|
89
|
|
-
|
|
90
|
|
- /// <summary>
|
|
91
|
|
- /// Looks up a localized string similar to Add Row.
|
|
92
|
|
- /// </summary>
|
|
93
|
|
- internal static string AddRow {
|
|
94
|
|
- get {
|
|
95
|
|
- return ResourceManager.GetString("AddRow", resourceCulture);
|
|
96
|
|
- }
|
|
97
|
|
- }
|
|
98
|
|
-
|
|
99
|
|
- /// <summary>
|
|
100
|
|
- /// Looks up a localized string similar to Agreement.
|
|
101
|
|
- /// </summary>
|
|
102
|
|
- internal static string Agreement {
|
|
103
|
|
- get {
|
|
104
|
|
- return ResourceManager.GetString("Agreement", resourceCulture);
|
|
105
|
|
- }
|
|
106
|
|
- }
|
|
107
|
|
-
|
|
108
|
|
- /// <summary>
|
|
109
|
|
- /// Looks up a localized string similar to Average.
|
|
110
|
|
- /// </summary>
|
|
111
|
|
- internal static string Average {
|
|
112
|
|
- get {
|
|
113
|
|
- return ResourceManager.GetString("Average", resourceCulture);
|
|
114
|
|
- }
|
|
115
|
|
- }
|
|
116
|
|
-
|
|
117
|
|
- /// <summary>
|
|
118
|
|
- /// Looks up a localized string similar to Code.
|
|
119
|
|
- /// </summary>
|
|
120
|
|
- internal static string Code {
|
|
121
|
|
- get {
|
|
122
|
|
- return ResourceManager.GetString("Code", resourceCulture);
|
|
123
|
|
- }
|
|
124
|
|
- }
|
|
125
|
|
-
|
|
126
|
|
- /// <summary>
|
|
127
|
|
- /// Looks up a localized string similar to Commit.
|
|
128
|
|
- /// </summary>
|
|
129
|
|
- internal static string Commit {
|
|
130
|
|
- get {
|
|
131
|
|
- return ResourceManager.GetString("Commit", resourceCulture);
|
|
132
|
|
- }
|
|
133
|
|
- }
|
|
134
|
|
-
|
|
135
|
|
- /// <summary>
|
|
136
|
|
- /// Looks up a localized string similar to Condition.
|
|
137
|
|
- /// </summary>
|
|
138
|
|
- internal static string Condition {
|
|
139
|
|
- get {
|
|
140
|
|
- return ResourceManager.GetString("Condition", resourceCulture);
|
|
141
|
|
- }
|
|
142
|
|
- }
|
|
143
|
|
-
|
|
144
|
|
- /// <summary>
|
|
145
|
|
- /// Looks up a localized string similar to Customer.
|
|
146
|
|
- /// </summary>
|
|
147
|
|
- internal static string Customer {
|
|
148
|
|
- get {
|
|
149
|
|
- return ResourceManager.GetString("Customer", resourceCulture);
|
|
150
|
|
- }
|
|
151
|
|
- }
|
|
152
|
|
-
|
|
153
|
|
- /// <summary>
|
|
154
|
|
- /// Looks up a localized string similar to Daily Check.
|
|
155
|
|
- /// </summary>
|
|
156
|
|
- internal static string DailyCheck {
|
|
157
|
|
- get {
|
|
158
|
|
- return ResourceManager.GetString("DailyCheck", resourceCulture);
|
|
159
|
|
- }
|
|
160
|
|
- }
|
|
161
|
|
-
|
|
162
|
|
- /// <summary>
|
|
163
|
|
- /// Looks up a localized string similar to Delete.
|
|
164
|
|
- /// </summary>
|
|
165
|
|
- internal static string Delete {
|
|
166
|
|
- get {
|
|
167
|
|
- return ResourceManager.GetString("Delete", resourceCulture);
|
|
168
|
|
- }
|
|
169
|
|
- }
|
|
170
|
|
-
|
|
171
|
|
- /// <summary>
|
|
172
|
|
- /// Looks up a localized string similar to File.
|
|
173
|
|
- /// </summary>
|
|
174
|
|
- internal static string File {
|
|
175
|
|
- get {
|
|
176
|
|
- return ResourceManager.GetString("File", resourceCulture);
|
|
177
|
|
- }
|
|
178
|
|
- }
|
|
179
|
|
-
|
|
180
|
|
- /// <summary>
|
|
181
|
|
- /// Looks up a localized string similar to Find.
|
|
182
|
|
- /// </summary>
|
|
183
|
|
- internal static string Find {
|
|
184
|
|
- get {
|
|
185
|
|
- return ResourceManager.GetString("Find", resourceCulture);
|
|
186
|
|
- }
|
|
187
|
|
- }
|
|
188
|
|
-
|
|
189
|
|
- /// <summary>
|
|
190
|
|
- /// Looks up a localized string similar to Full Screen.
|
|
191
|
|
- /// </summary>
|
|
192
|
|
- internal static string FullScreen {
|
|
193
|
|
- get {
|
|
194
|
|
- return ResourceManager.GetString("FullScreen", resourceCulture);
|
|
195
|
|
- }
|
|
196
|
|
- }
|
|
197
|
|
-
|
|
198
|
|
- /// <summary>
|
|
199
|
|
- /// Looks up a localized string similar to Grade.
|
|
200
|
|
- /// </summary>
|
|
201
|
|
- internal static string Grade {
|
|
202
|
|
- get {
|
|
203
|
|
- return ResourceManager.GetString("Grade", resourceCulture);
|
|
204
|
|
- }
|
|
205
|
|
- }
|
|
206
|
|
-
|
|
207
|
|
- /// <summary>
|
|
208
|
|
- /// Looks up a localized string similar to Hello.
|
|
209
|
|
- /// </summary>
|
|
210
|
|
- internal static string Hello {
|
|
211
|
|
- get {
|
|
212
|
|
- return ResourceManager.GetString("Hello", resourceCulture);
|
|
213
|
|
- }
|
|
214
|
|
- }
|
|
215
|
|
-
|
|
216
|
|
- /// <summary>
|
|
217
|
|
- /// Looks up a localized string similar to In.
|
|
218
|
|
- /// </summary>
|
|
219
|
|
- internal static string In {
|
|
220
|
|
- get {
|
|
221
|
|
- return ResourceManager.GetString("In", resourceCulture);
|
|
222
|
|
- }
|
|
223
|
|
- }
|
|
224
|
|
-
|
|
225
|
|
- /// <summary>
|
|
226
|
|
- /// Looks up a localized string similar to Language.
|
|
227
|
|
- /// </summary>
|
|
228
|
|
- internal static string Language {
|
|
229
|
|
- get {
|
|
230
|
|
- return ResourceManager.GetString("Language", resourceCulture);
|
|
231
|
|
- }
|
|
232
|
|
- }
|
|
233
|
|
-
|
|
234
|
|
- /// <summary>
|
|
235
|
|
- /// Looks up a localized string similar to Logout.
|
|
236
|
|
- /// </summary>
|
|
237
|
|
- internal static string Logout {
|
|
238
|
|
- get {
|
|
239
|
|
- return ResourceManager.GetString("Logout", resourceCulture);
|
|
240
|
|
- }
|
|
241
|
|
- }
|
|
242
|
|
-
|
|
243
|
|
- /// <summary>
|
|
244
|
|
- /// Looks up a localized string similar to Lot No..
|
|
245
|
|
- /// </summary>
|
|
246
|
|
- internal static string LotNo {
|
|
247
|
|
- get {
|
|
248
|
|
- return ResourceManager.GetString("LotNo", resourceCulture);
|
|
249
|
|
- }
|
|
250
|
|
- }
|
|
251
|
|
-
|
|
252
|
|
- /// <summary>
|
|
253
|
|
- /// Looks up a localized string similar to Middle.
|
|
254
|
|
- /// </summary>
|
|
255
|
|
- internal static string Middle {
|
|
256
|
|
- get {
|
|
257
|
|
- return ResourceManager.GetString("Middle", resourceCulture);
|
|
258
|
|
- }
|
|
259
|
|
- }
|
|
260
|
|
-
|
|
261
|
|
- /// <summary>
|
|
262
|
|
- /// Looks up a localized string similar to Out.
|
|
263
|
|
- /// </summary>
|
|
264
|
|
- internal static string Out {
|
|
265
|
|
- get {
|
|
266
|
|
- return ResourceManager.GetString("Out", resourceCulture);
|
|
267
|
|
- }
|
|
268
|
|
- }
|
|
269
|
|
-
|
|
270
|
|
- /// <summary>
|
|
271
|
|
- /// Looks up a localized string similar to Point.
|
|
272
|
|
- /// </summary>
|
|
273
|
|
- internal static string Point {
|
|
274
|
|
- get {
|
|
275
|
|
- return ResourceManager.GetString("Point", resourceCulture);
|
|
276
|
|
- }
|
|
277
|
|
- }
|
|
278
|
|
-
|
|
279
|
|
- /// <summary>
|
|
280
|
|
- /// Looks up a localized string similar to Print.
|
|
281
|
|
- /// </summary>
|
|
282
|
|
- internal static string Print {
|
|
283
|
|
- get {
|
|
284
|
|
- return ResourceManager.GetString("Print", resourceCulture);
|
|
285
|
|
- }
|
|
286
|
|
- }
|
|
287
|
|
-
|
|
288
|
|
- /// <summary>
|
|
289
|
|
- /// Looks up a localized string similar to Product No.
|
|
290
|
|
- /// </summary>
|
|
291
|
|
- internal static string ProductNo {
|
|
292
|
|
- get {
|
|
293
|
|
- return ResourceManager.GetString("ProductNo", resourceCulture);
|
|
294
|
|
- }
|
|
295
|
|
- }
|
|
296
|
|
-
|
|
297
|
|
- /// <summary>
|
|
298
|
|
- /// Looks up a localized string similar to Result Grade.
|
|
299
|
|
- /// </summary>
|
|
300
|
|
- internal static string ResultGrade {
|
|
301
|
|
- get {
|
|
302
|
|
- return ResourceManager.GetString("ResultGrade", resourceCulture);
|
|
303
|
|
- }
|
|
304
|
|
- }
|
|
305
|
|
-
|
|
306
|
|
- /// <summary>
|
|
307
|
|
- /// Looks up a localized string similar to Sampling.
|
|
308
|
|
- /// </summary>
|
|
309
|
|
- internal static string Sampling {
|
|
310
|
|
- get {
|
|
311
|
|
- return ResourceManager.GetString("Sampling", resourceCulture);
|
|
312
|
|
- }
|
|
313
|
|
- }
|
|
314
|
|
-
|
|
315
|
|
- /// <summary>
|
|
316
|
|
- /// Looks up a localized string similar to Save.
|
|
317
|
|
- /// </summary>
|
|
318
|
|
- internal static string Save {
|
|
319
|
|
- get {
|
|
320
|
|
- return ResourceManager.GetString("Save", resourceCulture);
|
|
321
|
|
- }
|
|
322
|
|
- }
|
|
323
|
|
-
|
|
324
|
|
- /// <summary>
|
|
325
|
|
- /// Looks up a localized string similar to Settings.
|
|
326
|
|
- /// </summary>
|
|
327
|
|
- internal static string Settings {
|
|
328
|
|
- get {
|
|
329
|
|
- return ResourceManager.GetString("Settings", resourceCulture);
|
|
330
|
|
- }
|
|
331
|
|
- }
|
|
332
|
|
-
|
|
333
|
|
- /// <summary>
|
|
334
|
|
- /// Looks up a localized string similar to Shape.
|
|
335
|
|
- /// </summary>
|
|
336
|
|
- internal static string Shape {
|
|
337
|
|
- get {
|
|
338
|
|
- return ResourceManager.GetString("Shape", resourceCulture);
|
|
339
|
|
- }
|
|
340
|
|
- }
|
|
341
|
|
-
|
|
342
|
|
- /// <summary>
|
|
343
|
|
- /// Looks up a localized string similar to Size.
|
|
344
|
|
- /// </summary>
|
|
345
|
|
- internal static string Size {
|
|
346
|
|
- get {
|
|
347
|
|
- return ResourceManager.GetString("Size", resourceCulture);
|
|
348
|
|
- }
|
|
349
|
|
- }
|
|
350
|
|
-
|
|
351
|
|
- /// <summary>
|
|
352
|
|
- /// Looks up a localized string similar to Spec.
|
|
353
|
|
- /// </summary>
|
|
354
|
|
- internal static string Spec {
|
|
355
|
|
- get {
|
|
356
|
|
- return ResourceManager.GetString("Spec", resourceCulture);
|
|
357
|
|
- }
|
|
358
|
|
- }
|
|
359
|
|
-
|
|
360
|
|
- /// <summary>
|
|
361
|
|
- /// Looks up a localized string similar to Undo.
|
|
362
|
|
- /// </summary>
|
|
363
|
|
- internal static string Undo {
|
|
364
|
|
- get {
|
|
365
|
|
- return ResourceManager.GetString("Undo", resourceCulture);
|
|
366
|
|
- }
|
|
367
|
|
- }
|
|
368
|
|
-
|
|
369
|
|
- /// <summary>
|
|
370
|
|
- /// Looks up a localized string similar to Using Time.
|
|
371
|
|
- /// </summary>
|
|
372
|
|
- internal static string UsingTime {
|
|
373
|
|
- get {
|
|
374
|
|
- return ResourceManager.GetString("UsingTime", resourceCulture);
|
|
375
|
|
- }
|
|
376
|
|
- }
|
|
377
|
|
-
|
|
378
|
|
- /// <summary>
|
|
379
|
|
- /// Looks up a localized string similar to View.
|
|
380
|
|
- /// </summary>
|
|
381
|
|
- internal static string View {
|
|
382
|
|
- get {
|
|
383
|
|
- return ResourceManager.GetString("View", resourceCulture);
|
|
384
|
|
- }
|
|
385
|
|
- }
|
|
386
|
|
-
|
|
387
|
|
- /// <summary>
|
|
388
|
|
- /// Looks up a localized string similar to View.
|
|
389
|
|
- /// </summary>
|
|
390
|
|
- internal static string ViewMode {
|
|
391
|
|
- get {
|
|
392
|
|
- return ResourceManager.GetString("ViewMode", resourceCulture);
|
|
393
|
|
- }
|
|
394
|
|
- }
|
|
395
|
|
-
|
|
396
|
|
- /// <summary>
|
|
397
|
|
- /// Looks up a localized string similar to Window.
|
|
398
|
|
- /// </summary>
|
|
399
|
|
- internal static string Window {
|
|
400
|
|
- get {
|
|
401
|
|
- return ResourceManager.GetString("Window", resourceCulture);
|
|
402
|
|
- }
|
|
403
|
|
- }
|
|
404
|
|
- }
|
|
405
|
|
-}
|
|
|
1
|
+//------------------------------------------------------------------------------
|
|
|
2
|
+// <auto-generated>
|
|
|
3
|
+// This code was generated by a tool.
|
|
|
4
|
+// Runtime Version:4.0.30319.42000
|
|
|
5
|
+//
|
|
|
6
|
+// Changes to this file may cause incorrect behavior and will be lost if
|
|
|
7
|
+// the code is regenerated.
|
|
|
8
|
+// </auto-generated>
|
|
|
9
|
+//------------------------------------------------------------------------------
|
|
|
10
|
+
|
|
|
11
|
+namespace WpfApplication19.Properties {
|
|
|
12
|
+ using System;
|
|
|
13
|
+
|
|
|
14
|
+
|
|
|
15
|
+ /// <summary>
|
|
|
16
|
+ /// A strongly-typed resource class, for looking up localized strings, etc.
|
|
|
17
|
+ /// </summary>
|
|
|
18
|
+ // This class was auto-generated by the StronglyTypedResourceBuilder
|
|
|
19
|
+ // class via a tool like ResGen or Visual Studio.
|
|
|
20
|
+ // To add or remove a member, edit your .ResX file then rerun ResGen
|
|
|
21
|
+ // with the /str option, or rebuild your VS project.
|
|
|
22
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
|
|
23
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
24
|
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
|
|
25
|
+ internal class Resources {
|
|
|
26
|
+
|
|
|
27
|
+ private static global::System.Resources.ResourceManager resourceMan;
|
|
|
28
|
+
|
|
|
29
|
+ private static global::System.Globalization.CultureInfo resourceCulture;
|
|
|
30
|
+
|
|
|
31
|
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
|
|
32
|
+ internal Resources() {
|
|
|
33
|
+ }
|
|
|
34
|
+
|
|
|
35
|
+ /// <summary>
|
|
|
36
|
+ /// Returns the cached ResourceManager instance used by this class.
|
|
|
37
|
+ /// </summary>
|
|
|
38
|
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
39
|
+ internal static global::System.Resources.ResourceManager ResourceManager {
|
|
|
40
|
+ get {
|
|
|
41
|
+ if (object.ReferenceEquals(resourceMan, null)) {
|
|
|
42
|
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WpfApplication19.Properties.Resources", typeof(Resources).Assembly);
|
|
|
43
|
+ resourceMan = temp;
|
|
|
44
|
+ }
|
|
|
45
|
+ return resourceMan;
|
|
|
46
|
+ }
|
|
|
47
|
+ }
|
|
|
48
|
+
|
|
|
49
|
+ /// <summary>
|
|
|
50
|
+ /// Overrides the current thread's CurrentUICulture property for all
|
|
|
51
|
+ /// resource lookups using this strongly typed resource class.
|
|
|
52
|
+ /// </summary>
|
|
|
53
|
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
54
|
+ internal static global::System.Globalization.CultureInfo Culture {
|
|
|
55
|
+ get {
|
|
|
56
|
+ return resourceCulture;
|
|
|
57
|
+ }
|
|
|
58
|
+ set {
|
|
|
59
|
+ resourceCulture = value;
|
|
|
60
|
+ }
|
|
|
61
|
+ }
|
|
|
62
|
+
|
|
|
63
|
+ /// <summary>
|
|
|
64
|
+ /// Looks up a localized string similar to Add Column.
|
|
|
65
|
+ /// </summary>
|
|
|
66
|
+ internal static string AddColumn {
|
|
|
67
|
+ get {
|
|
|
68
|
+ return ResourceManager.GetString("AddColumn", resourceCulture);
|
|
|
69
|
+ }
|
|
|
70
|
+ }
|
|
|
71
|
+
|
|
|
72
|
+ /// <summary>
|
|
|
73
|
+ /// Looks up a localized string similar to Add IN*.
|
|
|
74
|
+ /// </summary>
|
|
|
75
|
+ internal static string AddIn {
|
|
|
76
|
+ get {
|
|
|
77
|
+ return ResourceManager.GetString("AddIn", resourceCulture);
|
|
|
78
|
+ }
|
|
|
79
|
+ }
|
|
|
80
|
+
|
|
|
81
|
+ /// <summary>
|
|
|
82
|
+ /// Looks up a localized string similar to Add Middle.
|
|
|
83
|
+ /// </summary>
|
|
|
84
|
+ internal static string AddMiddle {
|
|
|
85
|
+ get {
|
|
|
86
|
+ return ResourceManager.GetString("AddMiddle", resourceCulture);
|
|
|
87
|
+ }
|
|
|
88
|
+ }
|
|
|
89
|
+
|
|
|
90
|
+ /// <summary>
|
|
|
91
|
+ /// Looks up a localized string similar to Add Row.
|
|
|
92
|
+ /// </summary>
|
|
|
93
|
+ internal static string AddRow {
|
|
|
94
|
+ get {
|
|
|
95
|
+ return ResourceManager.GetString("AddRow", resourceCulture);
|
|
|
96
|
+ }
|
|
|
97
|
+ }
|
|
|
98
|
+
|
|
|
99
|
+ /// <summary>
|
|
|
100
|
+ /// Looks up a localized string similar to Agreement.
|
|
|
101
|
+ /// </summary>
|
|
|
102
|
+ internal static string Agreement {
|
|
|
103
|
+ get {
|
|
|
104
|
+ return ResourceManager.GetString("Agreement", resourceCulture);
|
|
|
105
|
+ }
|
|
|
106
|
+ }
|
|
|
107
|
+
|
|
|
108
|
+ /// <summary>
|
|
|
109
|
+ /// Looks up a localized string similar to Average.
|
|
|
110
|
+ /// </summary>
|
|
|
111
|
+ internal static string Average {
|
|
|
112
|
+ get {
|
|
|
113
|
+ return ResourceManager.GetString("Average", resourceCulture);
|
|
|
114
|
+ }
|
|
|
115
|
+ }
|
|
|
116
|
+
|
|
|
117
|
+ /// <summary>
|
|
|
118
|
+ /// Looks up a localized string similar to Code.
|
|
|
119
|
+ /// </summary>
|
|
|
120
|
+ internal static string Code {
|
|
|
121
|
+ get {
|
|
|
122
|
+ return ResourceManager.GetString("Code", resourceCulture);
|
|
|
123
|
+ }
|
|
|
124
|
+ }
|
|
|
125
|
+
|
|
|
126
|
+ /// <summary>
|
|
|
127
|
+ /// Looks up a localized string similar to Commit.
|
|
|
128
|
+ /// </summary>
|
|
|
129
|
+ internal static string Commit {
|
|
|
130
|
+ get {
|
|
|
131
|
+ return ResourceManager.GetString("Commit", resourceCulture);
|
|
|
132
|
+ }
|
|
|
133
|
+ }
|
|
|
134
|
+
|
|
|
135
|
+ /// <summary>
|
|
|
136
|
+ /// Looks up a localized string similar to Condition.
|
|
|
137
|
+ /// </summary>
|
|
|
138
|
+ internal static string Condition {
|
|
|
139
|
+ get {
|
|
|
140
|
+ return ResourceManager.GetString("Condition", resourceCulture);
|
|
|
141
|
+ }
|
|
|
142
|
+ }
|
|
|
143
|
+
|
|
|
144
|
+ /// <summary>
|
|
|
145
|
+ /// Looks up a localized string similar to Customer.
|
|
|
146
|
+ /// </summary>
|
|
|
147
|
+ internal static string Customer {
|
|
|
148
|
+ get {
|
|
|
149
|
+ return ResourceManager.GetString("Customer", resourceCulture);
|
|
|
150
|
+ }
|
|
|
151
|
+ }
|
|
|
152
|
+
|
|
|
153
|
+ /// <summary>
|
|
|
154
|
+ /// Looks up a localized string similar to Daily Check.
|
|
|
155
|
+ /// </summary>
|
|
|
156
|
+ internal static string DailyCheck {
|
|
|
157
|
+ get {
|
|
|
158
|
+ return ResourceManager.GetString("DailyCheck", resourceCulture);
|
|
|
159
|
+ }
|
|
|
160
|
+ }
|
|
|
161
|
+
|
|
|
162
|
+ /// <summary>
|
|
|
163
|
+ /// Looks up a localized string similar to Delete.
|
|
|
164
|
+ /// </summary>
|
|
|
165
|
+ internal static string Delete {
|
|
|
166
|
+ get {
|
|
|
167
|
+ return ResourceManager.GetString("Delete", resourceCulture);
|
|
|
168
|
+ }
|
|
|
169
|
+ }
|
|
|
170
|
+
|
|
|
171
|
+ /// <summary>
|
|
|
172
|
+ /// Looks up a localized string similar to File.
|
|
|
173
|
+ /// </summary>
|
|
|
174
|
+ internal static string File {
|
|
|
175
|
+ get {
|
|
|
176
|
+ return ResourceManager.GetString("File", resourceCulture);
|
|
|
177
|
+ }
|
|
|
178
|
+ }
|
|
|
179
|
+
|
|
|
180
|
+ /// <summary>
|
|
|
181
|
+ /// Looks up a localized string similar to Find.
|
|
|
182
|
+ /// </summary>
|
|
|
183
|
+ internal static string Find {
|
|
|
184
|
+ get {
|
|
|
185
|
+ return ResourceManager.GetString("Find", resourceCulture);
|
|
|
186
|
+ }
|
|
|
187
|
+ }
|
|
|
188
|
+
|
|
|
189
|
+ /// <summary>
|
|
|
190
|
+ /// Looks up a localized string similar to Full Screen.
|
|
|
191
|
+ /// </summary>
|
|
|
192
|
+ internal static string FullScreen {
|
|
|
193
|
+ get {
|
|
|
194
|
+ return ResourceManager.GetString("FullScreen", resourceCulture);
|
|
|
195
|
+ }
|
|
|
196
|
+ }
|
|
|
197
|
+
|
|
|
198
|
+ /// <summary>
|
|
|
199
|
+ /// Looks up a localized string similar to Grade.
|
|
|
200
|
+ /// </summary>
|
|
|
201
|
+ internal static string Grade {
|
|
|
202
|
+ get {
|
|
|
203
|
+ return ResourceManager.GetString("Grade", resourceCulture);
|
|
|
204
|
+ }
|
|
|
205
|
+ }
|
|
|
206
|
+
|
|
|
207
|
+ /// <summary>
|
|
|
208
|
+ /// Looks up a localized string similar to Hello.
|
|
|
209
|
+ /// </summary>
|
|
|
210
|
+ internal static string Hello {
|
|
|
211
|
+ get {
|
|
|
212
|
+ return ResourceManager.GetString("Hello", resourceCulture);
|
|
|
213
|
+ }
|
|
|
214
|
+ }
|
|
|
215
|
+
|
|
|
216
|
+ /// <summary>
|
|
|
217
|
+ /// Looks up a localized string similar to In.
|
|
|
218
|
+ /// </summary>
|
|
|
219
|
+ internal static string In {
|
|
|
220
|
+ get {
|
|
|
221
|
+ return ResourceManager.GetString("In", resourceCulture);
|
|
|
222
|
+ }
|
|
|
223
|
+ }
|
|
|
224
|
+
|
|
|
225
|
+ /// <summary>
|
|
|
226
|
+ /// Looks up a localized string similar to Language.
|
|
|
227
|
+ /// </summary>
|
|
|
228
|
+ internal static string Language {
|
|
|
229
|
+ get {
|
|
|
230
|
+ return ResourceManager.GetString("Language", resourceCulture);
|
|
|
231
|
+ }
|
|
|
232
|
+ }
|
|
|
233
|
+
|
|
|
234
|
+ /// <summary>
|
|
|
235
|
+ /// Looks up a localized string similar to Logout.
|
|
|
236
|
+ /// </summary>
|
|
|
237
|
+ internal static string Logout {
|
|
|
238
|
+ get {
|
|
|
239
|
+ return ResourceManager.GetString("Logout", resourceCulture);
|
|
|
240
|
+ }
|
|
|
241
|
+ }
|
|
|
242
|
+
|
|
|
243
|
+ /// <summary>
|
|
|
244
|
+ /// Looks up a localized string similar to Lot No..
|
|
|
245
|
+ /// </summary>
|
|
|
246
|
+ internal static string LotNo {
|
|
|
247
|
+ get {
|
|
|
248
|
+ return ResourceManager.GetString("LotNo", resourceCulture);
|
|
|
249
|
+ }
|
|
|
250
|
+ }
|
|
|
251
|
+
|
|
|
252
|
+ /// <summary>
|
|
|
253
|
+ /// Looks up a localized string similar to Middle.
|
|
|
254
|
+ /// </summary>
|
|
|
255
|
+ internal static string Middle {
|
|
|
256
|
+ get {
|
|
|
257
|
+ return ResourceManager.GetString("Middle", resourceCulture);
|
|
|
258
|
+ }
|
|
|
259
|
+ }
|
|
|
260
|
+
|
|
|
261
|
+ /// <summary>
|
|
|
262
|
+ /// Looks up a localized string similar to Out.
|
|
|
263
|
+ /// </summary>
|
|
|
264
|
+ internal static string Out {
|
|
|
265
|
+ get {
|
|
|
266
|
+ return ResourceManager.GetString("Out", resourceCulture);
|
|
|
267
|
+ }
|
|
|
268
|
+ }
|
|
|
269
|
+
|
|
|
270
|
+ /// <summary>
|
|
|
271
|
+ /// Looks up a localized string similar to Point.
|
|
|
272
|
+ /// </summary>
|
|
|
273
|
+ internal static string Point {
|
|
|
274
|
+ get {
|
|
|
275
|
+ return ResourceManager.GetString("Point", resourceCulture);
|
|
|
276
|
+ }
|
|
|
277
|
+ }
|
|
|
278
|
+
|
|
|
279
|
+ /// <summary>
|
|
|
280
|
+ /// Looks up a localized string similar to Print.
|
|
|
281
|
+ /// </summary>
|
|
|
282
|
+ internal static string Print {
|
|
|
283
|
+ get {
|
|
|
284
|
+ return ResourceManager.GetString("Print", resourceCulture);
|
|
|
285
|
+ }
|
|
|
286
|
+ }
|
|
|
287
|
+
|
|
|
288
|
+ /// <summary>
|
|
|
289
|
+ /// Looks up a localized string similar to Product No.
|
|
|
290
|
+ /// </summary>
|
|
|
291
|
+ internal static string ProductNo {
|
|
|
292
|
+ get {
|
|
|
293
|
+ return ResourceManager.GetString("ProductNo", resourceCulture);
|
|
|
294
|
+ }
|
|
|
295
|
+ }
|
|
|
296
|
+
|
|
|
297
|
+ /// <summary>
|
|
|
298
|
+ /// Looks up a localized string similar to Result Grade.
|
|
|
299
|
+ /// </summary>
|
|
|
300
|
+ internal static string ResultGrade {
|
|
|
301
|
+ get {
|
|
|
302
|
+ return ResourceManager.GetString("ResultGrade", resourceCulture);
|
|
|
303
|
+ }
|
|
|
304
|
+ }
|
|
|
305
|
+
|
|
|
306
|
+ /// <summary>
|
|
|
307
|
+ /// Looks up a localized string similar to Sampling.
|
|
|
308
|
+ /// </summary>
|
|
|
309
|
+ internal static string Sampling {
|
|
|
310
|
+ get {
|
|
|
311
|
+ return ResourceManager.GetString("Sampling", resourceCulture);
|
|
|
312
|
+ }
|
|
|
313
|
+ }
|
|
|
314
|
+
|
|
|
315
|
+ /// <summary>
|
|
|
316
|
+ /// Looks up a localized string similar to Save.
|
|
|
317
|
+ /// </summary>
|
|
|
318
|
+ internal static string Save {
|
|
|
319
|
+ get {
|
|
|
320
|
+ return ResourceManager.GetString("Save", resourceCulture);
|
|
|
321
|
+ }
|
|
|
322
|
+ }
|
|
|
323
|
+
|
|
|
324
|
+ /// <summary>
|
|
|
325
|
+ /// Looks up a localized string similar to Settings.
|
|
|
326
|
+ /// </summary>
|
|
|
327
|
+ internal static string Settings {
|
|
|
328
|
+ get {
|
|
|
329
|
+ return ResourceManager.GetString("Settings", resourceCulture);
|
|
|
330
|
+ }
|
|
|
331
|
+ }
|
|
|
332
|
+
|
|
|
333
|
+ /// <summary>
|
|
|
334
|
+ /// Looks up a localized string similar to Shape.
|
|
|
335
|
+ /// </summary>
|
|
|
336
|
+ internal static string Shape {
|
|
|
337
|
+ get {
|
|
|
338
|
+ return ResourceManager.GetString("Shape", resourceCulture);
|
|
|
339
|
+ }
|
|
|
340
|
+ }
|
|
|
341
|
+
|
|
|
342
|
+ /// <summary>
|
|
|
343
|
+ /// Looks up a localized string similar to Size.
|
|
|
344
|
+ /// </summary>
|
|
|
345
|
+ internal static string Size {
|
|
|
346
|
+ get {
|
|
|
347
|
+ return ResourceManager.GetString("Size", resourceCulture);
|
|
|
348
|
+ }
|
|
|
349
|
+ }
|
|
|
350
|
+
|
|
|
351
|
+ /// <summary>
|
|
|
352
|
+ /// Looks up a localized string similar to Spec.
|
|
|
353
|
+ /// </summary>
|
|
|
354
|
+ internal static string Spec {
|
|
|
355
|
+ get {
|
|
|
356
|
+ return ResourceManager.GetString("Spec", resourceCulture);
|
|
|
357
|
+ }
|
|
|
358
|
+ }
|
|
|
359
|
+
|
|
|
360
|
+ /// <summary>
|
|
|
361
|
+ /// Looks up a localized string similar to Undo.
|
|
|
362
|
+ /// </summary>
|
|
|
363
|
+ internal static string Undo {
|
|
|
364
|
+ get {
|
|
|
365
|
+ return ResourceManager.GetString("Undo", resourceCulture);
|
|
|
366
|
+ }
|
|
|
367
|
+ }
|
|
|
368
|
+
|
|
|
369
|
+ /// <summary>
|
|
|
370
|
+ /// Looks up a localized string similar to Using Time.
|
|
|
371
|
+ /// </summary>
|
|
|
372
|
+ internal static string UsingTime {
|
|
|
373
|
+ get {
|
|
|
374
|
+ return ResourceManager.GetString("UsingTime", resourceCulture);
|
|
|
375
|
+ }
|
|
|
376
|
+ }
|
|
|
377
|
+
|
|
|
378
|
+ /// <summary>
|
|
|
379
|
+ /// Looks up a localized string similar to View.
|
|
|
380
|
+ /// </summary>
|
|
|
381
|
+ internal static string View {
|
|
|
382
|
+ get {
|
|
|
383
|
+ return ResourceManager.GetString("View", resourceCulture);
|
|
|
384
|
+ }
|
|
|
385
|
+ }
|
|
|
386
|
+
|
|
|
387
|
+ /// <summary>
|
|
|
388
|
+ /// Looks up a localized string similar to View.
|
|
|
389
|
+ /// </summary>
|
|
|
390
|
+ internal static string ViewMode {
|
|
|
391
|
+ get {
|
|
|
392
|
+ return ResourceManager.GetString("ViewMode", resourceCulture);
|
|
|
393
|
+ }
|
|
|
394
|
+ }
|
|
|
395
|
+
|
|
|
396
|
+ /// <summary>
|
|
|
397
|
+ /// Looks up a localized string similar to Window.
|
|
|
398
|
+ /// </summary>
|
|
|
399
|
+ internal static string Window {
|
|
|
400
|
+ get {
|
|
|
401
|
+ return ResourceManager.GetString("Window", resourceCulture);
|
|
|
402
|
+ }
|
|
|
403
|
+ }
|
|
|
404
|
+ }
|
|
|
405
|
+}
|
|
|
@@ -1,234 +1,234 @@
|
|
1
|
|
-<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
|
-<root>
|
|
3
|
|
- <!--
|
|
4
|
|
- Microsoft ResX Schema
|
|
5
|
|
-
|
|
6
|
|
- Version 2.0
|
|
7
|
|
-
|
|
8
|
|
- The primary goals of this format is to allow a simple XML format
|
|
9
|
|
- that is mostly human readable. The generation and parsing of the
|
|
10
|
|
- various data types are done through the TypeConverter classes
|
|
11
|
|
- associated with the data types.
|
|
12
|
|
-
|
|
13
|
|
- Example:
|
|
14
|
|
-
|
|
15
|
|
- ... ado.net/XML headers & schema ...
|
|
16
|
|
- <resheader name="resmimetype">text/microsoft-resx</resheader>
|
|
17
|
|
- <resheader name="version">2.0</resheader>
|
|
18
|
|
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
|
19
|
|
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
|
20
|
|
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
|
21
|
|
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
|
22
|
|
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
|
23
|
|
- <value>[base64 mime encoded serialized .NET Framework object]</value>
|
|
24
|
|
- </data>
|
|
25
|
|
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
26
|
|
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
|
27
|
|
- <comment>This is a comment</comment>
|
|
28
|
|
- </data>
|
|
29
|
|
-
|
|
30
|
|
- There are any number of "resheader" rows that contain simple
|
|
31
|
|
- name/value pairs.
|
|
32
|
|
-
|
|
33
|
|
- Each data row contains a name, and value. The row also contains a
|
|
34
|
|
- type or mimetype. Type corresponds to a .NET class that support
|
|
35
|
|
- text/value conversion through the TypeConverter architecture.
|
|
36
|
|
- Classes that don't support this are serialized and stored with the
|
|
37
|
|
- mimetype set.
|
|
38
|
|
-
|
|
39
|
|
- The mimetype is used for serialized objects, and tells the
|
|
40
|
|
- ResXResourceReader how to depersist the object. This is currently not
|
|
41
|
|
- extensible. For a given mimetype the value must be set accordingly:
|
|
42
|
|
-
|
|
43
|
|
- Note - application/x-microsoft.net.object.binary.base64 is the format
|
|
44
|
|
- that the ResXResourceWriter will generate, however the reader can
|
|
45
|
|
- read any of the formats listed below.
|
|
46
|
|
-
|
|
47
|
|
- mimetype: application/x-microsoft.net.object.binary.base64
|
|
48
|
|
- value : The object must be serialized with
|
|
49
|
|
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
|
50
|
|
- : and then encoded with base64 encoding.
|
|
51
|
|
-
|
|
52
|
|
- mimetype: application/x-microsoft.net.object.soap.base64
|
|
53
|
|
- value : The object must be serialized with
|
|
54
|
|
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
|
55
|
|
- : and then encoded with base64 encoding.
|
|
56
|
|
-
|
|
57
|
|
- mimetype: application/x-microsoft.net.object.bytearray.base64
|
|
58
|
|
- value : The object must be serialized into a byte array
|
|
59
|
|
- : using a System.ComponentModel.TypeConverter
|
|
60
|
|
- : and then encoded with base64 encoding.
|
|
61
|
|
- -->
|
|
62
|
|
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
|
63
|
|
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
|
64
|
|
- <xsd:element name="root" msdata:IsDataSet="true">
|
|
65
|
|
- <xsd:complexType>
|
|
66
|
|
- <xsd:choice maxOccurs="unbounded">
|
|
67
|
|
- <xsd:element name="metadata">
|
|
68
|
|
- <xsd:complexType>
|
|
69
|
|
- <xsd:sequence>
|
|
70
|
|
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
|
|
71
|
|
- </xsd:sequence>
|
|
72
|
|
- <xsd:attribute name="name" use="required" type="xsd:string" />
|
|
73
|
|
- <xsd:attribute name="type" type="xsd:string" />
|
|
74
|
|
- <xsd:attribute name="mimetype" type="xsd:string" />
|
|
75
|
|
- <xsd:attribute ref="xml:space" />
|
|
76
|
|
- </xsd:complexType>
|
|
77
|
|
- </xsd:element>
|
|
78
|
|
- <xsd:element name="assembly">
|
|
79
|
|
- <xsd:complexType>
|
|
80
|
|
- <xsd:attribute name="alias" type="xsd:string" />
|
|
81
|
|
- <xsd:attribute name="name" type="xsd:string" />
|
|
82
|
|
- </xsd:complexType>
|
|
83
|
|
- </xsd:element>
|
|
84
|
|
- <xsd:element name="data">
|
|
85
|
|
- <xsd:complexType>
|
|
86
|
|
- <xsd:sequence>
|
|
87
|
|
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
88
|
|
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
|
89
|
|
- </xsd:sequence>
|
|
90
|
|
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
|
91
|
|
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
|
92
|
|
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
|
93
|
|
- <xsd:attribute ref="xml:space" />
|
|
94
|
|
- </xsd:complexType>
|
|
95
|
|
- </xsd:element>
|
|
96
|
|
- <xsd:element name="resheader">
|
|
97
|
|
- <xsd:complexType>
|
|
98
|
|
- <xsd:sequence>
|
|
99
|
|
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
100
|
|
- </xsd:sequence>
|
|
101
|
|
- <xsd:attribute name="name" type="xsd:string" use="required" />
|
|
102
|
|
- </xsd:complexType>
|
|
103
|
|
- </xsd:element>
|
|
104
|
|
- </xsd:choice>
|
|
105
|
|
- </xsd:complexType>
|
|
106
|
|
- </xsd:element>
|
|
107
|
|
- </xsd:schema>
|
|
108
|
|
- <resheader name="resmimetype">
|
|
109
|
|
- <value>text/microsoft-resx</value>
|
|
110
|
|
- </resheader>
|
|
111
|
|
- <resheader name="version">
|
|
112
|
|
- <value>2.0</value>
|
|
113
|
|
- </resheader>
|
|
114
|
|
- <resheader name="reader">
|
|
115
|
|
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
116
|
|
- </resheader>
|
|
117
|
|
- <resheader name="writer">
|
|
118
|
|
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
119
|
|
- </resheader>
|
|
120
|
|
- <data name="AddColumn" xml:space="preserve">
|
|
121
|
|
- <value>Add Column</value>
|
|
122
|
|
- </data>
|
|
123
|
|
- <data name="AddIn" xml:space="preserve">
|
|
124
|
|
- <value>Add IN*</value>
|
|
125
|
|
- </data>
|
|
126
|
|
- <data name="AddMiddle" xml:space="preserve">
|
|
127
|
|
- <value>Add Middle</value>
|
|
128
|
|
- </data>
|
|
129
|
|
- <data name="AddRow" xml:space="preserve">
|
|
130
|
|
- <value>Add Row</value>
|
|
131
|
|
- </data>
|
|
132
|
|
- <data name="Agreement" xml:space="preserve">
|
|
133
|
|
- <value>Agreement</value>
|
|
134
|
|
- </data>
|
|
135
|
|
- <data name="Average" xml:space="preserve">
|
|
136
|
|
- <value>Average</value>
|
|
137
|
|
- </data>
|
|
138
|
|
- <data name="Code" xml:space="preserve">
|
|
139
|
|
- <value>Code</value>
|
|
140
|
|
- </data>
|
|
141
|
|
- <data name="Commit" xml:space="preserve">
|
|
142
|
|
- <value>Commit</value>
|
|
143
|
|
- </data>
|
|
144
|
|
- <data name="Condition" xml:space="preserve">
|
|
145
|
|
- <value>Condition</value>
|
|
146
|
|
- </data>
|
|
147
|
|
- <data name="Customer" xml:space="preserve">
|
|
148
|
|
- <value>Customer</value>
|
|
149
|
|
- </data>
|
|
150
|
|
- <data name="DailyCheck" xml:space="preserve">
|
|
151
|
|
- <value>Daily Check</value>
|
|
152
|
|
- </data>
|
|
153
|
|
- <data name="Delete" xml:space="preserve">
|
|
154
|
|
- <value>Delete</value>
|
|
155
|
|
- </data>
|
|
156
|
|
- <data name="File" xml:space="preserve">
|
|
157
|
|
- <value>File</value>
|
|
158
|
|
- </data>
|
|
159
|
|
- <data name="Find" xml:space="preserve">
|
|
160
|
|
- <value>Find</value>
|
|
161
|
|
- </data>
|
|
162
|
|
- <data name="FullScreen" xml:space="preserve">
|
|
163
|
|
- <value>Full Screen</value>
|
|
164
|
|
- </data>
|
|
165
|
|
- <data name="Grade" xml:space="preserve">
|
|
166
|
|
- <value>Grade</value>
|
|
167
|
|
- </data>
|
|
168
|
|
- <data name="Hello" xml:space="preserve">
|
|
169
|
|
- <value>Hello</value>
|
|
170
|
|
- </data>
|
|
171
|
|
- <data name="In" xml:space="preserve">
|
|
172
|
|
- <value>In</value>
|
|
173
|
|
- </data>
|
|
174
|
|
- <data name="Language" xml:space="preserve">
|
|
175
|
|
- <value>Language</value>
|
|
176
|
|
- </data>
|
|
177
|
|
- <data name="Logout" xml:space="preserve">
|
|
178
|
|
- <value>Logout</value>
|
|
179
|
|
- </data>
|
|
180
|
|
- <data name="LotNo" xml:space="preserve">
|
|
181
|
|
- <value>Lot No.</value>
|
|
182
|
|
- </data>
|
|
183
|
|
- <data name="Middle" xml:space="preserve">
|
|
184
|
|
- <value>Middle</value>
|
|
185
|
|
- </data>
|
|
186
|
|
- <data name="Out" xml:space="preserve">
|
|
187
|
|
- <value>Out</value>
|
|
188
|
|
- </data>
|
|
189
|
|
- <data name="Point" xml:space="preserve">
|
|
190
|
|
- <value>Point</value>
|
|
191
|
|
- </data>
|
|
192
|
|
- <data name="Print" xml:space="preserve">
|
|
193
|
|
- <value>Print</value>
|
|
194
|
|
- </data>
|
|
195
|
|
- <data name="ProductNo" xml:space="preserve">
|
|
196
|
|
- <value>Product No</value>
|
|
197
|
|
- </data>
|
|
198
|
|
- <data name="ResultGrade" xml:space="preserve">
|
|
199
|
|
- <value>Result Grade</value>
|
|
200
|
|
- </data>
|
|
201
|
|
- <data name="Sampling" xml:space="preserve">
|
|
202
|
|
- <value>Sampling</value>
|
|
203
|
|
- </data>
|
|
204
|
|
- <data name="Save" xml:space="preserve">
|
|
205
|
|
- <value>Save</value>
|
|
206
|
|
- </data>
|
|
207
|
|
- <data name="Settings" xml:space="preserve">
|
|
208
|
|
- <value>Settings</value>
|
|
209
|
|
- </data>
|
|
210
|
|
- <data name="Shape" xml:space="preserve">
|
|
211
|
|
- <value>Shape</value>
|
|
212
|
|
- </data>
|
|
213
|
|
- <data name="Size" xml:space="preserve">
|
|
214
|
|
- <value>Size</value>
|
|
215
|
|
- </data>
|
|
216
|
|
- <data name="Spec" xml:space="preserve">
|
|
217
|
|
- <value>Spec</value>
|
|
218
|
|
- </data>
|
|
219
|
|
- <data name="Undo" xml:space="preserve">
|
|
220
|
|
- <value>Undo</value>
|
|
221
|
|
- </data>
|
|
222
|
|
- <data name="UsingTime" xml:space="preserve">
|
|
223
|
|
- <value>Using Time</value>
|
|
224
|
|
- </data>
|
|
225
|
|
- <data name="View" xml:space="preserve">
|
|
226
|
|
- <value>View</value>
|
|
227
|
|
- </data>
|
|
228
|
|
- <data name="ViewMode" xml:space="preserve">
|
|
229
|
|
- <value>View</value>
|
|
230
|
|
- </data>
|
|
231
|
|
- <data name="Window" xml:space="preserve">
|
|
232
|
|
- <value>Window</value>
|
|
233
|
|
- </data>
|
|
|
1
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
2
|
+<root>
|
|
|
3
|
+ <!--
|
|
|
4
|
+ Microsoft ResX Schema
|
|
|
5
|
+
|
|
|
6
|
+ Version 2.0
|
|
|
7
|
+
|
|
|
8
|
+ The primary goals of this format is to allow a simple XML format
|
|
|
9
|
+ that is mostly human readable. The generation and parsing of the
|
|
|
10
|
+ various data types are done through the TypeConverter classes
|
|
|
11
|
+ associated with the data types.
|
|
|
12
|
+
|
|
|
13
|
+ Example:
|
|
|
14
|
+
|
|
|
15
|
+ ... ado.net/XML headers & schema ...
|
|
|
16
|
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
|
|
|
17
|
+ <resheader name="version">2.0</resheader>
|
|
|
18
|
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
|
|
19
|
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
|
|
20
|
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
|
|
21
|
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
|
|
22
|
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
|
|
23
|
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
|
|
|
24
|
+ </data>
|
|
|
25
|
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
|
26
|
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
|
|
27
|
+ <comment>This is a comment</comment>
|
|
|
28
|
+ </data>
|
|
|
29
|
+
|
|
|
30
|
+ There are any number of "resheader" rows that contain simple
|
|
|
31
|
+ name/value pairs.
|
|
|
32
|
+
|
|
|
33
|
+ Each data row contains a name, and value. The row also contains a
|
|
|
34
|
+ type or mimetype. Type corresponds to a .NET class that support
|
|
|
35
|
+ text/value conversion through the TypeConverter architecture.
|
|
|
36
|
+ Classes that don't support this are serialized and stored with the
|
|
|
37
|
+ mimetype set.
|
|
|
38
|
+
|
|
|
39
|
+ The mimetype is used for serialized objects, and tells the
|
|
|
40
|
+ ResXResourceReader how to depersist the object. This is currently not
|
|
|
41
|
+ extensible. For a given mimetype the value must be set accordingly:
|
|
|
42
|
+
|
|
|
43
|
+ Note - application/x-microsoft.net.object.binary.base64 is the format
|
|
|
44
|
+ that the ResXResourceWriter will generate, however the reader can
|
|
|
45
|
+ read any of the formats listed below.
|
|
|
46
|
+
|
|
|
47
|
+ mimetype: application/x-microsoft.net.object.binary.base64
|
|
|
48
|
+ value : The object must be serialized with
|
|
|
49
|
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
|
|
50
|
+ : and then encoded with base64 encoding.
|
|
|
51
|
+
|
|
|
52
|
+ mimetype: application/x-microsoft.net.object.soap.base64
|
|
|
53
|
+ value : The object must be serialized with
|
|
|
54
|
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
|
|
55
|
+ : and then encoded with base64 encoding.
|
|
|
56
|
+
|
|
|
57
|
+ mimetype: application/x-microsoft.net.object.bytearray.base64
|
|
|
58
|
+ value : The object must be serialized into a byte array
|
|
|
59
|
+ : using a System.ComponentModel.TypeConverter
|
|
|
60
|
+ : and then encoded with base64 encoding.
|
|
|
61
|
+ -->
|
|
|
62
|
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
|
|
63
|
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
|
|
64
|
+ <xsd:element name="root" msdata:IsDataSet="true">
|
|
|
65
|
+ <xsd:complexType>
|
|
|
66
|
+ <xsd:choice maxOccurs="unbounded">
|
|
|
67
|
+ <xsd:element name="metadata">
|
|
|
68
|
+ <xsd:complexType>
|
|
|
69
|
+ <xsd:sequence>
|
|
|
70
|
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
|
|
|
71
|
+ </xsd:sequence>
|
|
|
72
|
+ <xsd:attribute name="name" use="required" type="xsd:string" />
|
|
|
73
|
+ <xsd:attribute name="type" type="xsd:string" />
|
|
|
74
|
+ <xsd:attribute name="mimetype" type="xsd:string" />
|
|
|
75
|
+ <xsd:attribute ref="xml:space" />
|
|
|
76
|
+ </xsd:complexType>
|
|
|
77
|
+ </xsd:element>
|
|
|
78
|
+ <xsd:element name="assembly">
|
|
|
79
|
+ <xsd:complexType>
|
|
|
80
|
+ <xsd:attribute name="alias" type="xsd:string" />
|
|
|
81
|
+ <xsd:attribute name="name" type="xsd:string" />
|
|
|
82
|
+ </xsd:complexType>
|
|
|
83
|
+ </xsd:element>
|
|
|
84
|
+ <xsd:element name="data">
|
|
|
85
|
+ <xsd:complexType>
|
|
|
86
|
+ <xsd:sequence>
|
|
|
87
|
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
|
88
|
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
|
|
89
|
+ </xsd:sequence>
|
|
|
90
|
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
|
|
91
|
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
|
|
92
|
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
|
|
93
|
+ <xsd:attribute ref="xml:space" />
|
|
|
94
|
+ </xsd:complexType>
|
|
|
95
|
+ </xsd:element>
|
|
|
96
|
+ <xsd:element name="resheader">
|
|
|
97
|
+ <xsd:complexType>
|
|
|
98
|
+ <xsd:sequence>
|
|
|
99
|
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
|
100
|
+ </xsd:sequence>
|
|
|
101
|
+ <xsd:attribute name="name" type="xsd:string" use="required" />
|
|
|
102
|
+ </xsd:complexType>
|
|
|
103
|
+ </xsd:element>
|
|
|
104
|
+ </xsd:choice>
|
|
|
105
|
+ </xsd:complexType>
|
|
|
106
|
+ </xsd:element>
|
|
|
107
|
+ </xsd:schema>
|
|
|
108
|
+ <resheader name="resmimetype">
|
|
|
109
|
+ <value>text/microsoft-resx</value>
|
|
|
110
|
+ </resheader>
|
|
|
111
|
+ <resheader name="version">
|
|
|
112
|
+ <value>2.0</value>
|
|
|
113
|
+ </resheader>
|
|
|
114
|
+ <resheader name="reader">
|
|
|
115
|
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
|
116
|
+ </resheader>
|
|
|
117
|
+ <resheader name="writer">
|
|
|
118
|
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
|
119
|
+ </resheader>
|
|
|
120
|
+ <data name="AddColumn" xml:space="preserve">
|
|
|
121
|
+ <value>Add Column</value>
|
|
|
122
|
+ </data>
|
|
|
123
|
+ <data name="AddIn" xml:space="preserve">
|
|
|
124
|
+ <value>Add IN*</value>
|
|
|
125
|
+ </data>
|
|
|
126
|
+ <data name="AddMiddle" xml:space="preserve">
|
|
|
127
|
+ <value>Add Middle</value>
|
|
|
128
|
+ </data>
|
|
|
129
|
+ <data name="AddRow" xml:space="preserve">
|
|
|
130
|
+ <value>Add Row</value>
|
|
|
131
|
+ </data>
|
|
|
132
|
+ <data name="Agreement" xml:space="preserve">
|
|
|
133
|
+ <value>Agreement</value>
|
|
|
134
|
+ </data>
|
|
|
135
|
+ <data name="Average" xml:space="preserve">
|
|
|
136
|
+ <value>Average</value>
|
|
|
137
|
+ </data>
|
|
|
138
|
+ <data name="Code" xml:space="preserve">
|
|
|
139
|
+ <value>Code</value>
|
|
|
140
|
+ </data>
|
|
|
141
|
+ <data name="Commit" xml:space="preserve">
|
|
|
142
|
+ <value>Commit</value>
|
|
|
143
|
+ </data>
|
|
|
144
|
+ <data name="Condition" xml:space="preserve">
|
|
|
145
|
+ <value>Condition</value>
|
|
|
146
|
+ </data>
|
|
|
147
|
+ <data name="Customer" xml:space="preserve">
|
|
|
148
|
+ <value>Customer</value>
|
|
|
149
|
+ </data>
|
|
|
150
|
+ <data name="DailyCheck" xml:space="preserve">
|
|
|
151
|
+ <value>Daily Check</value>
|
|
|
152
|
+ </data>
|
|
|
153
|
+ <data name="Delete" xml:space="preserve">
|
|
|
154
|
+ <value>Delete</value>
|
|
|
155
|
+ </data>
|
|
|
156
|
+ <data name="File" xml:space="preserve">
|
|
|
157
|
+ <value>File</value>
|
|
|
158
|
+ </data>
|
|
|
159
|
+ <data name="Find" xml:space="preserve">
|
|
|
160
|
+ <value>Find</value>
|
|
|
161
|
+ </data>
|
|
|
162
|
+ <data name="FullScreen" xml:space="preserve">
|
|
|
163
|
+ <value>Full Screen</value>
|
|
|
164
|
+ </data>
|
|
|
165
|
+ <data name="Grade" xml:space="preserve">
|
|
|
166
|
+ <value>Grade</value>
|
|
|
167
|
+ </data>
|
|
|
168
|
+ <data name="Hello" xml:space="preserve">
|
|
|
169
|
+ <value>Hello</value>
|
|
|
170
|
+ </data>
|
|
|
171
|
+ <data name="In" xml:space="preserve">
|
|
|
172
|
+ <value>In</value>
|
|
|
173
|
+ </data>
|
|
|
174
|
+ <data name="Language" xml:space="preserve">
|
|
|
175
|
+ <value>Language</value>
|
|
|
176
|
+ </data>
|
|
|
177
|
+ <data name="Logout" xml:space="preserve">
|
|
|
178
|
+ <value>Logout</value>
|
|
|
179
|
+ </data>
|
|
|
180
|
+ <data name="LotNo" xml:space="preserve">
|
|
|
181
|
+ <value>Lot No.</value>
|
|
|
182
|
+ </data>
|
|
|
183
|
+ <data name="Middle" xml:space="preserve">
|
|
|
184
|
+ <value>Middle</value>
|
|
|
185
|
+ </data>
|
|
|
186
|
+ <data name="Out" xml:space="preserve">
|
|
|
187
|
+ <value>Out</value>
|
|
|
188
|
+ </data>
|
|
|
189
|
+ <data name="Point" xml:space="preserve">
|
|
|
190
|
+ <value>Point</value>
|
|
|
191
|
+ </data>
|
|
|
192
|
+ <data name="Print" xml:space="preserve">
|
|
|
193
|
+ <value>Print</value>
|
|
|
194
|
+ </data>
|
|
|
195
|
+ <data name="ProductNo" xml:space="preserve">
|
|
|
196
|
+ <value>Product No</value>
|
|
|
197
|
+ </data>
|
|
|
198
|
+ <data name="ResultGrade" xml:space="preserve">
|
|
|
199
|
+ <value>Result Grade</value>
|
|
|
200
|
+ </data>
|
|
|
201
|
+ <data name="Sampling" xml:space="preserve">
|
|
|
202
|
+ <value>Sampling</value>
|
|
|
203
|
+ </data>
|
|
|
204
|
+ <data name="Save" xml:space="preserve">
|
|
|
205
|
+ <value>Save</value>
|
|
|
206
|
+ </data>
|
|
|
207
|
+ <data name="Settings" xml:space="preserve">
|
|
|
208
|
+ <value>Settings</value>
|
|
|
209
|
+ </data>
|
|
|
210
|
+ <data name="Shape" xml:space="preserve">
|
|
|
211
|
+ <value>Shape</value>
|
|
|
212
|
+ </data>
|
|
|
213
|
+ <data name="Size" xml:space="preserve">
|
|
|
214
|
+ <value>Size</value>
|
|
|
215
|
+ </data>
|
|
|
216
|
+ <data name="Spec" xml:space="preserve">
|
|
|
217
|
+ <value>Spec</value>
|
|
|
218
|
+ </data>
|
|
|
219
|
+ <data name="Undo" xml:space="preserve">
|
|
|
220
|
+ <value>Undo</value>
|
|
|
221
|
+ </data>
|
|
|
222
|
+ <data name="UsingTime" xml:space="preserve">
|
|
|
223
|
+ <value>Using Time</value>
|
|
|
224
|
+ </data>
|
|
|
225
|
+ <data name="View" xml:space="preserve">
|
|
|
226
|
+ <value>View</value>
|
|
|
227
|
+ </data>
|
|
|
228
|
+ <data name="ViewMode" xml:space="preserve">
|
|
|
229
|
+ <value>View</value>
|
|
|
230
|
+ </data>
|
|
|
231
|
+ <data name="Window" xml:space="preserve">
|
|
|
232
|
+ <value>Window</value>
|
|
|
233
|
+ </data>
|
|
234
|
234
|
</root>
|
|
|
@@ -1,234 +1,234 @@
|
|
1
|
|
-<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
|
-<root>
|
|
3
|
|
- <!--
|
|
4
|
|
- Microsoft ResX Schema
|
|
5
|
|
-
|
|
6
|
|
- Version 2.0
|
|
7
|
|
-
|
|
8
|
|
- The primary goals of this format is to allow a simple XML format
|
|
9
|
|
- that is mostly human readable. The generation and parsing of the
|
|
10
|
|
- various data types are done through the TypeConverter classes
|
|
11
|
|
- associated with the data types.
|
|
12
|
|
-
|
|
13
|
|
- Example:
|
|
14
|
|
-
|
|
15
|
|
- ... ado.net/XML headers & schema ...
|
|
16
|
|
- <resheader name="resmimetype">text/microsoft-resx</resheader>
|
|
17
|
|
- <resheader name="version">2.0</resheader>
|
|
18
|
|
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
|
19
|
|
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
|
20
|
|
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
|
21
|
|
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
|
22
|
|
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
|
23
|
|
- <value>[base64 mime encoded serialized .NET Framework object]</value>
|
|
24
|
|
- </data>
|
|
25
|
|
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
26
|
|
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
|
27
|
|
- <comment>This is a comment</comment>
|
|
28
|
|
- </data>
|
|
29
|
|
-
|
|
30
|
|
- There are any number of "resheader" rows that contain simple
|
|
31
|
|
- name/value pairs.
|
|
32
|
|
-
|
|
33
|
|
- Each data row contains a name, and value. The row also contains a
|
|
34
|
|
- type or mimetype. Type corresponds to a .NET class that support
|
|
35
|
|
- text/value conversion through the TypeConverter architecture.
|
|
36
|
|
- Classes that don't support this are serialized and stored with the
|
|
37
|
|
- mimetype set.
|
|
38
|
|
-
|
|
39
|
|
- The mimetype is used for serialized objects, and tells the
|
|
40
|
|
- ResXResourceReader how to depersist the object. This is currently not
|
|
41
|
|
- extensible. For a given mimetype the value must be set accordingly:
|
|
42
|
|
-
|
|
43
|
|
- Note - application/x-microsoft.net.object.binary.base64 is the format
|
|
44
|
|
- that the ResXResourceWriter will generate, however the reader can
|
|
45
|
|
- read any of the formats listed below.
|
|
46
|
|
-
|
|
47
|
|
- mimetype: application/x-microsoft.net.object.binary.base64
|
|
48
|
|
- value : The object must be serialized with
|
|
49
|
|
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
|
50
|
|
- : and then encoded with base64 encoding.
|
|
51
|
|
-
|
|
52
|
|
- mimetype: application/x-microsoft.net.object.soap.base64
|
|
53
|
|
- value : The object must be serialized with
|
|
54
|
|
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
|
55
|
|
- : and then encoded with base64 encoding.
|
|
56
|
|
-
|
|
57
|
|
- mimetype: application/x-microsoft.net.object.bytearray.base64
|
|
58
|
|
- value : The object must be serialized into a byte array
|
|
59
|
|
- : using a System.ComponentModel.TypeConverter
|
|
60
|
|
- : and then encoded with base64 encoding.
|
|
61
|
|
- -->
|
|
62
|
|
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
|
63
|
|
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
|
64
|
|
- <xsd:element name="root" msdata:IsDataSet="true">
|
|
65
|
|
- <xsd:complexType>
|
|
66
|
|
- <xsd:choice maxOccurs="unbounded">
|
|
67
|
|
- <xsd:element name="metadata">
|
|
68
|
|
- <xsd:complexType>
|
|
69
|
|
- <xsd:sequence>
|
|
70
|
|
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
|
|
71
|
|
- </xsd:sequence>
|
|
72
|
|
- <xsd:attribute name="name" use="required" type="xsd:string" />
|
|
73
|
|
- <xsd:attribute name="type" type="xsd:string" />
|
|
74
|
|
- <xsd:attribute name="mimetype" type="xsd:string" />
|
|
75
|
|
- <xsd:attribute ref="xml:space" />
|
|
76
|
|
- </xsd:complexType>
|
|
77
|
|
- </xsd:element>
|
|
78
|
|
- <xsd:element name="assembly">
|
|
79
|
|
- <xsd:complexType>
|
|
80
|
|
- <xsd:attribute name="alias" type="xsd:string" />
|
|
81
|
|
- <xsd:attribute name="name" type="xsd:string" />
|
|
82
|
|
- </xsd:complexType>
|
|
83
|
|
- </xsd:element>
|
|
84
|
|
- <xsd:element name="data">
|
|
85
|
|
- <xsd:complexType>
|
|
86
|
|
- <xsd:sequence>
|
|
87
|
|
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
88
|
|
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
|
89
|
|
- </xsd:sequence>
|
|
90
|
|
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
|
91
|
|
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
|
92
|
|
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
|
93
|
|
- <xsd:attribute ref="xml:space" />
|
|
94
|
|
- </xsd:complexType>
|
|
95
|
|
- </xsd:element>
|
|
96
|
|
- <xsd:element name="resheader">
|
|
97
|
|
- <xsd:complexType>
|
|
98
|
|
- <xsd:sequence>
|
|
99
|
|
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
100
|
|
- </xsd:sequence>
|
|
101
|
|
- <xsd:attribute name="name" type="xsd:string" use="required" />
|
|
102
|
|
- </xsd:complexType>
|
|
103
|
|
- </xsd:element>
|
|
104
|
|
- </xsd:choice>
|
|
105
|
|
- </xsd:complexType>
|
|
106
|
|
- </xsd:element>
|
|
107
|
|
- </xsd:schema>
|
|
108
|
|
- <resheader name="resmimetype">
|
|
109
|
|
- <value>text/microsoft-resx</value>
|
|
110
|
|
- </resheader>
|
|
111
|
|
- <resheader name="version">
|
|
112
|
|
- <value>2.0</value>
|
|
113
|
|
- </resheader>
|
|
114
|
|
- <resheader name="reader">
|
|
115
|
|
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
116
|
|
- </resheader>
|
|
117
|
|
- <resheader name="writer">
|
|
118
|
|
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
119
|
|
- </resheader>
|
|
120
|
|
- <data name="AddColumn" xml:space="preserve">
|
|
121
|
|
- <value>เพิ่มคอลัมน์</value>
|
|
122
|
|
- </data>
|
|
123
|
|
- <data name="AddIn" xml:space="preserve">
|
|
124
|
|
- <value>Add IN*</value>
|
|
125
|
|
- </data>
|
|
126
|
|
- <data name="AddMiddle" xml:space="preserve">
|
|
127
|
|
- <value>เพิ่มช่วงกลาง</value>
|
|
128
|
|
- </data>
|
|
129
|
|
- <data name="AddRow" xml:space="preserve">
|
|
130
|
|
- <value>เพิ่มแถว</value>
|
|
131
|
|
- </data>
|
|
132
|
|
- <data name="Agreement" xml:space="preserve">
|
|
133
|
|
- <value>ข้อตกลง</value>
|
|
134
|
|
- </data>
|
|
135
|
|
- <data name="Average" xml:space="preserve">
|
|
136
|
|
- <value>ค่าเฉลี่ย</value>
|
|
137
|
|
- </data>
|
|
138
|
|
- <data name="Code" xml:space="preserve">
|
|
139
|
|
- <value>รหัส</value>
|
|
140
|
|
- </data>
|
|
141
|
|
- <data name="Commit" xml:space="preserve">
|
|
142
|
|
- <value>เก็บข้อมูล</value>
|
|
143
|
|
- </data>
|
|
144
|
|
- <data name="Condition" xml:space="preserve">
|
|
145
|
|
- <value>เงื่อนไข</value>
|
|
146
|
|
- </data>
|
|
147
|
|
- <data name="Customer" xml:space="preserve">
|
|
148
|
|
- <value>ลูกค้า</value>
|
|
149
|
|
- </data>
|
|
150
|
|
- <data name="DailyCheck" xml:space="preserve">
|
|
151
|
|
- <value>ตรวจรายวัน</value>
|
|
152
|
|
- </data>
|
|
153
|
|
- <data name="Delete" xml:space="preserve">
|
|
154
|
|
- <value>ลบ</value>
|
|
155
|
|
- </data>
|
|
156
|
|
- <data name="File" xml:space="preserve">
|
|
157
|
|
- <value>แฟ้ม</value>
|
|
158
|
|
- </data>
|
|
159
|
|
- <data name="Find" xml:space="preserve">
|
|
160
|
|
- <value>ค้นหา</value>
|
|
161
|
|
- </data>
|
|
162
|
|
- <data name="FullScreen" xml:space="preserve">
|
|
163
|
|
- <value>เต็มจอ</value>
|
|
164
|
|
- </data>
|
|
165
|
|
- <data name="Grade" xml:space="preserve">
|
|
166
|
|
- <value>เกรด</value>
|
|
167
|
|
- </data>
|
|
168
|
|
- <data name="Hello" xml:space="preserve">
|
|
169
|
|
- <value>สวัสดีครับ</value>
|
|
170
|
|
- </data>
|
|
171
|
|
- <data name="In" xml:space="preserve">
|
|
172
|
|
- <value>ใน</value>
|
|
173
|
|
- </data>
|
|
174
|
|
- <data name="Language" xml:space="preserve">
|
|
175
|
|
- <value>ภาษา</value>
|
|
176
|
|
- </data>
|
|
177
|
|
- <data name="Logout" xml:space="preserve">
|
|
178
|
|
- <value>ออกจากระบบ</value>
|
|
179
|
|
- </data>
|
|
180
|
|
- <data name="LotNo" xml:space="preserve">
|
|
181
|
|
- <value>หมายเลข Lot</value>
|
|
182
|
|
- </data>
|
|
183
|
|
- <data name="Middle" xml:space="preserve">
|
|
184
|
|
- <value>กลาง</value>
|
|
185
|
|
- </data>
|
|
186
|
|
- <data name="Out" xml:space="preserve">
|
|
187
|
|
- <value>นอก</value>
|
|
188
|
|
- </data>
|
|
189
|
|
- <data name="Point" xml:space="preserve">
|
|
190
|
|
- <value>จุด</value>
|
|
191
|
|
- </data>
|
|
192
|
|
- <data name="Print" xml:space="preserve">
|
|
193
|
|
- <value>พิมพ์ข้อมูล</value>
|
|
194
|
|
- </data>
|
|
195
|
|
- <data name="ProductNo" xml:space="preserve">
|
|
196
|
|
- <value>หมายเลขผลิตภันฑ์</value>
|
|
197
|
|
- </data>
|
|
198
|
|
- <data name="ResultGrade" xml:space="preserve">
|
|
199
|
|
- <value>ค่าเกรด</value>
|
|
200
|
|
- </data>
|
|
201
|
|
- <data name="Sampling" xml:space="preserve">
|
|
202
|
|
- <value>จำนวนตัวอย่าง</value>
|
|
203
|
|
- </data>
|
|
204
|
|
- <data name="Save" xml:space="preserve">
|
|
205
|
|
- <value>บันทึก</value>
|
|
206
|
|
- </data>
|
|
207
|
|
- <data name="Settings" xml:space="preserve">
|
|
208
|
|
- <value>ตั้งค่า</value>
|
|
209
|
|
- </data>
|
|
210
|
|
- <data name="Shape" xml:space="preserve">
|
|
211
|
|
- <value>รูปร่าง</value>
|
|
212
|
|
- </data>
|
|
213
|
|
- <data name="Size" xml:space="preserve">
|
|
214
|
|
- <value>ขนาด</value>
|
|
215
|
|
- </data>
|
|
216
|
|
- <data name="Spec" xml:space="preserve">
|
|
217
|
|
- <value>สเปค</value>
|
|
218
|
|
- </data>
|
|
219
|
|
- <data name="Undo" xml:space="preserve">
|
|
220
|
|
- <value>ย้อนกลับ</value>
|
|
221
|
|
- </data>
|
|
222
|
|
- <data name="UsingTime" xml:space="preserve">
|
|
223
|
|
- <value>จำนวนครั้ง</value>
|
|
224
|
|
- </data>
|
|
225
|
|
- <data name="View" xml:space="preserve">
|
|
226
|
|
- <value>เรียกดู</value>
|
|
227
|
|
- </data>
|
|
228
|
|
- <data name="ViewMode" xml:space="preserve">
|
|
229
|
|
- <value>มุมมอง</value>
|
|
230
|
|
- </data>
|
|
231
|
|
- <data name="Window" xml:space="preserve">
|
|
232
|
|
- <value>หน้าต่าง</value>
|
|
233
|
|
- </data>
|
|
|
1
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
2
|
+<root>
|
|
|
3
|
+ <!--
|
|
|
4
|
+ Microsoft ResX Schema
|
|
|
5
|
+
|
|
|
6
|
+ Version 2.0
|
|
|
7
|
+
|
|
|
8
|
+ The primary goals of this format is to allow a simple XML format
|
|
|
9
|
+ that is mostly human readable. The generation and parsing of the
|
|
|
10
|
+ various data types are done through the TypeConverter classes
|
|
|
11
|
+ associated with the data types.
|
|
|
12
|
+
|
|
|
13
|
+ Example:
|
|
|
14
|
+
|
|
|
15
|
+ ... ado.net/XML headers & schema ...
|
|
|
16
|
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
|
|
|
17
|
+ <resheader name="version">2.0</resheader>
|
|
|
18
|
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
|
|
19
|
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
|
|
20
|
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
|
|
21
|
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
|
|
22
|
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
|
|
23
|
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
|
|
|
24
|
+ </data>
|
|
|
25
|
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
|
26
|
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
|
|
27
|
+ <comment>This is a comment</comment>
|
|
|
28
|
+ </data>
|
|
|
29
|
+
|
|
|
30
|
+ There are any number of "resheader" rows that contain simple
|
|
|
31
|
+ name/value pairs.
|
|
|
32
|
+
|
|
|
33
|
+ Each data row contains a name, and value. The row also contains a
|
|
|
34
|
+ type or mimetype. Type corresponds to a .NET class that support
|
|
|
35
|
+ text/value conversion through the TypeConverter architecture.
|
|
|
36
|
+ Classes that don't support this are serialized and stored with the
|
|
|
37
|
+ mimetype set.
|
|
|
38
|
+
|
|
|
39
|
+ The mimetype is used for serialized objects, and tells the
|
|
|
40
|
+ ResXResourceReader how to depersist the object. This is currently not
|
|
|
41
|
+ extensible. For a given mimetype the value must be set accordingly:
|
|
|
42
|
+
|
|
|
43
|
+ Note - application/x-microsoft.net.object.binary.base64 is the format
|
|
|
44
|
+ that the ResXResourceWriter will generate, however the reader can
|
|
|
45
|
+ read any of the formats listed below.
|
|
|
46
|
+
|
|
|
47
|
+ mimetype: application/x-microsoft.net.object.binary.base64
|
|
|
48
|
+ value : The object must be serialized with
|
|
|
49
|
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
|
|
50
|
+ : and then encoded with base64 encoding.
|
|
|
51
|
+
|
|
|
52
|
+ mimetype: application/x-microsoft.net.object.soap.base64
|
|
|
53
|
+ value : The object must be serialized with
|
|
|
54
|
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
|
|
55
|
+ : and then encoded with base64 encoding.
|
|
|
56
|
+
|
|
|
57
|
+ mimetype: application/x-microsoft.net.object.bytearray.base64
|
|
|
58
|
+ value : The object must be serialized into a byte array
|
|
|
59
|
+ : using a System.ComponentModel.TypeConverter
|
|
|
60
|
+ : and then encoded with base64 encoding.
|
|
|
61
|
+ -->
|
|
|
62
|
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
|
|
63
|
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
|
|
64
|
+ <xsd:element name="root" msdata:IsDataSet="true">
|
|
|
65
|
+ <xsd:complexType>
|
|
|
66
|
+ <xsd:choice maxOccurs="unbounded">
|
|
|
67
|
+ <xsd:element name="metadata">
|
|
|
68
|
+ <xsd:complexType>
|
|
|
69
|
+ <xsd:sequence>
|
|
|
70
|
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
|
|
|
71
|
+ </xsd:sequence>
|
|
|
72
|
+ <xsd:attribute name="name" use="required" type="xsd:string" />
|
|
|
73
|
+ <xsd:attribute name="type" type="xsd:string" />
|
|
|
74
|
+ <xsd:attribute name="mimetype" type="xsd:string" />
|
|
|
75
|
+ <xsd:attribute ref="xml:space" />
|
|
|
76
|
+ </xsd:complexType>
|
|
|
77
|
+ </xsd:element>
|
|
|
78
|
+ <xsd:element name="assembly">
|
|
|
79
|
+ <xsd:complexType>
|
|
|
80
|
+ <xsd:attribute name="alias" type="xsd:string" />
|
|
|
81
|
+ <xsd:attribute name="name" type="xsd:string" />
|
|
|
82
|
+ </xsd:complexType>
|
|
|
83
|
+ </xsd:element>
|
|
|
84
|
+ <xsd:element name="data">
|
|
|
85
|
+ <xsd:complexType>
|
|
|
86
|
+ <xsd:sequence>
|
|
|
87
|
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
|
88
|
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
|
|
89
|
+ </xsd:sequence>
|
|
|
90
|
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
|
|
91
|
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
|
|
92
|
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
|
|
93
|
+ <xsd:attribute ref="xml:space" />
|
|
|
94
|
+ </xsd:complexType>
|
|
|
95
|
+ </xsd:element>
|
|
|
96
|
+ <xsd:element name="resheader">
|
|
|
97
|
+ <xsd:complexType>
|
|
|
98
|
+ <xsd:sequence>
|
|
|
99
|
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
|
100
|
+ </xsd:sequence>
|
|
|
101
|
+ <xsd:attribute name="name" type="xsd:string" use="required" />
|
|
|
102
|
+ </xsd:complexType>
|
|
|
103
|
+ </xsd:element>
|
|
|
104
|
+ </xsd:choice>
|
|
|
105
|
+ </xsd:complexType>
|
|
|
106
|
+ </xsd:element>
|
|
|
107
|
+ </xsd:schema>
|
|
|
108
|
+ <resheader name="resmimetype">
|
|
|
109
|
+ <value>text/microsoft-resx</value>
|
|
|
110
|
+ </resheader>
|
|
|
111
|
+ <resheader name="version">
|
|
|
112
|
+ <value>2.0</value>
|
|
|
113
|
+ </resheader>
|
|
|
114
|
+ <resheader name="reader">
|
|
|
115
|
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
|
116
|
+ </resheader>
|
|
|
117
|
+ <resheader name="writer">
|
|
|
118
|
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
|
119
|
+ </resheader>
|
|
|
120
|
+ <data name="AddColumn" xml:space="preserve">
|
|
|
121
|
+ <value>เพิ่มคอลัมน์</value>
|
|
|
122
|
+ </data>
|
|
|
123
|
+ <data name="AddIn" xml:space="preserve">
|
|
|
124
|
+ <value>Add IN*</value>
|
|
|
125
|
+ </data>
|
|
|
126
|
+ <data name="AddMiddle" xml:space="preserve">
|
|
|
127
|
+ <value>เพิ่มช่วงกลาง</value>
|
|
|
128
|
+ </data>
|
|
|
129
|
+ <data name="AddRow" xml:space="preserve">
|
|
|
130
|
+ <value>เพิ่มแถว</value>
|
|
|
131
|
+ </data>
|
|
|
132
|
+ <data name="Agreement" xml:space="preserve">
|
|
|
133
|
+ <value>ข้อตกลง</value>
|
|
|
134
|
+ </data>
|
|
|
135
|
+ <data name="Average" xml:space="preserve">
|
|
|
136
|
+ <value>ค่าเฉลี่ย</value>
|
|
|
137
|
+ </data>
|
|
|
138
|
+ <data name="Code" xml:space="preserve">
|
|
|
139
|
+ <value>รหัส</value>
|
|
|
140
|
+ </data>
|
|
|
141
|
+ <data name="Commit" xml:space="preserve">
|
|
|
142
|
+ <value>เก็บข้อมูล</value>
|
|
|
143
|
+ </data>
|
|
|
144
|
+ <data name="Condition" xml:space="preserve">
|
|
|
145
|
+ <value>เงื่อนไข</value>
|
|
|
146
|
+ </data>
|
|
|
147
|
+ <data name="Customer" xml:space="preserve">
|
|
|
148
|
+ <value>ลูกค้า</value>
|
|
|
149
|
+ </data>
|
|
|
150
|
+ <data name="DailyCheck" xml:space="preserve">
|
|
|
151
|
+ <value>ตรวจรายวัน</value>
|
|
|
152
|
+ </data>
|
|
|
153
|
+ <data name="Delete" xml:space="preserve">
|
|
|
154
|
+ <value>ลบ</value>
|
|
|
155
|
+ </data>
|
|
|
156
|
+ <data name="File" xml:space="preserve">
|
|
|
157
|
+ <value>แฟ้ม</value>
|
|
|
158
|
+ </data>
|
|
|
159
|
+ <data name="Find" xml:space="preserve">
|
|
|
160
|
+ <value>ค้นหา</value>
|
|
|
161
|
+ </data>
|
|
|
162
|
+ <data name="FullScreen" xml:space="preserve">
|
|
|
163
|
+ <value>เต็มจอ</value>
|
|
|
164
|
+ </data>
|
|
|
165
|
+ <data name="Grade" xml:space="preserve">
|
|
|
166
|
+ <value>เกรด</value>
|
|
|
167
|
+ </data>
|
|
|
168
|
+ <data name="Hello" xml:space="preserve">
|
|
|
169
|
+ <value>สวัสดีครับ</value>
|
|
|
170
|
+ </data>
|
|
|
171
|
+ <data name="In" xml:space="preserve">
|
|
|
172
|
+ <value>ใน</value>
|
|
|
173
|
+ </data>
|
|
|
174
|
+ <data name="Language" xml:space="preserve">
|
|
|
175
|
+ <value>ภาษา</value>
|
|
|
176
|
+ </data>
|
|
|
177
|
+ <data name="Logout" xml:space="preserve">
|
|
|
178
|
+ <value>ออกจากระบบ</value>
|
|
|
179
|
+ </data>
|
|
|
180
|
+ <data name="LotNo" xml:space="preserve">
|
|
|
181
|
+ <value>หมายเลข Lot</value>
|
|
|
182
|
+ </data>
|
|
|
183
|
+ <data name="Middle" xml:space="preserve">
|
|
|
184
|
+ <value>กลาง</value>
|
|
|
185
|
+ </data>
|
|
|
186
|
+ <data name="Out" xml:space="preserve">
|
|
|
187
|
+ <value>นอก</value>
|
|
|
188
|
+ </data>
|
|
|
189
|
+ <data name="Point" xml:space="preserve">
|
|
|
190
|
+ <value>จุด</value>
|
|
|
191
|
+ </data>
|
|
|
192
|
+ <data name="Print" xml:space="preserve">
|
|
|
193
|
+ <value>พิมพ์ข้อมูล</value>
|
|
|
194
|
+ </data>
|
|
|
195
|
+ <data name="ProductNo" xml:space="preserve">
|
|
|
196
|
+ <value>หมายเลขผลิตภันฑ์</value>
|
|
|
197
|
+ </data>
|
|
|
198
|
+ <data name="ResultGrade" xml:space="preserve">
|
|
|
199
|
+ <value>ค่าเกรด</value>
|
|
|
200
|
+ </data>
|
|
|
201
|
+ <data name="Sampling" xml:space="preserve">
|
|
|
202
|
+ <value>จำนวนตัวอย่าง</value>
|
|
|
203
|
+ </data>
|
|
|
204
|
+ <data name="Save" xml:space="preserve">
|
|
|
205
|
+ <value>บันทึก</value>
|
|
|
206
|
+ </data>
|
|
|
207
|
+ <data name="Settings" xml:space="preserve">
|
|
|
208
|
+ <value>ตั้งค่า</value>
|
|
|
209
|
+ </data>
|
|
|
210
|
+ <data name="Shape" xml:space="preserve">
|
|
|
211
|
+ <value>รูปร่าง</value>
|
|
|
212
|
+ </data>
|
|
|
213
|
+ <data name="Size" xml:space="preserve">
|
|
|
214
|
+ <value>ขนาด</value>
|
|
|
215
|
+ </data>
|
|
|
216
|
+ <data name="Spec" xml:space="preserve">
|
|
|
217
|
+ <value>สเปค</value>
|
|
|
218
|
+ </data>
|
|
|
219
|
+ <data name="Undo" xml:space="preserve">
|
|
|
220
|
+ <value>ย้อนกลับ</value>
|
|
|
221
|
+ </data>
|
|
|
222
|
+ <data name="UsingTime" xml:space="preserve">
|
|
|
223
|
+ <value>จำนวนครั้ง</value>
|
|
|
224
|
+ </data>
|
|
|
225
|
+ <data name="View" xml:space="preserve">
|
|
|
226
|
+ <value>เรียกดู</value>
|
|
|
227
|
+ </data>
|
|
|
228
|
+ <data name="ViewMode" xml:space="preserve">
|
|
|
229
|
+ <value>มุมมอง</value>
|
|
|
230
|
+ </data>
|
|
|
231
|
+ <data name="Window" xml:space="preserve">
|
|
|
232
|
+ <value>หน้าต่าง</value>
|
|
|
233
|
+ </data>
|
|
234
|
234
|
</root>
|
|
|
@@ -1,46 +1,46 @@
|
|
1
|
|
-//------------------------------------------------------------------------------
|
|
2
|
|
-// <auto-generated>
|
|
3
|
|
-// This code was generated by a tool.
|
|
4
|
|
-// Runtime Version:4.0.30319.42000
|
|
5
|
|
-//
|
|
6
|
|
-// Changes to this file may cause incorrect behavior and will be lost if
|
|
7
|
|
-// the code is regenerated.
|
|
8
|
|
-// </auto-generated>
|
|
9
|
|
-//------------------------------------------------------------------------------
|
|
10
|
|
-
|
|
11
|
|
-namespace WpfApplication19.Properties {
|
|
12
|
|
-
|
|
13
|
|
-
|
|
14
|
|
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
|
15
|
|
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.3.0.0")]
|
|
16
|
|
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
|
17
|
|
-
|
|
18
|
|
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
|
19
|
|
-
|
|
20
|
|
- public static Settings Default {
|
|
21
|
|
- get {
|
|
22
|
|
- return defaultInstance;
|
|
23
|
|
- }
|
|
24
|
|
- }
|
|
25
|
|
-
|
|
26
|
|
- [global::System.Configuration.ApplicationScopedSettingAttribute()]
|
|
27
|
|
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
28
|
|
- [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
|
|
29
|
|
- [global::System.Configuration.DefaultSettingValueAttribute("Data Source=|DataDirectory|\\OperatingDatabase.sdf")]
|
|
30
|
|
- public string OperatingDatabaseConnectionString {
|
|
31
|
|
- get {
|
|
32
|
|
- return ((string)(this["OperatingDatabaseConnectionString"]));
|
|
33
|
|
- }
|
|
34
|
|
- }
|
|
35
|
|
-
|
|
36
|
|
- [global::System.Configuration.ApplicationScopedSettingAttribute()]
|
|
37
|
|
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
38
|
|
- [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
|
|
39
|
|
- [global::System.Configuration.DefaultSettingValueAttribute("Data Source=|DataDirectory|\\Sample.sdf")]
|
|
40
|
|
- public string SampleConnectionString {
|
|
41
|
|
- get {
|
|
42
|
|
- return ((string)(this["SampleConnectionString"]));
|
|
43
|
|
- }
|
|
44
|
|
- }
|
|
45
|
|
- }
|
|
46
|
|
-}
|
|
|
1
|
+//------------------------------------------------------------------------------
|
|
|
2
|
+// <auto-generated>
|
|
|
3
|
+// This code was generated by a tool.
|
|
|
4
|
+// Runtime Version:4.0.30319.42000
|
|
|
5
|
+//
|
|
|
6
|
+// Changes to this file may cause incorrect behavior and will be lost if
|
|
|
7
|
+// the code is regenerated.
|
|
|
8
|
+// </auto-generated>
|
|
|
9
|
+//------------------------------------------------------------------------------
|
|
|
10
|
+
|
|
|
11
|
+namespace WpfApplication19.Properties {
|
|
|
12
|
+
|
|
|
13
|
+
|
|
|
14
|
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
|
|
15
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.3.0.0")]
|
|
|
16
|
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
|
|
17
|
+
|
|
|
18
|
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
|
|
19
|
+
|
|
|
20
|
+ public static Settings Default {
|
|
|
21
|
+ get {
|
|
|
22
|
+ return defaultInstance;
|
|
|
23
|
+ }
|
|
|
24
|
+ }
|
|
|
25
|
+
|
|
|
26
|
+ [global::System.Configuration.ApplicationScopedSettingAttribute()]
|
|
|
27
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
28
|
+ [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
|
|
|
29
|
+ [global::System.Configuration.DefaultSettingValueAttribute("Data Source=|DataDirectory|\\OperatingDatabase.sdf")]
|
|
|
30
|
+ public string OperatingDatabaseConnectionString {
|
|
|
31
|
+ get {
|
|
|
32
|
+ return ((string)(this["OperatingDatabaseConnectionString"]));
|
|
|
33
|
+ }
|
|
|
34
|
+ }
|
|
|
35
|
+
|
|
|
36
|
+ [global::System.Configuration.ApplicationScopedSettingAttribute()]
|
|
|
37
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
38
|
+ [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
|
|
|
39
|
+ [global::System.Configuration.DefaultSettingValueAttribute("Data Source=|DataDirectory|\\Sample.sdf")]
|
|
|
40
|
+ public string SampleConnectionString {
|
|
|
41
|
+ get {
|
|
|
42
|
+ return ((string)(this["SampleConnectionString"]));
|
|
|
43
|
+ }
|
|
|
44
|
+ }
|
|
|
45
|
+ }
|
|
|
46
|
+}
|
|
|
@@ -1,22 +1,22 @@
|
|
1
|
|
-<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
|
-<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="WpfApplication19.Properties" GeneratedClassName="Settings">
|
|
3
|
|
- <Profiles />
|
|
4
|
|
- <Settings>
|
|
5
|
|
- <Setting Name="OperatingDatabaseConnectionString" Type="(Connection string)" Scope="Application">
|
|
6
|
|
- <DesignTimeValue Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
|
7
|
|
-<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
8
|
|
- <ConnectionString>Data Source=|DataDirectory|\OperatingDatabase.sdf</ConnectionString>
|
|
9
|
|
- <ProviderName>Microsoft.SqlServerCe.Client.3.5</ProviderName>
|
|
10
|
|
-</SerializableConnectionString></DesignTimeValue>
|
|
11
|
|
- <Value Profile="(Default)">Data Source=|DataDirectory|\OperatingDatabase.sdf</Value>
|
|
12
|
|
- </Setting>
|
|
13
|
|
- <Setting Name="SampleConnectionString" Type="(Connection string)" Scope="Application">
|
|
14
|
|
- <DesignTimeValue Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
|
15
|
|
-<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
16
|
|
- <ConnectionString>Data Source=|DataDirectory|\Sample.sdf</ConnectionString>
|
|
17
|
|
- <ProviderName>Microsoft.SqlServerCe.Client.3.5</ProviderName>
|
|
18
|
|
-</SerializableConnectionString></DesignTimeValue>
|
|
19
|
|
- <Value Profile="(Default)">Data Source=|DataDirectory|\Sample.sdf</Value>
|
|
20
|
|
- </Setting>
|
|
21
|
|
- </Settings>
|
|
|
1
|
+<?xml version='1.0' encoding='utf-8'?>
|
|
|
2
|
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="WpfApplication19.Properties" GeneratedClassName="Settings">
|
|
|
3
|
+ <Profiles />
|
|
|
4
|
+ <Settings>
|
|
|
5
|
+ <Setting Name="OperatingDatabaseConnectionString" Type="(Connection string)" Scope="Application">
|
|
|
6
|
+ <DesignTimeValue Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
|
|
7
|
+<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
|
8
|
+ <ConnectionString>Data Source=|DataDirectory|\OperatingDatabase.sdf</ConnectionString>
|
|
|
9
|
+ <ProviderName>Microsoft.SqlServerCe.Client.3.5</ProviderName>
|
|
|
10
|
+</SerializableConnectionString></DesignTimeValue>
|
|
|
11
|
+ <Value Profile="(Default)">Data Source=|DataDirectory|\OperatingDatabase.sdf</Value>
|
|
|
12
|
+ </Setting>
|
|
|
13
|
+ <Setting Name="SampleConnectionString" Type="(Connection string)" Scope="Application">
|
|
|
14
|
+ <DesignTimeValue Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
|
|
15
|
+<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
|
16
|
+ <ConnectionString>Data Source=|DataDirectory|\Sample.sdf</ConnectionString>
|
|
|
17
|
+ <ProviderName>Microsoft.SqlServerCe.Client.3.5</ProviderName>
|
|
|
18
|
+</SerializableConnectionString></DesignTimeValue>
|
|
|
19
|
+ <Value Profile="(Default)">Data Source=|DataDirectory|\Sample.sdf</Value>
|
|
|
20
|
+ </Setting>
|
|
|
21
|
+ </Settings>
|
|
22
|
22
|
</SettingsFile>
|
|
|
@@ -1,19 +1,19 @@
|
|
1
|
|
-<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
|
-<xs:schema id="SampleDataSet" targetNamespace="http://tempuri.org/SampleDataSet.xsd" xmlns:mstns="http://tempuri.org/SampleDataSet.xsd" xmlns="http://tempuri.org/SampleDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
|
|
3
|
|
- <xs:annotation>
|
|
4
|
|
- <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
|
5
|
|
- <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
6
|
|
- <Connections>
|
|
7
|
|
- <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="SampleConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SampleConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.WpfApplication19.Properties.Settings.GlobalReference.Default.SampleConnectionString" Provider="Microsoft.SqlServerCe.Client.3.5" />
|
|
8
|
|
- </Connections>
|
|
9
|
|
- <Tables />
|
|
10
|
|
- <Sources />
|
|
11
|
|
- </DataSource>
|
|
12
|
|
- </xs:appinfo>
|
|
13
|
|
- </xs:annotation>
|
|
14
|
|
- <xs:element name="SampleDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="SampleDataSet" msprop:Generator_UserDSName="SampleDataSet">
|
|
15
|
|
- <xs:complexType>
|
|
16
|
|
- <xs:choice minOccurs="0" maxOccurs="unbounded" />
|
|
17
|
|
- </xs:complexType>
|
|
18
|
|
- </xs:element>
|
|
|
1
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
2
|
+<xs:schema id="SampleDataSet" targetNamespace="http://tempuri.org/SampleDataSet.xsd" xmlns:mstns="http://tempuri.org/SampleDataSet.xsd" xmlns="http://tempuri.org/SampleDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
|
|
|
3
|
+ <xs:annotation>
|
|
|
4
|
+ <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
|
|
|
5
|
+ <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
|
6
|
+ <Connections>
|
|
|
7
|
+ <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="SampleConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SampleConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.WpfApplication19.Properties.Settings.GlobalReference.Default.SampleConnectionString" Provider="Microsoft.SqlServerCe.Client.3.5" />
|
|
|
8
|
+ </Connections>
|
|
|
9
|
+ <Tables />
|
|
|
10
|
+ <Sources />
|
|
|
11
|
+ </DataSource>
|
|
|
12
|
+ </xs:appinfo>
|
|
|
13
|
+ </xs:annotation>
|
|
|
14
|
+ <xs:element name="SampleDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="SampleDataSet" msprop:Generator_UserDSName="SampleDataSet">
|
|
|
15
|
+ <xs:complexType>
|
|
|
16
|
+ <xs:choice minOccurs="0" maxOccurs="unbounded" />
|
|
|
17
|
+ </xs:complexType>
|
|
|
18
|
+ </xs:element>
|
|
19
|
19
|
</xs:schema>
|
|
|
@@ -1,13 +1,13 @@
|
|
1
|
|
-<Window x:Class="WpfApplication19.SearchAgreement"
|
|
2
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
3
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
4
|
|
- Title="Agreement Finder" Height="120" Width="448" Loaded="Window_Loaded" Icon="/WpfApplication19;component/Images/Icon_Agreement.jpg">
|
|
5
|
|
- <Viewbox Stretch="Uniform">
|
|
6
|
|
- <Grid Width="387" Height="61" Visibility="Visible">
|
|
7
|
|
- <Button Content="View" Height="23" HorizontalAlignment="Left" Margin="296,12,0,0" Name="searchAgreementBtn" VerticalAlignment="Top" Width="81" Click="searchAgreementBtn_Click" IsDefault="True" />
|
|
8
|
|
- <TextBox Height="23" HorizontalAlignment="Left" Margin="68,11,0,0" Name="agreementInput" VerticalAlignment="Top" Width="217" AutoWordSelection="True" ToolTip="Type Agreement Number" />
|
|
9
|
|
- <Image Height="38" HorizontalAlignment="Left" Margin="10,4,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="43" Source="/WpfApplication19;component/Images/Icon_Agreement.jpg" />
|
|
10
|
|
- <TextBlock Height="23" HorizontalAlignment="Left" Margin="67,36,0,0" Name="warning" Text="TextBlock" VerticalAlignment="Top" Width="219" TextAlignment="Center" Foreground="#FFFF0707" Padding="0,2" Visibility="Collapsed" />
|
|
11
|
|
- </Grid>
|
|
12
|
|
- </Viewbox>
|
|
13
|
|
-</Window>
|
|
|
1
|
+<Window x:Class="WpfApplication19.SearchAgreement"
|
|
|
2
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
3
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
4
|
+ Title="Agreement Finder" Height="120" Width="448" Loaded="Window_Loaded" Icon="/WpfApplication19;component/Images/Icon_Agreement.jpg">
|
|
|
5
|
+ <Viewbox Stretch="Uniform">
|
|
|
6
|
+ <Grid Width="387" Height="61" Visibility="Visible">
|
|
|
7
|
+ <Button Content="View" Height="23" HorizontalAlignment="Left" Margin="296,12,0,0" Name="searchAgreementBtn" VerticalAlignment="Top" Width="81" Click="searchAgreementBtn_Click" IsDefault="True" />
|
|
|
8
|
+ <TextBox Height="23" HorizontalAlignment="Left" Margin="68,11,0,0" Name="agreementInput" VerticalAlignment="Top" Width="217" AutoWordSelection="True" ToolTip="Type Agreement Number" />
|
|
|
9
|
+ <Image Height="38" HorizontalAlignment="Left" Margin="10,4,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="43" Source="/WpfApplication19;component/Images/Icon_Agreement.jpg" />
|
|
|
10
|
+ <TextBlock Height="23" HorizontalAlignment="Left" Margin="67,36,0,0" Name="warning" Text="TextBlock" VerticalAlignment="Top" Width="219" TextAlignment="Center" Foreground="#FFFF0707" Padding="0,2" Visibility="Collapsed" />
|
|
|
11
|
+ </Grid>
|
|
|
12
|
+ </Viewbox>
|
|
|
13
|
+</Window>
|
|
|
@@ -1,77 +1,77 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-using System.Windows;
|
|
6
|
|
-using System.Windows.Controls;
|
|
7
|
|
-using System.Windows.Data;
|
|
8
|
|
-using System.Windows.Documents;
|
|
9
|
|
-using System.Windows.Input;
|
|
10
|
|
-using System.Windows.Media;
|
|
11
|
|
-using System.Windows.Media.Imaging;
|
|
12
|
|
-using System.Windows.Shapes;
|
|
13
|
|
-using System.ComponentModel;
|
|
14
|
|
-namespace WpfApplication19
|
|
15
|
|
-{
|
|
16
|
|
- /// <summary>
|
|
17
|
|
- /// Interaction logic for SearchAgreement.xaml
|
|
18
|
|
- /// </summary>
|
|
19
|
|
- public partial class SearchAgreement : Window
|
|
20
|
|
- {
|
|
21
|
|
- public SearchAgreement()
|
|
22
|
|
- {
|
|
23
|
|
- InitializeComponent();
|
|
24
|
|
- }
|
|
25
|
|
-
|
|
26
|
|
- private void Window_Loaded(object sender, RoutedEventArgs e)
|
|
27
|
|
- {
|
|
28
|
|
-
|
|
29
|
|
- }
|
|
30
|
|
-
|
|
31
|
|
- private void searchAgreementBtn_Click(object sender, RoutedEventArgs e)
|
|
32
|
|
- {
|
|
33
|
|
- var fileName = agreementInput.Text;
|
|
34
|
|
- try
|
|
35
|
|
- {
|
|
36
|
|
- //System.Diagnostics.Process.Start(@"agreements\" + fileName);
|
|
37
|
|
-
|
|
38
|
|
- var server = Utils.getSetting("webServerURL");
|
|
39
|
|
- string data = string.Format(@"title={0}&empid={1}&password={2}", fileName, GlobalVars.user.empid, GlobalVars.user.password);
|
|
40
|
|
- WebAppConnector wp = new WebAppConnector()
|
|
41
|
|
- {
|
|
42
|
|
-
|
|
43
|
|
- Uri = Utils.getSetting("webServerURL") + "/agreements/title.json",
|
|
44
|
|
- Method = "POST",
|
|
45
|
|
- PostData = data
|
|
46
|
|
- };
|
|
47
|
|
- Response r = null;
|
|
48
|
|
- try
|
|
49
|
|
- {
|
|
50
|
|
- r = wp.sendRequest();
|
|
51
|
|
- }
|
|
52
|
|
- catch
|
|
53
|
|
- {
|
|
54
|
|
- MessageBox.Show("Cannot connect to webserver :" + server);
|
|
55
|
|
- return;
|
|
56
|
|
- }
|
|
57
|
|
- string ans = (string)r.jsonBody["msg"];
|
|
58
|
|
- //Console.WriteLine((JArray)r.jsonBody["roles"]);
|
|
59
|
|
-
|
|
60
|
|
- if (r.status == "OK" && ans == "y")
|
|
61
|
|
- {
|
|
62
|
|
- System.Diagnostics.Process.Start(server + (string)r.jsonBody["url"]);
|
|
63
|
|
-
|
|
64
|
|
- }
|
|
65
|
|
- else
|
|
66
|
|
- {
|
|
67
|
|
- warning.Text = "Agreement: "+fileName+" Not Founded";
|
|
68
|
|
- warning.Visibility = Visibility.Visible;
|
|
69
|
|
- }
|
|
70
|
|
- }
|
|
71
|
|
- catch (Win32Exception ew)
|
|
72
|
|
- {
|
|
73
|
|
- MessageBox.Show(ew.Message);
|
|
74
|
|
- }
|
|
75
|
|
- }
|
|
76
|
|
- }
|
|
77
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+using System.Windows;
|
|
|
6
|
+using System.Windows.Controls;
|
|
|
7
|
+using System.Windows.Data;
|
|
|
8
|
+using System.Windows.Documents;
|
|
|
9
|
+using System.Windows.Input;
|
|
|
10
|
+using System.Windows.Media;
|
|
|
11
|
+using System.Windows.Media.Imaging;
|
|
|
12
|
+using System.Windows.Shapes;
|
|
|
13
|
+using System.ComponentModel;
|
|
|
14
|
+namespace WpfApplication19
|
|
|
15
|
+{
|
|
|
16
|
+ /// <summary>
|
|
|
17
|
+ /// Interaction logic for SearchAgreement.xaml
|
|
|
18
|
+ /// </summary>
|
|
|
19
|
+ public partial class SearchAgreement : Window
|
|
|
20
|
+ {
|
|
|
21
|
+ public SearchAgreement()
|
|
|
22
|
+ {
|
|
|
23
|
+ InitializeComponent();
|
|
|
24
|
+ }
|
|
|
25
|
+
|
|
|
26
|
+ private void Window_Loaded(object sender, RoutedEventArgs e)
|
|
|
27
|
+ {
|
|
|
28
|
+
|
|
|
29
|
+ }
|
|
|
30
|
+
|
|
|
31
|
+ private void searchAgreementBtn_Click(object sender, RoutedEventArgs e)
|
|
|
32
|
+ {
|
|
|
33
|
+ var fileName = agreementInput.Text;
|
|
|
34
|
+ try
|
|
|
35
|
+ {
|
|
|
36
|
+ //System.Diagnostics.Process.Start(@"agreements\" + fileName);
|
|
|
37
|
+
|
|
|
38
|
+ var server = Utils.getSetting("webServerURL");
|
|
|
39
|
+ string data = string.Format(@"title={0}&empid={1}&password={2}", fileName, GlobalVars.user.empid, GlobalVars.user.password);
|
|
|
40
|
+ WebAppConnector wp = new WebAppConnector()
|
|
|
41
|
+ {
|
|
|
42
|
+
|
|
|
43
|
+ Uri = Utils.getSetting("webServerURL") + "/agreements/title.json",
|
|
|
44
|
+ Method = "POST",
|
|
|
45
|
+ PostData = data
|
|
|
46
|
+ };
|
|
|
47
|
+ Response r = null;
|
|
|
48
|
+ try
|
|
|
49
|
+ {
|
|
|
50
|
+ r = wp.sendRequest();
|
|
|
51
|
+ }
|
|
|
52
|
+ catch
|
|
|
53
|
+ {
|
|
|
54
|
+ MessageBox.Show("Cannot connect to webserver :" + server);
|
|
|
55
|
+ return;
|
|
|
56
|
+ }
|
|
|
57
|
+ string ans = (string)r.jsonBody["msg"];
|
|
|
58
|
+ //Console.WriteLine((JArray)r.jsonBody["roles"]);
|
|
|
59
|
+
|
|
|
60
|
+ if (r.status == "OK" && ans == "y")
|
|
|
61
|
+ {
|
|
|
62
|
+ System.Diagnostics.Process.Start(server + (string)r.jsonBody["url"]);
|
|
|
63
|
+
|
|
|
64
|
+ }
|
|
|
65
|
+ else
|
|
|
66
|
+ {
|
|
|
67
|
+ warning.Text = "Agreement: "+fileName+" Not Founded";
|
|
|
68
|
+ warning.Visibility = Visibility.Visible;
|
|
|
69
|
+ }
|
|
|
70
|
+ }
|
|
|
71
|
+ catch (Win32Exception ew)
|
|
|
72
|
+ {
|
|
|
73
|
+ MessageBox.Show(ew.Message);
|
|
|
74
|
+ }
|
|
|
75
|
+ }
|
|
|
76
|
+ }
|
|
|
77
|
+}
|
|
|
@@ -1,8 +1,8 @@
|
|
1
|
|
-<Window x:Class="WpfApplication19.Setting2"
|
|
2
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
3
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
4
|
|
- Title="Setting2" Height="300" Width="486">
|
|
5
|
|
- <Grid>
|
|
6
|
|
-
|
|
7
|
|
- </Grid>
|
|
8
|
|
-</Window>
|
|
|
1
|
+<Window x:Class="WpfApplication19.Setting2"
|
|
|
2
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
3
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
4
|
+ Title="Setting2" Height="300" Width="486">
|
|
|
5
|
+ <Grid>
|
|
|
6
|
+
|
|
|
7
|
+ </Grid>
|
|
|
8
|
+</Window>
|
|
|
@@ -1,26 +1,26 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-using System.Windows;
|
|
6
|
|
-using System.Windows.Controls;
|
|
7
|
|
-using System.Windows.Data;
|
|
8
|
|
-using System.Windows.Documents;
|
|
9
|
|
-using System.Windows.Input;
|
|
10
|
|
-using System.Windows.Media;
|
|
11
|
|
-using System.Windows.Media.Imaging;
|
|
12
|
|
-using System.Windows.Shapes;
|
|
13
|
|
-
|
|
14
|
|
-namespace WpfApplication19
|
|
15
|
|
-{
|
|
16
|
|
- /// <summary>
|
|
17
|
|
- /// Interaction logic for Setting2.xaml
|
|
18
|
|
- /// </summary>
|
|
19
|
|
- public partial class Setting2 : Window
|
|
20
|
|
- {
|
|
21
|
|
- public Setting2()
|
|
22
|
|
- {
|
|
23
|
|
- InitializeComponent();
|
|
24
|
|
- }
|
|
25
|
|
- }
|
|
26
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+using System.Windows;
|
|
|
6
|
+using System.Windows.Controls;
|
|
|
7
|
+using System.Windows.Data;
|
|
|
8
|
+using System.Windows.Documents;
|
|
|
9
|
+using System.Windows.Input;
|
|
|
10
|
+using System.Windows.Media;
|
|
|
11
|
+using System.Windows.Media.Imaging;
|
|
|
12
|
+using System.Windows.Shapes;
|
|
|
13
|
+
|
|
|
14
|
+namespace WpfApplication19
|
|
|
15
|
+{
|
|
|
16
|
+ /// <summary>
|
|
|
17
|
+ /// Interaction logic for Setting2.xaml
|
|
|
18
|
+ /// </summary>
|
|
|
19
|
+ public partial class Setting2 : Window
|
|
|
20
|
+ {
|
|
|
21
|
+ public Setting2()
|
|
|
22
|
+ {
|
|
|
23
|
+ InitializeComponent();
|
|
|
24
|
+ }
|
|
|
25
|
+ }
|
|
|
26
|
+}
|
|
|
@@ -1,22 +1,22 @@
|
|
1
|
|
-<Window x:Class="WpfApplication19.Settings"
|
|
2
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
3
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
4
|
|
- Title="Settings" Height="284" Width="592" Name="SettingWindow" Loaded="init" ResizeMode="NoResize">
|
|
5
|
|
- <Grid>
|
|
6
|
|
- <Grid.RowDefinitions>
|
|
7
|
|
- <RowDefinition Height="221*" />
|
|
8
|
|
- <RowDefinition Height="33" />
|
|
9
|
|
- </Grid.RowDefinitions>
|
|
10
|
|
- <Button Content="Save" Grid.Row="1" Height="23" HorizontalAlignment="Right" Name="save" VerticalAlignment="Top" Width="75" Margin="0,5,6,0" Click="save_Click" />
|
|
11
|
|
- <Button Content="Cancel" Grid.Row="1" Height="23" HorizontalAlignment="Right" Name="cancelBtn" VerticalAlignment="Top" Width="75" Margin="0,5,91,0" Click="cancelBtn_Click" />
|
|
12
|
|
- <Label Content="Production Database" Height="28" HorizontalAlignment="Left" Margin="10,10,0,0" Name="label9" VerticalAlignment="Top" />
|
|
13
|
|
- <TextBox AcceptsReturn="True" Height="41" HorizontalAlignment="Left" Margin="18,44,0,0" MinLines="3" Name="productionDbCS" TextWrapping="Wrap" VerticalAlignment="Top" Width="443" />
|
|
14
|
|
- <Label Content="COM Port" Height="28" HorizontalAlignment="Left" Margin="42,101,0,0" Name="label6" VerticalAlignment="Top" />
|
|
15
|
|
- <ComboBox Height="23" HorizontalAlignment="Left" Margin="119,106,0,0" Name="COMPorts" VerticalAlignment="Top" Width="152" />
|
|
16
|
|
- <Button Content="Test Connection" Height="23" HorizontalAlignment="Left" Margin="294,106,0,0" Name="portTest" VerticalAlignment="Top" Width="99" Click="portTest_Click" />
|
|
17
|
|
- <Label Content="Machine Name" Height="28" HorizontalAlignment="Left" Margin="15,137,0,0" Name="label10" VerticalAlignment="Top" />
|
|
18
|
|
- <ComboBox Height="23" HorizontalAlignment="Left" Margin="119,142,0,0" Name="MachineCB" VerticalAlignment="Top" Width="152" />
|
|
19
|
|
- <Button Content="Test Connection" Height="23" HorizontalAlignment="Left" Margin="467,44,0,0" Name="testPro" VerticalAlignment="Top" Width="97" Click="testPro_Click" />
|
|
20
|
|
- <Separator Name="separator1" VerticalAlignment="Top" Height="5" Margin="0,203,0,0" />
|
|
21
|
|
- </Grid>
|
|
22
|
|
-</Window>
|
|
|
1
|
+<Window x:Class="WpfApplication19.Settings"
|
|
|
2
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
3
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
4
|
+ Title="Settings" Height="284" Width="592" Name="SettingWindow" Loaded="init" ResizeMode="NoResize">
|
|
|
5
|
+ <Grid>
|
|
|
6
|
+ <Grid.RowDefinitions>
|
|
|
7
|
+ <RowDefinition Height="221*" />
|
|
|
8
|
+ <RowDefinition Height="33" />
|
|
|
9
|
+ </Grid.RowDefinitions>
|
|
|
10
|
+ <Button Content="Save" Grid.Row="1" Height="23" HorizontalAlignment="Right" Name="save" VerticalAlignment="Top" Width="75" Margin="0,5,6,0" Click="save_Click" />
|
|
|
11
|
+ <Button Content="Cancel" Grid.Row="1" Height="23" HorizontalAlignment="Right" Name="cancelBtn" VerticalAlignment="Top" Width="75" Margin="0,5,91,0" Click="cancelBtn_Click" />
|
|
|
12
|
+ <Label Content="Production Database" Height="28" HorizontalAlignment="Left" Margin="10,10,0,0" Name="label9" VerticalAlignment="Top" />
|
|
|
13
|
+ <TextBox AcceptsReturn="True" Height="41" HorizontalAlignment="Left" Margin="18,44,0,0" MinLines="3" Name="productionDbCS" TextWrapping="Wrap" VerticalAlignment="Top" Width="443" />
|
|
|
14
|
+ <Label Content="COM Port" Height="28" HorizontalAlignment="Left" Margin="42,101,0,0" Name="label6" VerticalAlignment="Top" />
|
|
|
15
|
+ <ComboBox Height="23" HorizontalAlignment="Left" Margin="119,106,0,0" Name="COMPorts" VerticalAlignment="Top" Width="152" />
|
|
|
16
|
+ <Button Content="Test Connection" Height="23" HorizontalAlignment="Left" Margin="294,106,0,0" Name="portTest" VerticalAlignment="Top" Width="99" Click="portTest_Click" />
|
|
|
17
|
+ <Label Content="Machine Name" Height="28" HorizontalAlignment="Left" Margin="15,137,0,0" Name="label10" VerticalAlignment="Top" />
|
|
|
18
|
+ <ComboBox Height="23" HorizontalAlignment="Left" Margin="119,142,0,0" Name="MachineCB" VerticalAlignment="Top" Width="152" />
|
|
|
19
|
+ <Button Content="Test Connection" Height="23" HorizontalAlignment="Left" Margin="467,44,0,0" Name="testPro" VerticalAlignment="Top" Width="97" Click="testPro_Click" />
|
|
|
20
|
+ <Separator Name="separator1" VerticalAlignment="Top" Height="5" Margin="0,203,0,0" />
|
|
|
21
|
+ </Grid>
|
|
|
22
|
+</Window>
|
|
|
@@ -1,229 +1,229 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-using System.Windows;
|
|
6
|
|
-using System.Windows.Controls;
|
|
7
|
|
-using System.Windows.Data;
|
|
8
|
|
-using System.Windows.Documents;
|
|
9
|
|
-using System.Windows.Input;
|
|
10
|
|
-using System.Windows.Media;
|
|
11
|
|
-using System.Windows.Media.Imaging;
|
|
12
|
|
-using System.Windows.Shapes;
|
|
13
|
|
-using System.IO.Ports;
|
|
14
|
|
-using System.Configuration;
|
|
15
|
|
-using System.Data.SqlClient;
|
|
16
|
|
-using System.Data;
|
|
17
|
|
-using System.IO;
|
|
18
|
|
-using System.Runtime.Serialization.Formatters.Binary;
|
|
19
|
|
-namespace WpfApplication19
|
|
20
|
|
-{
|
|
21
|
|
- /// <summary>
|
|
22
|
|
- /// Interaction logic for Settings.xaml
|
|
23
|
|
- /// </summary>
|
|
24
|
|
- public partial class Settings : Window
|
|
25
|
|
- {
|
|
26
|
|
- SerialPort comport = new SerialPort();
|
|
27
|
|
- MainWindow _win;
|
|
28
|
|
- int _currentMachine;
|
|
29
|
|
- public Settings()
|
|
30
|
|
- {
|
|
31
|
|
- InitializeComponent();
|
|
32
|
|
- }
|
|
33
|
|
-
|
|
34
|
|
- private void init(object sender, RoutedEventArgs e)
|
|
35
|
|
- {
|
|
36
|
|
- _win = (MainWindow)Application.Current.MainWindow;
|
|
37
|
|
- //Console.WriteLine("hello");
|
|
38
|
|
- ComboBoxItem cb = new ComboBoxItem();
|
|
39
|
|
- cb.Tag = "None";
|
|
40
|
|
- cb.Content = "Select COM Port";
|
|
41
|
|
- //COMPorts.Items.Add(cb);
|
|
42
|
|
- Dictionary<string, string> friendlyPorts = Utils.BuildPortNameHash(SerialPort.GetPortNames());
|
|
43
|
|
- foreach (KeyValuePair<string, string> kvp in friendlyPorts)
|
|
44
|
|
- {
|
|
45
|
|
- //Console.WriteLine("Port '{0}' is better known as '{1}'", kvp.Key, kvp.Value);
|
|
46
|
|
- cb = new ComboBoxItem();
|
|
47
|
|
-
|
|
48
|
|
- cb.Tag = kvp.Key;
|
|
49
|
|
- cb.Content = "Port " + kvp.Key + " " + kvp.Value;
|
|
50
|
|
- COMPorts.Items.Add(cb);
|
|
51
|
|
- }
|
|
52
|
|
- foreach (ComboBoxItem item in COMPorts.Items)
|
|
53
|
|
- {
|
|
54
|
|
- if (item.Tag.ToString() == Utils.getSetting("machinePort"))
|
|
55
|
|
- {
|
|
56
|
|
- COMPorts.SelectedItem = item;
|
|
57
|
|
- //MessageBox.Show("help");
|
|
58
|
|
- }
|
|
59
|
|
- }
|
|
60
|
|
-
|
|
61
|
|
-
|
|
62
|
|
- //configDbCs.Text = Utils.getSetting("configDbCS");
|
|
63
|
|
- //masterDbCs.Text = Utils.getSetting("masterDbCS");
|
|
64
|
|
- //transDbCs.Text = Utils.getSetting("tranDbCS");
|
|
65
|
|
- productionDbCS.Text = Utils.getSetting("productionDbCS");
|
|
66
|
|
-
|
|
67
|
|
- //webServerURL.Text = Utils.getSetting("webServerURL");
|
|
68
|
|
- /*
|
|
69
|
|
- var baudRateValue = Utils.getSetting("baudRate");
|
|
70
|
|
- var dataBitsValue = Utils.getSetting("dataBits");
|
|
71
|
|
- var stopBitsValue = Utils.getSetting("stopBits");
|
|
72
|
|
- var parityValue = Utils.getSetting("parity");*/
|
|
73
|
|
- _currentMachine = Convert.ToInt32(Utils.getSetting("currentMachine"));
|
|
74
|
|
-
|
|
75
|
|
- /*
|
|
76
|
|
- setSelectBox(baudRateValue, baudRate);
|
|
77
|
|
- setSelectBox(dataBitsValue, dataBits);
|
|
78
|
|
- setSelectBox(stopBitsValue, stopBits);
|
|
79
|
|
- setSelectBox(parityValue, parity);
|
|
80
|
|
- */
|
|
81
|
|
- //Console.ReadLine();
|
|
82
|
|
-
|
|
83
|
|
-
|
|
84
|
|
- initMachineList();
|
|
85
|
|
- }
|
|
86
|
|
-
|
|
87
|
|
- void initMachineList()
|
|
88
|
|
- {
|
|
89
|
|
- SqlDataReader reader = Utils.Query(_win.proConn, "select * from machines");
|
|
90
|
|
- while (reader.Read())
|
|
91
|
|
- {
|
|
92
|
|
- var id = Convert.ToInt32(reader["id"]);
|
|
93
|
|
- var cbi = new ComboBoxItem() { Tag = id, Content = reader["name"].ToString() };
|
|
94
|
|
- MachineCB.Items.Add(cbi);
|
|
95
|
|
- if (id == _currentMachine)
|
|
96
|
|
- {
|
|
97
|
|
- MachineCB.SelectedItem = cbi;
|
|
98
|
|
- }
|
|
99
|
|
-
|
|
100
|
|
-
|
|
101
|
|
- }
|
|
102
|
|
-
|
|
103
|
|
- reader.Close();
|
|
104
|
|
- }
|
|
105
|
|
- private static void setSelectBox(string v, ComboBox cb)
|
|
106
|
|
- {
|
|
107
|
|
- foreach (ComboBoxItem item in cb.Items)
|
|
108
|
|
- {
|
|
109
|
|
- if (item.Content.ToString() == v)
|
|
110
|
|
- {
|
|
111
|
|
- cb.SelectedItem = item;
|
|
112
|
|
- //MessageBox.Show("help");
|
|
113
|
|
- }
|
|
114
|
|
- }
|
|
115
|
|
- }
|
|
116
|
|
-
|
|
117
|
|
- private void save_Click(object sender, RoutedEventArgs e)
|
|
118
|
|
- {
|
|
119
|
|
- ComboBoxItem cb = (ComboBoxItem)COMPorts.SelectedItem;
|
|
120
|
|
-
|
|
121
|
|
- if(cb != null){
|
|
122
|
|
- //debugText.Text = cb.Tag.ToString();
|
|
123
|
|
-
|
|
124
|
|
- Utils.UpdateSetting("machinePort",cb.Tag.ToString());
|
|
125
|
|
- }
|
|
126
|
|
-
|
|
127
|
|
- //Utils.UpdateSetting("configDbCS", configDbCs.Text);
|
|
128
|
|
- //Utils.UpdateSetting("masterDbCS", masterDbCs.Text);
|
|
129
|
|
- //Utils.UpdateSetting("tranDbCS", transDbCs.Text);
|
|
130
|
|
- Utils.UpdateSetting("productionDbCS", productionDbCS.Text);
|
|
131
|
|
- //Utils.UpdateSetting("baudRate", baudRate.Text);
|
|
132
|
|
- //Utils.UpdateSetting("dataBits", dataBits.Text);
|
|
133
|
|
- //Utils.UpdateSetting("stopBits", stopBits.Text);
|
|
134
|
|
- //Utils.UpdateSetting("parity", parity.Text);
|
|
135
|
|
- var cbi = MachineCB.SelectedItem as ComboBoxItem;
|
|
136
|
|
- Utils.UpdateSetting("currentMachine", cbi.Tag.ToString());
|
|
137
|
|
- //Utils.UpdateSetting("webServerURL", webServerURL.Text);
|
|
138
|
|
- this.Close();
|
|
139
|
|
- }
|
|
140
|
|
-
|
|
141
|
|
- private void testConnection_Click(object sender, RoutedEventArgs e)
|
|
142
|
|
- {
|
|
143
|
|
- connectDB();
|
|
144
|
|
-
|
|
145
|
|
- }
|
|
146
|
|
-
|
|
147
|
|
- private void connectDB()
|
|
148
|
|
- {
|
|
149
|
|
- }
|
|
150
|
|
-
|
|
151
|
|
- private void testConfig_Click(object sender, RoutedEventArgs e)
|
|
152
|
|
- {
|
|
153
|
|
- //testConnection(configDbCs.Text);
|
|
154
|
|
- }
|
|
155
|
|
-
|
|
156
|
|
- private void testConnection(string cs)
|
|
157
|
|
- {
|
|
158
|
|
- using (SqlConnection sqlConn = new SqlConnection())
|
|
159
|
|
- {
|
|
160
|
|
- try
|
|
161
|
|
- {
|
|
162
|
|
- sqlConn.ConnectionString = cs;
|
|
163
|
|
- sqlConn.Open();
|
|
164
|
|
- MessageBox.Show("Connectoin Success!!");
|
|
165
|
|
- }
|
|
166
|
|
- catch (SqlException se)
|
|
167
|
|
- {
|
|
168
|
|
- MessageBox.Show(se.Message);
|
|
169
|
|
- }
|
|
170
|
|
- }
|
|
171
|
|
- }
|
|
172
|
|
-
|
|
173
|
|
-
|
|
174
|
|
- private void portTest_Click(object sender, RoutedEventArgs e)
|
|
175
|
|
- {
|
|
176
|
|
- bool error = false;
|
|
177
|
|
- //comport.BaudRate = int.Parse(baudRate.Text);
|
|
178
|
|
- //comport.DataBits = int.Parse(dataBits.Text);
|
|
179
|
|
- //comport.StopBits = (StopBits)Enum.Parse(typeof(StopBits), stopBits.Text);
|
|
180
|
|
- //comport.Parity;
|
|
181
|
|
- ComboBoxItem cbi = (ComboBoxItem)COMPorts.SelectedItem;
|
|
182
|
|
- comport.PortName = cbi.Tag.ToString();
|
|
183
|
|
-
|
|
184
|
|
- Console.WriteLine("br : {0}", comport.BaudRate);
|
|
185
|
|
- Console.WriteLine("dbit: {0}", comport.DataBits);
|
|
186
|
|
- Console.WriteLine("stb: {0}", comport.StopBits);
|
|
187
|
|
- Console.WriteLine("par: {0}", comport.Parity);
|
|
188
|
|
-
|
|
189
|
|
- /*
|
|
190
|
|
- comport.BaudRate = int.Parse(baudRate.Text);
|
|
191
|
|
- comport.DataBits = int.Parse(dataBits.Text);
|
|
192
|
|
- comport.StopBits = (StopBits)Enum.Parse(typeof(StopBits), stopBits.Text);
|
|
193
|
|
- comport.Parity = (Parity)Enum.Parse(typeof(Parity), parity.Text);
|
|
194
|
|
- */
|
|
195
|
|
- var w = (MainWindow)Application.Current.MainWindow;
|
|
196
|
|
- if((w.comport.PortName == comport.PortName) && w.comport.IsOpen == true){
|
|
197
|
|
- MessageBox.Show("Open Port Success");
|
|
198
|
|
- return;
|
|
199
|
|
- }
|
|
200
|
|
- try
|
|
201
|
|
- {
|
|
202
|
|
- comport.Open();
|
|
203
|
|
- MessageBox.Show("Open Port Success");
|
|
204
|
|
- comport.Close();
|
|
205
|
|
-
|
|
206
|
|
- }
|
|
207
|
|
- catch (UnauthorizedAccessException) { error = true; }
|
|
208
|
|
- catch (IOException) { error = true; }
|
|
209
|
|
- catch (ArgumentException) { error = true; }
|
|
210
|
|
- if (error)
|
|
211
|
|
- {
|
|
212
|
|
- MessageBox.Show("Open Port Fail");
|
|
213
|
|
- }
|
|
214
|
|
- }
|
|
215
|
|
-
|
|
216
|
|
- private void testPro_Click(object sender, RoutedEventArgs e)
|
|
217
|
|
- {
|
|
218
|
|
- testConnection(productionDbCS.Text);
|
|
219
|
|
- }
|
|
220
|
|
-
|
|
221
|
|
- private void cancelBtn_Click(object sender, RoutedEventArgs e)
|
|
222
|
|
- {
|
|
223
|
|
- this.Close();
|
|
224
|
|
- }
|
|
225
|
|
-
|
|
226
|
|
-
|
|
227
|
|
-
|
|
228
|
|
- }
|
|
229
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+using System.Windows;
|
|
|
6
|
+using System.Windows.Controls;
|
|
|
7
|
+using System.Windows.Data;
|
|
|
8
|
+using System.Windows.Documents;
|
|
|
9
|
+using System.Windows.Input;
|
|
|
10
|
+using System.Windows.Media;
|
|
|
11
|
+using System.Windows.Media.Imaging;
|
|
|
12
|
+using System.Windows.Shapes;
|
|
|
13
|
+using System.IO.Ports;
|
|
|
14
|
+using System.Configuration;
|
|
|
15
|
+using System.Data.SqlClient;
|
|
|
16
|
+using System.Data;
|
|
|
17
|
+using System.IO;
|
|
|
18
|
+using System.Runtime.Serialization.Formatters.Binary;
|
|
|
19
|
+namespace WpfApplication19
|
|
|
20
|
+{
|
|
|
21
|
+ /// <summary>
|
|
|
22
|
+ /// Interaction logic for Settings.xaml
|
|
|
23
|
+ /// </summary>
|
|
|
24
|
+ public partial class Settings : Window
|
|
|
25
|
+ {
|
|
|
26
|
+ SerialPort comport = new SerialPort();
|
|
|
27
|
+ MainWindow _win;
|
|
|
28
|
+ int _currentMachine;
|
|
|
29
|
+ public Settings()
|
|
|
30
|
+ {
|
|
|
31
|
+ InitializeComponent();
|
|
|
32
|
+ }
|
|
|
33
|
+
|
|
|
34
|
+ private void init(object sender, RoutedEventArgs e)
|
|
|
35
|
+ {
|
|
|
36
|
+ _win = (MainWindow)Application.Current.MainWindow;
|
|
|
37
|
+ //Console.WriteLine("hello");
|
|
|
38
|
+ ComboBoxItem cb = new ComboBoxItem();
|
|
|
39
|
+ cb.Tag = "None";
|
|
|
40
|
+ cb.Content = "Select COM Port";
|
|
|
41
|
+ //COMPorts.Items.Add(cb);
|
|
|
42
|
+ Dictionary<string, string> friendlyPorts = Utils.BuildPortNameHash(SerialPort.GetPortNames());
|
|
|
43
|
+ foreach (KeyValuePair<string, string> kvp in friendlyPorts)
|
|
|
44
|
+ {
|
|
|
45
|
+ //Console.WriteLine("Port '{0}' is better known as '{1}'", kvp.Key, kvp.Value);
|
|
|
46
|
+ cb = new ComboBoxItem();
|
|
|
47
|
+
|
|
|
48
|
+ cb.Tag = kvp.Key;
|
|
|
49
|
+ cb.Content = "Port " + kvp.Key + " " + kvp.Value;
|
|
|
50
|
+ COMPorts.Items.Add(cb);
|
|
|
51
|
+ }
|
|
|
52
|
+ foreach (ComboBoxItem item in COMPorts.Items)
|
|
|
53
|
+ {
|
|
|
54
|
+ if (item.Tag.ToString() == Utils.getSetting("machinePort"))
|
|
|
55
|
+ {
|
|
|
56
|
+ COMPorts.SelectedItem = item;
|
|
|
57
|
+ //MessageBox.Show("help");
|
|
|
58
|
+ }
|
|
|
59
|
+ }
|
|
|
60
|
+
|
|
|
61
|
+
|
|
|
62
|
+ //configDbCs.Text = Utils.getSetting("configDbCS");
|
|
|
63
|
+ //masterDbCs.Text = Utils.getSetting("masterDbCS");
|
|
|
64
|
+ //transDbCs.Text = Utils.getSetting("tranDbCS");
|
|
|
65
|
+ productionDbCS.Text = Utils.getSetting("productionDbCS");
|
|
|
66
|
+
|
|
|
67
|
+ //webServerURL.Text = Utils.getSetting("webServerURL");
|
|
|
68
|
+ /*
|
|
|
69
|
+ var baudRateValue = Utils.getSetting("baudRate");
|
|
|
70
|
+ var dataBitsValue = Utils.getSetting("dataBits");
|
|
|
71
|
+ var stopBitsValue = Utils.getSetting("stopBits");
|
|
|
72
|
+ var parityValue = Utils.getSetting("parity");*/
|
|
|
73
|
+ _currentMachine = Convert.ToInt32(Utils.getSetting("currentMachine"));
|
|
|
74
|
+
|
|
|
75
|
+ /*
|
|
|
76
|
+ setSelectBox(baudRateValue, baudRate);
|
|
|
77
|
+ setSelectBox(dataBitsValue, dataBits);
|
|
|
78
|
+ setSelectBox(stopBitsValue, stopBits);
|
|
|
79
|
+ setSelectBox(parityValue, parity);
|
|
|
80
|
+ */
|
|
|
81
|
+ //Console.ReadLine();
|
|
|
82
|
+
|
|
|
83
|
+
|
|
|
84
|
+ initMachineList();
|
|
|
85
|
+ }
|
|
|
86
|
+
|
|
|
87
|
+ void initMachineList()
|
|
|
88
|
+ {
|
|
|
89
|
+ SqlDataReader reader = Utils.Query(_win.proConn, "select * from machines");
|
|
|
90
|
+ while (reader.Read())
|
|
|
91
|
+ {
|
|
|
92
|
+ var id = Convert.ToInt32(reader["id"]);
|
|
|
93
|
+ var cbi = new ComboBoxItem() { Tag = id, Content = reader["name"].ToString() };
|
|
|
94
|
+ MachineCB.Items.Add(cbi);
|
|
|
95
|
+ if (id == _currentMachine)
|
|
|
96
|
+ {
|
|
|
97
|
+ MachineCB.SelectedItem = cbi;
|
|
|
98
|
+ }
|
|
|
99
|
+
|
|
|
100
|
+
|
|
|
101
|
+ }
|
|
|
102
|
+
|
|
|
103
|
+ reader.Close();
|
|
|
104
|
+ }
|
|
|
105
|
+ private static void setSelectBox(string v, ComboBox cb)
|
|
|
106
|
+ {
|
|
|
107
|
+ foreach (ComboBoxItem item in cb.Items)
|
|
|
108
|
+ {
|
|
|
109
|
+ if (item.Content.ToString() == v)
|
|
|
110
|
+ {
|
|
|
111
|
+ cb.SelectedItem = item;
|
|
|
112
|
+ //MessageBox.Show("help");
|
|
|
113
|
+ }
|
|
|
114
|
+ }
|
|
|
115
|
+ }
|
|
|
116
|
+
|
|
|
117
|
+ private void save_Click(object sender, RoutedEventArgs e)
|
|
|
118
|
+ {
|
|
|
119
|
+ ComboBoxItem cb = (ComboBoxItem)COMPorts.SelectedItem;
|
|
|
120
|
+
|
|
|
121
|
+ if(cb != null){
|
|
|
122
|
+ //debugText.Text = cb.Tag.ToString();
|
|
|
123
|
+
|
|
|
124
|
+ Utils.UpdateSetting("machinePort",cb.Tag.ToString());
|
|
|
125
|
+ }
|
|
|
126
|
+
|
|
|
127
|
+ //Utils.UpdateSetting("configDbCS", configDbCs.Text);
|
|
|
128
|
+ //Utils.UpdateSetting("masterDbCS", masterDbCs.Text);
|
|
|
129
|
+ //Utils.UpdateSetting("tranDbCS", transDbCs.Text);
|
|
|
130
|
+ Utils.UpdateSetting("productionDbCS", productionDbCS.Text);
|
|
|
131
|
+ //Utils.UpdateSetting("baudRate", baudRate.Text);
|
|
|
132
|
+ //Utils.UpdateSetting("dataBits", dataBits.Text);
|
|
|
133
|
+ //Utils.UpdateSetting("stopBits", stopBits.Text);
|
|
|
134
|
+ //Utils.UpdateSetting("parity", parity.Text);
|
|
|
135
|
+ var cbi = MachineCB.SelectedItem as ComboBoxItem;
|
|
|
136
|
+ Utils.UpdateSetting("currentMachine", cbi.Tag.ToString());
|
|
|
137
|
+ //Utils.UpdateSetting("webServerURL", webServerURL.Text);
|
|
|
138
|
+ this.Close();
|
|
|
139
|
+ }
|
|
|
140
|
+
|
|
|
141
|
+ private void testConnection_Click(object sender, RoutedEventArgs e)
|
|
|
142
|
+ {
|
|
|
143
|
+ connectDB();
|
|
|
144
|
+
|
|
|
145
|
+ }
|
|
|
146
|
+
|
|
|
147
|
+ private void connectDB()
|
|
|
148
|
+ {
|
|
|
149
|
+ }
|
|
|
150
|
+
|
|
|
151
|
+ private void testConfig_Click(object sender, RoutedEventArgs e)
|
|
|
152
|
+ {
|
|
|
153
|
+ //testConnection(configDbCs.Text);
|
|
|
154
|
+ }
|
|
|
155
|
+
|
|
|
156
|
+ private void testConnection(string cs)
|
|
|
157
|
+ {
|
|
|
158
|
+ using (SqlConnection sqlConn = new SqlConnection())
|
|
|
159
|
+ {
|
|
|
160
|
+ try
|
|
|
161
|
+ {
|
|
|
162
|
+ sqlConn.ConnectionString = cs;
|
|
|
163
|
+ sqlConn.Open();
|
|
|
164
|
+ MessageBox.Show("Connectoin Success!!");
|
|
|
165
|
+ }
|
|
|
166
|
+ catch (SqlException se)
|
|
|
167
|
+ {
|
|
|
168
|
+ MessageBox.Show(se.Message);
|
|
|
169
|
+ }
|
|
|
170
|
+ }
|
|
|
171
|
+ }
|
|
|
172
|
+
|
|
|
173
|
+
|
|
|
174
|
+ private void portTest_Click(object sender, RoutedEventArgs e)
|
|
|
175
|
+ {
|
|
|
176
|
+ bool error = false;
|
|
|
177
|
+ //comport.BaudRate = int.Parse(baudRate.Text);
|
|
|
178
|
+ //comport.DataBits = int.Parse(dataBits.Text);
|
|
|
179
|
+ //comport.StopBits = (StopBits)Enum.Parse(typeof(StopBits), stopBits.Text);
|
|
|
180
|
+ //comport.Parity;
|
|
|
181
|
+ ComboBoxItem cbi = (ComboBoxItem)COMPorts.SelectedItem;
|
|
|
182
|
+ comport.PortName = cbi.Tag.ToString();
|
|
|
183
|
+
|
|
|
184
|
+ Console.WriteLine("br : {0}", comport.BaudRate);
|
|
|
185
|
+ Console.WriteLine("dbit: {0}", comport.DataBits);
|
|
|
186
|
+ Console.WriteLine("stb: {0}", comport.StopBits);
|
|
|
187
|
+ Console.WriteLine("par: {0}", comport.Parity);
|
|
|
188
|
+
|
|
|
189
|
+ /*
|
|
|
190
|
+ comport.BaudRate = int.Parse(baudRate.Text);
|
|
|
191
|
+ comport.DataBits = int.Parse(dataBits.Text);
|
|
|
192
|
+ comport.StopBits = (StopBits)Enum.Parse(typeof(StopBits), stopBits.Text);
|
|
|
193
|
+ comport.Parity = (Parity)Enum.Parse(typeof(Parity), parity.Text);
|
|
|
194
|
+ */
|
|
|
195
|
+ var w = (MainWindow)Application.Current.MainWindow;
|
|
|
196
|
+ if((w.comport.PortName == comport.PortName) && w.comport.IsOpen == true){
|
|
|
197
|
+ MessageBox.Show("Open Port Success");
|
|
|
198
|
+ return;
|
|
|
199
|
+ }
|
|
|
200
|
+ try
|
|
|
201
|
+ {
|
|
|
202
|
+ comport.Open();
|
|
|
203
|
+ MessageBox.Show("Open Port Success");
|
|
|
204
|
+ comport.Close();
|
|
|
205
|
+
|
|
|
206
|
+ }
|
|
|
207
|
+ catch (UnauthorizedAccessException) { error = true; }
|
|
|
208
|
+ catch (IOException) { error = true; }
|
|
|
209
|
+ catch (ArgumentException) { error = true; }
|
|
|
210
|
+ if (error)
|
|
|
211
|
+ {
|
|
|
212
|
+ MessageBox.Show("Open Port Fail");
|
|
|
213
|
+ }
|
|
|
214
|
+ }
|
|
|
215
|
+
|
|
|
216
|
+ private void testPro_Click(object sender, RoutedEventArgs e)
|
|
|
217
|
+ {
|
|
|
218
|
+ testConnection(productionDbCS.Text);
|
|
|
219
|
+ }
|
|
|
220
|
+
|
|
|
221
|
+ private void cancelBtn_Click(object sender, RoutedEventArgs e)
|
|
|
222
|
+ {
|
|
|
223
|
+ this.Close();
|
|
|
224
|
+ }
|
|
|
225
|
+
|
|
|
226
|
+
|
|
|
227
|
+
|
|
|
228
|
+ }
|
|
|
229
|
+}
|
|
|
@@ -1,21 +1,21 @@
|
|
1
|
|
-<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
|
-<TestSettings name="Trace and Test Impact" id="809b23e7-939a-4082-8309-0f76d754c2f8" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
|
|
3
|
|
- <Description>These are test settings for Trace and Test Impact.</Description>
|
|
4
|
|
- <Execution>
|
|
5
|
|
- <TestTypeSpecific />
|
|
6
|
|
- <AgentRule name="Execution Agents">
|
|
7
|
|
- <DataCollectors>
|
|
8
|
|
- <DataCollector uri="datacollector://microsoft/SystemInfo/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TestTools.DataCollection.SystemInfo.SystemInfoDataCollector, Microsoft.VisualStudio.TestTools.DataCollection.SystemInfo, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="System Information">
|
|
9
|
|
- </DataCollector>
|
|
10
|
|
- <DataCollector uri="datacollector://microsoft/ActionLog/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TestTools.ManualTest.ActionLog.ActionLogPlugin, Microsoft.VisualStudio.TestTools.ManualTest.ActionLog, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="Actions">
|
|
11
|
|
- </DataCollector>
|
|
12
|
|
- <DataCollector uri="datacollector://microsoft/HttpProxy/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TraceCollector.HttpProxyCollector, Microsoft.VisualStudio.TraceCollector, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="ASP.NET Client Proxy for IntelliTrace and Test Impact">
|
|
13
|
|
- </DataCollector>
|
|
14
|
|
- <DataCollector uri="datacollector://microsoft/TestImpact/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TraceCollector.TestImpactDataCollector, Microsoft.VisualStudio.TraceCollector, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="Test Impact">
|
|
15
|
|
- </DataCollector>
|
|
16
|
|
- <DataCollector uri="datacollector://microsoft/TraceDebugger/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TraceCollector.TraceDebuggerDataCollector, Microsoft.VisualStudio.TraceCollector, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="IntelliTrace">
|
|
17
|
|
- </DataCollector>
|
|
18
|
|
- </DataCollectors>
|
|
19
|
|
- </AgentRule>
|
|
20
|
|
- </Execution>
|
|
|
1
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
2
|
+<TestSettings name="Trace and Test Impact" id="809b23e7-939a-4082-8309-0f76d754c2f8" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
|
|
|
3
|
+ <Description>These are test settings for Trace and Test Impact.</Description>
|
|
|
4
|
+ <Execution>
|
|
|
5
|
+ <TestTypeSpecific />
|
|
|
6
|
+ <AgentRule name="Execution Agents">
|
|
|
7
|
+ <DataCollectors>
|
|
|
8
|
+ <DataCollector uri="datacollector://microsoft/SystemInfo/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TestTools.DataCollection.SystemInfo.SystemInfoDataCollector, Microsoft.VisualStudio.TestTools.DataCollection.SystemInfo, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="System Information">
|
|
|
9
|
+ </DataCollector>
|
|
|
10
|
+ <DataCollector uri="datacollector://microsoft/ActionLog/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TestTools.ManualTest.ActionLog.ActionLogPlugin, Microsoft.VisualStudio.TestTools.ManualTest.ActionLog, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="Actions">
|
|
|
11
|
+ </DataCollector>
|
|
|
12
|
+ <DataCollector uri="datacollector://microsoft/HttpProxy/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TraceCollector.HttpProxyCollector, Microsoft.VisualStudio.TraceCollector, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="ASP.NET Client Proxy for IntelliTrace and Test Impact">
|
|
|
13
|
+ </DataCollector>
|
|
|
14
|
+ <DataCollector uri="datacollector://microsoft/TestImpact/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TraceCollector.TestImpactDataCollector, Microsoft.VisualStudio.TraceCollector, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="Test Impact">
|
|
|
15
|
+ </DataCollector>
|
|
|
16
|
+ <DataCollector uri="datacollector://microsoft/TraceDebugger/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TraceCollector.TraceDebuggerDataCollector, Microsoft.VisualStudio.TraceCollector, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="IntelliTrace">
|
|
|
17
|
+ </DataCollector>
|
|
|
18
|
+ </DataCollectors>
|
|
|
19
|
+ </AgentRule>
|
|
|
20
|
+ </Execution>
|
|
21
|
21
|
</TestSettings>
|
|
|
@@ -1,20 +1,20 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-
|
|
6
|
|
-namespace WpfApplication19
|
|
7
|
|
-{
|
|
8
|
|
- public class User
|
|
9
|
|
- {
|
|
10
|
|
- public User() {
|
|
11
|
|
- this.roles = new List<string>();
|
|
12
|
|
- }
|
|
13
|
|
- public int id {get;set;}
|
|
14
|
|
- public string email { get; set; }
|
|
15
|
|
- public string empid {get; set; }
|
|
16
|
|
- public List<string> roles { get; set; }
|
|
17
|
|
- public string password {get; set; }
|
|
18
|
|
- //public string[] roles;
|
|
19
|
|
- }
|
|
20
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+
|
|
|
6
|
+namespace WpfApplication19
|
|
|
7
|
+{
|
|
|
8
|
+ public class User
|
|
|
9
|
+ {
|
|
|
10
|
+ public User() {
|
|
|
11
|
+ this.roles = new List<string>();
|
|
|
12
|
+ }
|
|
|
13
|
+ public int id {get;set;}
|
|
|
14
|
+ public string email { get; set; }
|
|
|
15
|
+ public string empid {get; set; }
|
|
|
16
|
+ public List<string> roles { get; set; }
|
|
|
17
|
+ public string password {get; set; }
|
|
|
18
|
+ //public string[] roles;
|
|
|
19
|
+ }
|
|
|
20
|
+}
|
|
|
@@ -1,137 +1,137 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-
|
|
6
|
|
-using Microsoft.Win32;
|
|
7
|
|
-using System.IO.Ports;
|
|
8
|
|
-using System.Configuration;
|
|
9
|
|
-using System.Data.SqlClient;
|
|
10
|
|
-using System.Data.SqlServerCe;
|
|
11
|
|
-namespace WpfApplication19
|
|
12
|
|
-{
|
|
13
|
|
-
|
|
14
|
|
- class Utils
|
|
15
|
|
- {
|
|
16
|
|
-
|
|
17
|
|
- static public Dictionary<string, string> BuildPortNameHash(string[] portsToMap)
|
|
18
|
|
- {
|
|
19
|
|
- Dictionary<string, string> oReturnTable = new Dictionary<string, string>();
|
|
20
|
|
- MineRegistryForPortName("SYSTEM\\CurrentControlSet\\Enum", oReturnTable, portsToMap);
|
|
21
|
|
- return oReturnTable;
|
|
22
|
|
- }
|
|
23
|
|
- static void MineRegistryForPortName(string startKeyPath, Dictionary<string, string> targetMap,
|
|
24
|
|
- string[] portsToMap)
|
|
25
|
|
- {
|
|
26
|
|
- if (targetMap.Count >= portsToMap.Length)
|
|
27
|
|
- return;
|
|
28
|
|
- using (RegistryKey currentKey = Registry.LocalMachine)
|
|
29
|
|
- {
|
|
30
|
|
- try
|
|
31
|
|
- {
|
|
32
|
|
- using (RegistryKey currentSubKey = currentKey.OpenSubKey(startKeyPath))
|
|
33
|
|
- {
|
|
34
|
|
- string[] currentSubkeys = currentSubKey.GetSubKeyNames();
|
|
35
|
|
- if (currentSubkeys.Contains("Device Parameters") &&
|
|
36
|
|
- startKeyPath != "SYSTEM\\CurrentControlSet\\Enum")
|
|
37
|
|
- {
|
|
38
|
|
- object portName = Registry.GetValue("HKEY_LOCAL_MACHINE\\" +
|
|
39
|
|
- startKeyPath + "\\Device Parameters", "PortName", null);
|
|
40
|
|
- if (portName == null ||
|
|
41
|
|
- portsToMap.Contains(portName.ToString()) == false)
|
|
42
|
|
- return;
|
|
43
|
|
- object friendlyPortName = Registry.GetValue("HKEY_LOCAL_MACHINE\\" +
|
|
44
|
|
- startKeyPath, "FriendlyName", null);
|
|
45
|
|
- string friendlyName = "N/A";
|
|
46
|
|
- if (friendlyPortName != null)
|
|
47
|
|
- friendlyName = friendlyPortName.ToString();
|
|
48
|
|
- if (friendlyName.Contains(portName.ToString()) == false)
|
|
49
|
|
- friendlyName = string.Format("{0} ({1})", friendlyName, portName);
|
|
50
|
|
- targetMap[portName.ToString()] = friendlyName;
|
|
51
|
|
- }
|
|
52
|
|
- else
|
|
53
|
|
- {
|
|
54
|
|
- foreach (string strSubKey in currentSubkeys)
|
|
55
|
|
- MineRegistryForPortName(startKeyPath + "\\" + strSubKey, targetMap, portsToMap);
|
|
56
|
|
- }
|
|
57
|
|
- }
|
|
58
|
|
- }
|
|
59
|
|
- catch (Exception)
|
|
60
|
|
- {
|
|
61
|
|
- //Console.WriteLine("Error accessing key '{0}'.. Skipping..", startKeyPath);
|
|
62
|
|
- }
|
|
63
|
|
- }
|
|
64
|
|
- }
|
|
65
|
|
- public static void UpdateSetting(string key, string value)
|
|
66
|
|
- {
|
|
67
|
|
- Configuration oConfig = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
|
|
68
|
|
- if (oConfig.AppSettings.Settings[key] == null)
|
|
69
|
|
- {
|
|
70
|
|
- oConfig.AppSettings.Settings.Add(key, value);
|
|
71
|
|
- }
|
|
72
|
|
- else
|
|
73
|
|
- {
|
|
74
|
|
- oConfig.AppSettings.Settings[key].Value = value;
|
|
75
|
|
- }
|
|
76
|
|
-
|
|
77
|
|
- oConfig.Save(ConfigurationSaveMode.Modified);
|
|
78
|
|
- ConfigurationManager.RefreshSection("appSettings");
|
|
79
|
|
-
|
|
80
|
|
- }
|
|
81
|
|
-
|
|
82
|
|
- public static string getSetting(string key)
|
|
83
|
|
- {
|
|
84
|
|
- Configuration oConfig = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
|
|
85
|
|
- return oConfig.AppSettings.Settings[key].Value;
|
|
86
|
|
- }
|
|
87
|
|
-
|
|
88
|
|
- public static SqlConnection createSqlConnection(string configType)
|
|
89
|
|
- {
|
|
90
|
|
- SqlConnection sqlConn = new SqlConnection();
|
|
91
|
|
-
|
|
92
|
|
- string cs = Utils.getSetting(configType);
|
|
93
|
|
-
|
|
94
|
|
-
|
|
95
|
|
- sqlConn.ConnectionString = cs;
|
|
96
|
|
- sqlConn.Open();
|
|
97
|
|
- return sqlConn;
|
|
98
|
|
-
|
|
99
|
|
- }
|
|
100
|
|
- public static SqlCeConnection createSqlCeConnection(string configType)
|
|
101
|
|
- {
|
|
102
|
|
- SqlCeConnection sqlConn = new SqlCeConnection();
|
|
103
|
|
-
|
|
104
|
|
- string cs = Utils.getSetting(configType);
|
|
105
|
|
-
|
|
106
|
|
-
|
|
107
|
|
- sqlConn.ConnectionString = cs;
|
|
108
|
|
- sqlConn.Open();
|
|
109
|
|
- return sqlConn;
|
|
110
|
|
-
|
|
111
|
|
- }
|
|
112
|
|
- public static SqlDataReader Query(SqlConnection connection, string sql)
|
|
113
|
|
- {
|
|
114
|
|
- SqlCommand catCMD = connection.CreateCommand();
|
|
115
|
|
- catCMD.CommandText = sql;
|
|
116
|
|
- Console.WriteLine(sql);
|
|
117
|
|
-
|
|
118
|
|
-
|
|
119
|
|
-
|
|
120
|
|
- SqlDataReader reader = catCMD.ExecuteReader();
|
|
121
|
|
-
|
|
122
|
|
- return reader;
|
|
123
|
|
- }
|
|
124
|
|
- public static SqlCeDataReader Query(SqlCeConnection connection, string sql)
|
|
125
|
|
- {
|
|
126
|
|
- SqlCeCommand catCMD = connection.CreateCommand();
|
|
127
|
|
- catCMD.CommandText = sql;
|
|
128
|
|
- Console.WriteLine(sql);
|
|
129
|
|
-
|
|
130
|
|
-
|
|
131
|
|
-
|
|
132
|
|
- SqlCeDataReader reader = catCMD.ExecuteReader();
|
|
133
|
|
-
|
|
134
|
|
- return reader;
|
|
135
|
|
- }
|
|
136
|
|
- }
|
|
137
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+
|
|
|
6
|
+using Microsoft.Win32;
|
|
|
7
|
+using System.IO.Ports;
|
|
|
8
|
+using System.Configuration;
|
|
|
9
|
+using System.Data.SqlClient;
|
|
|
10
|
+using System.Data.SqlServerCe;
|
|
|
11
|
+namespace WpfApplication19
|
|
|
12
|
+{
|
|
|
13
|
+
|
|
|
14
|
+ class Utils
|
|
|
15
|
+ {
|
|
|
16
|
+
|
|
|
17
|
+ static public Dictionary<string, string> BuildPortNameHash(string[] portsToMap)
|
|
|
18
|
+ {
|
|
|
19
|
+ Dictionary<string, string> oReturnTable = new Dictionary<string, string>();
|
|
|
20
|
+ MineRegistryForPortName("SYSTEM\\CurrentControlSet\\Enum", oReturnTable, portsToMap);
|
|
|
21
|
+ return oReturnTable;
|
|
|
22
|
+ }
|
|
|
23
|
+ static void MineRegistryForPortName(string startKeyPath, Dictionary<string, string> targetMap,
|
|
|
24
|
+ string[] portsToMap)
|
|
|
25
|
+ {
|
|
|
26
|
+ if (targetMap.Count >= portsToMap.Length)
|
|
|
27
|
+ return;
|
|
|
28
|
+ using (RegistryKey currentKey = Registry.LocalMachine)
|
|
|
29
|
+ {
|
|
|
30
|
+ try
|
|
|
31
|
+ {
|
|
|
32
|
+ using (RegistryKey currentSubKey = currentKey.OpenSubKey(startKeyPath))
|
|
|
33
|
+ {
|
|
|
34
|
+ string[] currentSubkeys = currentSubKey.GetSubKeyNames();
|
|
|
35
|
+ if (currentSubkeys.Contains("Device Parameters") &&
|
|
|
36
|
+ startKeyPath != "SYSTEM\\CurrentControlSet\\Enum")
|
|
|
37
|
+ {
|
|
|
38
|
+ object portName = Registry.GetValue("HKEY_LOCAL_MACHINE\\" +
|
|
|
39
|
+ startKeyPath + "\\Device Parameters", "PortName", null);
|
|
|
40
|
+ if (portName == null ||
|
|
|
41
|
+ portsToMap.Contains(portName.ToString()) == false)
|
|
|
42
|
+ return;
|
|
|
43
|
+ object friendlyPortName = Registry.GetValue("HKEY_LOCAL_MACHINE\\" +
|
|
|
44
|
+ startKeyPath, "FriendlyName", null);
|
|
|
45
|
+ string friendlyName = "N/A";
|
|
|
46
|
+ if (friendlyPortName != null)
|
|
|
47
|
+ friendlyName = friendlyPortName.ToString();
|
|
|
48
|
+ if (friendlyName.Contains(portName.ToString()) == false)
|
|
|
49
|
+ friendlyName = string.Format("{0} ({1})", friendlyName, portName);
|
|
|
50
|
+ targetMap[portName.ToString()] = friendlyName;
|
|
|
51
|
+ }
|
|
|
52
|
+ else
|
|
|
53
|
+ {
|
|
|
54
|
+ foreach (string strSubKey in currentSubkeys)
|
|
|
55
|
+ MineRegistryForPortName(startKeyPath + "\\" + strSubKey, targetMap, portsToMap);
|
|
|
56
|
+ }
|
|
|
57
|
+ }
|
|
|
58
|
+ }
|
|
|
59
|
+ catch (Exception)
|
|
|
60
|
+ {
|
|
|
61
|
+ //Console.WriteLine("Error accessing key '{0}'.. Skipping..", startKeyPath);
|
|
|
62
|
+ }
|
|
|
63
|
+ }
|
|
|
64
|
+ }
|
|
|
65
|
+ public static void UpdateSetting(string key, string value)
|
|
|
66
|
+ {
|
|
|
67
|
+ Configuration oConfig = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
|
|
|
68
|
+ if (oConfig.AppSettings.Settings[key] == null)
|
|
|
69
|
+ {
|
|
|
70
|
+ oConfig.AppSettings.Settings.Add(key, value);
|
|
|
71
|
+ }
|
|
|
72
|
+ else
|
|
|
73
|
+ {
|
|
|
74
|
+ oConfig.AppSettings.Settings[key].Value = value;
|
|
|
75
|
+ }
|
|
|
76
|
+
|
|
|
77
|
+ oConfig.Save(ConfigurationSaveMode.Modified);
|
|
|
78
|
+ ConfigurationManager.RefreshSection("appSettings");
|
|
|
79
|
+
|
|
|
80
|
+ }
|
|
|
81
|
+
|
|
|
82
|
+ public static string getSetting(string key)
|
|
|
83
|
+ {
|
|
|
84
|
+ Configuration oConfig = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
|
|
|
85
|
+ return oConfig.AppSettings.Settings[key].Value;
|
|
|
86
|
+ }
|
|
|
87
|
+
|
|
|
88
|
+ public static SqlConnection createSqlConnection(string configType)
|
|
|
89
|
+ {
|
|
|
90
|
+ SqlConnection sqlConn = new SqlConnection();
|
|
|
91
|
+
|
|
|
92
|
+ string cs = Utils.getSetting(configType);
|
|
|
93
|
+
|
|
|
94
|
+
|
|
|
95
|
+ sqlConn.ConnectionString = cs;
|
|
|
96
|
+ sqlConn.Open();
|
|
|
97
|
+ return sqlConn;
|
|
|
98
|
+
|
|
|
99
|
+ }
|
|
|
100
|
+ public static SqlCeConnection createSqlCeConnection(string configType)
|
|
|
101
|
+ {
|
|
|
102
|
+ SqlCeConnection sqlConn = new SqlCeConnection();
|
|
|
103
|
+
|
|
|
104
|
+ string cs = Utils.getSetting(configType);
|
|
|
105
|
+
|
|
|
106
|
+
|
|
|
107
|
+ sqlConn.ConnectionString = cs;
|
|
|
108
|
+ sqlConn.Open();
|
|
|
109
|
+ return sqlConn;
|
|
|
110
|
+
|
|
|
111
|
+ }
|
|
|
112
|
+ public static SqlDataReader Query(SqlConnection connection, string sql)
|
|
|
113
|
+ {
|
|
|
114
|
+ SqlCommand catCMD = connection.CreateCommand();
|
|
|
115
|
+ catCMD.CommandText = sql;
|
|
|
116
|
+ Console.WriteLine(sql);
|
|
|
117
|
+
|
|
|
118
|
+
|
|
|
119
|
+
|
|
|
120
|
+ SqlDataReader reader = catCMD.ExecuteReader();
|
|
|
121
|
+
|
|
|
122
|
+ return reader;
|
|
|
123
|
+ }
|
|
|
124
|
+ public static SqlCeDataReader Query(SqlCeConnection connection, string sql)
|
|
|
125
|
+ {
|
|
|
126
|
+ SqlCeCommand catCMD = connection.CreateCommand();
|
|
|
127
|
+ catCMD.CommandText = sql;
|
|
|
128
|
+ Console.WriteLine(sql);
|
|
|
129
|
+
|
|
|
130
|
+
|
|
|
131
|
+
|
|
|
132
|
+ SqlCeDataReader reader = catCMD.ExecuteReader();
|
|
|
133
|
+
|
|
|
134
|
+ return reader;
|
|
|
135
|
+ }
|
|
|
136
|
+ }
|
|
|
137
|
+}
|
|
|
@@ -1,57 +1,57 @@
|
|
1
|
|
-using System;
|
|
2
|
|
-using System.Collections.Generic;
|
|
3
|
|
-using System.Linq;
|
|
4
|
|
-using System.Text;
|
|
5
|
|
-using System.Net;
|
|
6
|
|
-using System.IO;
|
|
7
|
|
-using Newtonsoft.Json.Linq;
|
|
8
|
|
-
|
|
9
|
|
-namespace WpfApplication19
|
|
10
|
|
-{
|
|
11
|
|
- class WebAppConnector
|
|
12
|
|
- {
|
|
13
|
|
- private WebRequest request;
|
|
14
|
|
- public string PostData { get; set; }
|
|
15
|
|
- public string Uri { get; set; }
|
|
16
|
|
- public string Method { get; set; }
|
|
17
|
|
-
|
|
18
|
|
- public Response sendRequest()
|
|
19
|
|
- {
|
|
20
|
|
- Response r = new Response();
|
|
21
|
|
-
|
|
22
|
|
- WebRequest request = WebRequest.Create(this.Uri);
|
|
23
|
|
-
|
|
24
|
|
- request.Method = this.Method;
|
|
25
|
|
- byte[] byteArray = Encoding.UTF8.GetBytes(this.PostData);
|
|
26
|
|
- request.ContentType = "application/x-www-form-urlencoded";
|
|
27
|
|
- request.ContentLength = byteArray.Length;
|
|
28
|
|
- Stream dataStream = request.GetRequestStream();
|
|
29
|
|
- dataStream.Write(byteArray, 0, byteArray.Length);
|
|
30
|
|
-
|
|
31
|
|
- dataStream.Close();
|
|
32
|
|
-
|
|
33
|
|
- WebResponse response = request.GetResponse();
|
|
34
|
|
-
|
|
35
|
|
- //Console.WriteLine(((HttpWebResponse)response).StatusDescription);
|
|
36
|
|
- r.status = ((HttpWebResponse)response).StatusDescription.Trim();
|
|
37
|
|
- dataStream = response.GetResponseStream();
|
|
38
|
|
- StreamReader reader = new StreamReader(dataStream);
|
|
39
|
|
- string responseFromServer = reader.ReadToEnd();
|
|
40
|
|
- //Console.WriteLine(responseFromServer);
|
|
41
|
|
- JObject o = JObject.Parse(responseFromServer);
|
|
42
|
|
- //Console.WriteLine(o["msg"]);
|
|
43
|
|
- r.jsonBody = o;
|
|
44
|
|
- reader.Close();
|
|
45
|
|
- dataStream.Close();
|
|
46
|
|
- response.Close();
|
|
47
|
|
- //Console.ReadLine();
|
|
48
|
|
- return r;
|
|
49
|
|
- }
|
|
50
|
|
- }
|
|
51
|
|
- class Response
|
|
52
|
|
- {
|
|
53
|
|
- public string status;
|
|
54
|
|
- public JObject jsonBody;
|
|
55
|
|
-
|
|
56
|
|
- }
|
|
57
|
|
-}
|
|
|
1
|
+using System;
|
|
|
2
|
+using System.Collections.Generic;
|
|
|
3
|
+using System.Linq;
|
|
|
4
|
+using System.Text;
|
|
|
5
|
+using System.Net;
|
|
|
6
|
+using System.IO;
|
|
|
7
|
+using Newtonsoft.Json.Linq;
|
|
|
8
|
+
|
|
|
9
|
+namespace WpfApplication19
|
|
|
10
|
+{
|
|
|
11
|
+ class WebAppConnector
|
|
|
12
|
+ {
|
|
|
13
|
+ private WebRequest request;
|
|
|
14
|
+ public string PostData { get; set; }
|
|
|
15
|
+ public string Uri { get; set; }
|
|
|
16
|
+ public string Method { get; set; }
|
|
|
17
|
+
|
|
|
18
|
+ public Response sendRequest()
|
|
|
19
|
+ {
|
|
|
20
|
+ Response r = new Response();
|
|
|
21
|
+
|
|
|
22
|
+ WebRequest request = WebRequest.Create(this.Uri);
|
|
|
23
|
+
|
|
|
24
|
+ request.Method = this.Method;
|
|
|
25
|
+ byte[] byteArray = Encoding.UTF8.GetBytes(this.PostData);
|
|
|
26
|
+ request.ContentType = "application/x-www-form-urlencoded";
|
|
|
27
|
+ request.ContentLength = byteArray.Length;
|
|
|
28
|
+ Stream dataStream = request.GetRequestStream();
|
|
|
29
|
+ dataStream.Write(byteArray, 0, byteArray.Length);
|
|
|
30
|
+
|
|
|
31
|
+ dataStream.Close();
|
|
|
32
|
+
|
|
|
33
|
+ WebResponse response = request.GetResponse();
|
|
|
34
|
+
|
|
|
35
|
+ //Console.WriteLine(((HttpWebResponse)response).StatusDescription);
|
|
|
36
|
+ r.status = ((HttpWebResponse)response).StatusDescription.Trim();
|
|
|
37
|
+ dataStream = response.GetResponseStream();
|
|
|
38
|
+ StreamReader reader = new StreamReader(dataStream);
|
|
|
39
|
+ string responseFromServer = reader.ReadToEnd();
|
|
|
40
|
+ //Console.WriteLine(responseFromServer);
|
|
|
41
|
+ JObject o = JObject.Parse(responseFromServer);
|
|
|
42
|
+ //Console.WriteLine(o["msg"]);
|
|
|
43
|
+ r.jsonBody = o;
|
|
|
44
|
+ reader.Close();
|
|
|
45
|
+ dataStream.Close();
|
|
|
46
|
+ response.Close();
|
|
|
47
|
+ //Console.ReadLine();
|
|
|
48
|
+ return r;
|
|
|
49
|
+ }
|
|
|
50
|
+ }
|
|
|
51
|
+ class Response
|
|
|
52
|
+ {
|
|
|
53
|
+ public string status;
|
|
|
54
|
+ public JObject jsonBody;
|
|
|
55
|
+
|
|
|
56
|
+ }
|
|
|
57
|
+}
|
|
|
@@ -1,43 +1,43 @@
|
|
1
|
|
-<?xml version="1.0"?>
|
|
2
|
|
-<configuration>
|
|
3
|
|
- <configSections>
|
|
4
|
|
- </configSections>
|
|
5
|
|
- <appSettings>
|
|
6
|
|
- <add key="machinePort" value="COM2" />
|
|
7
|
|
- <add key="configDbCS" value="Data Source=192.168.0.253;User ID=user1;Password=1234; Initial Catalog=MGT_Config" />
|
|
8
|
|
- <add key="masterDbCS" value="Data Source=192.168.0.253;User ID=user1;Password=1234; Initial Catalog=MGT_Master" />
|
|
9
|
|
- <add key="tranDbCS" value="Data Source=192.168.0.253;User ID=user1;Password=1234; Initial Catalog=MGT_Trans" />
|
|
10
|
|
- <add key="productionDbCS" value="Data Source=192.168.0.253;User ID=user1;Password=1234; Initial Catalog=OB2011DB;Connection Timeout=7200" />
|
|
11
|
|
- <add key="operatingDbCs" value="Data Source=|DataDirectory|\OperatingDatabase.sdf" />
|
|
12
|
|
- <add key="baudRate" value="9600" />
|
|
13
|
|
- <add key="dataBits" value="8" />
|
|
14
|
|
- <add key="stopBits" value="One" />
|
|
15
|
|
- <add key="parity" value="None" />
|
|
16
|
|
- <add key="webServerURL" value="http://192.168.0.253:3000" />
|
|
17
|
|
- <add key="currentMachine" value="20" />
|
|
18
|
|
- <add key="ClientSettingsProvider.ServiceUri" value="" />
|
|
19
|
|
- <add key="rlMin" value="60" />
|
|
20
|
|
- <add key="rlMax" value="100" />
|
|
21
|
|
- <add key="fontName" value="Ubuntu Mono"/>
|
|
22
|
|
- </appSettings>
|
|
23
|
|
- <connectionStrings>
|
|
24
|
|
- <add name="labEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="Data Source=.\sqlexpress;Initial Catalog=lab;User ID=user1;Password=1234;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient"/>
|
|
25
|
|
- <add name="WpfApplication19.Properties.Settings.OperatingDatabaseConnectionString" connectionString="Data Source=|DataDirectory|\OperatingDatabase.sdf" providerName="Microsoft.SqlServerCe.Client.3.5"/>
|
|
26
|
|
- <add name="WpfApplication19.Properties.Settings.SampleConnectionString" connectionString="Data Source=|DataDirectory|\Sample.sdf" providerName="Microsoft.SqlServerCe.Client.3.5"/>
|
|
27
|
|
- </connectionStrings>
|
|
28
|
|
- <startup>
|
|
29
|
|
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client"/>
|
|
30
|
|
- </startup>
|
|
31
|
|
- <system.web>
|
|
32
|
|
- <membership defaultProvider="ClientAuthenticationMembershipProvider">
|
|
33
|
|
- <providers>
|
|
34
|
|
- <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri=""/>
|
|
35
|
|
- </providers>
|
|
36
|
|
- </membership>
|
|
37
|
|
- <roleManager defaultProvider="ClientRoleProvider" enabled="true">
|
|
38
|
|
- <providers>
|
|
39
|
|
- <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400"/>
|
|
40
|
|
- </providers>
|
|
41
|
|
- </roleManager>
|
|
42
|
|
- </system.web>
|
|
43
|
|
-</configuration>
|
|
|
1
|
+<?xml version="1.0"?>
|
|
|
2
|
+<configuration>
|
|
|
3
|
+ <configSections>
|
|
|
4
|
+ </configSections>
|
|
|
5
|
+ <appSettings>
|
|
|
6
|
+ <add key="machinePort" value="COM2" />
|
|
|
7
|
+ <add key="configDbCS" value="Data Source=192.168.0.253;User ID=user1;Password=1234; Initial Catalog=MGT_Config" />
|
|
|
8
|
+ <add key="masterDbCS" value="Data Source=192.168.0.253;User ID=user1;Password=1234; Initial Catalog=MGT_Master" />
|
|
|
9
|
+ <add key="tranDbCS" value="Data Source=192.168.0.253;User ID=user1;Password=1234; Initial Catalog=MGT_Trans" />
|
|
|
10
|
+ <add key="productionDbCS" value="Data Source=192.168.0.253;User ID=user1;Password=1234; Initial Catalog=OB2011DB;Connection Timeout=7200" />
|
|
|
11
|
+ <add key="operatingDbCs" value="Data Source=|DataDirectory|\OperatingDatabase.sdf" />
|
|
|
12
|
+ <add key="baudRate" value="9600" />
|
|
|
13
|
+ <add key="dataBits" value="8" />
|
|
|
14
|
+ <add key="stopBits" value="One" />
|
|
|
15
|
+ <add key="parity" value="None" />
|
|
|
16
|
+ <add key="webServerURL" value="http://192.168.0.253:3000" />
|
|
|
17
|
+ <add key="currentMachine" value="20" />
|
|
|
18
|
+ <add key="ClientSettingsProvider.ServiceUri" value="" />
|
|
|
19
|
+ <add key="rlMin" value="60" />
|
|
|
20
|
+ <add key="rlMax" value="100" />
|
|
|
21
|
+ <add key="fontName" value="Ubuntu Mono"/>
|
|
|
22
|
+ </appSettings>
|
|
|
23
|
+ <connectionStrings>
|
|
|
24
|
+ <add name="labEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="Data Source=.\sqlexpress;Initial Catalog=lab;User ID=user1;Password=1234;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient"/>
|
|
|
25
|
+ <add name="WpfApplication19.Properties.Settings.OperatingDatabaseConnectionString" connectionString="Data Source=|DataDirectory|\OperatingDatabase.sdf" providerName="Microsoft.SqlServerCe.Client.3.5"/>
|
|
|
26
|
+ <add name="WpfApplication19.Properties.Settings.SampleConnectionString" connectionString="Data Source=|DataDirectory|\Sample.sdf" providerName="Microsoft.SqlServerCe.Client.3.5"/>
|
|
|
27
|
+ </connectionStrings>
|
|
|
28
|
+ <startup>
|
|
|
29
|
+ <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client"/>
|
|
|
30
|
+ </startup>
|
|
|
31
|
+ <system.web>
|
|
|
32
|
+ <membership defaultProvider="ClientAuthenticationMembershipProvider">
|
|
|
33
|
+ <providers>
|
|
|
34
|
+ <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri=""/>
|
|
|
35
|
+ </providers>
|
|
|
36
|
+ </membership>
|
|
|
37
|
+ <roleManager defaultProvider="ClientRoleProvider" enabled="true">
|
|
|
38
|
+ <providers>
|
|
|
39
|
+ <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400"/>
|
|
|
40
|
+ </providers>
|
|
|
41
|
+ </roleManager>
|
|
|
42
|
+ </system.web>
|
|
|
43
|
+</configuration>
|
|
|
@@ -1,40 +0,0 @@
|
|
1
|
|
-<?xml version="1.0"?>
|
|
2
|
|
-<configuration>
|
|
3
|
|
- <configSections>
|
|
4
|
|
- </configSections>
|
|
5
|
|
- <appSettings>
|
|
6
|
|
- <add key="machinePort" value="COM1"/>
|
|
7
|
|
- <add key="configDbCS" value="Data Source=127.0.0.1\sqlexpress;User ID=user1;Password=1234; Initial Catalog=MGT_Config"/>
|
|
8
|
|
- <add key="masterDbCS" value="Data Source=127.0.0.1\sqlexpress;User ID=user1;Password=1234; Initial Catalog=MGT_Master"/>
|
|
9
|
|
- <add key="tranDbCS" value="Data Source=127.0.0.1\sqlexpress;User ID=user1;Password=1234; Initial Catalog=MGT_Trans"/>
|
|
10
|
|
- <add key="productionDbCS" value="Data Source=127.0.0.1\sqlexpress;User ID=user1;Password=1234; Initial Catalog=lab"/>
|
|
11
|
|
- <add key="operatingDbCs" value="Data Source=|DataDirectory|\OperatingDatabase.sdf"/>
|
|
12
|
|
- <add key="baudRate" value="9600"/>
|
|
13
|
|
- <add key="dataBits" value="8"/>
|
|
14
|
|
- <add key="stopBits" value="One"/>
|
|
15
|
|
- <add key="parity" value="None"/>
|
|
16
|
|
- <add key="webServerURL" value="http://127.0.0.1:3000"/>
|
|
17
|
|
- <add key="currentMachine" value="1"/>
|
|
18
|
|
- <add key="ClientSettingsProvider.ServiceUri" value=""/>
|
|
19
|
|
- </appSettings>
|
|
20
|
|
- <connectionStrings>
|
|
21
|
|
- <add name="labEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="Data Source=.\sqlexpress;Initial Catalog=lab;User ID=user1;Password=1234;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient"/>
|
|
22
|
|
- <add name="WpfApplication19.Properties.Settings.OperatingDatabaseConnectionString" connectionString="Data Source=|DataDirectory|\OperatingDatabase.sdf" providerName="Microsoft.SqlServerCe.Client.3.5"/>
|
|
23
|
|
- <add name="WpfApplication19.Properties.Settings.SampleConnectionString" connectionString="Data Source=|DataDirectory|\Sample.sdf" providerName="Microsoft.SqlServerCe.Client.3.5"/>
|
|
24
|
|
- </connectionStrings>
|
|
25
|
|
- <startup>
|
|
26
|
|
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client"/>
|
|
27
|
|
- </startup>
|
|
28
|
|
- <system.web>
|
|
29
|
|
- <membership defaultProvider="ClientAuthenticationMembershipProvider">
|
|
30
|
|
- <providers>
|
|
31
|
|
- <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri=""/>
|
|
32
|
|
- </providers>
|
|
33
|
|
- </membership>
|
|
34
|
|
- <roleManager defaultProvider="ClientRoleProvider" enabled="true">
|
|
35
|
|
- <providers>
|
|
36
|
|
- <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400"/>
|
|
37
|
|
- </providers>
|
|
38
|
|
- </roleManager>
|
|
39
|
|
- </system.web>
|
|
40
|
|
-</configuration>
|
|
|
@@ -1,40 +0,0 @@
|
|
1
|
|
-<?xml version="1.0"?>
|
|
2
|
|
-<configuration>
|
|
3
|
|
- <configSections>
|
|
4
|
|
- </configSections>
|
|
5
|
|
- <appSettings>
|
|
6
|
|
- <add key="machinePort" value="COM1" />
|
|
7
|
|
- <add key="configDbCS" value="Data Source=127.0.0.1\sqlexpress;User ID=user1;Password=1234; Initial Catalog=MGT_Config" />
|
|
8
|
|
- <add key="masterDbCS" value="Data Source=127.0.0.1\sqlexpress;User ID=user1;Password=1234; Initial Catalog=MGT_Master" />
|
|
9
|
|
- <add key="tranDbCS" value="Data Source=127.0.0.1\sqlexpress;User ID=user1;Password=1234; Initial Catalog=MGT_Trans" />
|
|
10
|
|
- <add key="productionDbCS" value="Data Source=127.0.0.1\sqlexpress;User ID=user1;Password=1234; Initial Catalog=lab" />
|
|
11
|
|
- <add key="operatingDbCs" value="Data Source=|DataDirectory|\OperatingDatabase.sdf" />
|
|
12
|
|
- <add key="baudRate" value="9600" />
|
|
13
|
|
- <add key="dataBits" value="8" />
|
|
14
|
|
- <add key="stopBits" value="One" />
|
|
15
|
|
- <add key="parity" value="None" />
|
|
16
|
|
- <add key="webServerURL" value="http://localhost:3000" />
|
|
17
|
|
- <add key="currentMachine" value="1" />
|
|
18
|
|
- <add key="ClientSettingsProvider.ServiceUri" value="" />
|
|
19
|
|
- </appSettings>
|
|
20
|
|
- <connectionStrings>
|
|
21
|
|
- <add name="labEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="Data Source=.\sqlexpress;Initial Catalog=lab;User ID=user1;Password=1234;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient" />
|
|
22
|
|
- <add name="WpfApplication19.Properties.Settings.OperatingDatabaseConnectionString" connectionString="Data Source=|DataDirectory|\OperatingDatabase.sdf" providerName="Microsoft.SqlServerCe.Client.3.5" />
|
|
23
|
|
- <add name="WpfApplication19.Properties.Settings.SampleConnectionString" connectionString="Data Source=|DataDirectory|\Sample.sdf" providerName="Microsoft.SqlServerCe.Client.3.5" />
|
|
24
|
|
- </connectionStrings>
|
|
25
|
|
- <startup>
|
|
26
|
|
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
|
|
27
|
|
- </startup>
|
|
28
|
|
- <system.web>
|
|
29
|
|
- <membership defaultProvider="ClientAuthenticationMembershipProvider">
|
|
30
|
|
- <providers>
|
|
31
|
|
- <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
|
|
32
|
|
- </providers>
|
|
33
|
|
- </membership>
|
|
34
|
|
- <roleManager defaultProvider="ClientRoleProvider" enabled="true">
|
|
35
|
|
- <providers>
|
|
36
|
|
- <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
|
|
37
|
|
- </providers>
|
|
38
|
|
- </roleManager>
|
|
39
|
|
- </system.web>
|
|
40
|
|
-</configuration>
|
|
|
@@ -1,40 +0,0 @@
|
|
1
|
|
-<?xml version="1.0"?>
|
|
2
|
|
-<configuration>
|
|
3
|
|
- <configSections>
|
|
4
|
|
- </configSections>
|
|
5
|
|
- <appSettings>
|
|
6
|
|
- <add key="machinePort" value="COM1" />
|
|
7
|
|
- <add key="configDbCS" value="Data Source=127.0.0.1\sqlexpress;User ID=user1;Password=1234; Initial Catalog=MGT_Config" />
|
|
8
|
|
- <add key="masterDbCS" value="Data Source=127.0.0.1\sqlexpress;User ID=user1;Password=1234; Initial Catalog=MGT_Master" />
|
|
9
|
|
- <add key="tranDbCS" value="Data Source=127.0.0.1\sqlexpress;User ID=user1;Password=1234; Initial Catalog=MGT_Trans" />
|
|
10
|
|
- <add key="productionDbCS" value="Data Source=127.0.0.1\sqlexpress;User ID=user1;Password=1234; Initial Catalog=lab" />
|
|
11
|
|
- <add key="operatingDbCs" value="Data Source=|DataDirectory|\OperatingDatabase.sdf" />
|
|
12
|
|
- <add key="baudRate" value="9600" />
|
|
13
|
|
- <add key="dataBits" value="8" />
|
|
14
|
|
- <add key="stopBits" value="One" />
|
|
15
|
|
- <add key="parity" value="None" />
|
|
16
|
|
- <add key="webServerURL" value="http://localhost:3000" />
|
|
17
|
|
- <add key="currentMachine" value="1" />
|
|
18
|
|
- <add key="ClientSettingsProvider.ServiceUri" value="" />
|
|
19
|
|
- </appSettings>
|
|
20
|
|
- <connectionStrings>
|
|
21
|
|
- <add name="labEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="Data Source=.\sqlexpress;Initial Catalog=lab;User ID=user1;Password=1234;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient" />
|
|
22
|
|
- <add name="WpfApplication19.Properties.Settings.OperatingDatabaseConnectionString" connectionString="Data Source=|DataDirectory|\OperatingDatabase.sdf" providerName="Microsoft.SqlServerCe.Client.3.5" />
|
|
23
|
|
- <add name="WpfApplication19.Properties.Settings.SampleConnectionString" connectionString="Data Source=|DataDirectory|\Sample.sdf" providerName="Microsoft.SqlServerCe.Client.3.5" />
|
|
24
|
|
- </connectionStrings>
|
|
25
|
|
- <startup>
|
|
26
|
|
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
|
|
27
|
|
- </startup>
|
|
28
|
|
- <system.web>
|
|
29
|
|
- <membership defaultProvider="ClientAuthenticationMembershipProvider">
|
|
30
|
|
- <providers>
|
|
31
|
|
- <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
|
|
32
|
|
- </providers>
|
|
33
|
|
- </membership>
|
|
34
|
|
- <roleManager defaultProvider="ClientRoleProvider" enabled="true">
|
|
35
|
|
- <providers>
|
|
36
|
|
- <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
|
|
37
|
|
- </providers>
|
|
38
|
|
- </roleManager>
|
|
39
|
|
- </system.web>
|
|
40
|
|
-</configuration>
|
|
|
@@ -1,37 +0,0 @@
|
|
1
|
|
-<?xml version="1.0"?>
|
|
2
|
|
-<configuration>
|
|
3
|
|
- <configSections>
|
|
4
|
|
- </configSections>
|
|
5
|
|
- <appSettings>
|
|
6
|
|
- <add key="machinePort" value="COM10"/>
|
|
7
|
|
-
|
|
8
|
|
- <add key="productionDbCS" value="Data Source=127.0.0.1;User ID=user1;Password=1234; Initial Catalog=OB2011DB"/>
|
|
9
|
|
- <add key="operatingDbCs" value="Data Source=|DataDirectory|\OperatingDatabase.sdf"/>
|
|
10
|
|
-
|
|
11
|
|
- <add key="webServerURL" value="http://127.0.0.1:3000"/>
|
|
12
|
|
- <add key="currentMachine" value="1"/>
|
|
13
|
|
- <add key="ClientSettingsProvider.ServiceUri" value=""/>
|
|
14
|
|
- <add key="fontName" value="Ubuntu Mono"/>
|
|
15
|
|
- <add key="fontSize" value="9"/>
|
|
16
|
|
- </appSettings>
|
|
17
|
|
- <connectionStrings>
|
|
18
|
|
- <add name="labEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="Data Source=.\sqlexpress;Initial Catalog=lab;User ID=user1;Password=1234;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient"/>
|
|
19
|
|
- <add name="WpfApplication19.Properties.Settings.OperatingDatabaseConnectionString" connectionString="Data Source=|DataDirectory|\OperatingDatabase.sdf" providerName="Microsoft.SqlServerCe.Client.3.5"/>
|
|
20
|
|
- <add name="WpfApplication19.Properties.Settings.SampleConnectionString" connectionString="Data Source=|DataDirectory|\Sample.sdf" providerName="Microsoft.SqlServerCe.Client.3.5"/>
|
|
21
|
|
- </connectionStrings>
|
|
22
|
|
- <startup>
|
|
23
|
|
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
|
|
24
|
|
- </startup>
|
|
25
|
|
- <system.web>
|
|
26
|
|
- <membership defaultProvider="ClientAuthenticationMembershipProvider">
|
|
27
|
|
- <providers>
|
|
28
|
|
- <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri=""/>
|
|
29
|
|
- </providers>
|
|
30
|
|
- </membership>
|
|
31
|
|
- <roleManager defaultProvider="ClientRoleProvider" enabled="true">
|
|
32
|
|
- <providers>
|
|
33
|
|
- <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400"/>
|
|
34
|
|
- </providers>
|
|
35
|
|
- </roleManager>
|
|
36
|
|
- </system.web>
|
|
37
|
|
-</configuration>
|
|
|
@@ -1,35 +0,0 @@
|
|
1
|
|
-<?xml version="1.0"?>
|
|
2
|
|
-<configuration>
|
|
3
|
|
- <configSections>
|
|
4
|
|
- </configSections>
|
|
5
|
|
- <appSettings>
|
|
6
|
|
- <add key="machinePort" value="COM10"/>
|
|
7
|
|
-
|
|
8
|
|
- <add key="productionDbCS" value="Data Source=127.0.0.1\sqlexpress;User ID=user1;Password=1234; Initial Catalog=lab"/>
|
|
9
|
|
- <add key="operatingDbCs" value="Data Source=|DataDirectory|\OperatingDatabase.sdf"/>
|
|
10
|
|
-
|
|
11
|
|
- <add key="webServerURL" value="http://127.0.0.1:3000"/>
|
|
12
|
|
- <add key="currentMachine" value="1"/>
|
|
13
|
|
- <add key="ClientSettingsProvider.ServiceUri" value=""/>
|
|
14
|
|
- </appSettings>
|
|
15
|
|
- <connectionStrings>
|
|
16
|
|
- <add name="labEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="Data Source=.\sqlexpress;Initial Catalog=lab;User ID=user1;Password=1234;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient"/>
|
|
17
|
|
- <add name="WpfApplication19.Properties.Settings.OperatingDatabaseConnectionString" connectionString="Data Source=|DataDirectory|\OperatingDatabase.sdf" providerName="Microsoft.SqlServerCe.Client.3.5"/>
|
|
18
|
|
- <add name="WpfApplication19.Properties.Settings.SampleConnectionString" connectionString="Data Source=|DataDirectory|\Sample.sdf" providerName="Microsoft.SqlServerCe.Client.3.5"/>
|
|
19
|
|
- </connectionStrings>
|
|
20
|
|
- <startup>
|
|
21
|
|
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client"/>
|
|
22
|
|
- </startup>
|
|
23
|
|
- <system.web>
|
|
24
|
|
- <membership defaultProvider="ClientAuthenticationMembershipProvider">
|
|
25
|
|
- <providers>
|
|
26
|
|
- <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri=""/>
|
|
27
|
|
- </providers>
|
|
28
|
|
- </membership>
|
|
29
|
|
- <roleManager defaultProvider="ClientRoleProvider" enabled="true">
|
|
30
|
|
- <providers>
|
|
31
|
|
- <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400"/>
|
|
32
|
|
- </providers>
|
|
33
|
|
- </roleManager>
|
|
34
|
|
- </system.web>
|
|
35
|
|
-</configuration>
|
|
|
@@ -1,11 +0,0 @@
|
|
1
|
|
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
2
|
|
-<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
|
3
|
|
- <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
|
|
4
|
|
- <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
|
5
|
|
- <security>
|
|
6
|
|
- <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
|
7
|
|
- <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
|
8
|
|
- </requestedPrivileges>
|
|
9
|
|
- </security>
|
|
10
|
|
- </trustInfo>
|
|
11
|
|
-</assembly>
|