--- KHModbus.sln
+++ KHModbus.sln
... | ... | @@ -1,9 +1,11 @@ |
1 | 1 |
|
2 | 2 |
Microsoft Visual Studio Solution File, Format Version 12.00 |
3 |
-# Visual Studio Version 16 |
|
4 |
-VisualStudioVersion = 16.0.32002.261 |
|
3 |
+# Visual Studio Version 17 |
|
4 |
+VisualStudioVersion = 17.2.32616.157 |
|
5 | 5 |
MinimumVisualStudioVersion = 10.0.40219.1 |
6 | 6 |
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KHModbus", "ModbusTest\KHModbus.csproj", "{2A789031-AEE6-436C-B5E0-AB764F55FCD2}" |
7 |
+EndProject |
|
8 |
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KHSCALE_TP", "KHSCALE_TP\KHSCALE_TP.csproj", "{2E133560-4F54-4D44-A0DB-EDB6C5C36E84}" |
|
7 | 9 |
EndProject |
8 | 10 |
Global |
9 | 11 |
GlobalSection(SolutionConfigurationPlatforms) = preSolution |
... | ... | @@ -15,6 +17,10 @@ |
15 | 17 |
{2A789031-AEE6-436C-B5E0-AB764F55FCD2}.Debug|Any CPU.Build.0 = Debug|Any CPU |
16 | 18 |
{2A789031-AEE6-436C-B5E0-AB764F55FCD2}.Release|Any CPU.ActiveCfg = Release|Any CPU |
17 | 19 |
{2A789031-AEE6-436C-B5E0-AB764F55FCD2}.Release|Any CPU.Build.0 = Release|Any CPU |
20 |
+ {2E133560-4F54-4D44-A0DB-EDB6C5C36E84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
|
21 |
+ {2E133560-4F54-4D44-A0DB-EDB6C5C36E84}.Debug|Any CPU.Build.0 = Debug|Any CPU |
|
22 |
+ {2E133560-4F54-4D44-A0DB-EDB6C5C36E84}.Release|Any CPU.ActiveCfg = Release|Any CPU |
|
23 |
+ {2E133560-4F54-4D44-A0DB-EDB6C5C36E84}.Release|Any CPU.Build.0 = Release|Any CPU |
|
18 | 24 |
EndGlobalSection |
19 | 25 |
GlobalSection(SolutionProperties) = preSolution |
20 | 26 |
HideSolutionNode = FALSE |
+++ KHSCALE_TP/App.config
... | ... | @@ -0,0 +1,6 @@ |
1 | +<?xml version="1.0" encoding="utf-8" ?> | |
2 | +<configuration> | |
3 | + <startup> | |
4 | + <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> | |
5 | + </startup> | |
6 | +</configuration>(No newline at end of file) |
+++ KHSCALE_TP/ComCasCi501.cs
... | ... | @@ -0,0 +1,65 @@ |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | +using System.Linq; | |
4 | +using System.Text; | |
5 | +using System.Threading.Tasks; | |
6 | + | |
7 | +namespace KHSCALE_TP | |
8 | +{ | |
9 | + public class ComCasCi501 : SerialBase | |
10 | + { | |
11 | + // 통신 프레임 사이즈가 고정일 경우 그 사이즈를 지정. 정해진 사이즈가 없으면 -1 리턴하고, 구분자로 프레임 구분하도록 | |
12 | + protected override int GetFrameSize() | |
13 | + { | |
14 | + return -1; | |
15 | + } | |
16 | + | |
17 | + // 통신 프레임 간의 구분자가 있을 경우 그 구분자를 지정 | |
18 | + protected override char GetFrameDelimiter() | |
19 | + { | |
20 | + return '\n'; | |
21 | + } | |
22 | + | |
23 | + protected override bool Parse(List<byte> buffRecv) | |
24 | + { | |
25 | + try | |
26 | + { | |
27 | + for(int i=0; i<buffRecv.Count; i++) | |
28 | + { | |
29 | + if (buffRecv[i] == 0) | |
30 | + buffRecv[i] = 0x20; | |
31 | + } | |
32 | + | |
33 | + string strRecv = Encoding.Default.GetString(buffRecv.ToArray()); | |
34 | + | |
35 | + int pos1 = strRecv.LastIndexOf("\n"); | |
36 | + if (pos1 < 0) return false; | |
37 | + | |
38 | + strRecv = strRecv.Substring(0, pos1); | |
39 | + | |
40 | + int pos2 = strRecv.LastIndexOf("NT,"); | |
41 | + int pos3 = strRecv.LastIndexOf("GS,"); | |
42 | + | |
43 | + int pos = Math.Max(pos2, pos3); | |
44 | + if (pos > 0) | |
45 | + { | |
46 | + string val = strRecv.Substring(pos + 6, 8); | |
47 | + val = val.Replace("+", ""); | |
48 | + val = val.Replace(" ", ""); | |
49 | + | |
50 | + float result = 0; | |
51 | + if (float.TryParse(val, out result)) | |
52 | + { | |
53 | + this.SetValue(result); | |
54 | + } | |
55 | + return true; | |
56 | + } | |
57 | + } | |
58 | + catch | |
59 | + { | |
60 | + | |
61 | + } | |
62 | + return true; | |
63 | + } | |
64 | + } | |
65 | +} |
+++ KHSCALE_TP/ComFs1020c.cs
... | ... | @@ -0,0 +1,58 @@ |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | +using System.Linq; | |
4 | +using System.Text; | |
5 | +using System.Threading.Tasks; | |
6 | + | |
7 | +namespace KHSCALE_TP | |
8 | +{ | |
9 | + public class ComFs1020c : SerialBase | |
10 | + { | |
11 | + // 통신 프레임 사이즈가 고정일 경우 그 사이즈를 지정. 정해진 사이즈가 없으면 -1 리턴하고, 구분자로 프레임 구분하도록 | |
12 | + protected override int GetFrameSize() | |
13 | + { | |
14 | + return -1; | |
15 | + } | |
16 | + | |
17 | + // 통신 프레임 간의 구분자가 있을 경우 그 구분자를 지정 | |
18 | + protected override char GetFrameDelimiter() | |
19 | + { | |
20 | + return '\n'; | |
21 | + } | |
22 | + | |
23 | + protected override bool Parse(List<byte> buffRecv) | |
24 | + { | |
25 | + try | |
26 | + { | |
27 | + string strRecv = Encoding.Default.GetString(buffRecv.ToArray()); | |
28 | + | |
29 | + int pos1 = strRecv.LastIndexOf("\n"); | |
30 | + if (pos1 < 0) return false; | |
31 | + | |
32 | + strRecv = strRecv.Substring(0, pos1); | |
33 | + | |
34 | + int pos2 = strRecv.LastIndexOf("NT,"); | |
35 | + int pos3 = strRecv.LastIndexOf("GS,"); | |
36 | + | |
37 | + int pos = Math.Max(pos2, pos3); | |
38 | + if (pos > 0) | |
39 | + { | |
40 | + string val = strRecv.Substring(pos + 3, 8); | |
41 | + val = val.Replace("+", ""); | |
42 | + val = val.Replace(" ", ""); | |
43 | + | |
44 | + float result = 0; | |
45 | + if (float.TryParse(val, out result)) | |
46 | + { | |
47 | + this.SetValue(result); | |
48 | + } | |
49 | + return true; | |
50 | + } | |
51 | + } | |
52 | + catch | |
53 | + { | |
54 | + } | |
55 | + return true; | |
56 | + } | |
57 | + } | |
58 | +} |
+++ KHSCALE_TP/ComIcs9000.cs
... | ... | @@ -0,0 +1,58 @@ |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | +using System.Linq; | |
4 | +using System.Text; | |
5 | +using System.Threading.Tasks; | |
6 | + | |
7 | +namespace KHSCALE_TP | |
8 | +{ | |
9 | + public class ComIcs9000 : SerialBase | |
10 | + { | |
11 | + // 통신 프레임 사이즈가 고정일 경우 그 사이즈를 지정. 정해진 사이즈가 없으면 -1 리턴하고, 구분자로 프레임 구분하도록 | |
12 | + protected override int GetFrameSize() | |
13 | + { | |
14 | + return -1; | |
15 | + } | |
16 | + | |
17 | + // 통신 프레임 간의 구분자가 있을 경우 그 구분자를 지정 | |
18 | + protected override char GetFrameDelimiter() | |
19 | + { | |
20 | + return '\n'; | |
21 | + } | |
22 | + | |
23 | + protected override bool Parse(List<byte> buffRecv) | |
24 | + { | |
25 | + try | |
26 | + { | |
27 | + string strRecv = Encoding.Default.GetString(buffRecv.ToArray()); | |
28 | + | |
29 | + int pos1 = strRecv.LastIndexOf("\n"); | |
30 | + if (pos1 < 0) return false; | |
31 | + | |
32 | + strRecv = strRecv.Substring(0, pos1); | |
33 | + | |
34 | + int pos2 = strRecv.LastIndexOf("NT,"); | |
35 | + int pos3 = strRecv.LastIndexOf("GS,"); | |
36 | + | |
37 | + int pos = Math.Max(pos2, pos3); | |
38 | + if (pos > 0) | |
39 | + { | |
40 | + string val = strRecv.Substring(pos + 3, 8); | |
41 | + val = val.Replace("+", ""); | |
42 | + val = val.Replace(" ", ""); | |
43 | + | |
44 | + float result = 0; | |
45 | + if (float.TryParse(val, out result)) | |
46 | + { | |
47 | + this.SetValue(result); | |
48 | + } | |
49 | + return true; | |
50 | + } | |
51 | + } | |
52 | + catch | |
53 | + { | |
54 | + } | |
55 | + return true; | |
56 | + } | |
57 | + } | |
58 | +} |
+++ KHSCALE_TP/FormLogin.Designer.cs
... | ... | @@ -0,0 +1,271 @@ |
1 | +namespace KHSCALE_TP | |
2 | +{ | |
3 | + partial class FormLogin | |
4 | + { | |
5 | + /// <summary> | |
6 | + /// Required designer variable. | |
7 | + /// </summary> | |
8 | + private System.ComponentModel.IContainer components = null; | |
9 | + | |
10 | + /// <summary> | |
11 | + /// Clean up any resources being used. | |
12 | + /// </summary> | |
13 | + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | |
14 | + protected override void Dispose(bool disposing) | |
15 | + { | |
16 | + if (disposing && (components != null)) | |
17 | + { | |
18 | + components.Dispose(); | |
19 | + } | |
20 | + base.Dispose(disposing); | |
21 | + } | |
22 | + | |
23 | + #region Windows Form Designer generated code | |
24 | + | |
25 | + /// <summary> | |
26 | + /// Required method for Designer support - do not modify | |
27 | + /// the contents of this method with the code editor. | |
28 | + /// </summary> | |
29 | + private void InitializeComponent() | |
30 | + { | |
31 | + this.simpleButton_1 = new DevExpress.XtraEditors.SimpleButton(); | |
32 | + this.simpleButton_2 = new DevExpress.XtraEditors.SimpleButton(); | |
33 | + this.simpleButton_3 = new DevExpress.XtraEditors.SimpleButton(); | |
34 | + this.simpleButton3 = new DevExpress.XtraEditors.SimpleButton(); | |
35 | + this.simpleButton4 = new DevExpress.XtraEditors.SimpleButton(); | |
36 | + this.simpleButton5 = new DevExpress.XtraEditors.SimpleButton(); | |
37 | + this.simpleButton6 = new DevExpress.XtraEditors.SimpleButton(); | |
38 | + this.simpleButton7 = new DevExpress.XtraEditors.SimpleButton(); | |
39 | + this.simpleButton8 = new DevExpress.XtraEditors.SimpleButton(); | |
40 | + this.simpleButton_Backspace = new DevExpress.XtraEditors.SimpleButton(); | |
41 | + this.simpleButton10 = new DevExpress.XtraEditors.SimpleButton(); | |
42 | + this.simpleButton1_X = new DevExpress.XtraEditors.SimpleButton(); | |
43 | + this.textEdit_PIN = new DevExpress.XtraEditors.TextEdit(); | |
44 | + this.lookUpEdit_User = new DevExpress.XtraEditors.LookUpEdit(); | |
45 | + this.simpleButton_Cancel = new DevExpress.XtraEditors.SimpleButton(); | |
46 | + ((System.ComponentModel.ISupportInitialize)(this.textEdit_PIN.Properties)).BeginInit(); | |
47 | + ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit_User.Properties)).BeginInit(); | |
48 | + this.SuspendLayout(); | |
49 | + // | |
50 | + // simpleButton_1 | |
51 | + // | |
52 | + this.simpleButton_1.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
53 | + this.simpleButton_1.Appearance.Options.UseFont = true; | |
54 | + this.simpleButton_1.Location = new System.Drawing.Point(28, 203); | |
55 | + this.simpleButton_1.Name = "simpleButton_1"; | |
56 | + this.simpleButton_1.Size = new System.Drawing.Size(75, 73); | |
57 | + this.simpleButton_1.TabIndex = 0; | |
58 | + this.simpleButton_1.Text = "1"; | |
59 | + this.simpleButton_1.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
60 | + // | |
61 | + // simpleButton_2 | |
62 | + // | |
63 | + this.simpleButton_2.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
64 | + this.simpleButton_2.Appearance.Options.UseFont = true; | |
65 | + this.simpleButton_2.Location = new System.Drawing.Point(109, 203); | |
66 | + this.simpleButton_2.Name = "simpleButton_2"; | |
67 | + this.simpleButton_2.Size = new System.Drawing.Size(75, 73); | |
68 | + this.simpleButton_2.TabIndex = 1; | |
69 | + this.simpleButton_2.Text = "2"; | |
70 | + this.simpleButton_2.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
71 | + // | |
72 | + // simpleButton_3 | |
73 | + // | |
74 | + this.simpleButton_3.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
75 | + this.simpleButton_3.Appearance.Options.UseFont = true; | |
76 | + this.simpleButton_3.Location = new System.Drawing.Point(190, 203); | |
77 | + this.simpleButton_3.Name = "simpleButton_3"; | |
78 | + this.simpleButton_3.Size = new System.Drawing.Size(75, 73); | |
79 | + this.simpleButton_3.TabIndex = 2; | |
80 | + this.simpleButton_3.Text = "3"; | |
81 | + this.simpleButton_3.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
82 | + // | |
83 | + // simpleButton3 | |
84 | + // | |
85 | + this.simpleButton3.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
86 | + this.simpleButton3.Appearance.Options.UseFont = true; | |
87 | + this.simpleButton3.Location = new System.Drawing.Point(190, 282); | |
88 | + this.simpleButton3.Name = "simpleButton3"; | |
89 | + this.simpleButton3.Size = new System.Drawing.Size(75, 73); | |
90 | + this.simpleButton3.TabIndex = 5; | |
91 | + this.simpleButton3.Text = "6"; | |
92 | + this.simpleButton3.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
93 | + // | |
94 | + // simpleButton4 | |
95 | + // | |
96 | + this.simpleButton4.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
97 | + this.simpleButton4.Appearance.Options.UseFont = true; | |
98 | + this.simpleButton4.Location = new System.Drawing.Point(109, 282); | |
99 | + this.simpleButton4.Name = "simpleButton4"; | |
100 | + this.simpleButton4.Size = new System.Drawing.Size(75, 73); | |
101 | + this.simpleButton4.TabIndex = 4; | |
102 | + this.simpleButton4.Text = "5"; | |
103 | + this.simpleButton4.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
104 | + // | |
105 | + // simpleButton5 | |
106 | + // | |
107 | + this.simpleButton5.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
108 | + this.simpleButton5.Appearance.Options.UseFont = true; | |
109 | + this.simpleButton5.Location = new System.Drawing.Point(28, 282); | |
110 | + this.simpleButton5.Name = "simpleButton5"; | |
111 | + this.simpleButton5.Size = new System.Drawing.Size(75, 73); | |
112 | + this.simpleButton5.TabIndex = 3; | |
113 | + this.simpleButton5.Text = "4"; | |
114 | + this.simpleButton5.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
115 | + // | |
116 | + // simpleButton6 | |
117 | + // | |
118 | + this.simpleButton6.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
119 | + this.simpleButton6.Appearance.Options.UseFont = true; | |
120 | + this.simpleButton6.Location = new System.Drawing.Point(190, 361); | |
121 | + this.simpleButton6.Name = "simpleButton6"; | |
122 | + this.simpleButton6.Size = new System.Drawing.Size(75, 73); | |
123 | + this.simpleButton6.TabIndex = 8; | |
124 | + this.simpleButton6.Text = "9"; | |
125 | + this.simpleButton6.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
126 | + // | |
127 | + // simpleButton7 | |
128 | + // | |
129 | + this.simpleButton7.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
130 | + this.simpleButton7.Appearance.Options.UseFont = true; | |
131 | + this.simpleButton7.Location = new System.Drawing.Point(109, 361); | |
132 | + this.simpleButton7.Name = "simpleButton7"; | |
133 | + this.simpleButton7.Size = new System.Drawing.Size(75, 73); | |
134 | + this.simpleButton7.TabIndex = 7; | |
135 | + this.simpleButton7.Text = "8"; | |
136 | + this.simpleButton7.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
137 | + // | |
138 | + // simpleButton8 | |
139 | + // | |
140 | + this.simpleButton8.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
141 | + this.simpleButton8.Appearance.Options.UseFont = true; | |
142 | + this.simpleButton8.Location = new System.Drawing.Point(28, 361); | |
143 | + this.simpleButton8.Name = "simpleButton8"; | |
144 | + this.simpleButton8.Size = new System.Drawing.Size(75, 73); | |
145 | + this.simpleButton8.TabIndex = 6; | |
146 | + this.simpleButton8.Text = "7"; | |
147 | + this.simpleButton8.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
148 | + // | |
149 | + // simpleButton_Backspace | |
150 | + // | |
151 | + this.simpleButton_Backspace.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
152 | + this.simpleButton_Backspace.Appearance.Options.UseFont = true; | |
153 | + this.simpleButton_Backspace.Location = new System.Drawing.Point(28, 440); | |
154 | + this.simpleButton_Backspace.Name = "simpleButton_Backspace"; | |
155 | + this.simpleButton_Backspace.Size = new System.Drawing.Size(75, 73); | |
156 | + this.simpleButton_Backspace.TabIndex = 11; | |
157 | + this.simpleButton_Backspace.Text = "◀"; | |
158 | + this.simpleButton_Backspace.Click += new System.EventHandler(this.simpleButton_Backspace_Click); | |
159 | + // | |
160 | + // simpleButton10 | |
161 | + // | |
162 | + this.simpleButton10.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
163 | + this.simpleButton10.Appearance.Options.UseFont = true; | |
164 | + this.simpleButton10.Location = new System.Drawing.Point(109, 440); | |
165 | + this.simpleButton10.Name = "simpleButton10"; | |
166 | + this.simpleButton10.Size = new System.Drawing.Size(75, 73); | |
167 | + this.simpleButton10.TabIndex = 10; | |
168 | + this.simpleButton10.Text = "0"; | |
169 | + this.simpleButton10.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
170 | + // | |
171 | + // simpleButton1_X | |
172 | + // | |
173 | + this.simpleButton1_X.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
174 | + this.simpleButton1_X.Appearance.Options.UseFont = true; | |
175 | + this.simpleButton1_X.Location = new System.Drawing.Point(190, 440); | |
176 | + this.simpleButton1_X.Name = "simpleButton1_X"; | |
177 | + this.simpleButton1_X.Size = new System.Drawing.Size(75, 73); | |
178 | + this.simpleButton1_X.TabIndex = 9; | |
179 | + this.simpleButton1_X.Text = "X"; | |
180 | + this.simpleButton1_X.Click += new System.EventHandler(this.simpleButton1_X_Click); | |
181 | + // | |
182 | + // textEdit_PIN | |
183 | + // | |
184 | + this.textEdit_PIN.EditValue = ""; | |
185 | + this.textEdit_PIN.Enabled = false; | |
186 | + this.textEdit_PIN.Location = new System.Drawing.Point(28, 133); | |
187 | + this.textEdit_PIN.Name = "textEdit_PIN"; | |
188 | + this.textEdit_PIN.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 36F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
189 | + this.textEdit_PIN.Properties.Appearance.Options.UseFont = true; | |
190 | + this.textEdit_PIN.Properties.Appearance.Options.UseTextOptions = true; | |
191 | + this.textEdit_PIN.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
192 | + this.textEdit_PIN.Properties.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; | |
193 | + this.textEdit_PIN.Properties.MaxLength = 4; | |
194 | + this.textEdit_PIN.Properties.PasswordChar = '*'; | |
195 | + this.textEdit_PIN.Properties.ReadOnly = true; | |
196 | + this.textEdit_PIN.Size = new System.Drawing.Size(237, 64); | |
197 | + this.textEdit_PIN.TabIndex = 12; | |
198 | + // | |
199 | + // lookUpEdit_User | |
200 | + // | |
201 | + this.lookUpEdit_User.Location = new System.Drawing.Point(28, 75); | |
202 | + this.lookUpEdit_User.Name = "lookUpEdit_User"; | |
203 | + this.lookUpEdit_User.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
204 | + this.lookUpEdit_User.Properties.Appearance.Options.UseFont = true; | |
205 | + this.lookUpEdit_User.Properties.AppearanceDropDown.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
206 | + this.lookUpEdit_User.Properties.AppearanceDropDown.Options.UseFont = true; | |
207 | + this.lookUpEdit_User.Properties.AutoHeight = false; | |
208 | + this.lookUpEdit_User.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
209 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
210 | + this.lookUpEdit_User.Size = new System.Drawing.Size(237, 52); | |
211 | + this.lookUpEdit_User.TabIndex = 108; | |
212 | + // | |
213 | + // simpleButton_Cancel | |
214 | + // | |
215 | + this.simpleButton_Cancel.Appearance.Font = new System.Drawing.Font("굴림체", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | |
216 | + this.simpleButton_Cancel.Appearance.Options.UseFont = true; | |
217 | + this.simpleButton_Cancel.Location = new System.Drawing.Point(190, 12); | |
218 | + this.simpleButton_Cancel.Name = "simpleButton_Cancel"; | |
219 | + this.simpleButton_Cancel.Size = new System.Drawing.Size(75, 45); | |
220 | + this.simpleButton_Cancel.TabIndex = 109; | |
221 | + this.simpleButton_Cancel.Text = "닫기"; | |
222 | + this.simpleButton_Cancel.Click += new System.EventHandler(this.simpleButton_Cancel_Click); | |
223 | + // | |
224 | + // FormLogin | |
225 | + // | |
226 | + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | |
227 | + this.ClientSize = new System.Drawing.Size(293, 525); | |
228 | + this.ControlBox = false; | |
229 | + this.Controls.Add(this.simpleButton_Cancel); | |
230 | + this.Controls.Add(this.lookUpEdit_User); | |
231 | + this.Controls.Add(this.textEdit_PIN); | |
232 | + this.Controls.Add(this.simpleButton_Backspace); | |
233 | + this.Controls.Add(this.simpleButton10); | |
234 | + this.Controls.Add(this.simpleButton1_X); | |
235 | + this.Controls.Add(this.simpleButton6); | |
236 | + this.Controls.Add(this.simpleButton7); | |
237 | + this.Controls.Add(this.simpleButton8); | |
238 | + this.Controls.Add(this.simpleButton3); | |
239 | + this.Controls.Add(this.simpleButton4); | |
240 | + this.Controls.Add(this.simpleButton5); | |
241 | + this.Controls.Add(this.simpleButton_3); | |
242 | + this.Controls.Add(this.simpleButton_2); | |
243 | + this.Controls.Add(this.simpleButton_1); | |
244 | + this.Name = "FormLogin"; | |
245 | + this.ShowIcon = false; | |
246 | + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | |
247 | + ((System.ComponentModel.ISupportInitialize)(this.textEdit_PIN.Properties)).EndInit(); | |
248 | + ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit_User.Properties)).EndInit(); | |
249 | + this.ResumeLayout(false); | |
250 | + | |
251 | + } | |
252 | + | |
253 | + #endregion | |
254 | + | |
255 | + private DevExpress.XtraEditors.SimpleButton simpleButton_1; | |
256 | + private DevExpress.XtraEditors.SimpleButton simpleButton_2; | |
257 | + private DevExpress.XtraEditors.SimpleButton simpleButton_3; | |
258 | + private DevExpress.XtraEditors.SimpleButton simpleButton3; | |
259 | + private DevExpress.XtraEditors.SimpleButton simpleButton4; | |
260 | + private DevExpress.XtraEditors.SimpleButton simpleButton5; | |
261 | + private DevExpress.XtraEditors.SimpleButton simpleButton6; | |
262 | + private DevExpress.XtraEditors.SimpleButton simpleButton7; | |
263 | + private DevExpress.XtraEditors.SimpleButton simpleButton8; | |
264 | + private DevExpress.XtraEditors.SimpleButton simpleButton_Backspace; | |
265 | + private DevExpress.XtraEditors.SimpleButton simpleButton10; | |
266 | + private DevExpress.XtraEditors.SimpleButton simpleButton1_X; | |
267 | + private DevExpress.XtraEditors.TextEdit textEdit_PIN; | |
268 | + private DevExpress.XtraEditors.LookUpEdit lookUpEdit_User; | |
269 | + private DevExpress.XtraEditors.SimpleButton simpleButton_Cancel; | |
270 | + } | |
271 | +}(No newline at end of file) |
+++ KHSCALE_TP/FormLogin.cs
... | ... | @@ -0,0 +1,112 @@ |
1 | +using DevExpress.XtraEditors; | |
2 | +using PublicLib; | |
3 | +using System; | |
4 | +using System.Collections.Generic; | |
5 | +using System.ComponentModel; | |
6 | +using System.Data; | |
7 | +using System.Drawing; | |
8 | +using System.Linq; | |
9 | +using System.Text; | |
10 | +using System.Threading.Tasks; | |
11 | +using System.Windows.Forms; | |
12 | + | |
13 | +namespace KHSCALE_TP | |
14 | +{ | |
15 | + public partial class FormLogin : Form | |
16 | + { | |
17 | + U3Database u3Database = new U3Database(); | |
18 | + string m_COMP_CD = ""; | |
19 | + | |
20 | + string Login_ID = ""; | |
21 | + string Login_NM = ""; | |
22 | + | |
23 | + public FormLogin(string COMP_CD) | |
24 | + { | |
25 | + InitializeComponent(); | |
26 | + | |
27 | + m_COMP_CD = COMP_CD; | |
28 | + DataView grpUser = new DataView(GetUserTable()); | |
29 | + UtilClass.SetLookup(this.lookUpEdit_User, grpUser, "USR_ID", "USR_NM", true); | |
30 | + } | |
31 | + | |
32 | + private DataTable GetUserTable() | |
33 | + { | |
34 | + try | |
35 | + { | |
36 | + return u3Database.OpenSQL("select a.USR_ID, a.USR_NM from dbo.T_SYS_USER a where a.COMP_CD = '" + m_COMP_CD + "' and isnull(a.DEL_YN,'N') = 'N' and isnull(a.PRODUCTION_YN,'N') = 'Y' order by a.USR_NM" | |
37 | + + ""); | |
38 | + } | |
39 | + catch (Exception ex) | |
40 | + { | |
41 | + XtraMessageBox.Show(ex.Message); | |
42 | + } | |
43 | + return null; | |
44 | + } | |
45 | + | |
46 | + private void simpleButton_Cancel_Click(object sender, EventArgs e) | |
47 | + { | |
48 | + this.Close(); | |
49 | + } | |
50 | + | |
51 | + private void simpleButton_Number_Click(object sender, EventArgs e) | |
52 | + { | |
53 | + bool bCehck = false; | |
54 | + if (textEdit_PIN.Text.Length <= 3) | |
55 | + { | |
56 | + textEdit_PIN.Text += ((SimpleButton)sender).Text; | |
57 | + textEdit_PIN.ForeColor = Color.Black; | |
58 | + bCehck = true; | |
59 | + } | |
60 | + if (textEdit_PIN.Text.Length == 4 && bCehck) | |
61 | + { | |
62 | + InputCheck(); | |
63 | + } | |
64 | + | |
65 | + } | |
66 | + | |
67 | + private void simpleButton1_X_Click(object sender, EventArgs e) | |
68 | + { | |
69 | + textEdit_PIN.Text = ""; | |
70 | + textEdit_PIN.ForeColor = Color.Black; | |
71 | + } | |
72 | + | |
73 | + private void simpleButton_Backspace_Click(object sender, EventArgs e) | |
74 | + { | |
75 | + if (textEdit_PIN.Text.Length < 1) return; | |
76 | + textEdit_PIN.Text = textEdit_PIN.Text.Substring(0, textEdit_PIN.Text.Length - 1); | |
77 | + textEdit_PIN.ForeColor = Color.Black; | |
78 | + } | |
79 | + | |
80 | + private void InputCheck() | |
81 | + { | |
82 | + try | |
83 | + { | |
84 | + this.Cursor = Cursors.WaitCursor; | |
85 | + DataTable dt = u3Database.OpenSQL("select a.USR_ID, a.USR_NM from dbo.T_SYS_USER a where a.COMP_CD = '" + m_COMP_CD + "' and isnull(a.DEL_YN,'N') = 'N' and isnull(a.PRODUCTION_YN,'N') = 'Y'" + | |
86 | + " and '" + this.lookUpEdit_User.EditValue + "' = a.USR_ID and TOUCH_PIN_NO = '" + textEdit_PIN.Text + "'" + | |
87 | + " order by a.USR_NM" | |
88 | + + ""); | |
89 | + | |
90 | + if (dt != null) | |
91 | + { | |
92 | + if (dt.Rows.Count > 0) | |
93 | + { | |
94 | + ConstClass._USR_ID = dt.Rows[0]["USR_ID"].ToString(); | |
95 | + ConstClass._USR_NM = dt.Rows[0]["USR_NM"].ToString(); | |
96 | + this.DialogResult = DialogResult.Yes; | |
97 | + } | |
98 | + else | |
99 | + { | |
100 | + textEdit_PIN.ForeColor = Color.Red; | |
101 | + } | |
102 | + } | |
103 | + } | |
104 | + catch (Exception ex) | |
105 | + { | |
106 | + this.Cursor = Cursors.Arrow; | |
107 | + XtraMessageBox.Show(ex.Message); | |
108 | + } | |
109 | + this.Cursor = Cursors.Arrow; | |
110 | + } | |
111 | + } | |
112 | +} |
+++ KHSCALE_TP/FormLogin.resx
... | ... | @@ -0,0 +1,120 @@ |
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 | +</root>(No newline at end of file) |
+++ KHSCALE_TP/FormScale.Designer.cs
... | ... | @@ -0,0 +1,384 @@ |
1 | +namespace KHSCALE_TP | |
2 | +{ | |
3 | + partial class FormScale | |
4 | + { | |
5 | + /// <summary> | |
6 | + /// Required designer variable. | |
7 | + /// </summary> | |
8 | + private System.ComponentModel.IContainer components = null; | |
9 | + | |
10 | + /// <summary> | |
11 | + /// Clean up any resources being used. | |
12 | + /// </summary> | |
13 | + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | |
14 | + protected override void Dispose(bool disposing) | |
15 | + { | |
16 | + if (disposing && (components != null)) | |
17 | + { | |
18 | + components.Dispose(); | |
19 | + } | |
20 | + base.Dispose(disposing); | |
21 | + } | |
22 | + | |
23 | + #region Windows Form Designer generated code | |
24 | + | |
25 | + /// <summary> | |
26 | + /// Required method for Designer support - do not modify | |
27 | + /// the contents of this method with the code editor. | |
28 | + /// </summary> | |
29 | + private void InitializeComponent() | |
30 | + { | |
31 | + this.components = new System.ComponentModel.Container(); | |
32 | + this.timer_min = new System.Windows.Forms.Timer(this.components); | |
33 | + this.timer_save = new System.Windows.Forms.Timer(this.components); | |
34 | + this.panelControl5 = new DevExpress.XtraEditors.PanelControl(); | |
35 | + this.textEdit_ipaddr = new DevExpress.XtraEditors.TextEdit(); | |
36 | + this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); | |
37 | + this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); | |
38 | + this.textEdit_com = new DevExpress.XtraEditors.TextEdit(); | |
39 | + this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); | |
40 | + this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); | |
41 | + this.textEdit_rxcount = new DevExpress.XtraEditors.TextEdit(); | |
42 | + this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); | |
43 | + this.panelControl3 = new DevExpress.XtraEditors.PanelControl(); | |
44 | + this.textEdit_updtime = new DevExpress.XtraEditors.TextEdit(); | |
45 | + this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); | |
46 | + this.button_test = new System.Windows.Forms.Button(); | |
47 | + this.panelControl4 = new DevExpress.XtraEditors.PanelControl(); | |
48 | + this.textEdit_value = new DevExpress.XtraEditors.TextEdit(); | |
49 | + this.labelControl5 = new DevExpress.XtraEditors.LabelControl(); | |
50 | + this.panelControl6 = new DevExpress.XtraEditors.PanelControl(); | |
51 | + this.textEdit_tpid = new DevExpress.XtraEditors.TextEdit(); | |
52 | + this.labelControl6 = new DevExpress.XtraEditors.LabelControl(); | |
53 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).BeginInit(); | |
54 | + this.panelControl5.SuspendLayout(); | |
55 | + ((System.ComponentModel.ISupportInitialize)(this.textEdit_ipaddr.Properties)).BeginInit(); | |
56 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); | |
57 | + this.panelControl1.SuspendLayout(); | |
58 | + ((System.ComponentModel.ISupportInitialize)(this.textEdit_com.Properties)).BeginInit(); | |
59 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); | |
60 | + this.panelControl2.SuspendLayout(); | |
61 | + ((System.ComponentModel.ISupportInitialize)(this.textEdit_rxcount.Properties)).BeginInit(); | |
62 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit(); | |
63 | + this.panelControl3.SuspendLayout(); | |
64 | + ((System.ComponentModel.ISupportInitialize)(this.textEdit_updtime.Properties)).BeginInit(); | |
65 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit(); | |
66 | + this.panelControl4.SuspendLayout(); | |
67 | + ((System.ComponentModel.ISupportInitialize)(this.textEdit_value.Properties)).BeginInit(); | |
68 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl6)).BeginInit(); | |
69 | + this.panelControl6.SuspendLayout(); | |
70 | + ((System.ComponentModel.ISupportInitialize)(this.textEdit_tpid.Properties)).BeginInit(); | |
71 | + this.SuspendLayout(); | |
72 | + // | |
73 | + // timer_min | |
74 | + // | |
75 | + this.timer_min.Tick += new System.EventHandler(this.timer_min_Tick); | |
76 | + // | |
77 | + // timer_save | |
78 | + // | |
79 | + this.timer_save.Tick += new System.EventHandler(this.timer_save_Tick); | |
80 | + // | |
81 | + // panelControl5 | |
82 | + // | |
83 | + this.panelControl5.Controls.Add(this.textEdit_ipaddr); | |
84 | + this.panelControl5.Controls.Add(this.labelControl4); | |
85 | + this.panelControl5.Location = new System.Drawing.Point(12, 23); | |
86 | + this.panelControl5.Name = "panelControl5"; | |
87 | + this.panelControl5.Size = new System.Drawing.Size(345, 40); | |
88 | + this.panelControl5.TabIndex = 109; | |
89 | + this.panelControl5.TabStop = true; | |
90 | + // | |
91 | + // textEdit_ipaddr | |
92 | + // | |
93 | + this.textEdit_ipaddr.Dock = System.Windows.Forms.DockStyle.Fill; | |
94 | + this.textEdit_ipaddr.Enabled = false; | |
95 | + this.textEdit_ipaddr.Location = new System.Drawing.Point(115, 2); | |
96 | + this.textEdit_ipaddr.Name = "textEdit_ipaddr"; | |
97 | + this.textEdit_ipaddr.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
98 | + this.textEdit_ipaddr.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
99 | + this.textEdit_ipaddr.Properties.Appearance.Options.UseBackColor = true; | |
100 | + this.textEdit_ipaddr.Properties.Appearance.Options.UseFont = true; | |
101 | + this.textEdit_ipaddr.Properties.AutoHeight = false; | |
102 | + this.textEdit_ipaddr.Properties.ReadOnly = true; | |
103 | + this.textEdit_ipaddr.Size = new System.Drawing.Size(228, 36); | |
104 | + this.textEdit_ipaddr.TabIndex = 1; | |
105 | + // | |
106 | + // labelControl4 | |
107 | + // | |
108 | + this.labelControl4.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
109 | + this.labelControl4.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
110 | + this.labelControl4.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
111 | + this.labelControl4.Dock = System.Windows.Forms.DockStyle.Left; | |
112 | + this.labelControl4.Location = new System.Drawing.Point(2, 2); | |
113 | + this.labelControl4.Name = "labelControl4"; | |
114 | + this.labelControl4.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
115 | + this.labelControl4.Size = new System.Drawing.Size(113, 36); | |
116 | + this.labelControl4.TabIndex = 0; | |
117 | + this.labelControl4.Text = "IP주소"; | |
118 | + // | |
119 | + // panelControl1 | |
120 | + // | |
121 | + this.panelControl1.Controls.Add(this.textEdit_com); | |
122 | + this.panelControl1.Controls.Add(this.labelControl1); | |
123 | + this.panelControl1.Location = new System.Drawing.Point(12, 115); | |
124 | + this.panelControl1.Name = "panelControl1"; | |
125 | + this.panelControl1.Size = new System.Drawing.Size(437, 40); | |
126 | + this.panelControl1.TabIndex = 110; | |
127 | + this.panelControl1.TabStop = true; | |
128 | + // | |
129 | + // textEdit_com | |
130 | + // | |
131 | + this.textEdit_com.Dock = System.Windows.Forms.DockStyle.Fill; | |
132 | + this.textEdit_com.Enabled = false; | |
133 | + this.textEdit_com.Location = new System.Drawing.Point(115, 2); | |
134 | + this.textEdit_com.Name = "textEdit_com"; | |
135 | + this.textEdit_com.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
136 | + this.textEdit_com.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
137 | + this.textEdit_com.Properties.Appearance.Options.UseBackColor = true; | |
138 | + this.textEdit_com.Properties.Appearance.Options.UseFont = true; | |
139 | + this.textEdit_com.Properties.AutoHeight = false; | |
140 | + this.textEdit_com.Properties.ReadOnly = true; | |
141 | + this.textEdit_com.Size = new System.Drawing.Size(320, 36); | |
142 | + this.textEdit_com.TabIndex = 1; | |
143 | + // | |
144 | + // labelControl1 | |
145 | + // | |
146 | + this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
147 | + this.labelControl1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
148 | + this.labelControl1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
149 | + this.labelControl1.Dock = System.Windows.Forms.DockStyle.Left; | |
150 | + this.labelControl1.Location = new System.Drawing.Point(2, 2); | |
151 | + this.labelControl1.Name = "labelControl1"; | |
152 | + this.labelControl1.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
153 | + this.labelControl1.Size = new System.Drawing.Size(113, 36); | |
154 | + this.labelControl1.TabIndex = 0; | |
155 | + this.labelControl1.Text = "통신설정"; | |
156 | + // | |
157 | + // panelControl2 | |
158 | + // | |
159 | + this.panelControl2.Controls.Add(this.textEdit_rxcount); | |
160 | + this.panelControl2.Controls.Add(this.labelControl2); | |
161 | + this.panelControl2.Location = new System.Drawing.Point(12, 161); | |
162 | + this.panelControl2.Name = "panelControl2"; | |
163 | + this.panelControl2.Size = new System.Drawing.Size(437, 40); | |
164 | + this.panelControl2.TabIndex = 111; | |
165 | + this.panelControl2.TabStop = true; | |
166 | + // | |
167 | + // textEdit_rxcount | |
168 | + // | |
169 | + this.textEdit_rxcount.Dock = System.Windows.Forms.DockStyle.Fill; | |
170 | + this.textEdit_rxcount.Enabled = false; | |
171 | + this.textEdit_rxcount.Location = new System.Drawing.Point(115, 2); | |
172 | + this.textEdit_rxcount.Name = "textEdit_rxcount"; | |
173 | + this.textEdit_rxcount.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
174 | + this.textEdit_rxcount.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
175 | + this.textEdit_rxcount.Properties.Appearance.Options.UseBackColor = true; | |
176 | + this.textEdit_rxcount.Properties.Appearance.Options.UseFont = true; | |
177 | + this.textEdit_rxcount.Properties.AutoHeight = false; | |
178 | + this.textEdit_rxcount.Properties.ReadOnly = true; | |
179 | + this.textEdit_rxcount.Size = new System.Drawing.Size(320, 36); | |
180 | + this.textEdit_rxcount.TabIndex = 1; | |
181 | + // | |
182 | + // labelControl2 | |
183 | + // | |
184 | + this.labelControl2.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
185 | + this.labelControl2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
186 | + this.labelControl2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
187 | + this.labelControl2.Dock = System.Windows.Forms.DockStyle.Left; | |
188 | + this.labelControl2.Location = new System.Drawing.Point(2, 2); | |
189 | + this.labelControl2.Name = "labelControl2"; | |
190 | + this.labelControl2.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
191 | + this.labelControl2.Size = new System.Drawing.Size(113, 36); | |
192 | + this.labelControl2.TabIndex = 0; | |
193 | + this.labelControl2.Text = "RX 횟수"; | |
194 | + // | |
195 | + // panelControl3 | |
196 | + // | |
197 | + this.panelControl3.Controls.Add(this.textEdit_updtime); | |
198 | + this.panelControl3.Controls.Add(this.labelControl3); | |
199 | + this.panelControl3.Location = new System.Drawing.Point(12, 207); | |
200 | + this.panelControl3.Name = "panelControl3"; | |
201 | + this.panelControl3.Size = new System.Drawing.Size(437, 40); | |
202 | + this.panelControl3.TabIndex = 112; | |
203 | + this.panelControl3.TabStop = true; | |
204 | + // | |
205 | + // textEdit_updtime | |
206 | + // | |
207 | + this.textEdit_updtime.Dock = System.Windows.Forms.DockStyle.Fill; | |
208 | + this.textEdit_updtime.Enabled = false; | |
209 | + this.textEdit_updtime.Location = new System.Drawing.Point(115, 2); | |
210 | + this.textEdit_updtime.Name = "textEdit_updtime"; | |
211 | + this.textEdit_updtime.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
212 | + this.textEdit_updtime.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
213 | + this.textEdit_updtime.Properties.Appearance.Options.UseBackColor = true; | |
214 | + this.textEdit_updtime.Properties.Appearance.Options.UseFont = true; | |
215 | + this.textEdit_updtime.Properties.AutoHeight = false; | |
216 | + this.textEdit_updtime.Properties.ReadOnly = true; | |
217 | + this.textEdit_updtime.Size = new System.Drawing.Size(320, 36); | |
218 | + this.textEdit_updtime.TabIndex = 1; | |
219 | + // | |
220 | + // labelControl3 | |
221 | + // | |
222 | + this.labelControl3.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
223 | + this.labelControl3.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
224 | + this.labelControl3.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
225 | + this.labelControl3.Dock = System.Windows.Forms.DockStyle.Left; | |
226 | + this.labelControl3.Location = new System.Drawing.Point(2, 2); | |
227 | + this.labelControl3.Name = "labelControl3"; | |
228 | + this.labelControl3.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
229 | + this.labelControl3.Size = new System.Drawing.Size(113, 36); | |
230 | + this.labelControl3.TabIndex = 0; | |
231 | + this.labelControl3.Text = "갱신시각"; | |
232 | + // | |
233 | + // button_test | |
234 | + // | |
235 | + this.button_test.Location = new System.Drawing.Point(363, 23); | |
236 | + this.button_test.Name = "button_test"; | |
237 | + this.button_test.Size = new System.Drawing.Size(86, 40); | |
238 | + this.button_test.TabIndex = 113; | |
239 | + this.button_test.Text = "..."; | |
240 | + this.button_test.UseVisualStyleBackColor = true; | |
241 | + this.button_test.Click += new System.EventHandler(this.button_test_Click); | |
242 | + // | |
243 | + // panelControl4 | |
244 | + // | |
245 | + this.panelControl4.Controls.Add(this.textEdit_value); | |
246 | + this.panelControl4.Controls.Add(this.labelControl5); | |
247 | + this.panelControl4.Location = new System.Drawing.Point(12, 253); | |
248 | + this.panelControl4.Name = "panelControl4"; | |
249 | + this.panelControl4.Size = new System.Drawing.Size(437, 40); | |
250 | + this.panelControl4.TabIndex = 114; | |
251 | + this.panelControl4.TabStop = true; | |
252 | + // | |
253 | + // textEdit_value | |
254 | + // | |
255 | + this.textEdit_value.Dock = System.Windows.Forms.DockStyle.Fill; | |
256 | + this.textEdit_value.Enabled = false; | |
257 | + this.textEdit_value.Location = new System.Drawing.Point(115, 2); | |
258 | + this.textEdit_value.Name = "textEdit_value"; | |
259 | + this.textEdit_value.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
260 | + this.textEdit_value.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
261 | + this.textEdit_value.Properties.Appearance.Options.UseBackColor = true; | |
262 | + this.textEdit_value.Properties.Appearance.Options.UseFont = true; | |
263 | + this.textEdit_value.Properties.AutoHeight = false; | |
264 | + this.textEdit_value.Properties.ReadOnly = true; | |
265 | + this.textEdit_value.Size = new System.Drawing.Size(320, 36); | |
266 | + this.textEdit_value.TabIndex = 1; | |
267 | + // | |
268 | + // labelControl5 | |
269 | + // | |
270 | + this.labelControl5.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
271 | + this.labelControl5.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
272 | + this.labelControl5.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
273 | + this.labelControl5.Dock = System.Windows.Forms.DockStyle.Left; | |
274 | + this.labelControl5.Location = new System.Drawing.Point(2, 2); | |
275 | + this.labelControl5.Name = "labelControl5"; | |
276 | + this.labelControl5.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
277 | + this.labelControl5.Size = new System.Drawing.Size(113, 36); | |
278 | + this.labelControl5.TabIndex = 0; | |
279 | + this.labelControl5.Text = "측정값"; | |
280 | + // | |
281 | + // panelControl6 | |
282 | + // | |
283 | + this.panelControl6.Controls.Add(this.textEdit_tpid); | |
284 | + this.panelControl6.Controls.Add(this.labelControl6); | |
285 | + this.panelControl6.Location = new System.Drawing.Point(12, 69); | |
286 | + this.panelControl6.Name = "panelControl6"; | |
287 | + this.panelControl6.Size = new System.Drawing.Size(437, 40); | |
288 | + this.panelControl6.TabIndex = 115; | |
289 | + this.panelControl6.TabStop = true; | |
290 | + // | |
291 | + // textEdit_tpid | |
292 | + // | |
293 | + this.textEdit_tpid.Dock = System.Windows.Forms.DockStyle.Fill; | |
294 | + this.textEdit_tpid.Enabled = false; | |
295 | + this.textEdit_tpid.Location = new System.Drawing.Point(115, 2); | |
296 | + this.textEdit_tpid.Name = "textEdit_tpid"; | |
297 | + this.textEdit_tpid.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
298 | + this.textEdit_tpid.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
299 | + this.textEdit_tpid.Properties.Appearance.Options.UseBackColor = true; | |
300 | + this.textEdit_tpid.Properties.Appearance.Options.UseFont = true; | |
301 | + this.textEdit_tpid.Properties.AutoHeight = false; | |
302 | + this.textEdit_tpid.Properties.ReadOnly = true; | |
303 | + this.textEdit_tpid.Size = new System.Drawing.Size(320, 36); | |
304 | + this.textEdit_tpid.TabIndex = 1; | |
305 | + // | |
306 | + // labelControl6 | |
307 | + // | |
308 | + this.labelControl6.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
309 | + this.labelControl6.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
310 | + this.labelControl6.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
311 | + this.labelControl6.Dock = System.Windows.Forms.DockStyle.Left; | |
312 | + this.labelControl6.Location = new System.Drawing.Point(2, 2); | |
313 | + this.labelControl6.Name = "labelControl6"; | |
314 | + this.labelControl6.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
315 | + this.labelControl6.Size = new System.Drawing.Size(113, 36); | |
316 | + this.labelControl6.TabIndex = 0; | |
317 | + this.labelControl6.Text = "터치패널ID"; | |
318 | + // | |
319 | + // FormScale | |
320 | + // | |
321 | + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | |
322 | + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | |
323 | + this.ClientSize = new System.Drawing.Size(461, 322); | |
324 | + this.Controls.Add(this.panelControl6); | |
325 | + this.Controls.Add(this.panelControl4); | |
326 | + this.Controls.Add(this.button_test); | |
327 | + this.Controls.Add(this.panelControl3); | |
328 | + this.Controls.Add(this.panelControl2); | |
329 | + this.Controls.Add(this.panelControl1); | |
330 | + this.Controls.Add(this.panelControl5); | |
331 | + this.DoubleBuffered = true; | |
332 | + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; | |
333 | + this.Name = "FormScale"; | |
334 | + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | |
335 | + this.Text = "FormScale"; | |
336 | + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormScale_FormClosing); | |
337 | + this.Load += new System.EventHandler(this.FormScale_Load); | |
338 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).EndInit(); | |
339 | + this.panelControl5.ResumeLayout(false); | |
340 | + ((System.ComponentModel.ISupportInitialize)(this.textEdit_ipaddr.Properties)).EndInit(); | |
341 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); | |
342 | + this.panelControl1.ResumeLayout(false); | |
343 | + ((System.ComponentModel.ISupportInitialize)(this.textEdit_com.Properties)).EndInit(); | |
344 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); | |
345 | + this.panelControl2.ResumeLayout(false); | |
346 | + ((System.ComponentModel.ISupportInitialize)(this.textEdit_rxcount.Properties)).EndInit(); | |
347 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit(); | |
348 | + this.panelControl3.ResumeLayout(false); | |
349 | + ((System.ComponentModel.ISupportInitialize)(this.textEdit_updtime.Properties)).EndInit(); | |
350 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit(); | |
351 | + this.panelControl4.ResumeLayout(false); | |
352 | + ((System.ComponentModel.ISupportInitialize)(this.textEdit_value.Properties)).EndInit(); | |
353 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl6)).EndInit(); | |
354 | + this.panelControl6.ResumeLayout(false); | |
355 | + ((System.ComponentModel.ISupportInitialize)(this.textEdit_tpid.Properties)).EndInit(); | |
356 | + this.ResumeLayout(false); | |
357 | + | |
358 | + } | |
359 | + | |
360 | + #endregion | |
361 | + | |
362 | + private System.Windows.Forms.Timer timer_min; | |
363 | + private System.Windows.Forms.Timer timer_save; | |
364 | + private DevExpress.XtraEditors.PanelControl panelControl5; | |
365 | + private DevExpress.XtraEditors.TextEdit textEdit_ipaddr; | |
366 | + private DevExpress.XtraEditors.LabelControl labelControl4; | |
367 | + private DevExpress.XtraEditors.PanelControl panelControl1; | |
368 | + private DevExpress.XtraEditors.TextEdit textEdit_com; | |
369 | + private DevExpress.XtraEditors.LabelControl labelControl1; | |
370 | + private DevExpress.XtraEditors.PanelControl panelControl2; | |
371 | + private DevExpress.XtraEditors.TextEdit textEdit_rxcount; | |
372 | + private DevExpress.XtraEditors.LabelControl labelControl2; | |
373 | + private DevExpress.XtraEditors.PanelControl panelControl3; | |
374 | + private DevExpress.XtraEditors.TextEdit textEdit_updtime; | |
375 | + private DevExpress.XtraEditors.LabelControl labelControl3; | |
376 | + private System.Windows.Forms.Button button_test; | |
377 | + private DevExpress.XtraEditors.PanelControl panelControl4; | |
378 | + private DevExpress.XtraEditors.TextEdit textEdit_value; | |
379 | + private DevExpress.XtraEditors.LabelControl labelControl5; | |
380 | + private DevExpress.XtraEditors.PanelControl panelControl6; | |
381 | + private DevExpress.XtraEditors.TextEdit textEdit_tpid; | |
382 | + private DevExpress.XtraEditors.LabelControl labelControl6; | |
383 | + } | |
384 | +}(No newline at end of file) |
+++ KHSCALE_TP/FormScale.cs
... | ... | @@ -0,0 +1,136 @@ |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | +using System.ComponentModel; | |
4 | +using System.Data; | |
5 | +using System.Drawing; | |
6 | +using System.Linq; | |
7 | +using System.Text; | |
8 | +using System.Threading.Tasks; | |
9 | +using System.Windows.Forms; | |
10 | +using System.Net; | |
11 | + | |
12 | +namespace KHSCALE_TP | |
13 | +{ | |
14 | + public partial class FormScale : Form | |
15 | + { | |
16 | + // 전자 저울 변수 선언 | |
17 | + private SerialBase m_ser = null; | |
18 | + private string m_strip = ""; | |
19 | + private string m_strTouchid = ""; | |
20 | + | |
21 | + public FormScale() | |
22 | + { | |
23 | + InitializeComponent(); | |
24 | + } | |
25 | + | |
26 | + private void FormScale_Load(object sender, EventArgs e) | |
27 | + { | |
28 | + this.WindowState = FormWindowState.Minimized; | |
29 | + | |
30 | + IPHostEntry host = Dns.GetHostEntry(Dns.GetHostName()); | |
31 | + foreach (IPAddress ip in host.AddressList) | |
32 | + { | |
33 | + m_strip = ip.ToString(); | |
34 | + } | |
35 | + | |
36 | + m_strip = "192.168.1.121"; | |
37 | + | |
38 | + U3Database db = new U3Database(); | |
39 | + DataTable dt = db.OpenSQL("select * from T_STD_MACH where MACH_TYPE = 'TP'"); | |
40 | + foreach (DataRow dr in dt.Rows) | |
41 | + { | |
42 | + if (dr["REMARK01"].ToString() == m_strip) | |
43 | + { | |
44 | + m_strTouchid = dr["MACH_CD"].ToString(); | |
45 | + this.textEdit_tpid.Text = m_strTouchid; | |
46 | + } | |
47 | + } | |
48 | + | |
49 | + SetScale(); | |
50 | + | |
51 | + this.textEdit_ipaddr.Text = m_strip; | |
52 | + if (m_ser != null) | |
53 | + this.textEdit_com.Text = m_ser.GetComSetting(); | |
54 | + else | |
55 | + this.textEdit_com.Text = "통신설정 실패"; | |
56 | + | |
57 | + timer_min.Enabled = true; | |
58 | + timer_min.Interval = 20000; | |
59 | + timer_save.Enabled = true; | |
60 | + timer_save.Interval = 1000; | |
61 | + } | |
62 | + | |
63 | + private void SetScale() | |
64 | + { | |
65 | + //CAS 501/600 | |
66 | + if (m_strip == "192.168.1.121" || m_strip == "192.168.1.124") | |
67 | + { | |
68 | + m_ser = new ComCasCi501(); | |
69 | + m_ser.Init("COM1", 9600, 0, 8, 1); | |
70 | + } | |
71 | + //ICS9000 | |
72 | + else if (m_strip == "192.168.1.125") | |
73 | + { | |
74 | + m_ser = new ComIcs9000(); | |
75 | + m_ser.Init("COM1", 9600, 0, 8, 1); | |
76 | + } | |
77 | + //FS-1020C | |
78 | + else if (m_strip == "192.168.1.126" || m_strip == "192.168.1.127" || m_strip == "192.168.1.128" || m_strip == "192.168.1.122" || m_strip == "192.168.1.123") | |
79 | + { | |
80 | + m_ser = new ComFs1020c(); | |
81 | + m_ser.Init("COM1", 9600, 0, 8, 1); | |
82 | + } | |
83 | + else if (m_strip == "192.168.1.129") | |
84 | + { | |
85 | + m_ser = new ComFs1020c(); | |
86 | + // 구리스는 COM2 / 그 외는 COM1 | |
87 | + m_ser.Init("COM2", 9600, 0, 8, 1); | |
88 | + } | |
89 | + } | |
90 | + | |
91 | + private void timer_min_Tick(object sender, EventArgs e) | |
92 | + { | |
93 | + this.WindowState = FormWindowState.Minimized; | |
94 | + } | |
95 | + | |
96 | + private void timer_save_Tick(object sender, EventArgs e) | |
97 | + { | |
98 | + if (m_ser != null) | |
99 | + { | |
100 | + this.textEdit_value.Text = m_ser.GetValue().ToString(); | |
101 | + this.textEdit_rxcount.Text = m_ser.GetRecvCount().ToString(); | |
102 | + this.textEdit_updtime.Text = m_ser.GetUpdTime().ToString("yyyy-MM-dd HH:mm:ss"); | |
103 | + | |
104 | + string strSQL = "update T_HT_REAL_SCALE set "; | |
105 | + strSQL += " SCALE_VALUE = " + m_ser.GetValue().ToString() + ","; | |
106 | + strSQL += " REG_IP = '" + m_strip + "',"; | |
107 | + strSQL += " REG_DT = getdate() "; | |
108 | + strSQL += " where COMP_CD = '0001' and TOUCH_CD = '" + m_strTouchid + "'"; | |
109 | + | |
110 | + U3Database db = new U3Database(); | |
111 | + db.ExcuteSql(strSQL); | |
112 | + } | |
113 | + else | |
114 | + { | |
115 | + this.textEdit_value.Text = ""; | |
116 | + this.textEdit_rxcount.Text = ""; | |
117 | + this.textEdit_updtime.Text = ""; | |
118 | + } | |
119 | + } | |
120 | + | |
121 | + private void button_test_Click(object sender, EventArgs e) | |
122 | + { | |
123 | + //Application.Restart(); | |
124 | + } | |
125 | + | |
126 | + private void FormScale_FormClosing(object sender, FormClosingEventArgs e) | |
127 | + { | |
128 | + // 윈도우 종료가 아닐때만 프로그램 종료 안되게 | |
129 | + if (e.CloseReason != CloseReason.WindowsShutDown) | |
130 | + { | |
131 | + this.WindowState = FormWindowState.Minimized; | |
132 | + e.Cancel = true; | |
133 | + } | |
134 | + } | |
135 | + } | |
136 | +} |
+++ KHSCALE_TP/FormScale.resx
... | ... | @@ -0,0 +1,129 @@ |
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 | + <metadata name="timer_min.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | |
121 | + <value>17, 17</value> | |
122 | + </metadata> | |
123 | + <metadata name="timer_save.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | |
124 | + <value>121, 18</value> | |
125 | + </metadata> | |
126 | + <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
127 | + <value>65</value> | |
128 | + </metadata> | |
129 | +</root>(No newline at end of file) |
+++ KHSCALE_TP/KHSCALE_TP.csproj
... | ... | @@ -0,0 +1,310 @@ |
1 | +<?xml version="1.0" encoding="utf-8"?> | |
2 | +<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
3 | + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | |
4 | + <PropertyGroup> | |
5 | + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |
6 | + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |
7 | + <ProjectGuid>{2E133560-4F54-4D44-A0DB-EDB6C5C36E84}</ProjectGuid> | |
8 | + <OutputType>WinExe</OutputType> | |
9 | + <RootNamespace>KHSCALE_TP</RootNamespace> | |
10 | + <AssemblyName>KHSCALE_TP</AssemblyName> | |
11 | + <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | |
12 | + <FileAlignment>512</FileAlignment> | |
13 | + <Deterministic>true</Deterministic> | |
14 | + </PropertyGroup> | |
15 | + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |
16 | + <PlatformTarget>AnyCPU</PlatformTarget> | |
17 | + <DebugSymbols>true</DebugSymbols> | |
18 | + <DebugType>full</DebugType> | |
19 | + <Optimize>false</Optimize> | |
20 | + <OutputPath>bin\Debug\</OutputPath> | |
21 | + <DefineConstants>DEBUG;TRACE</DefineConstants> | |
22 | + <ErrorReport>prompt</ErrorReport> | |
23 | + <WarningLevel>4</WarningLevel> | |
24 | + </PropertyGroup> | |
25 | + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | |
26 | + <PlatformTarget>AnyCPU</PlatformTarget> | |
27 | + <DebugType>pdbonly</DebugType> | |
28 | + <Optimize>true</Optimize> | |
29 | + <OutputPath>bin\Release\</OutputPath> | |
30 | + <DefineConstants>TRACE</DefineConstants> | |
31 | + <ErrorReport>prompt</ErrorReport> | |
32 | + <WarningLevel>4</WarningLevel> | |
33 | + </PropertyGroup> | |
34 | + <PropertyGroup> | |
35 | + <ApplicationIcon>content-window_icon-icons.com_58037.ico</ApplicationIcon> | |
36 | + </PropertyGroup> | |
37 | + <ItemGroup> | |
38 | + <Reference Include="AegisImplicitMail, Version=1.0.0.1, Culture=neutral, processorArchitecture=MSIL"> | |
39 | + <SpecificVersion>False</SpecificVersion> | |
40 | + <HintPath>..\GUSALE_TP\bin\Debug\AegisImplicitMail.dll</HintPath> | |
41 | + </Reference> | |
42 | + <Reference Include="ClientLib"> | |
43 | + <HintPath>..\GUSALE_TP\bin\Debug\ClientLib.dll</HintPath> | |
44 | + </Reference> | |
45 | + <Reference Include="DevExpress.BonusSkins.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
46 | + <SpecificVersion>False</SpecificVersion> | |
47 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.BonusSkins.v14.1.dll</HintPath> | |
48 | + </Reference> | |
49 | + <Reference Include="DevExpress.Charts.v14.1.Core, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
50 | + <SpecificVersion>False</SpecificVersion> | |
51 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.Charts.v14.1.Core.dll</HintPath> | |
52 | + </Reference> | |
53 | + <Reference Include="DevExpress.CodeParser.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
54 | + <SpecificVersion>False</SpecificVersion> | |
55 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.CodeParser.v14.1.dll</HintPath> | |
56 | + </Reference> | |
57 | + <Reference Include="DevExpress.Data.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
58 | + <SpecificVersion>False</SpecificVersion> | |
59 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.Data.v14.1.dll</HintPath> | |
60 | + </Reference> | |
61 | + <Reference Include="DevExpress.DataAccess.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
62 | + <SpecificVersion>False</SpecificVersion> | |
63 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.DataAccess.v14.1.dll</HintPath> | |
64 | + </Reference> | |
65 | + <Reference Include="DevExpress.DataAccess.v14.1.UI, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
66 | + <SpecificVersion>False</SpecificVersion> | |
67 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.DataAccess.v14.1.UI.dll</HintPath> | |
68 | + </Reference> | |
69 | + <Reference Include="DevExpress.Docs.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
70 | + <SpecificVersion>False</SpecificVersion> | |
71 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.Docs.v14.1.dll</HintPath> | |
72 | + </Reference> | |
73 | + <Reference Include="DevExpress.Office.v14.1.Core, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
74 | + <SpecificVersion>False</SpecificVersion> | |
75 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.Office.v14.1.Core.dll</HintPath> | |
76 | + </Reference> | |
77 | + <Reference Include="DevExpress.Pdf.v14.1.Core, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
78 | + <SpecificVersion>False</SpecificVersion> | |
79 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.Pdf.v14.1.Core.dll</HintPath> | |
80 | + </Reference> | |
81 | + <Reference Include="DevExpress.Pdf.v14.1.Drawing, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
82 | + <SpecificVersion>False</SpecificVersion> | |
83 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.Pdf.v14.1.Drawing.dll</HintPath> | |
84 | + </Reference> | |
85 | + <Reference Include="DevExpress.PivotGrid.v14.1.Core, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
86 | + <SpecificVersion>False</SpecificVersion> | |
87 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.PivotGrid.v14.1.Core.dll</HintPath> | |
88 | + </Reference> | |
89 | + <Reference Include="DevExpress.Printing.v14.1.Core, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
90 | + <SpecificVersion>False</SpecificVersion> | |
91 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.Printing.v14.1.Core.dll</HintPath> | |
92 | + </Reference> | |
93 | + <Reference Include="DevExpress.RichEdit.v14.1.Core, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
94 | + <SpecificVersion>False</SpecificVersion> | |
95 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.RichEdit.v14.1.Core.dll</HintPath> | |
96 | + </Reference> | |
97 | + <Reference Include="DevExpress.Snap.v14.1.Core, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
98 | + <SpecificVersion>False</SpecificVersion> | |
99 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.Snap.v14.1.Core.dll</HintPath> | |
100 | + </Reference> | |
101 | + <Reference Include="DevExpress.Sparkline.v14.1.Core, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
102 | + <SpecificVersion>False</SpecificVersion> | |
103 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.Sparkline.v14.1.Core.dll</HintPath> | |
104 | + </Reference> | |
105 | + <Reference Include="DevExpress.Spreadsheet.v14.1.Core, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
106 | + <SpecificVersion>False</SpecificVersion> | |
107 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.Spreadsheet.v14.1.Core.dll</HintPath> | |
108 | + </Reference> | |
109 | + <Reference Include="DevExpress.Utils.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
110 | + <SpecificVersion>False</SpecificVersion> | |
111 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.Utils.v14.1.dll</HintPath> | |
112 | + </Reference> | |
113 | + <Reference Include="DevExpress.Utils.v14.1.UI, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
114 | + <SpecificVersion>False</SpecificVersion> | |
115 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.Utils.v14.1.UI.dll</HintPath> | |
116 | + </Reference> | |
117 | + <Reference Include="DevExpress.Xpo.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
118 | + <SpecificVersion>False</SpecificVersion> | |
119 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.Xpo.v14.1.dll</HintPath> | |
120 | + </Reference> | |
121 | + <Reference Include="DevExpress.XtraBars.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
122 | + <SpecificVersion>False</SpecificVersion> | |
123 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraBars.v14.1.dll</HintPath> | |
124 | + </Reference> | |
125 | + <Reference Include="DevExpress.XtraCharts.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
126 | + <SpecificVersion>False</SpecificVersion> | |
127 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraCharts.v14.1.dll</HintPath> | |
128 | + </Reference> | |
129 | + <Reference Include="DevExpress.XtraCharts.v14.1.Extensions, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
130 | + <SpecificVersion>False</SpecificVersion> | |
131 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraCharts.v14.1.Extensions.dll</HintPath> | |
132 | + </Reference> | |
133 | + <Reference Include="DevExpress.XtraCharts.v14.1.UI, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
134 | + <SpecificVersion>False</SpecificVersion> | |
135 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraCharts.v14.1.UI.dll</HintPath> | |
136 | + </Reference> | |
137 | + <Reference Include="DevExpress.XtraCharts.v14.1.Wizard, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
138 | + <SpecificVersion>False</SpecificVersion> | |
139 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraCharts.v14.1.Wizard.dll</HintPath> | |
140 | + </Reference> | |
141 | + <Reference Include="DevExpress.XtraEditors.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
142 | + <SpecificVersion>False</SpecificVersion> | |
143 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraEditors.v14.1.dll</HintPath> | |
144 | + </Reference> | |
145 | + <Reference Include="DevExpress.XtraGauges.v14.1.Core, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
146 | + <SpecificVersion>False</SpecificVersion> | |
147 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraGauges.v14.1.Core.dll</HintPath> | |
148 | + </Reference> | |
149 | + <Reference Include="DevExpress.XtraGrid.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
150 | + <SpecificVersion>False</SpecificVersion> | |
151 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraGrid.v14.1.dll</HintPath> | |
152 | + </Reference> | |
153 | + <Reference Include="DevExpress.XtraLayout.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
154 | + <SpecificVersion>False</SpecificVersion> | |
155 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraLayout.v14.1.dll</HintPath> | |
156 | + </Reference> | |
157 | + <Reference Include="DevExpress.XtraNavBar.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
158 | + <SpecificVersion>False</SpecificVersion> | |
159 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraNavBar.v14.1.dll</HintPath> | |
160 | + </Reference> | |
161 | + <Reference Include="DevExpress.XtraPdfViewer.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
162 | + <SpecificVersion>False</SpecificVersion> | |
163 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraPdfViewer.v14.1.dll</HintPath> | |
164 | + </Reference> | |
165 | + <Reference Include="DevExpress.XtraPivotGrid.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
166 | + <SpecificVersion>False</SpecificVersion> | |
167 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraPivotGrid.v14.1.dll</HintPath> | |
168 | + </Reference> | |
169 | + <Reference Include="DevExpress.XtraPrinting.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
170 | + <SpecificVersion>False</SpecificVersion> | |
171 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraPrinting.v14.1.dll</HintPath> | |
172 | + </Reference> | |
173 | + <Reference Include="DevExpress.XtraReports.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
174 | + <SpecificVersion>False</SpecificVersion> | |
175 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraReports.v14.1.dll</HintPath> | |
176 | + </Reference> | |
177 | + <Reference Include="DevExpress.XtraReports.v14.1.Extensions, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
178 | + <SpecificVersion>False</SpecificVersion> | |
179 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraReports.v14.1.Extensions.dll</HintPath> | |
180 | + </Reference> | |
181 | + <Reference Include="DevExpress.XtraRichEdit.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
182 | + <SpecificVersion>False</SpecificVersion> | |
183 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraRichEdit.v14.1.dll</HintPath> | |
184 | + </Reference> | |
185 | + <Reference Include="DevExpress.XtraScheduler.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
186 | + <SpecificVersion>False</SpecificVersion> | |
187 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraScheduler.v14.1.dll</HintPath> | |
188 | + </Reference> | |
189 | + <Reference Include="DevExpress.XtraScheduler.v14.1.Core, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
190 | + <SpecificVersion>False</SpecificVersion> | |
191 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraScheduler.v14.1.Core.dll</HintPath> | |
192 | + </Reference> | |
193 | + <Reference Include="DevExpress.XtraTreeList.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
194 | + <SpecificVersion>False</SpecificVersion> | |
195 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraTreeList.v14.1.dll</HintPath> | |
196 | + </Reference> | |
197 | + <Reference Include="DevExpress.XtraVerticalGrid.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
198 | + <SpecificVersion>False</SpecificVersion> | |
199 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraVerticalGrid.v14.1.dll</HintPath> | |
200 | + </Reference> | |
201 | + <Reference Include="DevExpress.XtraWizard.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL"> | |
202 | + <SpecificVersion>False</SpecificVersion> | |
203 | + <HintPath>..\GUSALE_TP\bin\Debug\DevExpress.XtraWizard.v14.1.dll</HintPath> | |
204 | + </Reference> | |
205 | + <Reference Include="PublicLib, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | |
206 | + <SpecificVersion>False</SpecificVersion> | |
207 | + <HintPath>..\GUSALE_TP\bin\Debug\PublicLib.dll</HintPath> | |
208 | + </Reference> | |
209 | + <Reference Include="System" /> | |
210 | + <Reference Include="System.Core" /> | |
211 | + <Reference Include="System.Xml.Linq" /> | |
212 | + <Reference Include="System.Data.DataSetExtensions" /> | |
213 | + <Reference Include="Microsoft.CSharp" /> | |
214 | + <Reference Include="System.Data" /> | |
215 | + <Reference Include="System.Deployment" /> | |
216 | + <Reference Include="System.Drawing" /> | |
217 | + <Reference Include="System.Net.Http" /> | |
218 | + <Reference Include="System.Windows.Forms" /> | |
219 | + <Reference Include="System.Xml" /> | |
220 | + </ItemGroup> | |
221 | + <ItemGroup> | |
222 | + <Compile Include="ComCasCi501.cs" /> | |
223 | + <Compile Include="ComFs1020c.cs" /> | |
224 | + <Compile Include="ComIcs9000.cs" /> | |
225 | + <Compile Include="FormLogin.cs"> | |
226 | + <SubType>Form</SubType> | |
227 | + </Compile> | |
228 | + <Compile Include="FormLogin.Designer.cs"> | |
229 | + <DependentUpon>FormLogin.cs</DependentUpon> | |
230 | + </Compile> | |
231 | + <Compile Include="FormScale.cs"> | |
232 | + <SubType>Form</SubType> | |
233 | + </Compile> | |
234 | + <Compile Include="FormScale.Designer.cs"> | |
235 | + <DependentUpon>FormScale.cs</DependentUpon> | |
236 | + </Compile> | |
237 | + <Compile Include="MainForm.cs"> | |
238 | + <SubType>Form</SubType> | |
239 | + </Compile> | |
240 | + <Compile Include="MainForm.Designer.cs"> | |
241 | + <DependentUpon>MainForm.cs</DependentUpon> | |
242 | + </Compile> | |
243 | + <Compile Include="Program.cs" /> | |
244 | + <Compile Include="Properties\AssemblyInfo.cs" /> | |
245 | + <Compile Include="SerialBase.cs" /> | |
246 | + <Compile Include="SerialPort.cs" /> | |
247 | + <Compile Include="U3Config.cs" /> | |
248 | + <Compile Include="U3Database.cs" /> | |
249 | + <Compile Include="U3Util.cs" /> | |
250 | + <Compile Include="UcInsertWork.cs"> | |
251 | + <SubType>Form</SubType> | |
252 | + </Compile> | |
253 | + <Compile Include="UcInsertWork.Designer.cs"> | |
254 | + <DependentUpon>UcInsertWork.cs</DependentUpon> | |
255 | + </Compile> | |
256 | + <Compile Include="UcOrderList.cs"> | |
257 | + <SubType>Form</SubType> | |
258 | + </Compile> | |
259 | + <Compile Include="UcOrderList.Designer.cs"> | |
260 | + <DependentUpon>UcOrderList.cs</DependentUpon> | |
261 | + </Compile> | |
262 | + <Compile Include="UcWork.cs"> | |
263 | + <SubType>UserControl</SubType> | |
264 | + </Compile> | |
265 | + <Compile Include="UcWork.Designer.cs"> | |
266 | + <DependentUpon>UcWork.cs</DependentUpon> | |
267 | + </Compile> | |
268 | + <EmbeddedResource Include="FormScale.resx"> | |
269 | + <DependentUpon>FormScale.cs</DependentUpon> | |
270 | + </EmbeddedResource> | |
271 | + <EmbeddedResource Include="MainForm.resx"> | |
272 | + <DependentUpon>MainForm.cs</DependentUpon> | |
273 | + </EmbeddedResource> | |
274 | + <EmbeddedResource Include="Properties\licenses.licx" /> | |
275 | + <EmbeddedResource Include="Properties\Resources.resx"> | |
276 | + <Generator>ResXFileCodeGenerator</Generator> | |
277 | + <LastGenOutput>Resources.Designer.cs</LastGenOutput> | |
278 | + <SubType>Designer</SubType> | |
279 | + </EmbeddedResource> | |
280 | + <Compile Include="Properties\Resources.Designer.cs"> | |
281 | + <AutoGen>True</AutoGen> | |
282 | + <DependentUpon>Resources.resx</DependentUpon> | |
283 | + </Compile> | |
284 | + <EmbeddedResource Include="UcInsertWork.resx"> | |
285 | + <DependentUpon>UcInsertWork.cs</DependentUpon> | |
286 | + </EmbeddedResource> | |
287 | + <EmbeddedResource Include="UcOrderList.resx"> | |
288 | + <DependentUpon>UcOrderList.cs</DependentUpon> | |
289 | + </EmbeddedResource> | |
290 | + <EmbeddedResource Include="UcWork.resx"> | |
291 | + <DependentUpon>UcWork.cs</DependentUpon> | |
292 | + </EmbeddedResource> | |
293 | + <None Include="Properties\Settings.settings"> | |
294 | + <Generator>SettingsSingleFileGenerator</Generator> | |
295 | + <LastGenOutput>Settings.Designer.cs</LastGenOutput> | |
296 | + </None> | |
297 | + <Compile Include="Properties\Settings.Designer.cs"> | |
298 | + <AutoGen>True</AutoGen> | |
299 | + <DependentUpon>Settings.settings</DependentUpon> | |
300 | + <DesignTimeSharedInput>True</DesignTimeSharedInput> | |
301 | + </Compile> | |
302 | + </ItemGroup> | |
303 | + <ItemGroup> | |
304 | + <None Include="App.config" /> | |
305 | + </ItemGroup> | |
306 | + <ItemGroup> | |
307 | + <Content Include="content-window_icon-icons.com_58037.ico" /> | |
308 | + </ItemGroup> | |
309 | + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | |
310 | +</Project>(No newline at end of file) |
+++ KHSCALE_TP/MainForm.Designer.cs
... | ... | @@ -0,0 +1,130 @@ |
1 | +namespace KHSCALE_TP | |
2 | +{ | |
3 | + partial class MainForm | |
4 | + { | |
5 | + /// <summary> | |
6 | + /// Required designer variable. | |
7 | + /// </summary> | |
8 | + private System.ComponentModel.IContainer components = null; | |
9 | + | |
10 | + /// <summary> | |
11 | + /// Clean up any resources being used. | |
12 | + /// </summary> | |
13 | + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | |
14 | + protected override void Dispose(bool disposing) | |
15 | + { | |
16 | + if (disposing && (components != null)) | |
17 | + { | |
18 | + components.Dispose(); | |
19 | + } | |
20 | + base.Dispose(disposing); | |
21 | + } | |
22 | + | |
23 | + | |
24 | + #region Windows Form 디자이너에서 생성한 코드 | |
25 | + | |
26 | + /// <summary> | |
27 | + /// 디자이너 지원에 필요한 메서드입니다. | |
28 | + /// 이 메서드의 내용을 코드 편집기로 수정하지 마세요. | |
29 | + /// </summary> | |
30 | + private void InitializeComponent() | |
31 | + { | |
32 | + this.simpleButton_Cancel = new DevExpress.XtraEditors.SimpleButton(); | |
33 | + this.panelControl_Manu = new DevExpress.XtraEditors.PanelControl(); | |
34 | + this.labelControl_User = new DevExpress.XtraEditors.LabelControl(); | |
35 | + this.simpleButton_Login = new DevExpress.XtraEditors.SimpleButton(); | |
36 | + this.panelControl_Sub = new DevExpress.XtraEditors.PanelControl(); | |
37 | + this.panelControl_Main = new DevExpress.XtraEditors.PanelControl(); | |
38 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl_Manu)).BeginInit(); | |
39 | + this.panelControl_Manu.SuspendLayout(); | |
40 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl_Sub)).BeginInit(); | |
41 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl_Main)).BeginInit(); | |
42 | + this.SuspendLayout(); | |
43 | + // | |
44 | + // simpleButton_Cancel | |
45 | + // | |
46 | + this.simpleButton_Cancel.Appearance.Font = new System.Drawing.Font("굴림체", 9F); | |
47 | + this.simpleButton_Cancel.Appearance.Options.UseFont = true; | |
48 | + this.simpleButton_Cancel.Location = new System.Drawing.Point(938, 5); | |
49 | + this.simpleButton_Cancel.Name = "simpleButton_Cancel"; | |
50 | + this.simpleButton_Cancel.Size = new System.Drawing.Size(81, 39); | |
51 | + this.simpleButton_Cancel.TabIndex = 21; | |
52 | + this.simpleButton_Cancel.Text = "닫기"; | |
53 | + this.simpleButton_Cancel.Click += new System.EventHandler(this.simpleButton_Cancel_Click); | |
54 | + // | |
55 | + // panelControl_Manu | |
56 | + // | |
57 | + this.panelControl_Manu.Controls.Add(this.labelControl_User); | |
58 | + this.panelControl_Manu.Controls.Add(this.simpleButton_Login); | |
59 | + this.panelControl_Manu.Controls.Add(this.simpleButton_Cancel); | |
60 | + this.panelControl_Manu.Dock = System.Windows.Forms.DockStyle.Top; | |
61 | + this.panelControl_Manu.Location = new System.Drawing.Point(0, 0); | |
62 | + this.panelControl_Manu.Name = "panelControl_Manu"; | |
63 | + this.panelControl_Manu.Size = new System.Drawing.Size(1024, 50); | |
64 | + this.panelControl_Manu.TabIndex = 23; | |
65 | + // | |
66 | + // labelControl_User | |
67 | + // | |
68 | + this.labelControl_User.Appearance.Font = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
69 | + this.labelControl_User.Location = new System.Drawing.Point(162, 9); | |
70 | + this.labelControl_User.Name = "labelControl_User"; | |
71 | + this.labelControl_User.Size = new System.Drawing.Size(0, 29); | |
72 | + this.labelControl_User.TabIndex = 23; | |
73 | + // | |
74 | + // simpleButton_Login | |
75 | + // | |
76 | + this.simpleButton_Login.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
77 | + this.simpleButton_Login.Appearance.Options.UseFont = true; | |
78 | + this.simpleButton_Login.Location = new System.Drawing.Point(5, 5); | |
79 | + this.simpleButton_Login.Name = "simpleButton_Login"; | |
80 | + this.simpleButton_Login.Size = new System.Drawing.Size(151, 39); | |
81 | + this.simpleButton_Login.TabIndex = 22; | |
82 | + this.simpleButton_Login.Text = "LOGIN"; | |
83 | + this.simpleButton_Login.Click += new System.EventHandler(this.simpleButton_Login_Click); | |
84 | + // | |
85 | + // panelControl_Sub | |
86 | + // | |
87 | + this.panelControl_Sub.Dock = System.Windows.Forms.DockStyle.Left; | |
88 | + this.panelControl_Sub.Location = new System.Drawing.Point(0, 50); | |
89 | + this.panelControl_Sub.Name = "panelControl_Sub"; | |
90 | + this.panelControl_Sub.Size = new System.Drawing.Size(124, 550); | |
91 | + this.panelControl_Sub.TabIndex = 24; | |
92 | + this.panelControl_Sub.Visible = false; | |
93 | + // | |
94 | + // panelControl_Main | |
95 | + // | |
96 | + this.panelControl_Main.Dock = System.Windows.Forms.DockStyle.Fill; | |
97 | + this.panelControl_Main.Location = new System.Drawing.Point(124, 50); | |
98 | + this.panelControl_Main.Name = "panelControl_Main"; | |
99 | + this.panelControl_Main.Size = new System.Drawing.Size(900, 550); | |
100 | + this.panelControl_Main.TabIndex = 25; | |
101 | + // | |
102 | + // MainForm | |
103 | + // | |
104 | + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | |
105 | + this.ClientSize = new System.Drawing.Size(1024, 600); | |
106 | + this.Controls.Add(this.panelControl_Main); | |
107 | + this.Controls.Add(this.panelControl_Sub); | |
108 | + this.Controls.Add(this.panelControl_Manu); | |
109 | + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; | |
110 | + this.Name = "MainForm"; | |
111 | + this.Text = "MainForm"; | |
112 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl_Manu)).EndInit(); | |
113 | + this.panelControl_Manu.ResumeLayout(false); | |
114 | + this.panelControl_Manu.PerformLayout(); | |
115 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl_Sub)).EndInit(); | |
116 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl_Main)).EndInit(); | |
117 | + this.ResumeLayout(false); | |
118 | + | |
119 | + } | |
120 | + | |
121 | + #endregion | |
122 | + | |
123 | + private DevExpress.XtraEditors.SimpleButton simpleButton_Cancel; | |
124 | + private DevExpress.XtraEditors.PanelControl panelControl_Manu; | |
125 | + private DevExpress.XtraEditors.PanelControl panelControl_Sub; | |
126 | + private DevExpress.XtraEditors.PanelControl panelControl_Main; | |
127 | + private DevExpress.XtraEditors.SimpleButton simpleButton_Login; | |
128 | + private DevExpress.XtraEditors.LabelControl labelControl_User; | |
129 | + } | |
130 | +}(No newline at end of file) |
+++ KHSCALE_TP/MainForm.cs
... | ... | @@ -0,0 +1,60 @@ |
1 | +using PublicLib; | |
2 | +using System; | |
3 | +using System.Collections.Generic; | |
4 | +using System.ComponentModel; | |
5 | +using System.Data; | |
6 | +using System.Drawing; | |
7 | +using System.Linq; | |
8 | +using System.Text; | |
9 | +using System.Threading.Tasks; | |
10 | +using System.Windows.Forms; | |
11 | + | |
12 | +namespace KHSCALE_TP | |
13 | +{ | |
14 | + public partial class MainForm : Form | |
15 | + { | |
16 | + public MainForm() | |
17 | + { | |
18 | + InitializeComponent(); | |
19 | + | |
20 | + ConstClass._USR_ID = ""; | |
21 | + ConstClass._USR_NM = ""; | |
22 | + ConstClass._COMP_CD = "0001"; | |
23 | + | |
24 | + UcWork w = new UcWork(); | |
25 | + w.Dock = DockStyle.Fill; | |
26 | + | |
27 | + | |
28 | + panelControl_Main.Controls.Add(w); | |
29 | + } | |
30 | + | |
31 | + private void simpleButton_Cancel_Click(object sender, EventArgs e) | |
32 | + { | |
33 | + this.Close(); | |
34 | + } | |
35 | + | |
36 | + private void simpleButton_Login_Click(object sender, EventArgs e) | |
37 | + { | |
38 | + //if (simpleButton_Login.Text == "LOGIN") | |
39 | + //{ | |
40 | + // FormLogin login = new FormLogin(ConstClass._COMP_CD); | |
41 | + // if (login.ShowDialog() == DialogResult.Yes) | |
42 | + // { | |
43 | + // if (ConstClass._USR_ID != "") | |
44 | + // { | |
45 | + // labelControl_User.Text = ConstClass._USR_NM + " 님"; | |
46 | + // simpleButton_Login.Text = "LOGOUT"; | |
47 | + // } | |
48 | + // } | |
49 | + | |
50 | + //} | |
51 | + //else | |
52 | + //{ | |
53 | + // ConstClass._USR_ID = ""; | |
54 | + // ConstClass._USR_NM = ""; | |
55 | + // labelControl_User.Text = ""; | |
56 | + // simpleButton_Login.Text = "LOGIN"; | |
57 | + //} | |
58 | + } | |
59 | + } | |
60 | +} |
+++ KHSCALE_TP/MainForm.resx
... | ... | @@ -0,0 +1,120 @@ |
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 | +</root>(No newline at end of file) |
+++ KHSCALE_TP/Program.cs
... | ... | @@ -0,0 +1,24 @@ |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | +using System.Linq; | |
4 | +using System.Threading.Tasks; | |
5 | +using System.Windows.Forms; | |
6 | + | |
7 | +namespace KHSCALE_TP | |
8 | +{ | |
9 | + internal static class Program | |
10 | + { | |
11 | + /// <summary> | |
12 | + /// 해당 애플리케이션의 주 진입점입니다. | |
13 | + /// </summary> | |
14 | + [STAThread] | |
15 | + static void Main() | |
16 | + { | |
17 | + U3Config config = new U3Config(); | |
18 | + | |
19 | + Application.EnableVisualStyles(); | |
20 | + Application.SetCompatibleTextRenderingDefault(false); | |
21 | + Application.Run(new FormScale()); | |
22 | + } | |
23 | + } | |
24 | +} |
+++ KHSCALE_TP/Properties/AssemblyInfo.cs
... | ... | @@ -0,0 +1,36 @@ |
1 | +using System.Reflection; | |
2 | +using System.Runtime.CompilerServices; | |
3 | +using System.Runtime.InteropServices; | |
4 | + | |
5 | +// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 | |
6 | +// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 | |
7 | +// 이러한 특성 값을 변경하세요. | |
8 | +[assembly: AssemblyTitle("KHSCALE_TP")] | |
9 | +[assembly: AssemblyDescription("")] | |
10 | +[assembly: AssemblyConfiguration("")] | |
11 | +[assembly: AssemblyCompany("")] | |
12 | +[assembly: AssemblyProduct("KHSCALE_TP")] | |
13 | +[assembly: AssemblyCopyright("Copyright © 2022")] | |
14 | +[assembly: AssemblyTrademark("")] | |
15 | +[assembly: AssemblyCulture("")] | |
16 | + | |
17 | +// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 | |
18 | +// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 | |
19 | +// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. | |
20 | +[assembly: ComVisible(false)] | |
21 | + | |
22 | +// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. | |
23 | +[assembly: Guid("2e133560-4f54-4d44-a0db-edb6c5c36e84")] | |
24 | + | |
25 | +// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. | |
26 | +// | |
27 | +// 주 버전 | |
28 | +// 부 버전 | |
29 | +// 빌드 번호 | |
30 | +// 수정 버전 | |
31 | +// | |
32 | +// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를 | |
33 | +// 기본값으로 할 수 있습니다. | |
34 | +// [assembly: AssemblyVersion("1.0.*")] | |
35 | +[assembly: AssemblyVersion("1.0.0.0")] | |
36 | +[assembly: AssemblyFileVersion("1.0.0.0")] |
+++ KHSCALE_TP/Properties/Resources.Designer.cs
... | ... | @@ -0,0 +1,71 @@ |
1 | +//------------------------------------------------------------------------------ | |
2 | +// <auto-generated> | |
3 | +// 이 코드는 도구를 사용하여 생성되었습니다. | |
4 | +// 런타임 버전:4.0.30319.42000 | |
5 | +// | |
6 | +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 | |
7 | +// 이러한 변경 내용이 손실됩니다. | |
8 | +// </auto-generated> | |
9 | +//------------------------------------------------------------------------------ | |
10 | + | |
11 | +namespace KHSCALE_TP.Properties | |
12 | +{ | |
13 | + | |
14 | + | |
15 | + /// <summary> | |
16 | + /// 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다. | |
17 | + /// </summary> | |
18 | + // 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder | |
19 | + // 클래스에서 자동으로 생성되었습니다. | |
20 | + // 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여 | |
21 | + // ResGen을 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오. | |
22 | + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] | |
23 | + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | |
24 | + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] | |
25 | + internal class Resources | |
26 | + { | |
27 | + | |
28 | + private static global::System.Resources.ResourceManager resourceMan; | |
29 | + | |
30 | + private static global::System.Globalization.CultureInfo resourceCulture; | |
31 | + | |
32 | + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] | |
33 | + internal Resources() | |
34 | + { | |
35 | + } | |
36 | + | |
37 | + /// <summary> | |
38 | + /// 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다. | |
39 | + /// </summary> | |
40 | + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] | |
41 | + internal static global::System.Resources.ResourceManager ResourceManager | |
42 | + { | |
43 | + get | |
44 | + { | |
45 | + if ((resourceMan == null)) | |
46 | + { | |
47 | + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("KHSCALE_TP.Properties.Resources", typeof(Resources).Assembly); | |
48 | + resourceMan = temp; | |
49 | + } | |
50 | + return resourceMan; | |
51 | + } | |
52 | + } | |
53 | + | |
54 | + /// <summary> | |
55 | + /// 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대해 현재 스레드의 CurrentUICulture 속성을 | |
56 | + /// 재정의합니다. | |
57 | + /// </summary> | |
58 | + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] | |
59 | + internal static global::System.Globalization.CultureInfo Culture | |
60 | + { | |
61 | + get | |
62 | + { | |
63 | + return resourceCulture; | |
64 | + } | |
65 | + set | |
66 | + { | |
67 | + resourceCulture = value; | |
68 | + } | |
69 | + } | |
70 | + } | |
71 | +} |
+++ KHSCALE_TP/Properties/Resources.resx
... | ... | @@ -0,0 +1,117 @@ |
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.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:element name="root" msdata:IsDataSet="true"> | |
64 | + <xsd:complexType> | |
65 | + <xsd:choice maxOccurs="unbounded"> | |
66 | + <xsd:element name="metadata"> | |
67 | + <xsd:complexType> | |
68 | + <xsd:sequence> | |
69 | + <xsd:element name="value" type="xsd:string" minOccurs="0" /> | |
70 | + </xsd:sequence> | |
71 | + <xsd:attribute name="name" type="xsd:string" /> | |
72 | + <xsd:attribute name="type" type="xsd:string" /> | |
73 | + <xsd:attribute name="mimetype" type="xsd:string" /> | |
74 | + </xsd:complexType> | |
75 | + </xsd:element> | |
76 | + <xsd:element name="assembly"> | |
77 | + <xsd:complexType> | |
78 | + <xsd:attribute name="alias" type="xsd:string" /> | |
79 | + <xsd:attribute name="name" type="xsd:string" /> | |
80 | + </xsd:complexType> | |
81 | + </xsd:element> | |
82 | + <xsd:element name="data"> | |
83 | + <xsd:complexType> | |
84 | + <xsd:sequence> | |
85 | + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | |
86 | + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | |
87 | + </xsd:sequence> | |
88 | + <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> | |
89 | + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | |
90 | + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | |
91 | + </xsd:complexType> | |
92 | + </xsd:element> | |
93 | + <xsd:element name="resheader"> | |
94 | + <xsd:complexType> | |
95 | + <xsd:sequence> | |
96 | + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | |
97 | + </xsd:sequence> | |
98 | + <xsd:attribute name="name" type="xsd:string" use="required" /> | |
99 | + </xsd:complexType> | |
100 | + </xsd:element> | |
101 | + </xsd:choice> | |
102 | + </xsd:complexType> | |
103 | + </xsd:element> | |
104 | + </xsd:schema> | |
105 | + <resheader name="resmimetype"> | |
106 | + <value>text/microsoft-resx</value> | |
107 | + </resheader> | |
108 | + <resheader name="version"> | |
109 | + <value>2.0</value> | |
110 | + </resheader> | |
111 | + <resheader name="reader"> | |
112 | + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | |
113 | + </resheader> | |
114 | + <resheader name="writer"> | |
115 | + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | |
116 | + </resheader> | |
117 | +</root>(No newline at end of file) |
+++ KHSCALE_TP/Properties/Settings.Designer.cs
... | ... | @@ -0,0 +1,30 @@ |
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 KHSCALE_TP.Properties | |
12 | +{ | |
13 | + | |
14 | + | |
15 | + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] | |
16 | + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] | |
17 | + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase | |
18 | + { | |
19 | + | |
20 | + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); | |
21 | + | |
22 | + public static Settings Default | |
23 | + { | |
24 | + get | |
25 | + { | |
26 | + return defaultInstance; | |
27 | + } | |
28 | + } | |
29 | + } | |
30 | +} |
+++ KHSCALE_TP/Properties/Settings.settings
... | ... | @@ -0,0 +1,7 @@ |
1 | +<?xml version='1.0' encoding='utf-8'?> | |
2 | +<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)"> | |
3 | + <Profiles> | |
4 | + <Profile Name="(Default)" /> | |
5 | + </Profiles> | |
6 | + <Settings /> | |
7 | +</SettingsFile> |
+++ KHSCALE_TP/Properties/licenses.licx
... | ... | @@ -0,0 +1,9 @@ |
1 | +DevExpress.XtraEditors.LookUpEdit, DevExpress.XtraEditors.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a | |
2 | +DevExpress.XtraEditors.DateEdit, DevExpress.XtraEditors.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a | |
3 | +DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit, DevExpress.XtraEditors.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a | |
4 | +DevExpress.XtraEditors.Repository.RepositoryItemComboBox, DevExpress.XtraEditors.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a | |
5 | +DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit, DevExpress.XtraEditors.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a | |
6 | +DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a | |
7 | +DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a | |
8 | +DevExpress.XtraEditors.Repository.RepositoryItemDateEdit, DevExpress.XtraEditors.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a | |
9 | +DevExpress.XtraEditors.Repository.RepositoryItemTextEdit, DevExpress.XtraEditors.v14.1, Version=14.1.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a |
+++ KHSCALE_TP/SerialBase.cs
... | ... | @@ -0,0 +1,167 @@ |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | +using System.Linq; | |
4 | +using System.Text; | |
5 | +using System.Threading.Tasks; | |
6 | +using System.Threading; | |
7 | +using System.IO.Ports; | |
8 | + | |
9 | +namespace KHSCALE_TP | |
10 | +{ | |
11 | + public class SerialBase | |
12 | + { | |
13 | + protected object m_lock = new object(); | |
14 | + protected float m_value = 0; | |
15 | + protected Thread m_t1 = null; | |
16 | + protected bool m_bThreadRun = true; | |
17 | + protected int m_recvCount = 0; | |
18 | + protected DateTime m_dtRecv = DateTime.MinValue; | |
19 | + | |
20 | + protected string m_portName = "COM1"; | |
21 | + protected int m_baudRate = 9600; | |
22 | + protected int m_parity = 0; | |
23 | + protected int m_dataBits = 8; | |
24 | + protected float m_stopBits = 1; | |
25 | + | |
26 | + public string GetComSetting() | |
27 | + { | |
28 | + return m_portName + "," + m_baudRate.ToString() + "," + m_parity.ToString() + "," + m_dataBits.ToString() + "," + m_stopBits.ToString(); | |
29 | + } | |
30 | + | |
31 | + // 통신 프레임 사이즈가 고정일 경우 그 사이즈를 지정. 정해진 사이즈가 없으면 -1 리턴하고, 구분자로 프레임 구분하도록 | |
32 | + protected virtual int GetFrameSize() | |
33 | + { | |
34 | + return -1; | |
35 | + } | |
36 | + | |
37 | + // 통신 프레임 간의 구분자가 있을 경우 그 구분자를 지정 | |
38 | + protected virtual char GetFrameDelimiter() | |
39 | + { | |
40 | + return '\n'; | |
41 | + } | |
42 | + | |
43 | + protected virtual bool Parse(List<byte> buffRecv) | |
44 | + { | |
45 | + return false; | |
46 | + } | |
47 | + | |
48 | + public float GetValue() | |
49 | + { | |
50 | + lock (m_lock) | |
51 | + { | |
52 | + return m_value; | |
53 | + } | |
54 | + } | |
55 | + | |
56 | + protected void SetValue(float val) | |
57 | + { | |
58 | + lock (m_lock) | |
59 | + { | |
60 | + m_value = val; | |
61 | + m_dtRecv = DateTime.Now; | |
62 | + } | |
63 | + } | |
64 | + | |
65 | + public float GetRecvCount() | |
66 | + { | |
67 | + lock (m_lock) | |
68 | + { | |
69 | + return m_recvCount; | |
70 | + } | |
71 | + } | |
72 | + | |
73 | + public DateTime GetUpdTime() | |
74 | + { | |
75 | + lock (m_lock) | |
76 | + { | |
77 | + return m_dtRecv; | |
78 | + } | |
79 | + } | |
80 | + | |
81 | + // portName: COM1, COM2, .... | |
82 | + // baudRate: 9600, 19200, ... | |
83 | + // parity: 0=None, 1=Odd, 2=Even | |
84 | + // dataBits: 7, 8, ... | |
85 | + // stopBits: 1, 1.5, 2 | |
86 | + public void Init(string portName, int baudRate, int parity, int dataBits, float stopBits) | |
87 | + { | |
88 | + m_portName = portName; | |
89 | + m_baudRate = baudRate; | |
90 | + m_parity = parity; | |
91 | + m_dataBits = dataBits; | |
92 | + m_stopBits = stopBits; | |
93 | + | |
94 | + m_t1 = new Thread(new ThreadStart(SerialRun)); | |
95 | + m_t1.Start(); | |
96 | + } | |
97 | + | |
98 | + public void Close() | |
99 | + { | |
100 | + m_bThreadRun = false; | |
101 | + if (m_t1 != null) m_t1.Join(); | |
102 | + } | |
103 | + | |
104 | + private void SerialRun() | |
105 | + { | |
106 | + m_bThreadRun = true; | |
107 | + SerialPort serial = null; | |
108 | + | |
109 | + while (m_bThreadRun) | |
110 | + { | |
111 | + serial = new SerialPort(); | |
112 | + | |
113 | + Parity parity = Parity.None; | |
114 | + if (m_parity == 0) parity = Parity.None; | |
115 | + if (m_parity == 1) parity = Parity.Odd; | |
116 | + if (m_parity == 2) parity = Parity.Even; | |
117 | + | |
118 | + StopBits stopBits = StopBits.None; | |
119 | + if (m_stopBits == 1) stopBits = StopBits.One; | |
120 | + if (m_stopBits == 1.5) stopBits = StopBits.OnePointFive; | |
121 | + if (m_stopBits == 2) stopBits = StopBits.Two; | |
122 | + | |
123 | + while (m_bThreadRun) | |
124 | + { | |
125 | + if (serial.m_IsConn == false) | |
126 | + { | |
127 | + serial.Init(m_portName, m_baudRate, parity, m_dataBits, stopBits); | |
128 | + //Program.m_MainForm.UpdateListBox(serial.m_strPortMsg); | |
129 | + } | |
130 | + | |
131 | + if (serial.m_IsConn) | |
132 | + { | |
133 | + serial.Read(); | |
134 | + if (serial.m_strPortMsg.Length > 0) | |
135 | + { | |
136 | + //Program.m_MainForm.UpdateListBox(serial.m_strPortMsg); | |
137 | + } | |
138 | + | |
139 | + m_recvCount = serial.m_recvCount; | |
140 | + | |
141 | + List<byte> buff = serial.GetBuffer(false); | |
142 | + if (buff.Count == 0) continue; | |
143 | + | |
144 | + int nFrameSize = GetFrameSize(); | |
145 | + | |
146 | + if ((nFrameSize > 0 && serial.GetBufferSize() >= nFrameSize) | |
147 | + || (buff[buff.Count - 1] == GetFrameDelimiter())) | |
148 | + { | |
149 | + if (Parse(buff)) | |
150 | + { | |
151 | + serial.ClearBuffer(); | |
152 | + //Program.m_MainForm.UpdateValue(this.GetValue()); | |
153 | + } | |
154 | + //Program.m_MainForm.UpdateListBox("[" + buff.Count.ToString() + "] " + Encoding.Default.GetString(buff.ToArray())); | |
155 | + } | |
156 | + } | |
157 | + else | |
158 | + { | |
159 | + System.Threading.Thread.Sleep(10000); | |
160 | + } | |
161 | + } | |
162 | + } | |
163 | + serial.Close(); | |
164 | + } | |
165 | + | |
166 | + } | |
167 | +} |
+++ KHSCALE_TP/SerialPort.cs
... | ... | @@ -0,0 +1,130 @@ |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | +using System.Linq; | |
4 | +using System.Text; | |
5 | +using System.Threading.Tasks; | |
6 | +using System.IO.Ports; | |
7 | + | |
8 | +namespace KHSCALE_TP | |
9 | +{ | |
10 | + public class SerialPort | |
11 | + { | |
12 | + public bool m_IsConn = false; | |
13 | + public string m_strPortMsg = ""; | |
14 | + public int m_recvCount = 0; | |
15 | + | |
16 | + private System.IO.Ports.SerialPort port = null; | |
17 | + private List<byte> m_buffer = new List<byte>(); | |
18 | + | |
19 | + public void AddBuffer(byte[] data) | |
20 | + { | |
21 | + lock (this) | |
22 | + { | |
23 | + m_buffer.AddRange(data); | |
24 | + } | |
25 | + } | |
26 | + | |
27 | + public List<byte> GetBuffer(bool bClear) | |
28 | + { | |
29 | + List<byte> buffer = new List<byte>(); | |
30 | + | |
31 | + lock (this) | |
32 | + { | |
33 | + buffer.AddRange(m_buffer); | |
34 | + if (bClear) m_buffer.Clear(); | |
35 | + } | |
36 | + return buffer; | |
37 | + } | |
38 | + | |
39 | + public void ClearBuffer() | |
40 | + { | |
41 | + lock (this) | |
42 | + { | |
43 | + m_buffer.Clear(); | |
44 | + } | |
45 | + } | |
46 | + | |
47 | + public int GetBufferSize() | |
48 | + { | |
49 | + lock (this) | |
50 | + { | |
51 | + return m_buffer.Count; | |
52 | + } | |
53 | + } | |
54 | + | |
55 | + public void Close() | |
56 | + { | |
57 | + try | |
58 | + { | |
59 | + if (port != null) port.Close(); | |
60 | + } | |
61 | + catch | |
62 | + { | |
63 | + } | |
64 | + port = null; | |
65 | + m_IsConn = false; | |
66 | + } | |
67 | + | |
68 | + public void Init(string portName, int baudRate, Parity parity, int dataBits, StopBits stopBits) | |
69 | + { | |
70 | + try | |
71 | + { | |
72 | + port = new System.IO.Ports.SerialPort(portName, baudRate, parity, dataBits, stopBits); | |
73 | + //port.DataReceived += new SerialDataReceivedEventHandler(port_DataReceived); | |
74 | + port.ReadBufferSize = 1024 * 1024; | |
75 | + port.Open(); | |
76 | + | |
77 | + m_IsConn = true; | |
78 | + m_strPortMsg = portName + " 포트를 정상적으로 오픈하였습니다."; | |
79 | + } | |
80 | + catch (Exception ex) | |
81 | + { | |
82 | + m_strPortMsg = portName + " " + ex.Message; | |
83 | + m_IsConn = false; | |
84 | + } | |
85 | + } | |
86 | + | |
87 | + public void Read() | |
88 | + { | |
89 | + m_strPortMsg = ""; | |
90 | + try | |
91 | + { | |
92 | + port.ReadTimeout = 1; | |
93 | + while (port.BytesToRead > 0) | |
94 | + { | |
95 | + int bytesToRead = port.BytesToRead; | |
96 | + if (bytesToRead > 0) | |
97 | + { | |
98 | + byte[] bytesBuffer = new byte[bytesToRead]; | |
99 | + int readBytes = port.Read(bytesBuffer, 0, bytesToRead); | |
100 | + | |
101 | + if (readBytes > 0) | |
102 | + { | |
103 | + m_recvCount++; | |
104 | + byte[] bytesBuffer2 = new byte[readBytes]; | |
105 | + Array.Copy(bytesBuffer, bytesBuffer2, readBytes); | |
106 | + AddBuffer(bytesBuffer2); | |
107 | + } | |
108 | + } | |
109 | + if (GetBufferSize() >= 256) | |
110 | + { | |
111 | + port.DiscardInBuffer(); | |
112 | + return; | |
113 | + } | |
114 | + System.Threading.Thread.Sleep(1); | |
115 | + } | |
116 | + } | |
117 | + catch (Exception ex) | |
118 | + { | |
119 | + m_strPortMsg = ex.Message; | |
120 | + Close(); | |
121 | + } | |
122 | + } | |
123 | + | |
124 | + private void port_DataReceived(object sender, SerialDataReceivedEventArgs e) | |
125 | + { | |
126 | + //Console.WriteLine(port.ReadExisting()); | |
127 | + } | |
128 | + | |
129 | + } | |
130 | +} |
+++ KHSCALE_TP/U3Config.cs
... | ... | @@ -0,0 +1,64 @@ |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | +using System.Linq; | |
4 | +using System.Text; | |
5 | +using System.Threading.Tasks; | |
6 | +using System.Runtime.InteropServices; | |
7 | +using System.Windows.Forms; | |
8 | + | |
9 | +namespace KHSCALE_TP | |
10 | +{ | |
11 | + public class U3Config | |
12 | + { | |
13 | + public const bool FLAG_TEST = true; | |
14 | + public const int MAX_DI = 4; | |
15 | + public const int MAX_DEV = 100; | |
16 | + static public string m_SqlConnStr = ""; | |
17 | + | |
18 | + [DllImport("kernel32")] | |
19 | + private static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retVal, int size, string filePath); | |
20 | + [DllImport("kernel32")] | |
21 | + private static extern long WritePrivateProfileString(string section, string key, string val, string filePath); | |
22 | + | |
23 | + protected string GetIniFile() | |
24 | + { | |
25 | + string AppPath = Application.ExecutablePath.Substring(0, Application.ExecutablePath.LastIndexOf("\\")); | |
26 | + return AppPath + "\\Config.ini"; | |
27 | + } | |
28 | + | |
29 | + protected string GetIniValue(string Section, string Key, string defvalue) | |
30 | + { | |
31 | + StringBuilder temp = new StringBuilder(255); | |
32 | + int i = GetPrivateProfileString(Section, Key, defvalue, temp, 255, GetIniFile()); | |
33 | + return temp.ToString(); | |
34 | + } | |
35 | + | |
36 | + protected void SetIniValue(string Section, string Key, string Value) | |
37 | + { | |
38 | + WritePrivateProfileString(Section, Key, Value, GetIniFile()); | |
39 | + } | |
40 | + | |
41 | + //public string m_StrMqttIP = ""; | |
42 | + public string m_StrSqlServerIP = ""; | |
43 | + | |
44 | + public U3Config() | |
45 | + { | |
46 | + Load(); | |
47 | + | |
48 | + m_SqlConnStr = "Provider=SQLOLEDB.1;Password=tlrmsjtm~1@3;Persist Security Info=False;User ID=sa;Initial Catalog=U3SMES;Data Source=signus-sf1.koreacentral.cloudapp.azure.com,14443"; | |
49 | + } | |
50 | + | |
51 | + public void Save() | |
52 | + { | |
53 | + //SetIniValue("MQTT", "IPADDR", m_StrMqttIP); | |
54 | + SetIniValue("SQLSERVER", "IPADDR", m_StrSqlServerIP); | |
55 | + } | |
56 | + | |
57 | + public void Load() | |
58 | + { | |
59 | + m_StrSqlServerIP = GetIniValue("SQLSERVER", "IPADDR", "192.168.1.17"); | |
60 | + //m_StrMqttIP = GetIniValue("MQTT", "IPADDR", "192.168.0.200"); | |
61 | + //m_StrSqlServerIP = GetIniValue("SQLSERVER", "IPADDR", "192.168.0.240"); | |
62 | + } | |
63 | + } | |
64 | +} |
+++ KHSCALE_TP/U3Database.cs
... | ... | @@ -0,0 +1,157 @@ |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | +using System.Linq; | |
4 | +using System.Text; | |
5 | +using System.Threading.Tasks; | |
6 | +using System.Data; | |
7 | +using System.Data.OleDb; | |
8 | + | |
9 | +namespace KHSCALE_TP | |
10 | +{ | |
11 | + public class U3Database | |
12 | + { | |
13 | + private OleDbConnection mCN = null; | |
14 | + private OleDbCommand mCmd = null; | |
15 | + | |
16 | + public bool SetSqlServer() | |
17 | + { | |
18 | + try | |
19 | + { | |
20 | + mCN = new OleDbConnection(); | |
21 | + mCN.ConnectionString = U3Config.m_SqlConnStr; | |
22 | + mCN.Open(); | |
23 | + return true; | |
24 | + } | |
25 | + catch (Exception ex) | |
26 | + { | |
27 | + U3Util.ErrorLog("Can't connect to database." + Environment.NewLine + ex.Message); | |
28 | + return false; | |
29 | + } | |
30 | + } | |
31 | + | |
32 | + public DataTable OpenSQL(string strSQL) | |
33 | + { | |
34 | + DataTable retTable = new DataTable(); | |
35 | + | |
36 | + try | |
37 | + { | |
38 | + mCN = new OleDbConnection(); | |
39 | + mCN.ConnectionString = U3Config.m_SqlConnStr; | |
40 | + mCN.Open(); | |
41 | + | |
42 | + mCmd = new OleDbCommand(strSQL, mCN); | |
43 | + OleDbDataAdapter da = new OleDbDataAdapter(mCmd); | |
44 | + da.Fill(retTable); | |
45 | + } | |
46 | + catch (Exception ex) | |
47 | + { | |
48 | + U3Util.ErrorLog(strSQL); | |
49 | + U3Util.ErrorLog(ex.Message); | |
50 | + } | |
51 | + finally | |
52 | + { | |
53 | + if (mCN != null) mCN.Close(); | |
54 | + } | |
55 | + return retTable; | |
56 | + } | |
57 | + | |
58 | + | |
59 | + public DataSet OpenSQLSet(string strSQL) | |
60 | + { | |
61 | + DataSet retTable = new DataSet(); | |
62 | + | |
63 | + try | |
64 | + { | |
65 | + mCN = new OleDbConnection(); | |
66 | + mCN.ConnectionString = U3Config.m_SqlConnStr; | |
67 | + mCN.Open(); | |
68 | + | |
69 | + mCmd = new OleDbCommand(strSQL, mCN); | |
70 | + OleDbDataAdapter da = new OleDbDataAdapter(mCmd); | |
71 | + da.Fill(retTable); | |
72 | + } | |
73 | + catch (Exception ex) | |
74 | + { | |
75 | + U3Util.ErrorLog(strSQL); | |
76 | + U3Util.ErrorLog(ex.Message); | |
77 | + } | |
78 | + finally | |
79 | + { | |
80 | + if (mCN != null) mCN.Close(); | |
81 | + } | |
82 | + return retTable; | |
83 | + } | |
84 | + | |
85 | + public int ExcuteSql(string strSql) | |
86 | + { | |
87 | + try | |
88 | + { | |
89 | + mCN = new OleDbConnection(); | |
90 | + mCN.ConnectionString = U3Config.m_SqlConnStr; | |
91 | + mCN.Open(); | |
92 | + | |
93 | + mCmd = new OleDbCommand(strSql, mCN); | |
94 | + int iResult = mCmd.ExecuteNonQuery(); | |
95 | + | |
96 | + return iResult; | |
97 | + } | |
98 | + catch (Exception ex) | |
99 | + { | |
100 | + U3Util.ErrorLog(strSql); | |
101 | + U3Util.ErrorLog(ex.Message); | |
102 | + return 0; | |
103 | + } | |
104 | + finally | |
105 | + { | |
106 | + if (mCN != null) mCN.Close(); | |
107 | + } | |
108 | + } | |
109 | + | |
110 | + public bool ExcuteSqls(List<string> strSqls) | |
111 | + { | |
112 | + string strMsg = ""; | |
113 | + return ExcuteSqls(strSqls, out strMsg); | |
114 | + } | |
115 | + | |
116 | + public bool ExcuteSqls(List<string> strSqls, out string strMessage) | |
117 | + { | |
118 | + string strSQL = string.Empty; | |
119 | + try | |
120 | + { | |
121 | + mCN = new OleDbConnection(); | |
122 | + mCN.ConnectionString = U3Config.m_SqlConnStr; | |
123 | + mCN.Open(); | |
124 | + | |
125 | + mCmd = new OleDbCommand(); | |
126 | + mCmd.Connection = mCN; | |
127 | + } | |
128 | + catch (Exception ex) | |
129 | + { | |
130 | + U3Util.ErrorLog(ex.Message); | |
131 | + if (mCN != null) mCN.Close(); | |
132 | + strMessage = "DB접속 오류: " + ex.Message; | |
133 | + return false; | |
134 | + } | |
135 | + | |
136 | + int count = 0; | |
137 | + foreach (string strSql in strSqls) | |
138 | + { | |
139 | + strSQL = strSql; | |
140 | + try | |
141 | + { | |
142 | + mCmd.CommandText = strSql; | |
143 | + mCmd.ExecuteNonQuery(); | |
144 | + count++; | |
145 | + } | |
146 | + catch (Exception ex) | |
147 | + { | |
148 | + U3Util.ErrorLog(strSQL); | |
149 | + U3Util.ErrorLog(ex.Message); | |
150 | + } | |
151 | + } | |
152 | + if (mCN != null) mCN.Close(); | |
153 | + strMessage = string.Format("SQL 실행 완료({0}건 실행, {1}건 성공)", strSqls.Count, count); | |
154 | + return true; | |
155 | + } | |
156 | + } | |
157 | +} |
+++ KHSCALE_TP/U3Util.cs
... | ... | @@ -0,0 +1,194 @@ |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | +using System.Linq; | |
4 | +using System.Text; | |
5 | +using System.Threading.Tasks; | |
6 | +using System.Windows.Forms; | |
7 | +using System.IO; | |
8 | +using System.Drawing; | |
9 | +using System.Drawing.Imaging; | |
10 | +using System.Drawing.Drawing2D; | |
11 | + | |
12 | +namespace KHSCALE_TP | |
13 | +{ | |
14 | + public class U3Util | |
15 | + { | |
16 | + static public Random rnd = new Random(new System.DateTime().Millisecond); | |
17 | + | |
18 | + static public string GetErrorLogFile(bool bFullPath) | |
19 | + { | |
20 | + string AppPath = Application.ExecutablePath.Substring(0, Application.ExecutablePath.LastIndexOf("\\")); | |
21 | + string AppName = Application.ExecutablePath.Substring(Application.ExecutablePath.LastIndexOf("\\") + 1); | |
22 | + string AppTitle = AppName.Substring(0, AppName.LastIndexOf(".")); | |
23 | + | |
24 | + if (bFullPath) | |
25 | + return AppPath + "\\" + AppTitle + "Error.txt"; | |
26 | + else | |
27 | + return AppTitle + "Error.txt"; | |
28 | + } | |
29 | + | |
30 | + static public string GetEventLogFile(bool bFullPath) | |
31 | + { | |
32 | + string AppPath = Application.ExecutablePath.Substring(0, Application.ExecutablePath.LastIndexOf("\\")); | |
33 | + string AppName = Application.ExecutablePath.Substring(Application.ExecutablePath.LastIndexOf("\\") + 1); | |
34 | + string AppTitle = AppName.Substring(0, AppName.LastIndexOf(".")); | |
35 | + | |
36 | + if (bFullPath) | |
37 | + return AppPath + "\\" + AppTitle + "Event.txt"; | |
38 | + else | |
39 | + return AppTitle + "Event.txt"; | |
40 | + } | |
41 | + | |
42 | + static public string GetImagePath() | |
43 | + { | |
44 | + string AppPath = Application.ExecutablePath.Substring(0, Application.ExecutablePath.LastIndexOf("\\")); | |
45 | + return AppPath + "\\" + "Images"; | |
46 | + } | |
47 | + | |
48 | + public static Bitmap ResizeImage(Image image, int width, int height) | |
49 | + { | |
50 | + var destRect = new Rectangle(0, 0, width, height); | |
51 | + var destImage = new Bitmap(width, height); | |
52 | + | |
53 | + destImage.SetResolution(image.HorizontalResolution, image.VerticalResolution); | |
54 | + | |
55 | + using (var graphics = Graphics.FromImage(destImage)) | |
56 | + { | |
57 | + graphics.CompositingMode = CompositingMode.SourceCopy; | |
58 | + graphics.CompositingQuality = CompositingQuality.HighQuality; | |
59 | + graphics.InterpolationMode = InterpolationMode.HighQualityBicubic; | |
60 | + graphics.SmoothingMode = SmoothingMode.HighQuality; | |
61 | + graphics.PixelOffsetMode = PixelOffsetMode.HighQuality; | |
62 | + | |
63 | + using (var wrapMode = new ImageAttributes()) | |
64 | + { | |
65 | + wrapMode.SetWrapMode(WrapMode.TileFlipXY); | |
66 | + graphics.DrawImage(image, destRect, 0, 0, image.Width, image.Height, GraphicsUnit.Pixel, wrapMode); | |
67 | + } | |
68 | + } | |
69 | + return destImage; | |
70 | + } | |
71 | + | |
72 | + public static void ErrorLog(string strLog) | |
73 | + { | |
74 | + try | |
75 | + { | |
76 | + FileLog(strLog, GetErrorLogFile(false)); | |
77 | + } | |
78 | + catch | |
79 | + { | |
80 | + } | |
81 | + } | |
82 | + | |
83 | + public static void EventLog(string strLog) | |
84 | + { | |
85 | + try | |
86 | + { | |
87 | + FileLog(strLog, GetEventLogFile(false)); | |
88 | + } | |
89 | + catch | |
90 | + { | |
91 | + } | |
92 | + } | |
93 | + | |
94 | + public static void FileLog(string strLog, string strFileName) | |
95 | + { | |
96 | + string str = ""; | |
97 | + | |
98 | + DateTime t = DateTime.Now; | |
99 | + str = t.ToString("(yyyy-MM-dd HH:mm:ss.fff) "); | |
100 | + str += strLog; | |
101 | + | |
102 | + try | |
103 | + { | |
104 | + string AppPath = Application.ExecutablePath.Substring(0, Application.ExecutablePath.LastIndexOf("\\")); | |
105 | + string strLogFile = AppPath + "\\" + strFileName; | |
106 | + FileBackup(strLogFile); | |
107 | + FileWrite(strLogFile, str); | |
108 | + } | |
109 | + catch (Exception ex) | |
110 | + { | |
111 | + throw new Exception("FileLog->:" + ex.Message); | |
112 | + } | |
113 | + } | |
114 | + | |
115 | + public static void FileBackup(string strLogFile) | |
116 | + { | |
117 | + if (File.Exists(strLogFile)) | |
118 | + { | |
119 | + try | |
120 | + { | |
121 | + FileInfo f = new FileInfo(strLogFile); | |
122 | + if (f.Length >= (2 * 1024 * 1024)) | |
123 | + { | |
124 | + System.IO.File.Delete(strLogFile + ".bak"); | |
125 | + f.MoveTo(strLogFile + ".bak"); | |
126 | + } | |
127 | + } | |
128 | + catch (Exception ex) | |
129 | + { | |
130 | + throw new Exception("FileBackup->:" + ex.Message); | |
131 | + } | |
132 | + } | |
133 | + } | |
134 | + | |
135 | + public static void FileWrite(string strLogFile, string str) | |
136 | + { | |
137 | + try | |
138 | + { | |
139 | + FileStream fs = new FileStream(strLogFile, FileMode.OpenOrCreate, FileAccess.Write, FileShare.None); | |
140 | + fs.Seek(0, SeekOrigin.End); | |
141 | + StreamWriter swFromFile = new StreamWriter(fs); | |
142 | + swFromFile.WriteLine(str); | |
143 | + swFromFile.Close(); | |
144 | + fs.Close(); | |
145 | + } | |
146 | + catch (Exception ex) | |
147 | + { | |
148 | + ErrorLog("FileWrite->:" + ex.Message); | |
149 | + } | |
150 | + } | |
151 | + | |
152 | + public static string FileRead(string strFileName) | |
153 | + { | |
154 | + if (System.IO.File.Exists(strFileName) == false) return ""; | |
155 | + | |
156 | + string result = ""; | |
157 | + try | |
158 | + { | |
159 | + FileStream fs = new FileStream(strFileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite); | |
160 | + fs.Seek(0, SeekOrigin.Begin); | |
161 | + StreamReader srFile = new StreamReader(fs, Encoding.Default, true); | |
162 | + result = srFile.ReadToEnd(); | |
163 | + srFile.Close(); | |
164 | + fs.Close(); | |
165 | + } | |
166 | + catch (Exception ex) | |
167 | + { | |
168 | + ErrorLog("FileRead->:" + ex.Message); | |
169 | + } | |
170 | + return result; | |
171 | + } | |
172 | + | |
173 | + public static bool GetBit(byte b, int bitNumber) | |
174 | + { | |
175 | + return (b & (1 << bitNumber)) != 0; | |
176 | + } | |
177 | + | |
178 | + public static bool GetBit(short s, int bitNumber) | |
179 | + { | |
180 | + return (s & (1 << bitNumber)) != 0; | |
181 | + } | |
182 | + | |
183 | + static public DateTime FromUnixTime(long unixTime) | |
184 | + { | |
185 | + var epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); | |
186 | + return epoch.AddSeconds(unixTime); | |
187 | + } | |
188 | + | |
189 | + static public Int32 ToUnixTime(DateTime dt) | |
190 | + { | |
191 | + return (Int32)(dt.Subtract(new DateTime(1970, 1, 1, 0, 0, 0))).TotalSeconds; | |
192 | + } | |
193 | + } | |
194 | +} |
+++ KHSCALE_TP/UcInsertWork.Designer.cs
... | ... | @@ -0,0 +1,1283 @@ |
1 | +namespace KHSCALE_TP | |
2 | +{ | |
3 | + partial class UcInsertWork | |
4 | + { | |
5 | + /// <summary> | |
6 | + /// Required designer variable. | |
7 | + /// </summary> | |
8 | + private System.ComponentModel.IContainer components = null; | |
9 | + | |
10 | + /// <summary> | |
11 | + /// Clean up any resources being used. | |
12 | + /// </summary> | |
13 | + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | |
14 | + protected override void Dispose(bool disposing) | |
15 | + { | |
16 | + if (disposing && (components != null)) | |
17 | + { | |
18 | + components.Dispose(); | |
19 | + } | |
20 | + base.Dispose(disposing); | |
21 | + } | |
22 | + | |
23 | + #region 구성 요소 디자이너에서 생성한 코드 | |
24 | + | |
25 | + /// <summary> | |
26 | + /// 디자이너 지원에 필요한 메서드입니다. | |
27 | + /// 이 메서드의 내용을 코드 편집기로 수정하지 마세요. | |
28 | + /// </summary> | |
29 | + private void InitializeComponent() | |
30 | + { | |
31 | + this.components = new System.ComponentModel.Container(); | |
32 | + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); | |
33 | + this.timer1 = new System.Windows.Forms.Timer(this.components); | |
34 | + this.splitContainer1 = new System.Windows.Forms.SplitContainer(); | |
35 | + this.gridControl_Main = new DevExpress.XtraGrid.GridControl(); | |
36 | + this.gridView_Main = new DevExpress.XtraGrid.Views.Grid.GridView(); | |
37 | + this.gridColumn53 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
38 | + this.gridColumn54 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
39 | + this.gridColumn55 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
40 | + this.gridColumn56 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
41 | + this.gridColumn60 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
42 | + this.gridColumn57 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
43 | + this.gridColumn58 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
44 | + this.gridColumn59 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
45 | + this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
46 | + this.repositoryItemLookUpEdit6 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
47 | + this.repositoryItemButtonEdit4 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); | |
48 | + this.repositoryItemLookUpEdit7 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
49 | + this.repositoryItemButtonEdit5 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); | |
50 | + this.repositoryItemButtonEdit6 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); | |
51 | + this.repositoryItemComboBox3 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); | |
52 | + this.repositoryItemTextEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); | |
53 | + this.repositoryItemLookUpEdit8 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
54 | + this.repositoryItemLookUpEdit9 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
55 | + this.repositoryItemDateEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); | |
56 | + this.repositoryItemTextEdit4 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); | |
57 | + this.repositoryItemLookUpEdit10 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
58 | + this.simpleButton_Reset = new DevExpress.XtraEditors.SimpleButton(); | |
59 | + this.txt_e = new System.Windows.Forms.TextBox(); | |
60 | + this.txt_s = new System.Windows.Forms.TextBox(); | |
61 | + this.simpleButton1_e = new DevExpress.XtraEditors.SimpleButton(); | |
62 | + this.simpleButton1_s = new DevExpress.XtraEditors.SimpleButton(); | |
63 | + this.simpleButton_Backspace = new DevExpress.XtraEditors.SimpleButton(); | |
64 | + this.simpleButton10 = new DevExpress.XtraEditors.SimpleButton(); | |
65 | + this.simpleButton_X = new DevExpress.XtraEditors.SimpleButton(); | |
66 | + this.simpleButton6 = new DevExpress.XtraEditors.SimpleButton(); | |
67 | + this.simpleButton7 = new DevExpress.XtraEditors.SimpleButton(); | |
68 | + this.simpleButton8 = new DevExpress.XtraEditors.SimpleButton(); | |
69 | + this.simpleButton3 = new DevExpress.XtraEditors.SimpleButton(); | |
70 | + this.simpleButton4 = new DevExpress.XtraEditors.SimpleButton(); | |
71 | + this.simpleButton5 = new DevExpress.XtraEditors.SimpleButton(); | |
72 | + this.simpleButton_3 = new DevExpress.XtraEditors.SimpleButton(); | |
73 | + this.simpleButton_2 = new DevExpress.XtraEditors.SimpleButton(); | |
74 | + this.simpleButton_1 = new DevExpress.XtraEditors.SimpleButton(); | |
75 | + this.panelControl9 = new DevExpress.XtraEditors.PanelControl(); | |
76 | + this.txt_ip = new DevExpress.XtraEditors.TextEdit(); | |
77 | + this.labelControl9 = new DevExpress.XtraEditors.LabelControl(); | |
78 | + this.panelControl8 = new DevExpress.XtraEditors.PanelControl(); | |
79 | + this.labelControl8 = new DevExpress.XtraEditors.LabelControl(); | |
80 | + this.panelControl6 = new DevExpress.XtraEditors.PanelControl(); | |
81 | + this.txt_jlot = new DevExpress.XtraEditors.TextEdit(); | |
82 | + this.labelControl6 = new DevExpress.XtraEditors.LabelControl(); | |
83 | + this.panelControl3 = new DevExpress.XtraEditors.PanelControl(); | |
84 | + this.txt_lot = new DevExpress.XtraEditors.TextEdit(); | |
85 | + this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); | |
86 | + this.panelControl7 = new DevExpress.XtraEditors.PanelControl(); | |
87 | + this.txt_jpartno = new DevExpress.XtraEditors.TextEdit(); | |
88 | + this.labelControl7 = new DevExpress.XtraEditors.LabelControl(); | |
89 | + this.simpleButton_CANCEL = new DevExpress.XtraEditors.SimpleButton(); | |
90 | + this.simpleButton_INPUT = new DevExpress.XtraEditors.SimpleButton(); | |
91 | + this.panelControl5 = new DevExpress.XtraEditors.PanelControl(); | |
92 | + this.txt_tqty = new DevExpress.XtraEditors.TextEdit(); | |
93 | + this.labelControl5 = new DevExpress.XtraEditors.LabelControl(); | |
94 | + this.panelControl4 = new DevExpress.XtraEditors.PanelControl(); | |
95 | + this.txt_qty = new DevExpress.XtraEditors.TextEdit(); | |
96 | + this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); | |
97 | + this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); | |
98 | + this.txt_jpartnm = new DevExpress.XtraEditors.TextEdit(); | |
99 | + this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); | |
100 | + this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); | |
101 | + this.barcode = new DevExpress.XtraEditors.TextEdit(); | |
102 | + this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); | |
103 | + this.panelControl36 = new DevExpress.XtraEditors.PanelControl(); | |
104 | + this.txt_orderno = new DevExpress.XtraEditors.TextEdit(); | |
105 | + this.labelControl37 = new DevExpress.XtraEditors.LabelControl(); | |
106 | + this.helpProvider1 = new System.Windows.Forms.HelpProvider(); | |
107 | + this.txt_partno = new System.Windows.Forms.TextBox(); | |
108 | + this.panelControl10 = new DevExpress.XtraEditors.PanelControl(); | |
109 | + this.labelControl10 = new DevExpress.XtraEditors.LabelControl(); | |
110 | + this.lookUpEdit_Mach = new DevExpress.XtraEditors.LookUpEdit(); | |
111 | + this.lookUpEdit_center = new DevExpress.XtraEditors.LookUpEdit(); | |
112 | + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); | |
113 | + this.splitContainer1.Panel1.SuspendLayout(); | |
114 | + this.splitContainer1.Panel2.SuspendLayout(); | |
115 | + this.splitContainer1.SuspendLayout(); | |
116 | + ((System.ComponentModel.ISupportInitialize)(this.gridControl_Main)).BeginInit(); | |
117 | + ((System.ComponentModel.ISupportInitialize)(this.gridView_Main)).BeginInit(); | |
118 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit6)).BeginInit(); | |
119 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit4)).BeginInit(); | |
120 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit7)).BeginInit(); | |
121 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit5)).BeginInit(); | |
122 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit6)).BeginInit(); | |
123 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox3)).BeginInit(); | |
124 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit3)).BeginInit(); | |
125 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit8)).BeginInit(); | |
126 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit9)).BeginInit(); | |
127 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).BeginInit(); | |
128 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).BeginInit(); | |
129 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit4)).BeginInit(); | |
130 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit10)).BeginInit(); | |
131 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl9)).BeginInit(); | |
132 | + this.panelControl9.SuspendLayout(); | |
133 | + ((System.ComponentModel.ISupportInitialize)(this.txt_ip.Properties)).BeginInit(); | |
134 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl8)).BeginInit(); | |
135 | + this.panelControl8.SuspendLayout(); | |
136 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl6)).BeginInit(); | |
137 | + this.panelControl6.SuspendLayout(); | |
138 | + ((System.ComponentModel.ISupportInitialize)(this.txt_jlot.Properties)).BeginInit(); | |
139 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit(); | |
140 | + this.panelControl3.SuspendLayout(); | |
141 | + ((System.ComponentModel.ISupportInitialize)(this.txt_lot.Properties)).BeginInit(); | |
142 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl7)).BeginInit(); | |
143 | + this.panelControl7.SuspendLayout(); | |
144 | + ((System.ComponentModel.ISupportInitialize)(this.txt_jpartno.Properties)).BeginInit(); | |
145 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).BeginInit(); | |
146 | + this.panelControl5.SuspendLayout(); | |
147 | + ((System.ComponentModel.ISupportInitialize)(this.txt_tqty.Properties)).BeginInit(); | |
148 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit(); | |
149 | + this.panelControl4.SuspendLayout(); | |
150 | + ((System.ComponentModel.ISupportInitialize)(this.txt_qty.Properties)).BeginInit(); | |
151 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); | |
152 | + this.panelControl2.SuspendLayout(); | |
153 | + ((System.ComponentModel.ISupportInitialize)(this.txt_jpartnm.Properties)).BeginInit(); | |
154 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); | |
155 | + this.panelControl1.SuspendLayout(); | |
156 | + ((System.ComponentModel.ISupportInitialize)(this.barcode.Properties)).BeginInit(); | |
157 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl36)).BeginInit(); | |
158 | + this.panelControl36.SuspendLayout(); | |
159 | + ((System.ComponentModel.ISupportInitialize)(this.txt_orderno.Properties)).BeginInit(); | |
160 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl10)).BeginInit(); | |
161 | + this.panelControl10.SuspendLayout(); | |
162 | + ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit_Mach.Properties)).BeginInit(); | |
163 | + ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit_center.Properties)).BeginInit(); | |
164 | + this.SuspendLayout(); | |
165 | + // | |
166 | + // splitContainer1 | |
167 | + // | |
168 | + this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; | |
169 | + this.splitContainer1.Location = new System.Drawing.Point(0, 0); | |
170 | + this.splitContainer1.Name = "splitContainer1"; | |
171 | + // | |
172 | + // splitContainer1.Panel1 | |
173 | + // | |
174 | + this.splitContainer1.Panel1.Controls.Add(this.gridControl_Main); | |
175 | + // | |
176 | + // splitContainer1.Panel2 | |
177 | + // | |
178 | + this.splitContainer1.Panel2.Controls.Add(this.panelControl10); | |
179 | + this.splitContainer1.Panel2.Controls.Add(this.txt_partno); | |
180 | + this.splitContainer1.Panel2.Controls.Add(this.simpleButton_Reset); | |
181 | + this.splitContainer1.Panel2.Controls.Add(this.txt_e); | |
182 | + this.splitContainer1.Panel2.Controls.Add(this.txt_s); | |
183 | + this.splitContainer1.Panel2.Controls.Add(this.simpleButton1_e); | |
184 | + this.splitContainer1.Panel2.Controls.Add(this.simpleButton1_s); | |
185 | + this.splitContainer1.Panel2.Controls.Add(this.simpleButton_Backspace); | |
186 | + this.splitContainer1.Panel2.Controls.Add(this.simpleButton10); | |
187 | + this.splitContainer1.Panel2.Controls.Add(this.simpleButton_X); | |
188 | + this.splitContainer1.Panel2.Controls.Add(this.simpleButton6); | |
189 | + this.splitContainer1.Panel2.Controls.Add(this.simpleButton7); | |
190 | + this.splitContainer1.Panel2.Controls.Add(this.simpleButton8); | |
191 | + this.splitContainer1.Panel2.Controls.Add(this.simpleButton3); | |
192 | + this.splitContainer1.Panel2.Controls.Add(this.simpleButton4); | |
193 | + this.splitContainer1.Panel2.Controls.Add(this.simpleButton5); | |
194 | + this.splitContainer1.Panel2.Controls.Add(this.simpleButton_3); | |
195 | + this.splitContainer1.Panel2.Controls.Add(this.simpleButton_2); | |
196 | + this.splitContainer1.Panel2.Controls.Add(this.simpleButton_1); | |
197 | + this.splitContainer1.Panel2.Controls.Add(this.panelControl9); | |
198 | + this.splitContainer1.Panel2.Controls.Add(this.panelControl8); | |
199 | + this.splitContainer1.Panel2.Controls.Add(this.panelControl6); | |
200 | + this.splitContainer1.Panel2.Controls.Add(this.panelControl3); | |
201 | + this.splitContainer1.Panel2.Controls.Add(this.panelControl7); | |
202 | + this.splitContainer1.Panel2.Controls.Add(this.simpleButton_CANCEL); | |
203 | + this.splitContainer1.Panel2.Controls.Add(this.simpleButton_INPUT); | |
204 | + this.splitContainer1.Panel2.Controls.Add(this.panelControl5); | |
205 | + this.splitContainer1.Panel2.Controls.Add(this.panelControl4); | |
206 | + this.splitContainer1.Panel2.Controls.Add(this.panelControl2); | |
207 | + this.splitContainer1.Panel2.Controls.Add(this.panelControl1); | |
208 | + this.splitContainer1.Panel2.Controls.Add(this.panelControl36); | |
209 | + this.splitContainer1.Size = new System.Drawing.Size(1024, 550); | |
210 | + this.splitContainer1.SplitterDistance = 430; | |
211 | + this.splitContainer1.TabIndex = 0; | |
212 | + // | |
213 | + // gridControl_Main | |
214 | + // | |
215 | + this.gridControl_Main.Dock = System.Windows.Forms.DockStyle.Fill; | |
216 | + this.gridControl_Main.Location = new System.Drawing.Point(0, 0); | |
217 | + this.gridControl_Main.MainView = this.gridView_Main; | |
218 | + this.gridControl_Main.Name = "gridControl_Main"; | |
219 | + this.gridControl_Main.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { | |
220 | + this.repositoryItemLookUpEdit6, | |
221 | + this.repositoryItemButtonEdit4, | |
222 | + this.repositoryItemLookUpEdit7, | |
223 | + this.repositoryItemButtonEdit5, | |
224 | + this.repositoryItemButtonEdit6, | |
225 | + this.repositoryItemComboBox3, | |
226 | + this.repositoryItemTextEdit3, | |
227 | + this.repositoryItemLookUpEdit8, | |
228 | + this.repositoryItemLookUpEdit9, | |
229 | + this.repositoryItemDateEdit2, | |
230 | + this.repositoryItemTextEdit4, | |
231 | + this.repositoryItemLookUpEdit10}); | |
232 | + this.gridControl_Main.Size = new System.Drawing.Size(430, 550); | |
233 | + this.gridControl_Main.TabIndex = 124; | |
234 | + this.gridControl_Main.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { | |
235 | + this.gridView_Main}); | |
236 | + // | |
237 | + // gridView_Main | |
238 | + // | |
239 | + this.gridView_Main.Appearance.FooterPanel.Options.UseFont = true; | |
240 | + this.gridView_Main.Appearance.HeaderPanel.Options.UseFont = true; | |
241 | + this.gridView_Main.Appearance.HeaderPanel.Options.UseTextOptions = true; | |
242 | + this.gridView_Main.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
243 | + this.gridView_Main.Appearance.Row.Options.UseFont = true; | |
244 | + this.gridView_Main.ColumnPanelRowHeight = 40; | |
245 | + this.gridView_Main.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { | |
246 | + this.gridColumn53, | |
247 | + this.gridColumn54, | |
248 | + this.gridColumn55, | |
249 | + this.gridColumn56, | |
250 | + this.gridColumn60, | |
251 | + this.gridColumn57, | |
252 | + this.gridColumn58, | |
253 | + this.gridColumn59, | |
254 | + this.gridColumn1}); | |
255 | + this.gridView_Main.FooterPanelHeight = 23; | |
256 | + this.gridView_Main.GridControl = this.gridControl_Main; | |
257 | + this.gridView_Main.Name = "gridView_Main"; | |
258 | + this.gridView_Main.OptionsCustomization.AllowSort = false; | |
259 | + this.gridView_Main.OptionsNavigation.EnterMoveNextColumn = true; | |
260 | + this.gridView_Main.OptionsView.ColumnAutoWidth = false; | |
261 | + this.gridView_Main.OptionsView.ShowGroupPanel = false; | |
262 | + this.gridView_Main.RowHeight = 40; | |
263 | + this.gridView_Main.RowStyle += new DevExpress.XtraGrid.Views.Grid.RowStyleEventHandler(this.gridView_Main_RowStyle); | |
264 | + // | |
265 | + // gridColumn53 | |
266 | + // | |
267 | + this.gridColumn53.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
268 | + this.gridColumn53.AppearanceCell.Options.UseFont = true; | |
269 | + this.gridColumn53.AppearanceCell.Options.UseTextOptions = true; | |
270 | + this.gridColumn53.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
271 | + this.gridColumn53.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
272 | + this.gridColumn53.AppearanceHeader.Options.UseFont = true; | |
273 | + this.gridColumn53.Caption = "공정"; | |
274 | + this.gridColumn53.FieldName = "operation"; | |
275 | + this.gridColumn53.Name = "gridColumn53"; | |
276 | + this.gridColumn53.OptionsColumn.AllowEdit = false; | |
277 | + this.gridColumn53.OptionsColumn.AllowFocus = false; | |
278 | + this.gridColumn53.Width = 72; | |
279 | + // | |
280 | + // gridColumn54 | |
281 | + // | |
282 | + this.gridColumn54.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); | |
283 | + this.gridColumn54.AppearanceCell.Options.UseFont = true; | |
284 | + this.gridColumn54.AppearanceCell.Options.UseTextOptions = true; | |
285 | + this.gridColumn54.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
286 | + this.gridColumn54.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); | |
287 | + this.gridColumn54.AppearanceHeader.Options.UseFont = true; | |
288 | + this.gridColumn54.Caption = "투입순번"; | |
289 | + this.gridColumn54.FieldName = "note"; | |
290 | + this.gridColumn54.Name = "gridColumn54"; | |
291 | + this.gridColumn54.OptionsColumn.AllowEdit = false; | |
292 | + this.gridColumn54.OptionsColumn.AllowFocus = false; | |
293 | + this.gridColumn54.Visible = true; | |
294 | + this.gridColumn54.VisibleIndex = 0; | |
295 | + this.gridColumn54.Width = 89; | |
296 | + // | |
297 | + // gridColumn55 | |
298 | + // | |
299 | + this.gridColumn55.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); | |
300 | + this.gridColumn55.AppearanceCell.Options.UseFont = true; | |
301 | + this.gridColumn55.AppearanceCell.Options.UseTextOptions = true; | |
302 | + this.gridColumn55.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
303 | + this.gridColumn55.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); | |
304 | + this.gridColumn55.AppearanceHeader.Options.UseFont = true; | |
305 | + this.gridColumn55.Caption = "자품목번호"; | |
306 | + this.gridColumn55.FieldName = "resource_used"; | |
307 | + this.gridColumn55.Name = "gridColumn55"; | |
308 | + this.gridColumn55.OptionsColumn.AllowEdit = false; | |
309 | + this.gridColumn55.OptionsColumn.AllowFocus = false; | |
310 | + this.gridColumn55.Visible = true; | |
311 | + this.gridColumn55.VisibleIndex = 1; | |
312 | + this.gridColumn55.Width = 177; | |
313 | + // | |
314 | + // gridColumn56 | |
315 | + // | |
316 | + this.gridColumn56.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); | |
317 | + this.gridColumn56.AppearanceCell.Options.UseFont = true; | |
318 | + this.gridColumn56.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); | |
319 | + this.gridColumn56.AppearanceHeader.Options.UseFont = true; | |
320 | + this.gridColumn56.Caption = "명세"; | |
321 | + this.gridColumn56.FieldName = "description"; | |
322 | + this.gridColumn56.Name = "gridColumn56"; | |
323 | + this.gridColumn56.OptionsColumn.AllowEdit = false; | |
324 | + this.gridColumn56.OptionsColumn.AllowFocus = false; | |
325 | + this.gridColumn56.Visible = true; | |
326 | + this.gridColumn56.VisibleIndex = 2; | |
327 | + this.gridColumn56.Width = 228; | |
328 | + // | |
329 | + // gridColumn60 | |
330 | + // | |
331 | + this.gridColumn60.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
332 | + this.gridColumn60.AppearanceCell.Options.UseFont = true; | |
333 | + this.gridColumn60.AppearanceCell.Options.UseTextOptions = true; | |
334 | + this.gridColumn60.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
335 | + this.gridColumn60.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
336 | + this.gridColumn60.AppearanceHeader.Options.UseFont = true; | |
337 | + this.gridColumn60.Caption = "투입량"; | |
338 | + this.gridColumn60.DisplayFormat.FormatString = "N02"; | |
339 | + this.gridColumn60.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; | |
340 | + this.gridColumn60.FieldName = "in_qty"; | |
341 | + this.gridColumn60.Name = "gridColumn60"; | |
342 | + this.gridColumn60.OptionsColumn.AllowEdit = false; | |
343 | + this.gridColumn60.OptionsColumn.AllowFocus = false; | |
344 | + this.gridColumn60.Width = 129; | |
345 | + // | |
346 | + // gridColumn57 | |
347 | + // | |
348 | + this.gridColumn57.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); | |
349 | + this.gridColumn57.AppearanceCell.Options.UseFont = true; | |
350 | + this.gridColumn57.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold); | |
351 | + this.gridColumn57.AppearanceHeader.Options.UseFont = true; | |
352 | + this.gridColumn57.Caption = "합계수량"; | |
353 | + this.gridColumn57.FieldName = "qty_total"; | |
354 | + this.gridColumn57.Name = "gridColumn57"; | |
355 | + this.gridColumn57.OptionsColumn.AllowEdit = false; | |
356 | + this.gridColumn57.OptionsColumn.AllowFocus = false; | |
357 | + this.gridColumn57.Width = 136; | |
358 | + // | |
359 | + // gridColumn58 | |
360 | + // | |
361 | + this.gridColumn58.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
362 | + this.gridColumn58.AppearanceCell.Options.UseFont = true; | |
363 | + this.gridColumn58.AppearanceCell.Options.UseTextOptions = true; | |
364 | + this.gridColumn58.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
365 | + this.gridColumn58.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
366 | + this.gridColumn58.AppearanceHeader.Options.UseFont = true; | |
367 | + this.gridColumn58.Caption = "단위"; | |
368 | + this.gridColumn58.FieldName = "uom"; | |
369 | + this.gridColumn58.Name = "gridColumn58"; | |
370 | + this.gridColumn58.OptionsColumn.AllowEdit = false; | |
371 | + this.gridColumn58.OptionsColumn.AllowFocus = false; | |
372 | + this.gridColumn58.Width = 80; | |
373 | + // | |
374 | + // gridColumn59 | |
375 | + // | |
376 | + this.gridColumn59.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
377 | + this.gridColumn59.AppearanceCell.Options.UseFont = true; | |
378 | + this.gridColumn59.AppearanceCell.Options.UseTextOptions = true; | |
379 | + this.gridColumn59.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; | |
380 | + this.gridColumn59.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
381 | + this.gridColumn59.AppearanceHeader.Options.UseFont = true; | |
382 | + this.gridColumn59.Caption = "현재고"; | |
383 | + this.gridColumn59.DisplayFormat.FormatString = "N02"; | |
384 | + this.gridColumn59.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; | |
385 | + this.gridColumn59.FieldName = "stock_qty"; | |
386 | + this.gridColumn59.Name = "gridColumn59"; | |
387 | + this.gridColumn59.OptionsColumn.AllowEdit = false; | |
388 | + this.gridColumn59.OptionsColumn.AllowFocus = false; | |
389 | + this.gridColumn59.Width = 121; | |
390 | + // | |
391 | + // gridColumn1 | |
392 | + // | |
393 | + this.gridColumn1.Caption = "수량"; | |
394 | + this.gridColumn1.DisplayFormat.FormatString = "N02"; | |
395 | + this.gridColumn1.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; | |
396 | + this.gridColumn1.FieldName = "QTY"; | |
397 | + this.gridColumn1.Name = "gridColumn1"; | |
398 | + this.gridColumn1.Visible = true; | |
399 | + this.gridColumn1.VisibleIndex = 3; | |
400 | + // | |
401 | + // repositoryItemLookUpEdit6 | |
402 | + // | |
403 | + this.repositoryItemLookUpEdit6.AutoHeight = false; | |
404 | + this.repositoryItemLookUpEdit6.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
405 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
406 | + this.repositoryItemLookUpEdit6.Name = "repositoryItemLookUpEdit6"; | |
407 | + // | |
408 | + // repositoryItemButtonEdit4 | |
409 | + // | |
410 | + this.repositoryItemButtonEdit4.AutoHeight = false; | |
411 | + this.repositoryItemButtonEdit4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
412 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "상세", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject3, "", null, null, true)}); | |
413 | + this.repositoryItemButtonEdit4.ButtonsStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; | |
414 | + this.repositoryItemButtonEdit4.Name = "repositoryItemButtonEdit4"; | |
415 | + // | |
416 | + // repositoryItemLookUpEdit7 | |
417 | + // | |
418 | + this.repositoryItemLookUpEdit7.AutoHeight = false; | |
419 | + this.repositoryItemLookUpEdit7.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
420 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
421 | + this.repositoryItemLookUpEdit7.Name = "repositoryItemLookUpEdit7"; | |
422 | + // | |
423 | + // repositoryItemButtonEdit5 | |
424 | + // | |
425 | + this.repositoryItemButtonEdit5.AutoHeight = false; | |
426 | + this.repositoryItemButtonEdit5.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
427 | + new DevExpress.XtraEditors.Controls.EditorButton()}); | |
428 | + this.repositoryItemButtonEdit5.Name = "repositoryItemButtonEdit5"; | |
429 | + // | |
430 | + // repositoryItemButtonEdit6 | |
431 | + // | |
432 | + this.repositoryItemButtonEdit6.AutoHeight = false; | |
433 | + this.repositoryItemButtonEdit6.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
434 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Search)}); | |
435 | + this.repositoryItemButtonEdit6.Name = "repositoryItemButtonEdit6"; | |
436 | + // | |
437 | + // repositoryItemComboBox3 | |
438 | + // | |
439 | + this.repositoryItemComboBox3.AutoHeight = false; | |
440 | + this.repositoryItemComboBox3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
441 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
442 | + this.repositoryItemComboBox3.Items.AddRange(new object[] { | |
443 | + "증가", | |
444 | + "감소"}); | |
445 | + this.repositoryItemComboBox3.Name = "repositoryItemComboBox3"; | |
446 | + // | |
447 | + // repositoryItemTextEdit3 | |
448 | + // | |
449 | + this.repositoryItemTextEdit3.AutoHeight = false; | |
450 | + this.repositoryItemTextEdit3.Mask.EditMask = "yy-MM-dd HH:mm:ss"; | |
451 | + this.repositoryItemTextEdit3.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.DateTime; | |
452 | + this.repositoryItemTextEdit3.Name = "repositoryItemTextEdit3"; | |
453 | + // | |
454 | + // repositoryItemLookUpEdit8 | |
455 | + // | |
456 | + this.repositoryItemLookUpEdit8.AutoHeight = false; | |
457 | + this.repositoryItemLookUpEdit8.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
458 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
459 | + this.repositoryItemLookUpEdit8.Name = "repositoryItemLookUpEdit8"; | |
460 | + // | |
461 | + // repositoryItemLookUpEdit9 | |
462 | + // | |
463 | + this.repositoryItemLookUpEdit9.AutoHeight = false; | |
464 | + this.repositoryItemLookUpEdit9.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
465 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
466 | + this.repositoryItemLookUpEdit9.Name = "repositoryItemLookUpEdit9"; | |
467 | + // | |
468 | + // repositoryItemDateEdit2 | |
469 | + // | |
470 | + this.repositoryItemDateEdit2.AutoHeight = false; | |
471 | + this.repositoryItemDateEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
472 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
473 | + this.repositoryItemDateEdit2.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
474 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
475 | + this.repositoryItemDateEdit2.Name = "repositoryItemDateEdit2"; | |
476 | + // | |
477 | + // repositoryItemTextEdit4 | |
478 | + // | |
479 | + this.repositoryItemTextEdit4.AutoHeight = false; | |
480 | + this.repositoryItemTextEdit4.Mask.EditMask = "p"; | |
481 | + this.repositoryItemTextEdit4.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; | |
482 | + this.repositoryItemTextEdit4.Mask.UseMaskAsDisplayFormat = true; | |
483 | + this.repositoryItemTextEdit4.Name = "repositoryItemTextEdit4"; | |
484 | + // | |
485 | + // repositoryItemLookUpEdit10 | |
486 | + // | |
487 | + this.repositoryItemLookUpEdit10.AutoHeight = false; | |
488 | + this.repositoryItemLookUpEdit10.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
489 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
490 | + this.repositoryItemLookUpEdit10.Name = "repositoryItemLookUpEdit10"; | |
491 | + // | |
492 | + // simpleButton_Reset | |
493 | + // | |
494 | + this.simpleButton_Reset.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
495 | + this.simpleButton_Reset.Appearance.Options.UseFont = true; | |
496 | + this.simpleButton_Reset.Location = new System.Drawing.Point(108, 436); | |
497 | + this.simpleButton_Reset.LookAndFeel.SkinMaskColor = System.Drawing.Color.DodgerBlue; | |
498 | + this.simpleButton_Reset.LookAndFeel.SkinName = "McSkin"; | |
499 | + this.simpleButton_Reset.LookAndFeel.UseDefaultLookAndFeel = false; | |
500 | + this.simpleButton_Reset.Name = "simpleButton_Reset"; | |
501 | + this.simpleButton_Reset.Size = new System.Drawing.Size(82, 53); | |
502 | + this.simpleButton_Reset.TabIndex = 172; | |
503 | + this.simpleButton_Reset.Text = "리셋"; | |
504 | + this.simpleButton_Reset.Visible = false; | |
505 | + this.simpleButton_Reset.Click += new System.EventHandler(this.simpleButton_Reset_Click); | |
506 | + // | |
507 | + // txt_e | |
508 | + // | |
509 | + this.txt_e.Location = new System.Drawing.Point(114, 517); | |
510 | + this.txt_e.Name = "txt_e"; | |
511 | + this.txt_e.Size = new System.Drawing.Size(100, 21); | |
512 | + this.txt_e.TabIndex = 171; | |
513 | + // | |
514 | + // txt_s | |
515 | + // | |
516 | + this.txt_s.Location = new System.Drawing.Point(8, 517); | |
517 | + this.txt_s.Name = "txt_s"; | |
518 | + this.txt_s.Size = new System.Drawing.Size(100, 21); | |
519 | + this.txt_s.TabIndex = 2; | |
520 | + // | |
521 | + // simpleButton1_e | |
522 | + // | |
523 | + this.simpleButton1_e.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
524 | + this.simpleButton1_e.Appearance.Options.UseFont = true; | |
525 | + this.simpleButton1_e.Location = new System.Drawing.Point(205, 436); | |
526 | + this.simpleButton1_e.LookAndFeel.SkinMaskColor = System.Drawing.Color.Red; | |
527 | + this.simpleButton1_e.LookAndFeel.SkinName = "McSkin"; | |
528 | + this.simpleButton1_e.LookAndFeel.UseDefaultLookAndFeel = false; | |
529 | + this.simpleButton1_e.Name = "simpleButton1_e"; | |
530 | + this.simpleButton1_e.Size = new System.Drawing.Size(82, 53); | |
531 | + this.simpleButton1_e.TabIndex = 170; | |
532 | + this.simpleButton1_e.Text = "종료"; | |
533 | + this.simpleButton1_e.Click += new System.EventHandler(this.simpleButton1_e_Click); | |
534 | + // | |
535 | + // simpleButton1_s | |
536 | + // | |
537 | + this.simpleButton1_s.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
538 | + this.simpleButton1_s.Appearance.Options.UseFont = true; | |
539 | + this.simpleButton1_s.Location = new System.Drawing.Point(15, 436); | |
540 | + this.simpleButton1_s.LookAndFeel.SkinMaskColor = System.Drawing.Color.Lime; | |
541 | + this.simpleButton1_s.LookAndFeel.SkinName = "McSkin"; | |
542 | + this.simpleButton1_s.LookAndFeel.UseDefaultLookAndFeel = false; | |
543 | + this.simpleButton1_s.Name = "simpleButton1_s"; | |
544 | + this.simpleButton1_s.Size = new System.Drawing.Size(82, 53); | |
545 | + this.simpleButton1_s.TabIndex = 169; | |
546 | + this.simpleButton1_s.Text = "시작"; | |
547 | + this.simpleButton1_s.Click += new System.EventHandler(this.simpleButton1_s_Click); | |
548 | + // | |
549 | + // simpleButton_Backspace | |
550 | + // | |
551 | + this.simpleButton_Backspace.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
552 | + this.simpleButton_Backspace.Appearance.Options.UseFont = true; | |
553 | + this.simpleButton_Backspace.Location = new System.Drawing.Point(309, 403); | |
554 | + this.simpleButton_Backspace.Name = "simpleButton_Backspace"; | |
555 | + this.simpleButton_Backspace.Size = new System.Drawing.Size(81, 38); | |
556 | + this.simpleButton_Backspace.TabIndex = 167; | |
557 | + this.simpleButton_Backspace.Text = "◀"; | |
558 | + this.simpleButton_Backspace.Click += new System.EventHandler(this.simpleButton_Backspace_Click); | |
559 | + // | |
560 | + // simpleButton10 | |
561 | + // | |
562 | + this.simpleButton10.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
563 | + this.simpleButton10.Appearance.Options.UseFont = true; | |
564 | + this.simpleButton10.Location = new System.Drawing.Point(399, 403); | |
565 | + this.simpleButton10.Name = "simpleButton10"; | |
566 | + this.simpleButton10.Size = new System.Drawing.Size(81, 38); | |
567 | + this.simpleButton10.TabIndex = 166; | |
568 | + this.simpleButton10.Text = "0"; | |
569 | + this.simpleButton10.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
570 | + // | |
571 | + // simpleButton_X | |
572 | + // | |
573 | + this.simpleButton_X.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
574 | + this.simpleButton_X.Appearance.Options.UseFont = true; | |
575 | + this.simpleButton_X.Location = new System.Drawing.Point(486, 403); | |
576 | + this.simpleButton_X.Name = "simpleButton_X"; | |
577 | + this.simpleButton_X.Size = new System.Drawing.Size(81, 38); | |
578 | + this.simpleButton_X.TabIndex = 165; | |
579 | + this.simpleButton_X.Text = "X"; | |
580 | + this.simpleButton_X.Click += new System.EventHandler(this.simpleButton_X_Click); | |
581 | + // | |
582 | + // simpleButton6 | |
583 | + // | |
584 | + this.simpleButton6.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
585 | + this.simpleButton6.Appearance.Options.UseFont = true; | |
586 | + this.simpleButton6.Location = new System.Drawing.Point(486, 359); | |
587 | + this.simpleButton6.Name = "simpleButton6"; | |
588 | + this.simpleButton6.Size = new System.Drawing.Size(81, 38); | |
589 | + this.simpleButton6.TabIndex = 164; | |
590 | + this.simpleButton6.Text = "9"; | |
591 | + this.simpleButton6.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
592 | + // | |
593 | + // simpleButton7 | |
594 | + // | |
595 | + this.simpleButton7.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
596 | + this.simpleButton7.Appearance.Options.UseFont = true; | |
597 | + this.simpleButton7.Location = new System.Drawing.Point(399, 359); | |
598 | + this.simpleButton7.Name = "simpleButton7"; | |
599 | + this.simpleButton7.Size = new System.Drawing.Size(81, 38); | |
600 | + this.simpleButton7.TabIndex = 163; | |
601 | + this.simpleButton7.Text = "8"; | |
602 | + this.simpleButton7.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
603 | + // | |
604 | + // simpleButton8 | |
605 | + // | |
606 | + this.simpleButton8.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
607 | + this.simpleButton8.Appearance.Options.UseFont = true; | |
608 | + this.simpleButton8.Location = new System.Drawing.Point(309, 359); | |
609 | + this.simpleButton8.Name = "simpleButton8"; | |
610 | + this.simpleButton8.Size = new System.Drawing.Size(81, 38); | |
611 | + this.simpleButton8.TabIndex = 162; | |
612 | + this.simpleButton8.Text = "7"; | |
613 | + this.simpleButton8.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
614 | + // | |
615 | + // simpleButton3 | |
616 | + // | |
617 | + this.simpleButton3.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
618 | + this.simpleButton3.Appearance.Options.UseFont = true; | |
619 | + this.simpleButton3.Location = new System.Drawing.Point(486, 315); | |
620 | + this.simpleButton3.Name = "simpleButton3"; | |
621 | + this.simpleButton3.Size = new System.Drawing.Size(81, 38); | |
622 | + this.simpleButton3.TabIndex = 161; | |
623 | + this.simpleButton3.Text = "6"; | |
624 | + this.simpleButton3.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
625 | + // | |
626 | + // simpleButton4 | |
627 | + // | |
628 | + this.simpleButton4.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
629 | + this.simpleButton4.Appearance.Options.UseFont = true; | |
630 | + this.simpleButton4.Location = new System.Drawing.Point(399, 315); | |
631 | + this.simpleButton4.Name = "simpleButton4"; | |
632 | + this.simpleButton4.Size = new System.Drawing.Size(81, 38); | |
633 | + this.simpleButton4.TabIndex = 160; | |
634 | + this.simpleButton4.Text = "5"; | |
635 | + this.simpleButton4.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
636 | + // | |
637 | + // simpleButton5 | |
638 | + // | |
639 | + this.simpleButton5.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
640 | + this.simpleButton5.Appearance.Options.UseFont = true; | |
641 | + this.simpleButton5.Location = new System.Drawing.Point(309, 315); | |
642 | + this.simpleButton5.Name = "simpleButton5"; | |
643 | + this.simpleButton5.Size = new System.Drawing.Size(81, 38); | |
644 | + this.simpleButton5.TabIndex = 159; | |
645 | + this.simpleButton5.Text = "4"; | |
646 | + this.simpleButton5.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
647 | + // | |
648 | + // simpleButton_3 | |
649 | + // | |
650 | + this.simpleButton_3.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
651 | + this.simpleButton_3.Appearance.Options.UseFont = true; | |
652 | + this.simpleButton_3.Location = new System.Drawing.Point(486, 271); | |
653 | + this.simpleButton_3.Name = "simpleButton_3"; | |
654 | + this.simpleButton_3.Size = new System.Drawing.Size(81, 38); | |
655 | + this.simpleButton_3.TabIndex = 158; | |
656 | + this.simpleButton_3.Text = "3"; | |
657 | + this.simpleButton_3.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
658 | + // | |
659 | + // simpleButton_2 | |
660 | + // | |
661 | + this.simpleButton_2.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
662 | + this.simpleButton_2.Appearance.Options.UseFont = true; | |
663 | + this.simpleButton_2.Location = new System.Drawing.Point(399, 271); | |
664 | + this.simpleButton_2.Name = "simpleButton_2"; | |
665 | + this.simpleButton_2.Size = new System.Drawing.Size(81, 38); | |
666 | + this.simpleButton_2.TabIndex = 157; | |
667 | + this.simpleButton_2.Text = "2"; | |
668 | + this.simpleButton_2.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
669 | + // | |
670 | + // simpleButton_1 | |
671 | + // | |
672 | + this.simpleButton_1.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
673 | + this.simpleButton_1.Appearance.Options.UseFont = true; | |
674 | + this.simpleButton_1.Location = new System.Drawing.Point(309, 271); | |
675 | + this.simpleButton_1.Name = "simpleButton_1"; | |
676 | + this.simpleButton_1.Size = new System.Drawing.Size(81, 38); | |
677 | + this.simpleButton_1.TabIndex = 156; | |
678 | + this.simpleButton_1.Text = "1"; | |
679 | + this.simpleButton_1.Click += new System.EventHandler(this.simpleButton_Number_Click); | |
680 | + // | |
681 | + // panelControl9 | |
682 | + // | |
683 | + this.panelControl9.Controls.Add(this.txt_ip); | |
684 | + this.panelControl9.Controls.Add(this.labelControl9); | |
685 | + this.panelControl9.Location = new System.Drawing.Point(15, 386); | |
686 | + this.panelControl9.Name = "panelControl9"; | |
687 | + this.panelControl9.Size = new System.Drawing.Size(274, 40); | |
688 | + this.panelControl9.TabIndex = 155; | |
689 | + this.panelControl9.TabStop = true; | |
690 | + this.panelControl9.Visible = false; | |
691 | + // | |
692 | + // txt_ip | |
693 | + // | |
694 | + this.txt_ip.Dock = System.Windows.Forms.DockStyle.Fill; | |
695 | + this.txt_ip.Enabled = false; | |
696 | + this.txt_ip.Location = new System.Drawing.Point(93, 2); | |
697 | + this.txt_ip.Name = "txt_ip"; | |
698 | + this.txt_ip.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
699 | + this.txt_ip.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
700 | + this.txt_ip.Properties.Appearance.Options.UseBackColor = true; | |
701 | + this.txt_ip.Properties.Appearance.Options.UseFont = true; | |
702 | + this.txt_ip.Properties.AutoHeight = false; | |
703 | + this.txt_ip.Properties.ReadOnly = true; | |
704 | + this.txt_ip.Size = new System.Drawing.Size(179, 36); | |
705 | + this.txt_ip.TabIndex = 1; | |
706 | + // | |
707 | + // labelControl9 | |
708 | + // | |
709 | + this.labelControl9.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
710 | + this.labelControl9.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
711 | + this.labelControl9.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
712 | + this.labelControl9.Dock = System.Windows.Forms.DockStyle.Left; | |
713 | + this.labelControl9.Location = new System.Drawing.Point(2, 2); | |
714 | + this.labelControl9.Name = "labelControl9"; | |
715 | + this.labelControl9.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
716 | + this.labelControl9.Size = new System.Drawing.Size(91, 36); | |
717 | + this.labelControl9.TabIndex = 0; | |
718 | + this.labelControl9.Text = "IP"; | |
719 | + // | |
720 | + // panelControl8 | |
721 | + // | |
722 | + this.panelControl8.Controls.Add(this.lookUpEdit_center); | |
723 | + this.panelControl8.Controls.Add(this.labelControl8); | |
724 | + this.panelControl8.Location = new System.Drawing.Point(306, 148); | |
725 | + this.panelControl8.Name = "panelControl8"; | |
726 | + this.panelControl8.Size = new System.Drawing.Size(262, 40); | |
727 | + this.panelControl8.TabIndex = 154; | |
728 | + this.panelControl8.TabStop = true; | |
729 | + // | |
730 | + // labelControl8 | |
731 | + // | |
732 | + this.labelControl8.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
733 | + this.labelControl8.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
734 | + this.labelControl8.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
735 | + this.labelControl8.Dock = System.Windows.Forms.DockStyle.Left; | |
736 | + this.labelControl8.Location = new System.Drawing.Point(2, 2); | |
737 | + this.labelControl8.Name = "labelControl8"; | |
738 | + this.labelControl8.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
739 | + this.labelControl8.Size = new System.Drawing.Size(91, 36); | |
740 | + this.labelControl8.TabIndex = 106; | |
741 | + this.labelControl8.Text = "교반기"; | |
742 | + // | |
743 | + // panelControl6 | |
744 | + // | |
745 | + this.panelControl6.Controls.Add(this.txt_jlot); | |
746 | + this.panelControl6.Controls.Add(this.labelControl6); | |
747 | + this.panelControl6.Location = new System.Drawing.Point(15, 208); | |
748 | + this.panelControl6.Name = "panelControl6"; | |
749 | + this.panelControl6.Size = new System.Drawing.Size(274, 40); | |
750 | + this.panelControl6.TabIndex = 153; | |
751 | + this.panelControl6.TabStop = true; | |
752 | + // | |
753 | + // txt_jlot | |
754 | + // | |
755 | + this.txt_jlot.Dock = System.Windows.Forms.DockStyle.Fill; | |
756 | + this.txt_jlot.Enabled = false; | |
757 | + this.txt_jlot.Location = new System.Drawing.Point(93, 2); | |
758 | + this.txt_jlot.Name = "txt_jlot"; | |
759 | + this.txt_jlot.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
760 | + this.txt_jlot.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
761 | + this.txt_jlot.Properties.Appearance.Options.UseBackColor = true; | |
762 | + this.txt_jlot.Properties.Appearance.Options.UseFont = true; | |
763 | + this.txt_jlot.Properties.AutoHeight = false; | |
764 | + this.txt_jlot.Properties.ReadOnly = true; | |
765 | + this.txt_jlot.Size = new System.Drawing.Size(179, 36); | |
766 | + this.txt_jlot.TabIndex = 1; | |
767 | + // | |
768 | + // labelControl6 | |
769 | + // | |
770 | + this.labelControl6.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
771 | + this.labelControl6.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
772 | + this.labelControl6.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
773 | + this.labelControl6.Dock = System.Windows.Forms.DockStyle.Left; | |
774 | + this.labelControl6.Location = new System.Drawing.Point(2, 2); | |
775 | + this.labelControl6.Name = "labelControl6"; | |
776 | + this.labelControl6.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
777 | + this.labelControl6.Size = new System.Drawing.Size(91, 36); | |
778 | + this.labelControl6.TabIndex = 0; | |
779 | + this.labelControl6.Text = "자품목LOT"; | |
780 | + // | |
781 | + // panelControl3 | |
782 | + // | |
783 | + this.panelControl3.Controls.Add(this.txt_lot); | |
784 | + this.panelControl3.Controls.Add(this.labelControl3); | |
785 | + this.panelControl3.Location = new System.Drawing.Point(306, 30); | |
786 | + this.panelControl3.Name = "panelControl3"; | |
787 | + this.panelControl3.Size = new System.Drawing.Size(262, 40); | |
788 | + this.panelControl3.TabIndex = 152; | |
789 | + this.panelControl3.TabStop = true; | |
790 | + // | |
791 | + // txt_lot | |
792 | + // | |
793 | + this.txt_lot.Dock = System.Windows.Forms.DockStyle.Fill; | |
794 | + this.txt_lot.Enabled = false; | |
795 | + this.txt_lot.Location = new System.Drawing.Point(93, 2); | |
796 | + this.txt_lot.Name = "txt_lot"; | |
797 | + this.txt_lot.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
798 | + this.txt_lot.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
799 | + this.txt_lot.Properties.Appearance.Options.UseBackColor = true; | |
800 | + this.txt_lot.Properties.Appearance.Options.UseFont = true; | |
801 | + this.txt_lot.Properties.AutoHeight = false; | |
802 | + this.txt_lot.Properties.ReadOnly = true; | |
803 | + this.txt_lot.Size = new System.Drawing.Size(167, 36); | |
804 | + this.txt_lot.TabIndex = 1; | |
805 | + // | |
806 | + // labelControl3 | |
807 | + // | |
808 | + this.labelControl3.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
809 | + this.labelControl3.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
810 | + this.labelControl3.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
811 | + this.labelControl3.Dock = System.Windows.Forms.DockStyle.Left; | |
812 | + this.labelControl3.Location = new System.Drawing.Point(2, 2); | |
813 | + this.labelControl3.Name = "labelControl3"; | |
814 | + this.labelControl3.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
815 | + this.labelControl3.Size = new System.Drawing.Size(91, 36); | |
816 | + this.labelControl3.TabIndex = 0; | |
817 | + this.labelControl3.Text = "LOT"; | |
818 | + // | |
819 | + // panelControl7 | |
820 | + // | |
821 | + this.panelControl7.Controls.Add(this.txt_jpartno); | |
822 | + this.panelControl7.Controls.Add(this.labelControl7); | |
823 | + this.panelControl7.Location = new System.Drawing.Point(306, 89); | |
824 | + this.panelControl7.Name = "panelControl7"; | |
825 | + this.panelControl7.Size = new System.Drawing.Size(262, 40); | |
826 | + this.panelControl7.TabIndex = 151; | |
827 | + this.panelControl7.TabStop = true; | |
828 | + // | |
829 | + // txt_jpartno | |
830 | + // | |
831 | + this.txt_jpartno.Dock = System.Windows.Forms.DockStyle.Fill; | |
832 | + this.txt_jpartno.Enabled = false; | |
833 | + this.txt_jpartno.Location = new System.Drawing.Point(93, 2); | |
834 | + this.txt_jpartno.Name = "txt_jpartno"; | |
835 | + this.txt_jpartno.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
836 | + this.txt_jpartno.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
837 | + this.txt_jpartno.Properties.Appearance.Options.UseBackColor = true; | |
838 | + this.txt_jpartno.Properties.Appearance.Options.UseFont = true; | |
839 | + this.txt_jpartno.Properties.AutoHeight = false; | |
840 | + this.txt_jpartno.Properties.ReadOnly = true; | |
841 | + this.txt_jpartno.Size = new System.Drawing.Size(167, 36); | |
842 | + this.txt_jpartno.TabIndex = 1; | |
843 | + // | |
844 | + // labelControl7 | |
845 | + // | |
846 | + this.labelControl7.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
847 | + this.labelControl7.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
848 | + this.labelControl7.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
849 | + this.labelControl7.Dock = System.Windows.Forms.DockStyle.Left; | |
850 | + this.labelControl7.Location = new System.Drawing.Point(2, 2); | |
851 | + this.labelControl7.Name = "labelControl7"; | |
852 | + this.labelControl7.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
853 | + this.labelControl7.Size = new System.Drawing.Size(91, 36); | |
854 | + this.labelControl7.TabIndex = 0; | |
855 | + this.labelControl7.Text = "자품목번호"; | |
856 | + // | |
857 | + // simpleButton_CANCEL | |
858 | + // | |
859 | + this.simpleButton_CANCEL.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
860 | + this.simpleButton_CANCEL.Appearance.Options.UseFont = true; | |
861 | + this.simpleButton_CANCEL.Location = new System.Drawing.Point(486, 447); | |
862 | + this.simpleButton_CANCEL.LookAndFeel.SkinMaskColor = System.Drawing.Color.Red; | |
863 | + this.simpleButton_CANCEL.LookAndFeel.SkinName = "McSkin"; | |
864 | + this.simpleButton_CANCEL.LookAndFeel.UseDefaultLookAndFeel = false; | |
865 | + this.simpleButton_CANCEL.Name = "simpleButton_CANCEL"; | |
866 | + this.simpleButton_CANCEL.Size = new System.Drawing.Size(82, 53); | |
867 | + this.simpleButton_CANCEL.TabIndex = 150; | |
868 | + this.simpleButton_CANCEL.Text = "취소"; | |
869 | + this.simpleButton_CANCEL.Click += new System.EventHandler(this.simpleButton_CANCEL_Click); | |
870 | + // | |
871 | + // simpleButton_INPUT | |
872 | + // | |
873 | + this.simpleButton_INPUT.Appearance.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
874 | + this.simpleButton_INPUT.Appearance.Options.UseFont = true; | |
875 | + this.simpleButton_INPUT.Location = new System.Drawing.Point(308, 447); | |
876 | + this.simpleButton_INPUT.LookAndFeel.SkinMaskColor = System.Drawing.Color.Lime; | |
877 | + this.simpleButton_INPUT.LookAndFeel.SkinName = "McSkin"; | |
878 | + this.simpleButton_INPUT.LookAndFeel.UseDefaultLookAndFeel = false; | |
879 | + this.simpleButton_INPUT.Name = "simpleButton_INPUT"; | |
880 | + this.simpleButton_INPUT.Size = new System.Drawing.Size(82, 53); | |
881 | + this.simpleButton_INPUT.TabIndex = 149; | |
882 | + this.simpleButton_INPUT.Text = "입력"; | |
883 | + this.simpleButton_INPUT.Click += new System.EventHandler(this.simpleButton_INPUT_Click); | |
884 | + // | |
885 | + // panelControl5 | |
886 | + // | |
887 | + this.panelControl5.Controls.Add(this.txt_tqty); | |
888 | + this.panelControl5.Controls.Add(this.labelControl5); | |
889 | + this.panelControl5.Location = new System.Drawing.Point(15, 330); | |
890 | + this.panelControl5.Name = "panelControl5"; | |
891 | + this.panelControl5.Size = new System.Drawing.Size(274, 40); | |
892 | + this.panelControl5.TabIndex = 148; | |
893 | + this.panelControl5.TabStop = true; | |
894 | + // | |
895 | + // txt_tqty | |
896 | + // | |
897 | + this.txt_tqty.Dock = System.Windows.Forms.DockStyle.Fill; | |
898 | + this.txt_tqty.Enabled = false; | |
899 | + this.txt_tqty.Location = new System.Drawing.Point(91, 2); | |
900 | + this.txt_tqty.Name = "txt_tqty"; | |
901 | + this.txt_tqty.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
902 | + this.txt_tqty.Properties.Appearance.Options.UseFont = true; | |
903 | + this.txt_tqty.Properties.AutoHeight = false; | |
904 | + this.txt_tqty.Properties.DisplayFormat.FormatString = "N02"; | |
905 | + this.txt_tqty.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; | |
906 | + this.txt_tqty.Size = new System.Drawing.Size(181, 36); | |
907 | + this.txt_tqty.TabIndex = 1; | |
908 | + // | |
909 | + // labelControl5 | |
910 | + // | |
911 | + this.labelControl5.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
912 | + this.labelControl5.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
913 | + this.labelControl5.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
914 | + this.labelControl5.Dock = System.Windows.Forms.DockStyle.Left; | |
915 | + this.labelControl5.Location = new System.Drawing.Point(2, 2); | |
916 | + this.labelControl5.Name = "labelControl5"; | |
917 | + this.labelControl5.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
918 | + this.labelControl5.Size = new System.Drawing.Size(89, 36); | |
919 | + this.labelControl5.TabIndex = 0; | |
920 | + this.labelControl5.Text = "총 투입량"; | |
921 | + // | |
922 | + // panelControl4 | |
923 | + // | |
924 | + this.panelControl4.Controls.Add(this.txt_qty); | |
925 | + this.panelControl4.Controls.Add(this.labelControl4); | |
926 | + this.panelControl4.Location = new System.Drawing.Point(15, 271); | |
927 | + this.panelControl4.Name = "panelControl4"; | |
928 | + this.panelControl4.Size = new System.Drawing.Size(274, 40); | |
929 | + this.panelControl4.TabIndex = 147; | |
930 | + this.panelControl4.TabStop = true; | |
931 | + // | |
932 | + // txt_qty | |
933 | + // | |
934 | + this.txt_qty.Dock = System.Windows.Forms.DockStyle.Fill; | |
935 | + this.txt_qty.Location = new System.Drawing.Point(91, 2); | |
936 | + this.txt_qty.Name = "txt_qty"; | |
937 | + this.txt_qty.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
938 | + this.txt_qty.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
939 | + this.txt_qty.Properties.Appearance.Options.UseBackColor = true; | |
940 | + this.txt_qty.Properties.Appearance.Options.UseFont = true; | |
941 | + this.txt_qty.Properties.AutoHeight = false; | |
942 | + this.txt_qty.Properties.DisplayFormat.FormatString = "N02"; | |
943 | + this.txt_qty.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; | |
944 | + this.txt_qty.Size = new System.Drawing.Size(181, 36); | |
945 | + this.txt_qty.TabIndex = 1; | |
946 | + // | |
947 | + // labelControl4 | |
948 | + // | |
949 | + this.labelControl4.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
950 | + this.labelControl4.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
951 | + this.labelControl4.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
952 | + this.labelControl4.Dock = System.Windows.Forms.DockStyle.Left; | |
953 | + this.labelControl4.Location = new System.Drawing.Point(2, 2); | |
954 | + this.labelControl4.Name = "labelControl4"; | |
955 | + this.labelControl4.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
956 | + this.labelControl4.Size = new System.Drawing.Size(89, 36); | |
957 | + this.labelControl4.TabIndex = 0; | |
958 | + this.labelControl4.Text = "투입량"; | |
959 | + // | |
960 | + // panelControl2 | |
961 | + // | |
962 | + this.panelControl2.Controls.Add(this.txt_jpartnm); | |
963 | + this.panelControl2.Controls.Add(this.labelControl2); | |
964 | + this.panelControl2.Location = new System.Drawing.Point(15, 148); | |
965 | + this.panelControl2.Name = "panelControl2"; | |
966 | + this.panelControl2.Size = new System.Drawing.Size(274, 40); | |
967 | + this.panelControl2.TabIndex = 146; | |
968 | + this.panelControl2.TabStop = true; | |
969 | + // | |
970 | + // txt_jpartnm | |
971 | + // | |
972 | + this.txt_jpartnm.Dock = System.Windows.Forms.DockStyle.Fill; | |
973 | + this.txt_jpartnm.Enabled = false; | |
974 | + this.txt_jpartnm.Location = new System.Drawing.Point(93, 2); | |
975 | + this.txt_jpartnm.Name = "txt_jpartnm"; | |
976 | + this.txt_jpartnm.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
977 | + this.txt_jpartnm.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
978 | + this.txt_jpartnm.Properties.Appearance.Options.UseBackColor = true; | |
979 | + this.txt_jpartnm.Properties.Appearance.Options.UseFont = true; | |
980 | + this.txt_jpartnm.Properties.AutoHeight = false; | |
981 | + this.txt_jpartnm.Properties.ReadOnly = true; | |
982 | + this.txt_jpartnm.Size = new System.Drawing.Size(179, 36); | |
983 | + this.txt_jpartnm.TabIndex = 1; | |
984 | + // | |
985 | + // labelControl2 | |
986 | + // | |
987 | + this.labelControl2.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
988 | + this.labelControl2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
989 | + this.labelControl2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
990 | + this.labelControl2.Dock = System.Windows.Forms.DockStyle.Left; | |
991 | + this.labelControl2.Location = new System.Drawing.Point(2, 2); | |
992 | + this.labelControl2.Name = "labelControl2"; | |
993 | + this.labelControl2.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
994 | + this.labelControl2.Size = new System.Drawing.Size(91, 36); | |
995 | + this.labelControl2.TabIndex = 0; | |
996 | + this.labelControl2.Text = "자품목명"; | |
997 | + // | |
998 | + // panelControl1 | |
999 | + // | |
1000 | + this.panelControl1.Controls.Add(this.barcode); | |
1001 | + this.panelControl1.Controls.Add(this.labelControl1); | |
1002 | + this.panelControl1.Location = new System.Drawing.Point(15, 89); | |
1003 | + this.panelControl1.Name = "panelControl1"; | |
1004 | + this.panelControl1.Size = new System.Drawing.Size(274, 40); | |
1005 | + this.panelControl1.TabIndex = 145; | |
1006 | + this.panelControl1.TabStop = true; | |
1007 | + // | |
1008 | + // barcode | |
1009 | + // | |
1010 | + this.barcode.Dock = System.Windows.Forms.DockStyle.Fill; | |
1011 | + this.barcode.Location = new System.Drawing.Point(93, 2); | |
1012 | + this.barcode.Name = "barcode"; | |
1013 | + this.barcode.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
1014 | + this.barcode.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1015 | + this.barcode.Properties.Appearance.Options.UseBackColor = true; | |
1016 | + this.barcode.Properties.Appearance.Options.UseFont = true; | |
1017 | + this.barcode.Properties.AutoHeight = false; | |
1018 | + this.barcode.Size = new System.Drawing.Size(179, 36); | |
1019 | + this.barcode.TabIndex = 1; | |
1020 | + // | |
1021 | + // labelControl1 | |
1022 | + // | |
1023 | + this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1024 | + this.labelControl1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
1025 | + this.labelControl1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
1026 | + this.labelControl1.Dock = System.Windows.Forms.DockStyle.Left; | |
1027 | + this.labelControl1.Location = new System.Drawing.Point(2, 2); | |
1028 | + this.labelControl1.Name = "labelControl1"; | |
1029 | + this.labelControl1.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
1030 | + this.labelControl1.Size = new System.Drawing.Size(91, 36); | |
1031 | + this.labelControl1.TabIndex = 0; | |
1032 | + this.labelControl1.Text = "자재 바코드"; | |
1033 | + // | |
1034 | + // panelControl36 | |
1035 | + // | |
1036 | + this.panelControl36.Controls.Add(this.txt_orderno); | |
1037 | + this.panelControl36.Controls.Add(this.labelControl37); | |
1038 | + this.panelControl36.Location = new System.Drawing.Point(15, 30); | |
1039 | + this.panelControl36.Name = "panelControl36"; | |
1040 | + this.panelControl36.Size = new System.Drawing.Size(274, 40); | |
1041 | + this.panelControl36.TabIndex = 144; | |
1042 | + this.panelControl36.TabStop = true; | |
1043 | + // | |
1044 | + // txt_orderno | |
1045 | + // | |
1046 | + this.txt_orderno.Dock = System.Windows.Forms.DockStyle.Fill; | |
1047 | + this.txt_orderno.Enabled = false; | |
1048 | + this.txt_orderno.Location = new System.Drawing.Point(93, 2); | |
1049 | + this.txt_orderno.Name = "txt_orderno"; | |
1050 | + this.txt_orderno.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
1051 | + this.txt_orderno.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1052 | + this.txt_orderno.Properties.Appearance.Options.UseBackColor = true; | |
1053 | + this.txt_orderno.Properties.Appearance.Options.UseFont = true; | |
1054 | + this.txt_orderno.Properties.AutoHeight = false; | |
1055 | + this.txt_orderno.Properties.ReadOnly = true; | |
1056 | + this.txt_orderno.Size = new System.Drawing.Size(179, 36); | |
1057 | + this.txt_orderno.TabIndex = 1; | |
1058 | + // | |
1059 | + // labelControl37 | |
1060 | + // | |
1061 | + this.labelControl37.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1062 | + this.labelControl37.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
1063 | + this.labelControl37.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
1064 | + this.labelControl37.Dock = System.Windows.Forms.DockStyle.Left; | |
1065 | + this.labelControl37.Location = new System.Drawing.Point(2, 2); | |
1066 | + this.labelControl37.Name = "labelControl37"; | |
1067 | + this.labelControl37.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
1068 | + this.labelControl37.Size = new System.Drawing.Size(91, 36); | |
1069 | + this.labelControl37.TabIndex = 0; | |
1070 | + this.labelControl37.Text = "작업지시번호"; | |
1071 | + // | |
1072 | + // txt_partno | |
1073 | + // | |
1074 | + this.txt_partno.Location = new System.Drawing.Point(220, 517); | |
1075 | + this.txt_partno.Name = "txt_partno"; | |
1076 | + this.txt_partno.Size = new System.Drawing.Size(79, 21); | |
1077 | + this.txt_partno.TabIndex = 173; | |
1078 | + // | |
1079 | + // panelControl10 | |
1080 | + // | |
1081 | + this.panelControl10.Controls.Add(this.lookUpEdit_Mach); | |
1082 | + this.panelControl10.Controls.Add(this.labelControl10); | |
1083 | + this.panelControl10.Location = new System.Drawing.Point(306, 208); | |
1084 | + this.panelControl10.Name = "panelControl10"; | |
1085 | + this.panelControl10.Size = new System.Drawing.Size(262, 40); | |
1086 | + this.panelControl10.TabIndex = 155; | |
1087 | + this.panelControl10.TabStop = true; | |
1088 | + // | |
1089 | + // labelControl10 | |
1090 | + // | |
1091 | + this.labelControl10.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1092 | + this.labelControl10.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
1093 | + this.labelControl10.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
1094 | + this.labelControl10.Dock = System.Windows.Forms.DockStyle.Left; | |
1095 | + this.labelControl10.Location = new System.Drawing.Point(2, 2); | |
1096 | + this.labelControl10.Name = "labelControl10"; | |
1097 | + this.labelControl10.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
1098 | + this.labelControl10.Size = new System.Drawing.Size(91, 36); | |
1099 | + this.labelControl10.TabIndex = 106; | |
1100 | + this.labelControl10.Text = "베이스탱크"; | |
1101 | + // | |
1102 | + // lookUpEdit_Mach | |
1103 | + // | |
1104 | + this.lookUpEdit_Mach.Dock = System.Windows.Forms.DockStyle.Fill; | |
1105 | + this.lookUpEdit_Mach.Location = new System.Drawing.Point(93, 2); | |
1106 | + this.lookUpEdit_Mach.Name = "lookUpEdit_Mach"; | |
1107 | + this.lookUpEdit_Mach.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1108 | + this.lookUpEdit_Mach.Properties.Appearance.Options.UseFont = true; | |
1109 | + this.lookUpEdit_Mach.Properties.AppearanceDropDown.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); | |
1110 | + this.lookUpEdit_Mach.Properties.AppearanceDropDown.Options.UseFont = true; | |
1111 | + this.lookUpEdit_Mach.Properties.AutoHeight = false; | |
1112 | + this.lookUpEdit_Mach.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1113 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1114 | + this.lookUpEdit_Mach.Properties.DropDownRows = 5; | |
1115 | + this.lookUpEdit_Mach.Size = new System.Drawing.Size(167, 36); | |
1116 | + this.lookUpEdit_Mach.TabIndex = 108; | |
1117 | + this.lookUpEdit_Mach.EditValueChanged += new System.EventHandler(this.lookUpEdit_Mach_EditValueChanged); | |
1118 | + // | |
1119 | + // lookUpEdit_center | |
1120 | + // | |
1121 | + this.lookUpEdit_center.Dock = System.Windows.Forms.DockStyle.Fill; | |
1122 | + this.lookUpEdit_center.Location = new System.Drawing.Point(93, 2); | |
1123 | + this.lookUpEdit_center.Name = "lookUpEdit_center"; | |
1124 | + this.lookUpEdit_center.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1125 | + this.lookUpEdit_center.Properties.Appearance.Options.UseFont = true; | |
1126 | + this.lookUpEdit_center.Properties.AppearanceDropDown.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); | |
1127 | + this.lookUpEdit_center.Properties.AppearanceDropDown.Options.UseFont = true; | |
1128 | + this.lookUpEdit_center.Properties.AutoHeight = false; | |
1129 | + this.lookUpEdit_center.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1130 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1131 | + this.lookUpEdit_center.Properties.DropDownRows = 5; | |
1132 | + this.lookUpEdit_center.Size = new System.Drawing.Size(167, 36); | |
1133 | + this.lookUpEdit_center.TabIndex = 109; | |
1134 | + // | |
1135 | + // UcInsertWork | |
1136 | + // | |
1137 | + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | |
1138 | + this.ClientSize = new System.Drawing.Size(1024, 550); | |
1139 | + this.ControlBox = false; | |
1140 | + this.Controls.Add(this.splitContainer1); | |
1141 | + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; | |
1142 | + this.Name = "UcInsertWork"; | |
1143 | + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | |
1144 | + this.Load += new System.EventHandler(this.UcInsertWork_Load); | |
1145 | + this.splitContainer1.Panel1.ResumeLayout(false); | |
1146 | + this.splitContainer1.Panel2.ResumeLayout(false); | |
1147 | + this.splitContainer1.Panel2.PerformLayout(); | |
1148 | + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); | |
1149 | + this.splitContainer1.ResumeLayout(false); | |
1150 | + ((System.ComponentModel.ISupportInitialize)(this.gridControl_Main)).EndInit(); | |
1151 | + ((System.ComponentModel.ISupportInitialize)(this.gridView_Main)).EndInit(); | |
1152 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit6)).EndInit(); | |
1153 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit4)).EndInit(); | |
1154 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit7)).EndInit(); | |
1155 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit5)).EndInit(); | |
1156 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit6)).EndInit(); | |
1157 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox3)).EndInit(); | |
1158 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit3)).EndInit(); | |
1159 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit8)).EndInit(); | |
1160 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit9)).EndInit(); | |
1161 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).EndInit(); | |
1162 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).EndInit(); | |
1163 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit4)).EndInit(); | |
1164 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit10)).EndInit(); | |
1165 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl9)).EndInit(); | |
1166 | + this.panelControl9.ResumeLayout(false); | |
1167 | + ((System.ComponentModel.ISupportInitialize)(this.txt_ip.Properties)).EndInit(); | |
1168 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl8)).EndInit(); | |
1169 | + this.panelControl8.ResumeLayout(false); | |
1170 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl6)).EndInit(); | |
1171 | + this.panelControl6.ResumeLayout(false); | |
1172 | + ((System.ComponentModel.ISupportInitialize)(this.txt_jlot.Properties)).EndInit(); | |
1173 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit(); | |
1174 | + this.panelControl3.ResumeLayout(false); | |
1175 | + ((System.ComponentModel.ISupportInitialize)(this.txt_lot.Properties)).EndInit(); | |
1176 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl7)).EndInit(); | |
1177 | + this.panelControl7.ResumeLayout(false); | |
1178 | + ((System.ComponentModel.ISupportInitialize)(this.txt_jpartno.Properties)).EndInit(); | |
1179 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).EndInit(); | |
1180 | + this.panelControl5.ResumeLayout(false); | |
1181 | + ((System.ComponentModel.ISupportInitialize)(this.txt_tqty.Properties)).EndInit(); | |
1182 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit(); | |
1183 | + this.panelControl4.ResumeLayout(false); | |
1184 | + ((System.ComponentModel.ISupportInitialize)(this.txt_qty.Properties)).EndInit(); | |
1185 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); | |
1186 | + this.panelControl2.ResumeLayout(false); | |
1187 | + ((System.ComponentModel.ISupportInitialize)(this.txt_jpartnm.Properties)).EndInit(); | |
1188 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); | |
1189 | + this.panelControl1.ResumeLayout(false); | |
1190 | + ((System.ComponentModel.ISupportInitialize)(this.barcode.Properties)).EndInit(); | |
1191 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl36)).EndInit(); | |
1192 | + this.panelControl36.ResumeLayout(false); | |
1193 | + ((System.ComponentModel.ISupportInitialize)(this.txt_orderno.Properties)).EndInit(); | |
1194 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl10)).EndInit(); | |
1195 | + this.panelControl10.ResumeLayout(false); | |
1196 | + ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit_Mach.Properties)).EndInit(); | |
1197 | + ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit_center.Properties)).EndInit(); | |
1198 | + this.ResumeLayout(false); | |
1199 | + | |
1200 | + } | |
1201 | + | |
1202 | + #endregion | |
1203 | + private System.Windows.Forms.Timer timer1; | |
1204 | + private System.Windows.Forms.SplitContainer splitContainer1; | |
1205 | + private DevExpress.XtraEditors.SimpleButton simpleButton_Backspace; | |
1206 | + private DevExpress.XtraEditors.SimpleButton simpleButton10; | |
1207 | + private DevExpress.XtraEditors.SimpleButton simpleButton_X; | |
1208 | + private DevExpress.XtraEditors.SimpleButton simpleButton6; | |
1209 | + private DevExpress.XtraEditors.SimpleButton simpleButton7; | |
1210 | + private DevExpress.XtraEditors.SimpleButton simpleButton8; | |
1211 | + private DevExpress.XtraEditors.SimpleButton simpleButton3; | |
1212 | + private DevExpress.XtraEditors.SimpleButton simpleButton4; | |
1213 | + private DevExpress.XtraEditors.SimpleButton simpleButton5; | |
1214 | + private DevExpress.XtraEditors.SimpleButton simpleButton_3; | |
1215 | + private DevExpress.XtraEditors.SimpleButton simpleButton_2; | |
1216 | + private DevExpress.XtraEditors.SimpleButton simpleButton_1; | |
1217 | + private DevExpress.XtraEditors.PanelControl panelControl9; | |
1218 | + private DevExpress.XtraEditors.TextEdit txt_ip; | |
1219 | + private DevExpress.XtraEditors.LabelControl labelControl9; | |
1220 | + private DevExpress.XtraEditors.PanelControl panelControl8; | |
1221 | + private DevExpress.XtraEditors.LabelControl labelControl8; | |
1222 | + private DevExpress.XtraEditors.PanelControl panelControl6; | |
1223 | + private DevExpress.XtraEditors.TextEdit txt_jlot; | |
1224 | + private DevExpress.XtraEditors.LabelControl labelControl6; | |
1225 | + private DevExpress.XtraEditors.PanelControl panelControl3; | |
1226 | + private DevExpress.XtraEditors.TextEdit txt_lot; | |
1227 | + private DevExpress.XtraEditors.LabelControl labelControl3; | |
1228 | + private DevExpress.XtraEditors.PanelControl panelControl7; | |
1229 | + private DevExpress.XtraEditors.TextEdit txt_jpartno; | |
1230 | + private DevExpress.XtraEditors.LabelControl labelControl7; | |
1231 | + private DevExpress.XtraEditors.SimpleButton simpleButton_CANCEL; | |
1232 | + private DevExpress.XtraEditors.SimpleButton simpleButton_INPUT; | |
1233 | + private DevExpress.XtraEditors.PanelControl panelControl5; | |
1234 | + private DevExpress.XtraEditors.TextEdit txt_tqty; | |
1235 | + private DevExpress.XtraEditors.LabelControl labelControl5; | |
1236 | + private DevExpress.XtraEditors.PanelControl panelControl4; | |
1237 | + private DevExpress.XtraEditors.TextEdit txt_qty; | |
1238 | + private DevExpress.XtraEditors.LabelControl labelControl4; | |
1239 | + private DevExpress.XtraEditors.PanelControl panelControl2; | |
1240 | + private DevExpress.XtraEditors.TextEdit txt_jpartnm; | |
1241 | + private DevExpress.XtraEditors.LabelControl labelControl2; | |
1242 | + private DevExpress.XtraEditors.PanelControl panelControl1; | |
1243 | + private DevExpress.XtraEditors.TextEdit barcode; | |
1244 | + private DevExpress.XtraEditors.LabelControl labelControl1; | |
1245 | + private DevExpress.XtraEditors.PanelControl panelControl36; | |
1246 | + private DevExpress.XtraEditors.TextEdit txt_orderno; | |
1247 | + private DevExpress.XtraEditors.LabelControl labelControl37; | |
1248 | + private DevExpress.XtraGrid.GridControl gridControl_Main; | |
1249 | + private DevExpress.XtraGrid.Views.Grid.GridView gridView_Main; | |
1250 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn53; | |
1251 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn54; | |
1252 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn55; | |
1253 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn56; | |
1254 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn60; | |
1255 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn57; | |
1256 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn58; | |
1257 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn59; | |
1258 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit6; | |
1259 | + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit4; | |
1260 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit7; | |
1261 | + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit5; | |
1262 | + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit6; | |
1263 | + private DevExpress.XtraEditors.Repository.RepositoryItemComboBox repositoryItemComboBox3; | |
1264 | + private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEdit3; | |
1265 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit8; | |
1266 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit9; | |
1267 | + private DevExpress.XtraEditors.Repository.RepositoryItemDateEdit repositoryItemDateEdit2; | |
1268 | + private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEdit4; | |
1269 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit10; | |
1270 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; | |
1271 | + private DevExpress.XtraEditors.SimpleButton simpleButton1_s; | |
1272 | + private DevExpress.XtraEditors.SimpleButton simpleButton1_e; | |
1273 | + private System.Windows.Forms.TextBox txt_s; | |
1274 | + private System.Windows.Forms.HelpProvider helpProvider1; | |
1275 | + private System.Windows.Forms.TextBox txt_e; | |
1276 | + private DevExpress.XtraEditors.SimpleButton simpleButton_Reset; | |
1277 | + private System.Windows.Forms.TextBox txt_partno; | |
1278 | + private DevExpress.XtraEditors.PanelControl panelControl10; | |
1279 | + private DevExpress.XtraEditors.LookUpEdit lookUpEdit_Mach; | |
1280 | + private DevExpress.XtraEditors.LabelControl labelControl10; | |
1281 | + private DevExpress.XtraEditors.LookUpEdit lookUpEdit_center; | |
1282 | + } | |
1283 | +}(No newline at end of file) |
+++ KHSCALE_TP/UcInsertWork.cs
... | ... | @@ -0,0 +1,426 @@ |
1 | +using ClientLib; | |
2 | +using ClientLib.CommonService2; | |
3 | +using DevExpress.XtraEditors; | |
4 | +using PublicLib; | |
5 | +using System; | |
6 | +using System.Collections.Generic; | |
7 | +using System.ComponentModel; | |
8 | +using System.Data; | |
9 | +using System.Drawing; | |
10 | +using System.Linq; | |
11 | +using System.Text; | |
12 | +using System.Threading.Tasks; | |
13 | +using System.Windows.Forms; | |
14 | +using System.Runtime.InteropServices; | |
15 | +using System.Data.SqlClient; | |
16 | +using System.Net; | |
17 | + | |
18 | +namespace KHSCALE_TP | |
19 | +{ | |
20 | + public partial class UcInsertWork : Form | |
21 | + { | |
22 | + [DllImport("user32.dll")] | |
23 | + static extern uint keybd_event(byte bVk, byte bScan, int dwFlags, int dwExtraInfo); | |
24 | + | |
25 | + string BarData = ""; | |
26 | + | |
27 | + public bool m_HIDE = false; | |
28 | + | |
29 | + U3Database u3Database = new U3Database(); | |
30 | + | |
31 | + private string m_ORDER_NO = ""; | |
32 | + private string m_ORDER_LOT = ""; | |
33 | + private string m_ORDER_PART = ""; | |
34 | + | |
35 | + private bool m_FirstInput = true; | |
36 | + | |
37 | + // 전자 저울 변수 선언 | |
38 | + private SerialBase m_ser = null; | |
39 | + | |
40 | + public UcInsertWork() | |
41 | + { | |
42 | + InitializeComponent(); | |
43 | + | |
44 | + DataView grpMach = new DataView(GetMachTable()); | |
45 | + UtilClass.SetLookup(this.lookUpEdit_Mach, grpMach, "MACH_CD", "MACH_NM", true, true); | |
46 | + | |
47 | + DataView grpcenter = new DataView(GetcenterTable()); | |
48 | + UtilClass.SetLookup(this.lookUpEdit_center, grpcenter, "WORKCENTER", "CENTER_NAME", true, true); | |
49 | + | |
50 | + string localIP = "Not available, please check your network seetings!"; | |
51 | + IPHostEntry host = Dns.GetHostEntry(Dns.GetHostName()); | |
52 | + foreach (IPAddress ip in host.AddressList) | |
53 | + { | |
54 | + localIP = ip.ToString(); | |
55 | + txt_ip.Text = localIP; | |
56 | + } | |
57 | + | |
58 | + SetScale(); | |
59 | + } | |
60 | + | |
61 | + public void Search() | |
62 | + { | |
63 | + try | |
64 | + { | |
65 | + DataTable dt = null; | |
66 | + | |
67 | + dt = u3Database.OpenSQL("select * from T_KH_SAL_WORK_D a where a.ORDER_NO = '" + txt_orderno.Text + "' and a.PLOT_NO = '" + txt_lot.Text + "'"); | |
68 | + | |
69 | + // 기존에 저장된 데이터가 있는지 확인하여 있으면 기존에 저장된 데이터를 불러옴(자재만) | |
70 | + if (dt.Rows.Count == 0) | |
71 | + { | |
72 | + gridControl_Main.DataSource = null; | |
73 | + | |
74 | + //OnInitButtonClicked(); | |
75 | + | |
76 | + DataTable resultComp3 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m104 '" + txt_orderno.Text + "', '" + txt_lot.Text + "'"); | |
77 | + | |
78 | + gridControl_Main.DataSource = resultComp3; | |
79 | + | |
80 | + barcode.SelectAll(); | |
81 | + } | |
82 | + else if (dt.Rows.Count != 0) | |
83 | + { | |
84 | + gridControl_Main.DataSource = null; | |
85 | + | |
86 | + //OnInitButtonClicked(); | |
87 | + | |
88 | + //DataTable dt1 = null; | |
89 | + | |
90 | + //쿼리 수정 필 | |
91 | + //DataTable resultComp3 = u3Database.OpenSQL("select a.process_key, a.note, a.resource_used, a.[description], b.QTY as in_qty, a.uom2 as uom, a.qty_total from T_KH_SAL_ORDER a left join T_KH_SAL_WORK_D b on a.order_no = b.ORDER_NO and a.lot = b.PLOT_NO and a.resource_used = b.JPART_NO where a.order_no = '" + txt_orderno.Text + "' and a.lot = '" + txt_lot.Text + "'"); | |
92 | + DataTable resultComp3 = u3Database.OpenSQL("EXEC KHJPARTINDATA '" + txt_orderno.Text + "', '" + txt_lot.Text + "'"); | |
93 | + | |
94 | + gridControl_Main.DataSource = resultComp3; | |
95 | + | |
96 | + } | |
97 | + } | |
98 | + catch (Exception ex) | |
99 | + { | |
100 | + this.ActiveControl = barcode; | |
101 | + barcode.SelectAll(); | |
102 | + | |
103 | + XtraMessageBox.Show(ex.Message); | |
104 | + } | |
105 | + | |
106 | + } | |
107 | + | |
108 | + //전자저울 셋팅 | |
109 | + private void SetScale() | |
110 | + { | |
111 | + //CAS 501/600 | |
112 | + if (txt_ip.Text == "192.168.1.121" || txt_ip.Text == "192.168.1.124") | |
113 | + { | |
114 | + m_ser = new ComCasCi501(); | |
115 | + m_ser.Init("COM1", 9600, 0, 8, 1); | |
116 | + } | |
117 | + //ICS9000 | |
118 | + else if (txt_ip.Text == "192.168.1.125") | |
119 | + { | |
120 | + m_ser = new ComIcs9000(); | |
121 | + m_ser.Init("COM1", 9600, 0, 8, 1); | |
122 | + } | |
123 | + //FS-1020C | |
124 | + else if (txt_ip.Text == "192.168.1.126" || txt_ip.Text == "192.168.1.127" || txt_ip.Text == "192.168.1.128" || txt_ip.Text == "192.168.1.122" || txt_ip.Text == "192.168.1.123") | |
125 | + { | |
126 | + m_ser = new ComFs1020c(); | |
127 | + m_ser.Init("COM1", 9600, 0, 8, 1); | |
128 | + } | |
129 | + else if (txt_ip.Text == "192.168.1.129") | |
130 | + { | |
131 | + m_ser = new ComFs1020c(); | |
132 | + // 구리스는 COM2 / 그 외는 COM1 | |
133 | + m_ser.Init("COM2", 9600, 0, 8, 1); | |
134 | + } | |
135 | + } | |
136 | + | |
137 | + private DataTable GetMachTable() | |
138 | + { | |
139 | + try | |
140 | + { | |
141 | + return u3Database.OpenSQL("select 'N' as SEL_FIELD, a.MACH_CD, a.MACH_NO, a.MACH_NM from dbo.T_STD_MACH a where a.COMP_CD = '" + ConstClass._COMP_CD + "' and isnull(a.DEL_YN,'N') = 'N' and a.MACH_TYPE = '04' and a.MACH_NM like '%' + 'PV' + '%' order by a.MACH_CD"); | |
142 | + } | |
143 | + catch (Exception ex) | |
144 | + { | |
145 | + XtraMessageBox.Show(ex.Message); | |
146 | + } | |
147 | + return null; | |
148 | + } | |
149 | + | |
150 | + private DataTable GetcenterTable() | |
151 | + { | |
152 | + try | |
153 | + { | |
154 | + return u3Database.OpenSQL("select 'N' as SEL_FIELD, a.WORKCENTER, a.CENTER_NAME from dbo.T_STD_CENTER a where a.COMP_CD = '" + ConstClass._COMP_CD + "'"); | |
155 | + } | |
156 | + catch (Exception ex) | |
157 | + { | |
158 | + XtraMessageBox.Show(ex.Message); | |
159 | + } | |
160 | + return null; | |
161 | + } | |
162 | + | |
163 | + public void SetData(string ORDER_NO, string ORDER_LOT, string PART_NO) | |
164 | + { | |
165 | + m_ORDER_NO = ORDER_NO; | |
166 | + m_ORDER_LOT = ORDER_LOT; | |
167 | + m_ORDER_PART = PART_NO; | |
168 | + | |
169 | + txt_orderno.Text = m_ORDER_NO; | |
170 | + txt_lot.Text = m_ORDER_LOT; | |
171 | + txt_partno.Text = m_ORDER_PART; | |
172 | + | |
173 | + Search(); | |
174 | + } | |
175 | + | |
176 | + private void UcInsertWork_Load(object sender, EventArgs e) | |
177 | + { | |
178 | + //timer1.Interval = 1000; | |
179 | + //timer1.Enabled = true; | |
180 | + | |
181 | + // 저울의 현재 값 받기 | |
182 | + | |
183 | + //float value = m_ser.GetValue(); | |
184 | + } | |
185 | + | |
186 | + public void barcode_search(string BarData) | |
187 | + { | |
188 | + try | |
189 | + { | |
190 | + OnInitButtonClicked(); | |
191 | + | |
192 | + string[] arValues = barcode.Text.Trim().Split(' '); | |
193 | + | |
194 | + string jp = arValues[0]; | |
195 | + string l = arValues[1]; | |
196 | + | |
197 | + string jp1 = jp.Substring(1, 8); | |
198 | + | |
199 | + txt_jpartno.Text = jp1; | |
200 | + txt_jlot.Text = l; | |
201 | + | |
202 | + DataTable dt1 = u3Database.OpenSQL("select a.[description] from T_KH_SAL_ORDER a where a.order_no = '" + txt_orderno.Text + "' and a.lot = '" + txt_lot.Text + "' and a.resource_used = '" + jp1.ToString() + "'"); | |
203 | + | |
204 | + txt_jpartnm.Text = dt1.Rows[0]["description"].ToString(); | |
205 | + | |
206 | + barcode.SelectAll(); | |
207 | + | |
208 | + } | |
209 | + catch (Exception ex) | |
210 | + { | |
211 | + this.ActiveControl = barcode; | |
212 | + barcode.SelectAll(); | |
213 | + | |
214 | + XtraMessageBox.Show(ex.Message); | |
215 | + } | |
216 | + | |
217 | + m_FirstInput = true; | |
218 | + | |
219 | + } | |
220 | + | |
221 | + private void OnInitButtonClicked() | |
222 | + { | |
223 | + //barcode.Text = ""; | |
224 | + txt_jpartno.Text = ""; | |
225 | + txt_jpartnm.Text = ""; | |
226 | + txt_jlot.Text = ""; | |
227 | + txt_qty.Text = ""; | |
228 | + txt_tqty.Text = ""; | |
229 | + } | |
230 | + | |
231 | + private void Input() | |
232 | + { | |
233 | + try | |
234 | + { | |
235 | + this.Cursor = Cursors.WaitCursor; | |
236 | + | |
237 | + txt_qty.Text = txt_qty.Text == "" ? "0" : txt_qty.Text; | |
238 | + int in_qty = Convert.ToInt32(txt_qty.Text); | |
239 | + | |
240 | + u3Database.ExcuteSql("INSERT INTO T_KH_SAL_WORK_D (ORDER_NO, PPART_NO, PLOT_NO, JPART_NO, JLOT_NO, QTY, REG_ID, REG_DT, UP_ID, UP_DT) VALUES (" + | |
241 | + " '" + txt_orderno.Text + "'" + | |
242 | + " ,'" + txt_partno.Text + "'" + | |
243 | + " ,'" + txt_lot.Text + "'" + | |
244 | + " ,'" + txt_jpartno.Text + "'" + | |
245 | + " ,'" + txt_jlot.Text + "'" + | |
246 | + " ,'" + in_qty + "'" + | |
247 | + " ,'" + ConstClass._USR_ID + "'" + | |
248 | + " ,'" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "'" + | |
249 | + " ,'" + ConstClass._USR_ID + "'" + | |
250 | + " ,'" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "'" + | |
251 | + ")"); | |
252 | + | |
253 | + XtraMessageBox.Show("자재투입 완료되었습니다."); | |
254 | + | |
255 | + OnInitButtonClicked(); | |
256 | + } | |
257 | + catch (Exception ex) | |
258 | + { | |
259 | + this.Cursor = Cursors.Arrow; | |
260 | + XtraMessageBox.Show(ex.Message); | |
261 | + } | |
262 | + this.Cursor = Cursors.Arrow; | |
263 | + } | |
264 | + | |
265 | + private void Start() | |
266 | + { | |
267 | + | |
268 | + } | |
269 | + | |
270 | + private void simpleButton_CANCEL_Click(object sender, EventArgs e) | |
271 | + { | |
272 | + //m_ser.Close(); | |
273 | + this.Close(); | |
274 | + m_HIDE = true; | |
275 | + } | |
276 | + | |
277 | + private void simpleButton_INPUT_Click(object sender, EventArgs e) | |
278 | + { | |
279 | + //작업지시에 대한 원자재 투입 실적 저장 | |
280 | + Input(); | |
281 | + } | |
282 | + | |
283 | + private void barcode_KeyUp(object sender, KeyEventArgs e) | |
284 | + { | |
285 | + if (e.KeyCode == Keys.Enter) | |
286 | + { | |
287 | + e.SuppressKeyPress = true; | |
288 | + | |
289 | + barcode_search(BarData); | |
290 | + } | |
291 | + else | |
292 | + { | |
293 | + | |
294 | + } | |
295 | + } | |
296 | + | |
297 | + private void simpleButton_Backspace_Click(object sender, EventArgs e) | |
298 | + { | |
299 | + txt_qty.Text = txt_qty.Text.Substring(0, txt_qty.Text.Length - 1); | |
300 | + } | |
301 | + | |
302 | + private void simpleButton_Number_Click(object sender, EventArgs e) | |
303 | + { | |
304 | + if (m_FirstInput) | |
305 | + { | |
306 | + txt_qty.Text = ""; | |
307 | + m_FirstInput = false; | |
308 | + } | |
309 | + txt_qty.Text += ((SimpleButton)sender).Text; | |
310 | + } | |
311 | + | |
312 | + private void simpleButton_X_Click(object sender, EventArgs e) | |
313 | + { | |
314 | + txt_qty.Text = ""; | |
315 | + } | |
316 | + | |
317 | + private void lookUpEdit_Mach_EditValueChanged(object sender, EventArgs e) | |
318 | + { | |
319 | + try | |
320 | + { | |
321 | + if (lookUpEdit_Mach.EditValue.ToString() != String.Empty || lookUpEdit_Mach.EditValue.ToString() != "") | |
322 | + { | |
323 | + this.Cursor = Cursors.WaitCursor; | |
324 | + | |
325 | + //string sDate = this.dateEdit_ORDER_DT.DateTime.ToString("yyyy-MM-dd"); | |
326 | + | |
327 | + string sDate = DateTime.Now.ToString("yyyy-MM-dd"); | |
328 | + | |
329 | + string mc = lookUpEdit_Mach.EditValue.ToString(); | |
330 | + | |
331 | + DataTable resultData = null; | |
332 | + | |
333 | + resultData = u3Database.OpenSQL("select ISNULL(a.REAL_DATA,'0') as REAL_DATA, b.REMARK01, b.REMARK02 from T_HT_REAL_DATA a inner join T_STD_MACH b on a.MACH_CD = b.MACH_CD where a.COMP_CD = '0001' and a.MACH_CD = '" + mc.ToString() + "' and SUBSTRING(CONVERT(varchar(20),a.REG_DT,23),0,11) = '" + sDate + "'"); | |
334 | + | |
335 | + //resultData = u3Database.OpenSQL("select ISNULL(a.REAL_DATA,'0') as REAL_DATA, b.REMARK01, b.REMARK02 from T_HT_REAL_DATA a inner join T_STD_MACH b on a.MACH_CD = b.MACH_CD where a.COMP_CD = '0001' and a.MACH_CD = '" + mc.ToString() + "'"); | |
336 | + | |
337 | + string pv = resultData.Rows[0]["REAL_DATA"].ToString(); | |
338 | + | |
339 | + double pvs = Convert.ToDouble(pv); | |
340 | + | |
341 | + txt_qty.Text = pvs.ToString(); | |
342 | + | |
343 | + txt_jpartno.Text = resultData.Rows[0]["REMARK01"].ToString(); | |
344 | + | |
345 | + txt_jpartnm.Text = resultData.Rows[0]["REMARK02"].ToString(); | |
346 | + | |
347 | + txt_jlot.Text = sDate; | |
348 | + | |
349 | + this.Cursor = Cursors.Arrow; | |
350 | + } | |
351 | + else | |
352 | + { | |
353 | + return; | |
354 | + } | |
355 | + } | |
356 | + catch (Exception ex) | |
357 | + { | |
358 | + this.Cursor = Cursors.Arrow; | |
359 | + MessageBox.Show(ex.Message); | |
360 | + } | |
361 | + } | |
362 | + | |
363 | + private void gridView_Main_RowStyle(object sender, DevExpress.XtraGrid.Views.Grid.RowStyleEventArgs e) | |
364 | + { | |
365 | + DevExpress.XtraGrid.Views.Grid.GridView View = sender as DevExpress.XtraGrid.Views.Grid.GridView; | |
366 | + | |
367 | + try | |
368 | + { | |
369 | + DataRow dr = View.GetDataRow(e.RowHandle); | |
370 | + | |
371 | + if (Convert.ToDouble(dr["QTY"]) > 0) | |
372 | + { | |
373 | + e.Appearance.BackColor = System.Drawing.Color.DeepSkyBlue; | |
374 | + e.HighPriority = true; | |
375 | + } | |
376 | + } | |
377 | + catch | |
378 | + { | |
379 | + | |
380 | + } | |
381 | + } | |
382 | + | |
383 | + private void simpleButton1_s_Click(object sender, EventArgs e) | |
384 | + { | |
385 | + txt_s.Text = ""; | |
386 | + txt_e.Text = ""; | |
387 | + txt_ip.Text = ""; | |
388 | + float value = m_ser.GetValue(); | |
389 | + txt_s.Text = value.ToString(); | |
390 | + | |
391 | + | |
392 | + if(txt_s.Text!="") | |
393 | + { | |
394 | + simpleButton1_s.LookAndFeel.SkinMaskColor = Color.Black; | |
395 | + simpleButton_Reset.Visible = true; | |
396 | + } | |
397 | + } | |
398 | + | |
399 | + private void simpleButton1_e_Click(object sender, EventArgs e) | |
400 | + { | |
401 | + float value = m_ser.GetValue(); | |
402 | + | |
403 | + txt_e.Text = value.ToString(); | |
404 | + | |
405 | + string s = txt_s.Text; | |
406 | + | |
407 | + string e1= txt_e.Text; | |
408 | + | |
409 | + double ss = Convert.ToDouble(s); | |
410 | + | |
411 | + double ee = Convert.ToDouble(e1); | |
412 | + | |
413 | + txt_qty.Text = Convert.ToString(ss - ee); | |
414 | + | |
415 | + } | |
416 | + | |
417 | + private void simpleButton_Reset_Click(object sender, EventArgs e) | |
418 | + { | |
419 | + txt_s.Text = ""; | |
420 | + txt_e.Text = ""; | |
421 | + txt_ip.Text = ""; | |
422 | + simpleButton1_s.LookAndFeel.SkinMaskColor = Color.Lime; | |
423 | + simpleButton_Reset.Visible = false; | |
424 | + } | |
425 | + } | |
426 | +} |
+++ KHSCALE_TP/UcInsertWork.resx
... | ... | @@ -0,0 +1,126 @@ |
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 | + <metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | |
121 | + <value>17, 17</value> | |
122 | + </metadata> | |
123 | + <metadata name="helpProvider1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | |
124 | + <value>104, 17</value> | |
125 | + </metadata> | |
126 | +</root>(No newline at end of file) |
+++ KHSCALE_TP/UcOrderList.Designer.cs
... | ... | @@ -0,0 +1,726 @@ |
1 | +namespace KHSCALE_TP | |
2 | +{ | |
3 | + partial class UcOrderList | |
4 | + { | |
5 | + /// <summary> | |
6 | + /// Required designer variable. | |
7 | + /// </summary> | |
8 | + private System.ComponentModel.IContainer components = null; | |
9 | + | |
10 | + /// <summary> | |
11 | + /// Clean up any resources being used. | |
12 | + /// </summary> | |
13 | + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | |
14 | + protected override void Dispose(bool disposing) | |
15 | + { | |
16 | + if (disposing && (components != null)) | |
17 | + { | |
18 | + components.Dispose(); | |
19 | + } | |
20 | + base.Dispose(disposing); | |
21 | + } | |
22 | + | |
23 | + #region 구성 요소 디자이너에서 생성한 코드 | |
24 | + | |
25 | + /// <summary> | |
26 | + /// 디자이너 지원에 필요한 메서드입니다. | |
27 | + /// 이 메서드의 내용을 코드 편집기로 수정하지 마세요. | |
28 | + /// </summary> | |
29 | + private void InitializeComponent() | |
30 | + { | |
31 | + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UcOrderList)); | |
32 | + DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode(); | |
33 | + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); | |
34 | + this.panelControl_Manu = new DevExpress.XtraEditors.PanelControl(); | |
35 | + this.toggleSwitch_END = new DevExpress.XtraEditors.ToggleSwitch(); | |
36 | + this.simpleButton_ReFresh = new DevExpress.XtraEditors.SimpleButton(); | |
37 | + this.panelControl4 = new DevExpress.XtraEditors.PanelControl(); | |
38 | + this.txt_partnm = new DevExpress.XtraEditors.TextEdit(); | |
39 | + this.lable2 = new DevExpress.XtraEditors.LabelControl(); | |
40 | + this.panelControl5 = new DevExpress.XtraEditors.PanelControl(); | |
41 | + this.txt_partno = new DevExpress.XtraEditors.TextEdit(); | |
42 | + this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); | |
43 | + this.simpleButton_Work = new DevExpress.XtraEditors.SimpleButton(); | |
44 | + this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); | |
45 | + this.lookUpEdit_Mach = new DevExpress.XtraEditors.LookUpEdit(); | |
46 | + this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); | |
47 | + this.panelControl36 = new DevExpress.XtraEditors.PanelControl(); | |
48 | + this.dateEdit_ORDER_DT = new DevExpress.XtraEditors.DateEdit(); | |
49 | + this.simpleButton_Next = new DevExpress.XtraEditors.SimpleButton(); | |
50 | + this.simpleButton_Pre = new DevExpress.XtraEditors.SimpleButton(); | |
51 | + this.labelControl37 = new DevExpress.XtraEditors.LabelControl(); | |
52 | + this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); | |
53 | + this.gridControl_Main = new DevExpress.XtraGrid.GridControl(); | |
54 | + this.gridView_Main = new DevExpress.XtraGrid.Views.Grid.GridView(); | |
55 | + this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
56 | + this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
57 | + this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
58 | + this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
59 | + this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
60 | + this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
61 | + this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
62 | + this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
63 | + this.repositoryItemLookUpEdit_ORDER_UNIT_CD = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
64 | + this.repositoryItemButtonEdit_ITEM_SPEC = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); | |
65 | + this.repositoryItemLookUpEdit_ITEM_CD = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
66 | + this.repositoryItemButtonEdit_Mokh = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); | |
67 | + this.repositoryItemButtonEdit_Detail = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); | |
68 | + this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); | |
69 | + this.repositoryItemTextEdit_DataTime = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); | |
70 | + this.repositoryItemLookUpEdit_PROC = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
71 | + this.repositoryItemLookUpEdit_WORKER = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
72 | + this.repositoryItemDateEdit_END_DT = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); | |
73 | + this.repositoryItemTextEdit_RATIO = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); | |
74 | + this.repositoryItemLookUpEdit_MACH = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
75 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl_Manu)).BeginInit(); | |
76 | + this.panelControl_Manu.SuspendLayout(); | |
77 | + ((System.ComponentModel.ISupportInitialize)(this.toggleSwitch_END.Properties)).BeginInit(); | |
78 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit(); | |
79 | + this.panelControl4.SuspendLayout(); | |
80 | + ((System.ComponentModel.ISupportInitialize)(this.txt_partnm.Properties)).BeginInit(); | |
81 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).BeginInit(); | |
82 | + this.panelControl5.SuspendLayout(); | |
83 | + ((System.ComponentModel.ISupportInitialize)(this.txt_partno.Properties)).BeginInit(); | |
84 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); | |
85 | + this.panelControl2.SuspendLayout(); | |
86 | + ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit_Mach.Properties)).BeginInit(); | |
87 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl36)).BeginInit(); | |
88 | + this.panelControl36.SuspendLayout(); | |
89 | + ((System.ComponentModel.ISupportInitialize)(this.dateEdit_ORDER_DT.Properties.CalendarTimeProperties)).BeginInit(); | |
90 | + ((System.ComponentModel.ISupportInitialize)(this.dateEdit_ORDER_DT.Properties)).BeginInit(); | |
91 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); | |
92 | + this.panelControl1.SuspendLayout(); | |
93 | + ((System.ComponentModel.ISupportInitialize)(this.gridControl_Main)).BeginInit(); | |
94 | + ((System.ComponentModel.ISupportInitialize)(this.gridView_Main)).BeginInit(); | |
95 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_ORDER_UNIT_CD)).BeginInit(); | |
96 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit_ITEM_SPEC)).BeginInit(); | |
97 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_ITEM_CD)).BeginInit(); | |
98 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit_Mokh)).BeginInit(); | |
99 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit_Detail)).BeginInit(); | |
100 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit(); | |
101 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit_DataTime)).BeginInit(); | |
102 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_PROC)).BeginInit(); | |
103 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_WORKER)).BeginInit(); | |
104 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit_END_DT)).BeginInit(); | |
105 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit_END_DT.CalendarTimeProperties)).BeginInit(); | |
106 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit_RATIO)).BeginInit(); | |
107 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_MACH)).BeginInit(); | |
108 | + this.SuspendLayout(); | |
109 | + // | |
110 | + // panelControl_Manu | |
111 | + // | |
112 | + this.panelControl_Manu.Controls.Add(this.toggleSwitch_END); | |
113 | + this.panelControl_Manu.Controls.Add(this.simpleButton_ReFresh); | |
114 | + this.panelControl_Manu.Controls.Add(this.panelControl4); | |
115 | + this.panelControl_Manu.Controls.Add(this.panelControl5); | |
116 | + this.panelControl_Manu.Controls.Add(this.simpleButton_Work); | |
117 | + this.panelControl_Manu.Controls.Add(this.panelControl2); | |
118 | + this.panelControl_Manu.Controls.Add(this.panelControl36); | |
119 | + this.panelControl_Manu.Dock = System.Windows.Forms.DockStyle.Top; | |
120 | + this.panelControl_Manu.Location = new System.Drawing.Point(0, 0); | |
121 | + this.panelControl_Manu.Name = "panelControl_Manu"; | |
122 | + this.panelControl_Manu.Size = new System.Drawing.Size(1008, 153); | |
123 | + this.panelControl_Manu.TabIndex = 24; | |
124 | + // | |
125 | + // toggleSwitch_END | |
126 | + // | |
127 | + this.toggleSwitch_END.Location = new System.Drawing.Point(377, 104); | |
128 | + this.toggleSwitch_END.Name = "toggleSwitch_END"; | |
129 | + this.toggleSwitch_END.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
130 | + this.toggleSwitch_END.Properties.Appearance.Options.UseFont = true; | |
131 | + this.toggleSwitch_END.Properties.Appearance.Options.UseTextOptions = true; | |
132 | + this.toggleSwitch_END.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; | |
133 | + this.toggleSwitch_END.Properties.AutoHeight = false; | |
134 | + this.toggleSwitch_END.Properties.LookAndFeel.SkinMaskColor = System.Drawing.Color.Black; | |
135 | + this.toggleSwitch_END.Properties.LookAndFeel.SkinMaskColor2 = System.Drawing.Color.White; | |
136 | + this.toggleSwitch_END.Properties.LookAndFeel.UseDefaultLookAndFeel = false; | |
137 | + this.toggleSwitch_END.Properties.OffText = "미완료표시"; | |
138 | + this.toggleSwitch_END.Properties.OnText = "전체표시"; | |
139 | + this.toggleSwitch_END.Size = new System.Drawing.Size(235, 37); | |
140 | + this.toggleSwitch_END.TabIndex = 112; | |
141 | + this.toggleSwitch_END.Toggled += new System.EventHandler(this.toggleSwitch_END_Toggled); | |
142 | + // | |
143 | + // simpleButton_ReFresh | |
144 | + // | |
145 | + this.simpleButton_ReFresh.Appearance.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
146 | + this.simpleButton_ReFresh.Appearance.Options.UseFont = true; | |
147 | + this.simpleButton_ReFresh.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton_ReFresh.Image"))); | |
148 | + this.simpleButton_ReFresh.Location = new System.Drawing.Point(618, 7); | |
149 | + this.simpleButton_ReFresh.Name = "simpleButton_ReFresh"; | |
150 | + this.simpleButton_ReFresh.Size = new System.Drawing.Size(106, 140); | |
151 | + this.simpleButton_ReFresh.TabIndex = 110; | |
152 | + this.simpleButton_ReFresh.Text = "새로\r\n고침"; | |
153 | + this.simpleButton_ReFresh.Click += new System.EventHandler(this.simpleButton_ReFresh_Click); | |
154 | + // | |
155 | + // panelControl4 | |
156 | + // | |
157 | + this.panelControl4.Controls.Add(this.txt_partnm); | |
158 | + this.panelControl4.Controls.Add(this.lable2); | |
159 | + this.panelControl4.Location = new System.Drawing.Point(311, 56); | |
160 | + this.panelControl4.Name = "panelControl4"; | |
161 | + this.panelControl4.Size = new System.Drawing.Size(301, 40); | |
162 | + this.panelControl4.TabIndex = 109; | |
163 | + this.panelControl4.TabStop = true; | |
164 | + // | |
165 | + // txt_partnm | |
166 | + // | |
167 | + this.txt_partnm.Dock = System.Windows.Forms.DockStyle.Fill; | |
168 | + this.txt_partnm.Enabled = false; | |
169 | + this.txt_partnm.Location = new System.Drawing.Point(80, 2); | |
170 | + this.txt_partnm.Name = "txt_partnm"; | |
171 | + this.txt_partnm.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
172 | + this.txt_partnm.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
173 | + this.txt_partnm.Properties.Appearance.Options.UseBackColor = true; | |
174 | + this.txt_partnm.Properties.Appearance.Options.UseFont = true; | |
175 | + this.txt_partnm.Properties.AutoHeight = false; | |
176 | + this.txt_partnm.Properties.ReadOnly = true; | |
177 | + this.txt_partnm.Size = new System.Drawing.Size(219, 36); | |
178 | + this.txt_partnm.TabIndex = 1; | |
179 | + // | |
180 | + // lable2 | |
181 | + // | |
182 | + this.lable2.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
183 | + this.lable2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
184 | + this.lable2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
185 | + this.lable2.Dock = System.Windows.Forms.DockStyle.Left; | |
186 | + this.lable2.Location = new System.Drawing.Point(2, 2); | |
187 | + this.lable2.Name = "lable2"; | |
188 | + this.lable2.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
189 | + this.lable2.Size = new System.Drawing.Size(78, 36); | |
190 | + this.lable2.TabIndex = 0; | |
191 | + this.lable2.Text = "제품명"; | |
192 | + // | |
193 | + // panelControl5 | |
194 | + // | |
195 | + this.panelControl5.Controls.Add(this.txt_partno); | |
196 | + this.panelControl5.Controls.Add(this.labelControl4); | |
197 | + this.panelControl5.Location = new System.Drawing.Point(5, 56); | |
198 | + this.panelControl5.Name = "panelControl5"; | |
199 | + this.panelControl5.Size = new System.Drawing.Size(302, 40); | |
200 | + this.panelControl5.TabIndex = 108; | |
201 | + this.panelControl5.TabStop = true; | |
202 | + // | |
203 | + // txt_partno | |
204 | + // | |
205 | + this.txt_partno.Dock = System.Windows.Forms.DockStyle.Fill; | |
206 | + this.txt_partno.Enabled = false; | |
207 | + this.txt_partno.Location = new System.Drawing.Point(80, 2); | |
208 | + this.txt_partno.Name = "txt_partno"; | |
209 | + this.txt_partno.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
210 | + this.txt_partno.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
211 | + this.txt_partno.Properties.Appearance.Options.UseBackColor = true; | |
212 | + this.txt_partno.Properties.Appearance.Options.UseFont = true; | |
213 | + this.txt_partno.Properties.AutoHeight = false; | |
214 | + this.txt_partno.Properties.ReadOnly = true; | |
215 | + this.txt_partno.Size = new System.Drawing.Size(220, 36); | |
216 | + this.txt_partno.TabIndex = 1; | |
217 | + // | |
218 | + // labelControl4 | |
219 | + // | |
220 | + this.labelControl4.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
221 | + this.labelControl4.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
222 | + this.labelControl4.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
223 | + this.labelControl4.Dock = System.Windows.Forms.DockStyle.Left; | |
224 | + this.labelControl4.Location = new System.Drawing.Point(2, 2); | |
225 | + this.labelControl4.Name = "labelControl4"; | |
226 | + this.labelControl4.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
227 | + this.labelControl4.Size = new System.Drawing.Size(78, 36); | |
228 | + this.labelControl4.TabIndex = 0; | |
229 | + this.labelControl4.Text = "제품코드"; | |
230 | + // | |
231 | + // simpleButton_Work | |
232 | + // | |
233 | + this.simpleButton_Work.Appearance.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
234 | + this.simpleButton_Work.Appearance.Options.UseFont = true; | |
235 | + this.simpleButton_Work.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton_Work.Image"))); | |
236 | + this.simpleButton_Work.Location = new System.Drawing.Point(730, 7); | |
237 | + this.simpleButton_Work.Name = "simpleButton_Work"; | |
238 | + this.simpleButton_Work.Size = new System.Drawing.Size(278, 140); | |
239 | + this.simpleButton_Work.TabIndex = 107; | |
240 | + this.simpleButton_Work.Text = "작업입력"; | |
241 | + this.simpleButton_Work.Click += new System.EventHandler(this.simpleButton_Work_Click); | |
242 | + // | |
243 | + // panelControl2 | |
244 | + // | |
245 | + this.panelControl2.Controls.Add(this.lookUpEdit_Mach); | |
246 | + this.panelControl2.Controls.Add(this.labelControl1); | |
247 | + this.panelControl2.Location = new System.Drawing.Point(311, 5); | |
248 | + this.panelControl2.Name = "panelControl2"; | |
249 | + this.panelControl2.Size = new System.Drawing.Size(299, 40); | |
250 | + this.panelControl2.TabIndex = 106; | |
251 | + this.panelControl2.TabStop = true; | |
252 | + // | |
253 | + // lookUpEdit_Mach | |
254 | + // | |
255 | + this.lookUpEdit_Mach.Dock = System.Windows.Forms.DockStyle.Fill; | |
256 | + this.lookUpEdit_Mach.Location = new System.Drawing.Point(80, 2); | |
257 | + this.lookUpEdit_Mach.Name = "lookUpEdit_Mach"; | |
258 | + this.lookUpEdit_Mach.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
259 | + this.lookUpEdit_Mach.Properties.Appearance.Options.UseFont = true; | |
260 | + this.lookUpEdit_Mach.Properties.AppearanceDropDown.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); | |
261 | + this.lookUpEdit_Mach.Properties.AppearanceDropDown.Options.UseFont = true; | |
262 | + this.lookUpEdit_Mach.Properties.AutoHeight = false; | |
263 | + this.lookUpEdit_Mach.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
264 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
265 | + this.lookUpEdit_Mach.Properties.DropDownRows = 5; | |
266 | + this.lookUpEdit_Mach.Size = new System.Drawing.Size(217, 36); | |
267 | + this.lookUpEdit_Mach.TabIndex = 107; | |
268 | + this.lookUpEdit_Mach.EditValueChanged += new System.EventHandler(this.lookUpEdit_Mach_EditValueChanged); | |
269 | + // | |
270 | + // labelControl1 | |
271 | + // | |
272 | + this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
273 | + this.labelControl1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
274 | + this.labelControl1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
275 | + this.labelControl1.Dock = System.Windows.Forms.DockStyle.Left; | |
276 | + this.labelControl1.Location = new System.Drawing.Point(2, 2); | |
277 | + this.labelControl1.Name = "labelControl1"; | |
278 | + this.labelControl1.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
279 | + this.labelControl1.Size = new System.Drawing.Size(78, 36); | |
280 | + this.labelControl1.TabIndex = 106; | |
281 | + this.labelControl1.Text = "설비"; | |
282 | + // | |
283 | + // panelControl36 | |
284 | + // | |
285 | + this.panelControl36.Controls.Add(this.dateEdit_ORDER_DT); | |
286 | + this.panelControl36.Controls.Add(this.simpleButton_Next); | |
287 | + this.panelControl36.Controls.Add(this.simpleButton_Pre); | |
288 | + this.panelControl36.Controls.Add(this.labelControl37); | |
289 | + this.panelControl36.Location = new System.Drawing.Point(5, 5); | |
290 | + this.panelControl36.Name = "panelControl36"; | |
291 | + this.panelControl36.Size = new System.Drawing.Size(300, 40); | |
292 | + this.panelControl36.TabIndex = 104; | |
293 | + this.panelControl36.TabStop = true; | |
294 | + // | |
295 | + // dateEdit_ORDER_DT | |
296 | + // | |
297 | + this.dateEdit_ORDER_DT.Dock = System.Windows.Forms.DockStyle.Fill; | |
298 | + this.dateEdit_ORDER_DT.EditValue = new System.DateTime(2020, 12, 30, 0, 0, 0, 0); | |
299 | + this.dateEdit_ORDER_DT.Location = new System.Drawing.Point(115, 2); | |
300 | + this.dateEdit_ORDER_DT.Name = "dateEdit_ORDER_DT"; | |
301 | + this.dateEdit_ORDER_DT.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
302 | + this.dateEdit_ORDER_DT.Properties.Appearance.Options.UseFont = true; | |
303 | + this.dateEdit_ORDER_DT.Properties.Appearance.Options.UseTextOptions = true; | |
304 | + this.dateEdit_ORDER_DT.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
305 | + this.dateEdit_ORDER_DT.Properties.AppearanceFocused.Options.UseTextOptions = true; | |
306 | + this.dateEdit_ORDER_DT.Properties.AppearanceFocused.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
307 | + this.dateEdit_ORDER_DT.Properties.AutoHeight = false; | |
308 | + this.dateEdit_ORDER_DT.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
309 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
310 | + this.dateEdit_ORDER_DT.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
311 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
312 | + this.dateEdit_ORDER_DT.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.DateTimeAdvancingCaret; | |
313 | + this.dateEdit_ORDER_DT.Properties.Mask.UseMaskAsDisplayFormat = true; | |
314 | + this.dateEdit_ORDER_DT.Size = new System.Drawing.Size(148, 36); | |
315 | + this.dateEdit_ORDER_DT.TabIndex = 107; | |
316 | + // | |
317 | + // simpleButton_Next | |
318 | + // | |
319 | + this.simpleButton_Next.Dock = System.Windows.Forms.DockStyle.Right; | |
320 | + this.simpleButton_Next.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton_Next.Image"))); | |
321 | + this.simpleButton_Next.Location = new System.Drawing.Point(263, 2); | |
322 | + this.simpleButton_Next.Name = "simpleButton_Next"; | |
323 | + this.simpleButton_Next.Size = new System.Drawing.Size(35, 36); | |
324 | + this.simpleButton_Next.TabIndex = 106; | |
325 | + this.simpleButton_Next.Click += new System.EventHandler(this.simpleButton_Next_Click); | |
326 | + // | |
327 | + // simpleButton_Pre | |
328 | + // | |
329 | + this.simpleButton_Pre.Dock = System.Windows.Forms.DockStyle.Left; | |
330 | + this.simpleButton_Pre.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton_Pre.Image"))); | |
331 | + this.simpleButton_Pre.Location = new System.Drawing.Point(80, 2); | |
332 | + this.simpleButton_Pre.Name = "simpleButton_Pre"; | |
333 | + this.simpleButton_Pre.Size = new System.Drawing.Size(35, 36); | |
334 | + this.simpleButton_Pre.TabIndex = 105; | |
335 | + this.simpleButton_Pre.Click += new System.EventHandler(this.simpleButton_Pre_Click); | |
336 | + // | |
337 | + // labelControl37 | |
338 | + // | |
339 | + this.labelControl37.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
340 | + this.labelControl37.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
341 | + this.labelControl37.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
342 | + this.labelControl37.Dock = System.Windows.Forms.DockStyle.Left; | |
343 | + this.labelControl37.Location = new System.Drawing.Point(2, 2); | |
344 | + this.labelControl37.Name = "labelControl37"; | |
345 | + this.labelControl37.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
346 | + this.labelControl37.Size = new System.Drawing.Size(78, 36); | |
347 | + this.labelControl37.TabIndex = 0; | |
348 | + this.labelControl37.Text = "작업일자"; | |
349 | + // | |
350 | + // panelControl1 | |
351 | + // | |
352 | + this.panelControl1.Controls.Add(this.gridControl_Main); | |
353 | + this.panelControl1.Dock = System.Windows.Forms.DockStyle.Fill; | |
354 | + this.panelControl1.Location = new System.Drawing.Point(0, 153); | |
355 | + this.panelControl1.Name = "panelControl1"; | |
356 | + this.panelControl1.Size = new System.Drawing.Size(1008, 358); | |
357 | + this.panelControl1.TabIndex = 25; | |
358 | + // | |
359 | + // gridControl_Main | |
360 | + // | |
361 | + this.gridControl_Main.Dock = System.Windows.Forms.DockStyle.Fill; | |
362 | + gridLevelNode1.RelationName = "Level1"; | |
363 | + this.gridControl_Main.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] { | |
364 | + gridLevelNode1}); | |
365 | + this.gridControl_Main.Location = new System.Drawing.Point(2, 2); | |
366 | + this.gridControl_Main.MainView = this.gridView_Main; | |
367 | + this.gridControl_Main.Name = "gridControl_Main"; | |
368 | + this.gridControl_Main.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { | |
369 | + this.repositoryItemLookUpEdit_ORDER_UNIT_CD, | |
370 | + this.repositoryItemButtonEdit_ITEM_SPEC, | |
371 | + this.repositoryItemLookUpEdit_ITEM_CD, | |
372 | + this.repositoryItemButtonEdit_Mokh, | |
373 | + this.repositoryItemButtonEdit_Detail, | |
374 | + this.repositoryItemComboBox1, | |
375 | + this.repositoryItemTextEdit_DataTime, | |
376 | + this.repositoryItemLookUpEdit_PROC, | |
377 | + this.repositoryItemLookUpEdit_WORKER, | |
378 | + this.repositoryItemDateEdit_END_DT, | |
379 | + this.repositoryItemTextEdit_RATIO, | |
380 | + this.repositoryItemLookUpEdit_MACH}); | |
381 | + this.gridControl_Main.Size = new System.Drawing.Size(1004, 354); | |
382 | + this.gridControl_Main.TabIndex = 121; | |
383 | + this.gridControl_Main.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { | |
384 | + this.gridView_Main}); | |
385 | + // | |
386 | + // gridView_Main | |
387 | + // | |
388 | + this.gridView_Main.Appearance.FooterPanel.Options.UseFont = true; | |
389 | + this.gridView_Main.Appearance.HeaderPanel.Options.UseFont = true; | |
390 | + this.gridView_Main.Appearance.HeaderPanel.Options.UseTextOptions = true; | |
391 | + this.gridView_Main.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
392 | + this.gridView_Main.Appearance.Row.Options.UseFont = true; | |
393 | + this.gridView_Main.ColumnPanelRowHeight = 40; | |
394 | + this.gridView_Main.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { | |
395 | + this.gridColumn1, | |
396 | + this.gridColumn2, | |
397 | + this.gridColumn3, | |
398 | + this.gridColumn4, | |
399 | + this.gridColumn5, | |
400 | + this.gridColumn6, | |
401 | + this.gridColumn7, | |
402 | + this.gridColumn8}); | |
403 | + this.gridView_Main.FooterPanelHeight = 23; | |
404 | + this.gridView_Main.GridControl = this.gridControl_Main; | |
405 | + this.gridView_Main.Name = "gridView_Main"; | |
406 | + this.gridView_Main.OptionsCustomization.AllowSort = false; | |
407 | + this.gridView_Main.OptionsNavigation.EnterMoveNextColumn = true; | |
408 | + this.gridView_Main.OptionsView.ColumnAutoWidth = false; | |
409 | + this.gridView_Main.OptionsView.ShowGroupPanel = false; | |
410 | + this.gridView_Main.RowHeight = 40; | |
411 | + this.gridView_Main.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridView_Main_FocusedRowChanged); | |
412 | + // | |
413 | + // gridColumn1 | |
414 | + // | |
415 | + this.gridColumn1.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); | |
416 | + this.gridColumn1.AppearanceCell.Options.UseFont = true; | |
417 | + this.gridColumn1.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Bold); | |
418 | + this.gridColumn1.AppearanceHeader.Options.UseFont = true; | |
419 | + this.gridColumn1.Caption = "작업지시번호"; | |
420 | + this.gridColumn1.FieldName = "order_no"; | |
421 | + this.gridColumn1.Name = "gridColumn1"; | |
422 | + this.gridColumn1.OptionsColumn.AllowEdit = false; | |
423 | + this.gridColumn1.OptionsColumn.AllowFocus = false; | |
424 | + this.gridColumn1.Visible = true; | |
425 | + this.gridColumn1.VisibleIndex = 0; | |
426 | + this.gridColumn1.Width = 132; | |
427 | + // | |
428 | + // gridColumn2 | |
429 | + // | |
430 | + this.gridColumn2.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); | |
431 | + this.gridColumn2.AppearanceCell.Options.UseFont = true; | |
432 | + this.gridColumn2.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Bold); | |
433 | + this.gridColumn2.AppearanceHeader.Options.UseFont = true; | |
434 | + this.gridColumn2.AppearanceHeader.Options.UseTextOptions = true; | |
435 | + this.gridColumn2.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
436 | + this.gridColumn2.Caption = "LOT"; | |
437 | + this.gridColumn2.FieldName = "lot"; | |
438 | + this.gridColumn2.Name = "gridColumn2"; | |
439 | + this.gridColumn2.OptionsColumn.AllowEdit = false; | |
440 | + this.gridColumn2.OptionsColumn.AllowFocus = false; | |
441 | + this.gridColumn2.Visible = true; | |
442 | + this.gridColumn2.VisibleIndex = 1; | |
443 | + this.gridColumn2.Width = 72; | |
444 | + // | |
445 | + // gridColumn3 | |
446 | + // | |
447 | + this.gridColumn3.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); | |
448 | + this.gridColumn3.AppearanceCell.Options.UseFont = true; | |
449 | + this.gridColumn3.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Bold); | |
450 | + this.gridColumn3.AppearanceHeader.Options.UseFont = true; | |
451 | + this.gridColumn3.Caption = "생산품목"; | |
452 | + this.gridColumn3.FieldName = "resource_no"; | |
453 | + this.gridColumn3.Name = "gridColumn3"; | |
454 | + this.gridColumn3.OptionsColumn.AllowEdit = false; | |
455 | + this.gridColumn3.OptionsColumn.AllowFocus = false; | |
456 | + this.gridColumn3.Visible = true; | |
457 | + this.gridColumn3.VisibleIndex = 2; | |
458 | + this.gridColumn3.Width = 156; | |
459 | + // | |
460 | + // gridColumn4 | |
461 | + // | |
462 | + this.gridColumn4.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); | |
463 | + this.gridColumn4.AppearanceCell.Options.UseFont = true; | |
464 | + this.gridColumn4.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Bold); | |
465 | + this.gridColumn4.AppearanceHeader.Options.UseFont = true; | |
466 | + this.gridColumn4.Caption = "생산품목명"; | |
467 | + this.gridColumn4.FieldName = "resource_name"; | |
468 | + this.gridColumn4.Name = "gridColumn4"; | |
469 | + this.gridColumn4.OptionsColumn.AllowEdit = false; | |
470 | + this.gridColumn4.OptionsColumn.AllowFocus = false; | |
471 | + this.gridColumn4.Visible = true; | |
472 | + this.gridColumn4.VisibleIndex = 3; | |
473 | + this.gridColumn4.Width = 299; | |
474 | + // | |
475 | + // gridColumn5 | |
476 | + // | |
477 | + this.gridColumn5.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); | |
478 | + this.gridColumn5.AppearanceCell.Options.UseFont = true; | |
479 | + this.gridColumn5.AppearanceCell.Options.UseTextOptions = true; | |
480 | + this.gridColumn5.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
481 | + this.gridColumn5.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Bold); | |
482 | + this.gridColumn5.AppearanceHeader.Options.UseFont = true; | |
483 | + this.gridColumn5.Caption = "완료예정일"; | |
484 | + this.gridColumn5.FieldName = "date_sched_curr"; | |
485 | + this.gridColumn5.Name = "gridColumn5"; | |
486 | + this.gridColumn5.OptionsColumn.AllowEdit = false; | |
487 | + this.gridColumn5.OptionsColumn.AllowFocus = false; | |
488 | + this.gridColumn5.Visible = true; | |
489 | + this.gridColumn5.VisibleIndex = 4; | |
490 | + this.gridColumn5.Width = 117; | |
491 | + // | |
492 | + // gridColumn6 | |
493 | + // | |
494 | + this.gridColumn6.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); | |
495 | + this.gridColumn6.AppearanceCell.Options.UseFont = true; | |
496 | + this.gridColumn6.AppearanceCell.Options.UseTextOptions = true; | |
497 | + this.gridColumn6.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
498 | + this.gridColumn6.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Bold); | |
499 | + this.gridColumn6.AppearanceHeader.Options.UseFont = true; | |
500 | + this.gridColumn6.Caption = "작지상태"; | |
501 | + this.gridColumn6.FieldName = "demand_status_desc"; | |
502 | + this.gridColumn6.Name = "gridColumn6"; | |
503 | + this.gridColumn6.OptionsColumn.AllowEdit = false; | |
504 | + this.gridColumn6.OptionsColumn.AllowFocus = false; | |
505 | + this.gridColumn6.Visible = true; | |
506 | + this.gridColumn6.VisibleIndex = 5; | |
507 | + this.gridColumn6.Width = 77; | |
508 | + // | |
509 | + // gridColumn7 | |
510 | + // | |
511 | + this.gridColumn7.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); | |
512 | + this.gridColumn7.AppearanceCell.Options.UseFont = true; | |
513 | + this.gridColumn7.AppearanceCell.Options.UseTextOptions = true; | |
514 | + this.gridColumn7.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
515 | + this.gridColumn7.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Bold); | |
516 | + this.gridColumn7.AppearanceHeader.Options.UseFont = true; | |
517 | + this.gridColumn7.AppearanceHeader.Options.UseTextOptions = true; | |
518 | + this.gridColumn7.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
519 | + this.gridColumn7.Caption = "공정"; | |
520 | + this.gridColumn7.FieldName = "operation"; | |
521 | + this.gridColumn7.Name = "gridColumn7"; | |
522 | + this.gridColumn7.OptionsColumn.AllowEdit = false; | |
523 | + this.gridColumn7.OptionsColumn.AllowFocus = false; | |
524 | + this.gridColumn7.Visible = true; | |
525 | + this.gridColumn7.VisibleIndex = 6; | |
526 | + this.gridColumn7.Width = 63; | |
527 | + // | |
528 | + // gridColumn8 | |
529 | + // | |
530 | + this.gridColumn8.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); | |
531 | + this.gridColumn8.AppearanceCell.Options.UseFont = true; | |
532 | + this.gridColumn8.AppearanceCell.Options.UseTextOptions = true; | |
533 | + this.gridColumn8.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
534 | + this.gridColumn8.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Bold); | |
535 | + this.gridColumn8.AppearanceHeader.Options.UseFont = true; | |
536 | + this.gridColumn8.AppearanceHeader.Options.UseTextOptions = true; | |
537 | + this.gridColumn8.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
538 | + this.gridColumn8.Caption = "작업장"; | |
539 | + this.gridColumn8.FieldName = "initial_name"; | |
540 | + this.gridColumn8.Name = "gridColumn8"; | |
541 | + this.gridColumn8.OptionsColumn.AllowEdit = false; | |
542 | + this.gridColumn8.OptionsColumn.AllowFocus = false; | |
543 | + this.gridColumn8.Visible = true; | |
544 | + this.gridColumn8.VisibleIndex = 7; | |
545 | + this.gridColumn8.Width = 66; | |
546 | + // | |
547 | + // repositoryItemLookUpEdit_ORDER_UNIT_CD | |
548 | + // | |
549 | + this.repositoryItemLookUpEdit_ORDER_UNIT_CD.AutoHeight = false; | |
550 | + this.repositoryItemLookUpEdit_ORDER_UNIT_CD.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
551 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
552 | + this.repositoryItemLookUpEdit_ORDER_UNIT_CD.Name = "repositoryItemLookUpEdit_ORDER_UNIT_CD"; | |
553 | + // | |
554 | + // repositoryItemButtonEdit_ITEM_SPEC | |
555 | + // | |
556 | + this.repositoryItemButtonEdit_ITEM_SPEC.AutoHeight = false; | |
557 | + this.repositoryItemButtonEdit_ITEM_SPEC.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
558 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "상세", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true)}); | |
559 | + this.repositoryItemButtonEdit_ITEM_SPEC.ButtonsStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; | |
560 | + this.repositoryItemButtonEdit_ITEM_SPEC.Name = "repositoryItemButtonEdit_ITEM_SPEC"; | |
561 | + // | |
562 | + // repositoryItemLookUpEdit_ITEM_CD | |
563 | + // | |
564 | + this.repositoryItemLookUpEdit_ITEM_CD.AutoHeight = false; | |
565 | + this.repositoryItemLookUpEdit_ITEM_CD.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
566 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
567 | + this.repositoryItemLookUpEdit_ITEM_CD.Name = "repositoryItemLookUpEdit_ITEM_CD"; | |
568 | + // | |
569 | + // repositoryItemButtonEdit_Mokh | |
570 | + // | |
571 | + this.repositoryItemButtonEdit_Mokh.AutoHeight = false; | |
572 | + this.repositoryItemButtonEdit_Mokh.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
573 | + new DevExpress.XtraEditors.Controls.EditorButton()}); | |
574 | + this.repositoryItemButtonEdit_Mokh.Name = "repositoryItemButtonEdit_Mokh"; | |
575 | + // | |
576 | + // repositoryItemButtonEdit_Detail | |
577 | + // | |
578 | + this.repositoryItemButtonEdit_Detail.AutoHeight = false; | |
579 | + this.repositoryItemButtonEdit_Detail.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
580 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Search)}); | |
581 | + this.repositoryItemButtonEdit_Detail.Name = "repositoryItemButtonEdit_Detail"; | |
582 | + // | |
583 | + // repositoryItemComboBox1 | |
584 | + // | |
585 | + this.repositoryItemComboBox1.AutoHeight = false; | |
586 | + this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
587 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
588 | + this.repositoryItemComboBox1.Items.AddRange(new object[] { | |
589 | + "증가", | |
590 | + "감소"}); | |
591 | + this.repositoryItemComboBox1.Name = "repositoryItemComboBox1"; | |
592 | + // | |
593 | + // repositoryItemTextEdit_DataTime | |
594 | + // | |
595 | + this.repositoryItemTextEdit_DataTime.AutoHeight = false; | |
596 | + this.repositoryItemTextEdit_DataTime.Mask.EditMask = "yy-MM-dd HH:mm:ss"; | |
597 | + this.repositoryItemTextEdit_DataTime.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.DateTime; | |
598 | + this.repositoryItemTextEdit_DataTime.Name = "repositoryItemTextEdit_DataTime"; | |
599 | + // | |
600 | + // repositoryItemLookUpEdit_PROC | |
601 | + // | |
602 | + this.repositoryItemLookUpEdit_PROC.AutoHeight = false; | |
603 | + this.repositoryItemLookUpEdit_PROC.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
604 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
605 | + this.repositoryItemLookUpEdit_PROC.Name = "repositoryItemLookUpEdit_PROC"; | |
606 | + // | |
607 | + // repositoryItemLookUpEdit_WORKER | |
608 | + // | |
609 | + this.repositoryItemLookUpEdit_WORKER.AutoHeight = false; | |
610 | + this.repositoryItemLookUpEdit_WORKER.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
611 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
612 | + this.repositoryItemLookUpEdit_WORKER.Name = "repositoryItemLookUpEdit_WORKER"; | |
613 | + // | |
614 | + // repositoryItemDateEdit_END_DT | |
615 | + // | |
616 | + this.repositoryItemDateEdit_END_DT.AutoHeight = false; | |
617 | + this.repositoryItemDateEdit_END_DT.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
618 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
619 | + this.repositoryItemDateEdit_END_DT.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
620 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
621 | + this.repositoryItemDateEdit_END_DT.Name = "repositoryItemDateEdit_END_DT"; | |
622 | + // | |
623 | + // repositoryItemTextEdit_RATIO | |
624 | + // | |
625 | + this.repositoryItemTextEdit_RATIO.AutoHeight = false; | |
626 | + this.repositoryItemTextEdit_RATIO.Mask.EditMask = "p"; | |
627 | + this.repositoryItemTextEdit_RATIO.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; | |
628 | + this.repositoryItemTextEdit_RATIO.Mask.UseMaskAsDisplayFormat = true; | |
629 | + this.repositoryItemTextEdit_RATIO.Name = "repositoryItemTextEdit_RATIO"; | |
630 | + // | |
631 | + // repositoryItemLookUpEdit_MACH | |
632 | + // | |
633 | + this.repositoryItemLookUpEdit_MACH.AutoHeight = false; | |
634 | + this.repositoryItemLookUpEdit_MACH.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
635 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
636 | + this.repositoryItemLookUpEdit_MACH.Name = "repositoryItemLookUpEdit_MACH"; | |
637 | + // | |
638 | + // UcOrderList | |
639 | + // | |
640 | + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | |
641 | + this.ClientSize = new System.Drawing.Size(1008, 511); | |
642 | + this.Controls.Add(this.panelControl1); | |
643 | + this.Controls.Add(this.panelControl_Manu); | |
644 | + this.Name = "UcOrderList"; | |
645 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl_Manu)).EndInit(); | |
646 | + this.panelControl_Manu.ResumeLayout(false); | |
647 | + ((System.ComponentModel.ISupportInitialize)(this.toggleSwitch_END.Properties)).EndInit(); | |
648 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit(); | |
649 | + this.panelControl4.ResumeLayout(false); | |
650 | + ((System.ComponentModel.ISupportInitialize)(this.txt_partnm.Properties)).EndInit(); | |
651 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).EndInit(); | |
652 | + this.panelControl5.ResumeLayout(false); | |
653 | + ((System.ComponentModel.ISupportInitialize)(this.txt_partno.Properties)).EndInit(); | |
654 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); | |
655 | + this.panelControl2.ResumeLayout(false); | |
656 | + ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit_Mach.Properties)).EndInit(); | |
657 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl36)).EndInit(); | |
658 | + this.panelControl36.ResumeLayout(false); | |
659 | + ((System.ComponentModel.ISupportInitialize)(this.dateEdit_ORDER_DT.Properties.CalendarTimeProperties)).EndInit(); | |
660 | + ((System.ComponentModel.ISupportInitialize)(this.dateEdit_ORDER_DT.Properties)).EndInit(); | |
661 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); | |
662 | + this.panelControl1.ResumeLayout(false); | |
663 | + ((System.ComponentModel.ISupportInitialize)(this.gridControl_Main)).EndInit(); | |
664 | + ((System.ComponentModel.ISupportInitialize)(this.gridView_Main)).EndInit(); | |
665 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_ORDER_UNIT_CD)).EndInit(); | |
666 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit_ITEM_SPEC)).EndInit(); | |
667 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_ITEM_CD)).EndInit(); | |
668 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit_Mokh)).EndInit(); | |
669 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit_Detail)).EndInit(); | |
670 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit(); | |
671 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit_DataTime)).EndInit(); | |
672 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_PROC)).EndInit(); | |
673 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_WORKER)).EndInit(); | |
674 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit_END_DT.CalendarTimeProperties)).EndInit(); | |
675 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit_END_DT)).EndInit(); | |
676 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit_RATIO)).EndInit(); | |
677 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_MACH)).EndInit(); | |
678 | + this.ResumeLayout(false); | |
679 | + | |
680 | + } | |
681 | + | |
682 | + #endregion | |
683 | + | |
684 | + private DevExpress.XtraEditors.PanelControl panelControl_Manu; | |
685 | + private DevExpress.XtraEditors.PanelControl panelControl1; | |
686 | + private DevExpress.XtraEditors.PanelControl panelControl36; | |
687 | + private DevExpress.XtraEditors.DateEdit dateEdit_ORDER_DT; | |
688 | + private DevExpress.XtraEditors.SimpleButton simpleButton_Next; | |
689 | + private DevExpress.XtraEditors.SimpleButton simpleButton_Pre; | |
690 | + private DevExpress.XtraEditors.LabelControl labelControl37; | |
691 | + private DevExpress.XtraEditors.PanelControl panelControl2; | |
692 | + private DevExpress.XtraEditors.LookUpEdit lookUpEdit_Mach; | |
693 | + private DevExpress.XtraEditors.LabelControl labelControl1; | |
694 | + private DevExpress.XtraGrid.GridControl gridControl_Main; | |
695 | + private DevExpress.XtraGrid.Views.Grid.GridView gridView_Main; | |
696 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit_PROC; | |
697 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit_MACH; | |
698 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit_ORDER_UNIT_CD; | |
699 | + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit_ITEM_SPEC; | |
700 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit_ITEM_CD; | |
701 | + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit_Mokh; | |
702 | + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit_Detail; | |
703 | + private DevExpress.XtraEditors.Repository.RepositoryItemComboBox repositoryItemComboBox1; | |
704 | + private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEdit_DataTime; | |
705 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit_WORKER; | |
706 | + private DevExpress.XtraEditors.Repository.RepositoryItemDateEdit repositoryItemDateEdit_END_DT; | |
707 | + private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEdit_RATIO; | |
708 | + private DevExpress.XtraEditors.SimpleButton simpleButton_Work; | |
709 | + private DevExpress.XtraEditors.PanelControl panelControl4; | |
710 | + private DevExpress.XtraEditors.TextEdit txt_partnm; | |
711 | + private DevExpress.XtraEditors.LabelControl lable2; | |
712 | + private DevExpress.XtraEditors.PanelControl panelControl5; | |
713 | + private DevExpress.XtraEditors.TextEdit txt_partno; | |
714 | + private DevExpress.XtraEditors.LabelControl labelControl4; | |
715 | + private DevExpress.XtraEditors.SimpleButton simpleButton_ReFresh; | |
716 | + private DevExpress.XtraEditors.ToggleSwitch toggleSwitch_END; | |
717 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; | |
718 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; | |
719 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; | |
720 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn4; | |
721 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn5; | |
722 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn6; | |
723 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn7; | |
724 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn8; | |
725 | + } | |
726 | +}(No newline at end of file) |
+++ KHSCALE_TP/UcOrderList.cs
... | ... | @@ -0,0 +1,180 @@ |
1 | +using ClientLib; | |
2 | +using ClientLib.CommonService2; | |
3 | +using DevExpress.XtraEditors; | |
4 | +using PublicLib; | |
5 | +using System; | |
6 | +using System.Collections.Generic; | |
7 | +using System.ComponentModel; | |
8 | +using System.Data; | |
9 | +using System.Drawing; | |
10 | +using System.Linq; | |
11 | +using System.Text; | |
12 | +using System.Threading.Tasks; | |
13 | +using System.Windows.Forms; | |
14 | + | |
15 | +namespace KHSCALE_TP | |
16 | +{ | |
17 | + public partial class UcOrderList : Form | |
18 | + { | |
19 | + | |
20 | + U3Database u3Database = new U3Database(); | |
21 | + U3Config u3Config = new U3Config(); | |
22 | + | |
23 | + public string orderno; | |
24 | + public string lot; | |
25 | + | |
26 | + public UcOrderList() | |
27 | + { | |
28 | + InitializeComponent(); | |
29 | + u3Database.SetSqlServer(); | |
30 | + | |
31 | + DataView grpMach = new DataView(GetMachTable()); | |
32 | + UtilClass.SetLookup(this.lookUpEdit_Mach, grpMach, "MACH_CD", "MACH_NM", true, true); | |
33 | + | |
34 | + | |
35 | + dateEdit_ORDER_DT.DateTime = DateTime.Now; | |
36 | + searchProc(); | |
37 | + } | |
38 | + | |
39 | + public void searchProc() | |
40 | + { | |
41 | + try | |
42 | + { | |
43 | + this.Cursor = Cursors.WaitCursor; | |
44 | + | |
45 | + gridControl_Main.DataSource = null; | |
46 | + | |
47 | + string sDate = this.dateEdit_ORDER_DT.DateTime.ToString("yyyy-MM-dd"); | |
48 | + | |
49 | + | |
50 | + DataTable resultData = null; | |
51 | + | |
52 | + | |
53 | + resultData = u3Database.OpenSQL("select a.order_no, a.lot, a.resource_no, a.resource_name, a.date_sched_curr, a.demand_status_desc, a.operation, a.initial_name from T_KH_SAL_ORDER a where a.cost_center = '10' and a.date_sched_curr = '" + sDate + "' group by a.order_no, a.lot, a.resource_no, a.resource_name, a.date_sched_curr, a.demand_status_desc, a.operation, a.initial_name"); | |
54 | + | |
55 | + gridControl_Main.DataSource = resultData; | |
56 | + | |
57 | + //FilterSub(toggleSwitch_END.IsOn); | |
58 | + | |
59 | + this.Cursor = Cursors.Arrow; | |
60 | + } | |
61 | + catch (Exception ex) | |
62 | + { | |
63 | + this.Cursor = Cursors.Arrow; | |
64 | + MessageBox.Show(ex.Message); | |
65 | + } | |
66 | + } | |
67 | + | |
68 | + private DataTable GetMachTable() | |
69 | + { | |
70 | + try | |
71 | + { | |
72 | + this.Cursor = Cursors.WaitCursor; | |
73 | + return u3Database.OpenSQL("select 'N' as SEL_FIELD, a.MACH_CD, a.MACH_NO, a.MACH_NM from dbo.T_STD_MACH a where a.COMP_CD = '" + ConstClass._COMP_CD + "' and isnull(a.DEL_YN,'N') = 'N' order by a.MACH_CD"); | |
74 | + } | |
75 | + catch (Exception ex) | |
76 | + { | |
77 | + this.Cursor = Cursors.Arrow; | |
78 | + XtraMessageBox.Show(ex.Message); | |
79 | + } | |
80 | + return null; | |
81 | + } | |
82 | + | |
83 | + private void simpleButton_Pre_Click(object sender, EventArgs e) | |
84 | + { | |
85 | + try | |
86 | + { | |
87 | + dateEdit_ORDER_DT.DateTime = dateEdit_ORDER_DT.DateTime.AddDays(-1); | |
88 | + searchProc(); | |
89 | + } | |
90 | + catch (Exception ex) | |
91 | + { | |
92 | + | |
93 | + } | |
94 | + } | |
95 | + | |
96 | + private void simpleButton_Next_Click(object sender, EventArgs e) | |
97 | + { | |
98 | + try | |
99 | + { | |
100 | + dateEdit_ORDER_DT.DateTime = dateEdit_ORDER_DT.DateTime.AddDays(1); | |
101 | + searchProc(); | |
102 | + } | |
103 | + catch (Exception ex) | |
104 | + { | |
105 | + | |
106 | + } | |
107 | + } | |
108 | + | |
109 | + private void lookUpEdit_Mach_EditValueChanged(object sender, EventArgs e) | |
110 | + { | |
111 | + searchProc(); | |
112 | + } | |
113 | + | |
114 | + private void simpleButton_Work_Click(object sender, EventArgs e) | |
115 | + { | |
116 | + DataRow row = gridView_Main.GetFocusedDataRow(); | |
117 | + | |
118 | + if (row != null) | |
119 | + { | |
120 | + orderno = UtilClass.toStr(row["ORDER_NO"]); | |
121 | + lot = UtilClass.toStr(row["LOT"]); | |
122 | + this.DialogResult = DialogResult.Yes; | |
123 | + this.Close(); | |
124 | + } | |
125 | + | |
126 | + } | |
127 | + | |
128 | + private void gridView_Main_FocusedRowChanged(object sender, DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventArgs e) | |
129 | + { | |
130 | + | |
131 | + DataRow row = gridView_Main.GetFocusedDataRow(); | |
132 | + | |
133 | + if (row == null) | |
134 | + { | |
135 | + return; | |
136 | + } | |
137 | + try | |
138 | + { | |
139 | + //txt_partno.Text = row["resource_no"].ToString(); | |
140 | + //txt_partnm.Text = row["resource_name"].ToString(); | |
141 | + } | |
142 | + catch (Exception ex) | |
143 | + { | |
144 | + | |
145 | + } | |
146 | + } | |
147 | + | |
148 | + private void simpleButton_ReFresh_Click(object sender, EventArgs e) | |
149 | + { | |
150 | + searchProc(); | |
151 | + } | |
152 | + | |
153 | + private void toggleSwitch_END_Toggled(object sender, EventArgs e) | |
154 | + { | |
155 | + FilterSub(toggleSwitch_END.IsOn); | |
156 | + } | |
157 | + | |
158 | + private void FilterSub(bool toggle) | |
159 | + { | |
160 | + | |
161 | + try | |
162 | + { | |
163 | + if (toggle) | |
164 | + { | |
165 | + gridView_Main.ActiveFilterString = ""; | |
166 | + } | |
167 | + else | |
168 | + { | |
169 | + gridView_Main.ActiveFilterString = "[demand_status_desc] != '완료'"; | |
170 | + } | |
171 | + | |
172 | + | |
173 | + } | |
174 | + catch (Exception ex) | |
175 | + { | |
176 | + | |
177 | + } | |
178 | + } | |
179 | + } | |
180 | +} |
+++ KHSCALE_TP/UcOrderList.resx
... | ... | @@ -0,0 +1,276 @@ |
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 | + <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | |
121 | + <data name="simpleButton_ReFresh.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |
122 | + <value> | |
123 | + iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAACd0RVh0VGl0 | |
124 | + bGUAUmVmcmVzaDtSZXBlYXQ7QmFycztSaWJib247UmVsb2FkzU326QAACkhJREFUWEfFlglMVWcWxy+V | |
125 | + sSqIClRRRMW22iI7PPYnu6BQqaVuFKqAFWgRXJC6IKjsyA6iWEMLBWRxAwFZFUSxWsBKxSIiUNEKKqBO | |
126 | + Jk7U5D/nXMAxk06TzmQyJ/nlLu/7zvadc+4TAPxf+bMi8wf8z2TMwFvEOEL2d+D3/Pt/5kxG5VIh4+xS | |
127 | + 4eAYFcv49ZhR2cgc6/eTTjuEpJY5nk8rd2xNr1j6Kr3c8VVqmUNrSqljfcJJ+z17MqULae1fCHZGdCSt | |
128 | + zFGgPULqGYc3rsSZf74XJb18qTD0vEYY/nstP742HJ1vY51c6nDhWKMXzt8Iw42+TPQNH8fg8yqRu0PF | |
129 | + aLt7GHU/hyG/YT2STi1pCs+2WkJ7xxOiI/1/LRPuPysV7j0tEfqenBJ+HT4u9A4VC8mnHYSkklEHUsij | |
130 | + wefVfCsad/FcKJdwwv7QsQveuNqVgAd/PYn+vxWj71k2eoYPo3MwBbceJ+L2YCq6h8mppzm4++QYmjrj | |
131 | + kNfgiZgC20ypk5oC6eLjkbn/bNT4k5NCLznQPVgkJJxcIsSfsGebgpB0mp0WjY/bGGYwM/64XWNFSzDu | |
132 | + PMoWlXc+TiODybj1KAkdjxLxy6N4tD+Mw42BaLQ9iMBPv+0X6Xx8EDcfZKL0x22IKbS76LFNW5V0ik7c | |
133 | + HT4hGu8ZKhS6BguEuCI7kTERjVPkU2OL7JqrfwqhiHLJYCraB+JxUyQBNx+S4YEDZDgWbf3RuP4gEtfI | |
134 | + cMv9UFzt240fft2B5nth+GXgEMpbvkZkvk2L1HmOMukWnegZKhDuDB4Tbj/KE6ILbIToY7ZsWxQ+8/FR | |
135 | + eTZZpVe2oXswiyIiA0TbgxiRdnKAM9E1eBjdQ9/gzlAmOuj5BjnUcm8fGd+JSz1BaOjegvquzWj7LQnH | |
136 | + LwUgNGtxNumeSIzrGswXbj/OFW49zBEic62FCIKFo5fdlmhqkVXlgbZ7aaQwAs19FNm9cLQS7QOJqL4W | |
137 | + ggP5q+C13xD2fqqw/1IVXuH6iM1zpWiD8GNfGC7c2YLztzeh9taXqOv0x+U7UcgsXwuffQZWZIMLU6aT | |
138 | + jHcMZAn7sq0IS7YvRj9hb7ZVQ+31MFy7H4PLvZzOPbh6N4wyEYsjZZ5YvWvRSxN3paP6n0xzUpwzXpmh | |
139 | + e2czD+Wja3ZrvMwocaMM7EANGa/s8EH5TW9yZivKmoMRckTaSDbkiXEdD7OE9v5vBMqMCIusb7ihecaZ | |
140 | + 1RR9MkXxNRq7d+Biz0609EXgcNk6OPrP6ddbPo1XTyI4krEB9DYhp79c0dIpcG5/eslqMroF5e3eKGlb | |
141 | + h9NtHmjs2oOUE674PFibwxWzcP23g8LuI1LCgh5JSXCaWULxhU243BOKulucxm3kxE6UNm+FR5jOSwMX | |
142 | + JV4pniPBRzaGOC+ISYbLlRev26fzsqhpA8pubMCpn9xRfG0N3W9ETt0GBMQZp/A63tPSlyLsOGQuwjIx | |
143 | + KM208dQVf0pfIKp/2YSajgBc7N6F+MKVsP1iVhat4fSJldz3tJh6uki4+6SQ+rqQ97MjPAEVlvipfRtb | |
144 | + 4IKz7T4oal2NgpaVKG5dixOXv8LmJJNLvIYQ9WxPNxWCCBb5rSnGD47/+AUyG21x+vo6VLT74VJ3CAIS | |
145 | + LSBdq+JMayYQb/UOF1AvM8eEnuF83svGOSucWnmLVTNXBCaZo+KmL/KbXZF79WPkXlmBU80+2Jxs0k9r | |
146 | + uCVZFzssOkIICgHxkhfFrR5IqDVAUp0E3112RkPX13ALWQSl2RNm0hrx7LqHcoXuoe+FOwQ/E6xIjphG | |
147 | + zJisOH7h52GaVAM+yPnBBd82OeFggyW+v/IpAhOMX9AadV5HKBGcDdYrTPGL1n+Re8UVB2r0caBaH/F0 | |
148 | + zb36CT4P04Ly7ImzRhfK3H78ndD5+FsREo58UkC80atNCUagKzYRQalSKj5PpNdLR/Xp4ejFpfCPMyIk | |
149 | + +Irwj6VrrOSVkb2qCiua4rlPu/9IvTMSqiWIrdJFHPHNJQcEpVnBxk3tIzZEvHWj/5BwcyBTaB84zPu4 | |
150 | + AOVWbluYk13jS0MrleZGIpp6o3D0kiPp0UNMpS6hI+pq6g6numL242DpZ3DyU8+l/ZwFQcFtp0ZTYqkD | |
151 | + EmtNEE0bmLTzUsQXrcAngQs4XE4xp1vmh19jhMu90bxPnB8fmigt9AjVfJpRb0+ZM0AcZTCuigYUU6lH | |
152 | + unRFfVFntQkdJFSZ49Pt7z1T11FYRPu5swS5FYHvp4ZmWyO5zmx0oTalzgBZ9asRkGD+0maVOn+22Ft2 | |
153 | + gg2PtSA/T1niNS90a4YEqectybDBa2Iq9Qk90qc7YrzGFH7J2lTYM/fSvrGghAkWrrPtfGMNkVRjIRqP | |
154 | + rNASyWiwRcYZGqURkoeWK+byx5uLh1uSK5mHEEcweYK8rNrHge92xJ2xIiMmZNxwhEpDcsCAMsDZMERU | |
155 | + iRnsfdR635YbN2d0r9gF7IWis//8q7tzjCmFEkSUa45QoYmspo9onrtjc4L05cpAjRw7t/lraP1sYpaD | |
156 | + +7suRg6qOnQ/XeI0Y836cC2k1duSDqMRqiQiMeRMcp0UHvs/gL6Tsg+tn0q8bkOxmAydZyzzDNdGxGkJ | |
157 | + IikL4eWLXpNFbZl30RtJxauxPdUW3nsNCQNsjpdizVbNFtqvxth5qVWE5JqRMUuqBzM6RhNyxJiyYo5d | |
158 | + eRJIPWY00jpua3GuWH/BtyNecBaUbDxVC32TtBFz1gD7yxaJsAMR5VpIofPNa+bRGkCjeo9IVUcwQo84 | |
159 | + w+6z+dtpv9o8XQWLFUELnqfU2dNMkYqG44mUOht8tGXeK3XDyfwPhGtJHOmW3jwSRoSzMFFJbYK6jbfq | |
160 | + z77JGlQLenQEWuSAFl2pLqiQ+Cxj6Cxjq4wpOlMyYo7CK75wC9Z5NGOOnDbpmGu2SiU1IM2QusiOumox | |
161 | + Us5Zwz9dFxJXJe6m6QTXjsxir+mClBDFbiP/cxK9kp/1wSStxetVmj1jFyD0+IjRyAqqYrGl2LiRmFqO | |
162 | + jqPMuLAMiUVr4bDuXTYwb6KCrIbdRrVHiZX2SD1ni/gKW1htUHk8VXW8JusnxC6y8HxHYESx3iCeBR8F | |
163 | + F4a8vKKsuuna6Sddd87HpkOLEFU2EjHDZ8tpTSTjyeeskHbOHoU069136b94X1+RP29qek7KO72idaiL | |
164 | + lsEjQgOajlN20Hv+DvBRy5zrChPM1yuLiGLprSJU39rCt2NO8HyfoWEzxcPU/Z02l+1zsSH+QwR/R9ko | |
165 | + sUByrS1Sa+0RU2qDXd+bwidJB8u3vgfJSsVk2sdhzZW6q1yPOmkLIzfF6/TMbSdOU0LmfNdewWy9kogo | |
166 | + Uk86j1FI2Ak+Dj6rKYSqukTeQf/jaekmbsqtJp8p3SbPwfC98Vqla7ou0w6qG8vxsGKN7PzUDxZPdXb2 | |
167 | + W/DiPQs5/pqyHrHtTNcpCm/y74SdGMsGOzKZYOV8Vtxy80bhyPhjxbnkNfzRGvs8c7WPffXE1BN/WsYc | |
168 | + 4dSxM6yYe/hN2EE2ILbWG/Dzm+//a3lT+e/xr/JHv42KIPwDHxb20BRI/sQAAAAASUVORK5CYII= | |
169 | +</value> | |
170 | + </data> | |
171 | + <data name="simpleButton_Work.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |
172 | + <value> | |
173 | + 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 | |
212 | + /wBqkiSvivDUAgAAAABJRU5ErkJggg== | |
213 | +</value> | |
214 | + </data> | |
215 | + <data name="simpleButton_Next.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |
216 | + <value> | |
217 | + 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 | |
243 | +</value> | |
244 | + </data> | |
245 | + <data name="simpleButton_Pre.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |
246 | + <value> | |
247 | + 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 | |
273 | + AAAAAElFTkSuQmCC | |
274 | +</value> | |
275 | + </data> | |
276 | +</root>(No newline at end of file) |
+++ KHSCALE_TP/UcWork.Designer.cs
... | ... | @@ -0,0 +1,2391 @@ |
1 | +namespace KHSCALE_TP | |
2 | +{ | |
3 | + partial class UcWork | |
4 | + { | |
5 | + /// <summary> | |
6 | + /// Required designer variable. | |
7 | + /// </summary> | |
8 | + private System.ComponentModel.IContainer components = null; | |
9 | + | |
10 | + /// <summary> | |
11 | + /// Clean up any resources being used. | |
12 | + /// </summary> | |
13 | + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | |
14 | + protected override void Dispose(bool disposing) | |
15 | + { | |
16 | + if (disposing && (components != null)) | |
17 | + { | |
18 | + components.Dispose(); | |
19 | + } | |
20 | + base.Dispose(disposing); | |
21 | + } | |
22 | + | |
23 | + #region Windows Form Designer generated code | |
24 | + | |
25 | + /// <summary> | |
26 | + /// Required method for Designer support - do not modify | |
27 | + /// the contents of this method with the code editor. | |
28 | + /// </summary> | |
29 | + private void InitializeComponent() | |
30 | + { | |
31 | + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UcWork)); | |
32 | + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); | |
33 | + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); | |
34 | + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); | |
35 | + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); | |
36 | + this.splitContainer1 = new System.Windows.Forms.SplitContainer(); | |
37 | + this.panelControl_Manu = new DevExpress.XtraEditors.PanelControl(); | |
38 | + this.panelControl7 = new DevExpress.XtraEditors.PanelControl(); | |
39 | + this.barcode = new DevExpress.XtraEditors.TextEdit(); | |
40 | + this.labelControl5 = new DevExpress.XtraEditors.LabelControl(); | |
41 | + this.panelControl6 = new DevExpress.XtraEditors.PanelControl(); | |
42 | + this.txt_state = new DevExpress.XtraEditors.TextEdit(); | |
43 | + this.labelControl6 = new DevExpress.XtraEditors.LabelControl(); | |
44 | + this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); | |
45 | + this.txt_qty = new DevExpress.XtraEditors.TextEdit(); | |
46 | + this.lable5 = new DevExpress.XtraEditors.LabelControl(); | |
47 | + this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); | |
48 | + this.txt_partnm = new DevExpress.XtraEditors.TextEdit(); | |
49 | + this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); | |
50 | + this.simpleButton_Search = new DevExpress.XtraEditors.SimpleButton(); | |
51 | + this.panelControl3 = new DevExpress.XtraEditors.PanelControl(); | |
52 | + this.txt_partno = new DevExpress.XtraEditors.TextEdit(); | |
53 | + this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); | |
54 | + this.simpleButton_ReFresh = new DevExpress.XtraEditors.SimpleButton(); | |
55 | + this.panelControl4 = new DevExpress.XtraEditors.PanelControl(); | |
56 | + this.txt_lotno = new DevExpress.XtraEditors.TextEdit(); | |
57 | + this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); | |
58 | + this.panelControl5 = new DevExpress.XtraEditors.PanelControl(); | |
59 | + this.txt_workno = new DevExpress.XtraEditors.TextEdit(); | |
60 | + this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); | |
61 | + this.simpleButton_Work = new DevExpress.XtraEditors.SimpleButton(); | |
62 | + this.panelControl36 = new DevExpress.XtraEditors.PanelControl(); | |
63 | + this.dateEdit_ORDER_DT = new DevExpress.XtraEditors.DateEdit(); | |
64 | + this.simpleButton_Next = new DevExpress.XtraEditors.SimpleButton(); | |
65 | + this.simpleButton_Pre = new DevExpress.XtraEditors.SimpleButton(); | |
66 | + this.labelControl37 = new DevExpress.XtraEditors.LabelControl(); | |
67 | + this.tabControl1 = new System.Windows.Forms.TabControl(); | |
68 | + this.tabPage1 = new System.Windows.Forms.TabPage(); | |
69 | + this.splitContainer2 = new System.Windows.Forms.SplitContainer(); | |
70 | + this.gridControl_P = new DevExpress.XtraGrid.GridControl(); | |
71 | + this.gridView_P = new DevExpress.XtraGrid.Views.Grid.GridView(); | |
72 | + this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
73 | + this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
74 | + this.gridColumn21 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
75 | + this.gridColumn28 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
76 | + this.gridColumn29 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
77 | + this.gridColumn30 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
78 | + this.gridColumn31 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
79 | + this.gridColumn32 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
80 | + this.gridColumn33 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
81 | + this.gridColumn34 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
82 | + this.gridColumn35 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
83 | + this.gridColumn36 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
84 | + this.gridColumn40 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
85 | + this.repositoryItemLookUpEdit_ORDER_UNIT_CD = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
86 | + this.repositoryItemButtonEdit_ITEM_SPEC = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); | |
87 | + this.repositoryItemLookUpEdit_ITEM_CD = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
88 | + this.repositoryItemButtonEdit_Mokh = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); | |
89 | + this.repositoryItemButtonEdit_Detail = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); | |
90 | + this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); | |
91 | + this.repositoryItemTextEdit_DataTime = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); | |
92 | + this.repositoryItemLookUpEdit_PROC = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
93 | + this.repositoryItemLookUpEdit_WORKER = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
94 | + this.repositoryItemDateEdit_END_DT = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); | |
95 | + this.repositoryItemTextEdit_RATIO = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); | |
96 | + this.repositoryItemLookUpEdit_MACH = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
97 | + this.gridControl_B = new DevExpress.XtraGrid.GridControl(); | |
98 | + this.gridView_B = new DevExpress.XtraGrid.Views.Grid.GridView(); | |
99 | + this.gridColumn42 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
100 | + this.gridColumn43 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
101 | + this.gridColumn44 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
102 | + this.gridColumn45 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
103 | + this.gridColumn46 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
104 | + this.gridColumn47 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
105 | + this.gridColumn48 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
106 | + this.gridColumn49 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
107 | + this.gridColumn50 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
108 | + this.gridColumn51 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
109 | + this.repositoryItemLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
110 | + this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); | |
111 | + this.repositoryItemLookUpEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
112 | + this.repositoryItemButtonEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); | |
113 | + this.repositoryItemButtonEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); | |
114 | + this.repositoryItemComboBox2 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); | |
115 | + this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); | |
116 | + this.repositoryItemLookUpEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
117 | + this.repositoryItemLookUpEdit4 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
118 | + this.repositoryItemDateEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); | |
119 | + this.repositoryItemTextEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); | |
120 | + this.repositoryItemLookUpEdit5 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
121 | + this.tabPage2 = new System.Windows.Forms.TabPage(); | |
122 | + this.gridControl_Main = new DevExpress.XtraGrid.GridControl(); | |
123 | + this.gridView_Main = new DevExpress.XtraGrid.Views.Grid.GridView(); | |
124 | + this.gridColumn53 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
125 | + this.gridColumn54 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
126 | + this.gridColumn55 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
127 | + this.gridColumn56 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
128 | + this.gridColumn60 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
129 | + this.gridColumn57 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
130 | + this.gridColumn58 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
131 | + this.gridColumn59 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
132 | + this.repositoryItemLookUpEdit6 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
133 | + this.repositoryItemButtonEdit4 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); | |
134 | + this.repositoryItemLookUpEdit7 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
135 | + this.repositoryItemButtonEdit5 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); | |
136 | + this.repositoryItemButtonEdit6 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); | |
137 | + this.repositoryItemComboBox3 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); | |
138 | + this.repositoryItemTextEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); | |
139 | + this.repositoryItemLookUpEdit8 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
140 | + this.repositoryItemLookUpEdit9 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
141 | + this.repositoryItemDateEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); | |
142 | + this.repositoryItemTextEdit4 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); | |
143 | + this.repositoryItemLookUpEdit10 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
144 | + this.tabPage3 = new System.Windows.Forms.TabPage(); | |
145 | + this.gridControl_note = new DevExpress.XtraGrid.GridControl(); | |
146 | + this.gridView_note = new DevExpress.XtraGrid.Views.Grid.GridView(); | |
147 | + this.gridColumn61 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
148 | + this.gridColumn62 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
149 | + this.gridColumn63 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
150 | + this.repositoryItemLookUpEdit11 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
151 | + this.repositoryItemButtonEdit7 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); | |
152 | + this.repositoryItemLookUpEdit12 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
153 | + this.repositoryItemButtonEdit8 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); | |
154 | + this.repositoryItemButtonEdit9 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); | |
155 | + this.repositoryItemComboBox4 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); | |
156 | + this.repositoryItemTextEdit5 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); | |
157 | + this.repositoryItemLookUpEdit13 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
158 | + this.repositoryItemLookUpEdit14 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
159 | + this.repositoryItemDateEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); | |
160 | + this.repositoryItemTextEdit6 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); | |
161 | + this.repositoryItemLookUpEdit15 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); | |
162 | + this.gridColumn27 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
163 | + this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
164 | + this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
165 | + this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
166 | + this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
167 | + this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
168 | + this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
169 | + this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
170 | + this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
171 | + this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
172 | + this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
173 | + this.gridColumn41 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
174 | + this.gridColumn39 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
175 | + this.gridColumn38 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
176 | + this.gridColumn37 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
177 | + this.gridColumn26 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
178 | + this.gridColumn25 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
179 | + this.gridColumn24 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
180 | + this.gridColumn23 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
181 | + this.gridColumn22 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
182 | + this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
183 | + this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
184 | + this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
185 | + this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
186 | + this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
187 | + this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
188 | + this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
189 | + this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
190 | + this.end = new DevExpress.XtraGrid.Columns.GridColumn(); | |
191 | + this.gridColumn52 = new DevExpress.XtraGrid.Columns.GridColumn(); | |
192 | + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); | |
193 | + this.splitContainer1.Panel1.SuspendLayout(); | |
194 | + this.splitContainer1.Panel2.SuspendLayout(); | |
195 | + this.splitContainer1.SuspendLayout(); | |
196 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl_Manu)).BeginInit(); | |
197 | + this.panelControl_Manu.SuspendLayout(); | |
198 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl7)).BeginInit(); | |
199 | + this.panelControl7.SuspendLayout(); | |
200 | + ((System.ComponentModel.ISupportInitialize)(this.barcode.Properties)).BeginInit(); | |
201 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl6)).BeginInit(); | |
202 | + this.panelControl6.SuspendLayout(); | |
203 | + ((System.ComponentModel.ISupportInitialize)(this.txt_state.Properties)).BeginInit(); | |
204 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); | |
205 | + this.panelControl2.SuspendLayout(); | |
206 | + ((System.ComponentModel.ISupportInitialize)(this.txt_qty.Properties)).BeginInit(); | |
207 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); | |
208 | + this.panelControl1.SuspendLayout(); | |
209 | + ((System.ComponentModel.ISupportInitialize)(this.txt_partnm.Properties)).BeginInit(); | |
210 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit(); | |
211 | + this.panelControl3.SuspendLayout(); | |
212 | + ((System.ComponentModel.ISupportInitialize)(this.txt_partno.Properties)).BeginInit(); | |
213 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit(); | |
214 | + this.panelControl4.SuspendLayout(); | |
215 | + ((System.ComponentModel.ISupportInitialize)(this.txt_lotno.Properties)).BeginInit(); | |
216 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).BeginInit(); | |
217 | + this.panelControl5.SuspendLayout(); | |
218 | + ((System.ComponentModel.ISupportInitialize)(this.txt_workno.Properties)).BeginInit(); | |
219 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl36)).BeginInit(); | |
220 | + this.panelControl36.SuspendLayout(); | |
221 | + ((System.ComponentModel.ISupportInitialize)(this.dateEdit_ORDER_DT.Properties.CalendarTimeProperties)).BeginInit(); | |
222 | + ((System.ComponentModel.ISupportInitialize)(this.dateEdit_ORDER_DT.Properties)).BeginInit(); | |
223 | + this.tabControl1.SuspendLayout(); | |
224 | + this.tabPage1.SuspendLayout(); | |
225 | + ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); | |
226 | + this.splitContainer2.Panel1.SuspendLayout(); | |
227 | + this.splitContainer2.Panel2.SuspendLayout(); | |
228 | + this.splitContainer2.SuspendLayout(); | |
229 | + ((System.ComponentModel.ISupportInitialize)(this.gridControl_P)).BeginInit(); | |
230 | + ((System.ComponentModel.ISupportInitialize)(this.gridView_P)).BeginInit(); | |
231 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_ORDER_UNIT_CD)).BeginInit(); | |
232 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit_ITEM_SPEC)).BeginInit(); | |
233 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_ITEM_CD)).BeginInit(); | |
234 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit_Mokh)).BeginInit(); | |
235 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit_Detail)).BeginInit(); | |
236 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit(); | |
237 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit_DataTime)).BeginInit(); | |
238 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_PROC)).BeginInit(); | |
239 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_WORKER)).BeginInit(); | |
240 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit_END_DT)).BeginInit(); | |
241 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit_END_DT.CalendarTimeProperties)).BeginInit(); | |
242 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit_RATIO)).BeginInit(); | |
243 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_MACH)).BeginInit(); | |
244 | + ((System.ComponentModel.ISupportInitialize)(this.gridControl_B)).BeginInit(); | |
245 | + ((System.ComponentModel.ISupportInitialize)(this.gridView_B)).BeginInit(); | |
246 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).BeginInit(); | |
247 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); | |
248 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit2)).BeginInit(); | |
249 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit2)).BeginInit(); | |
250 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit3)).BeginInit(); | |
251 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).BeginInit(); | |
252 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit(); | |
253 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit3)).BeginInit(); | |
254 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit4)).BeginInit(); | |
255 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).BeginInit(); | |
256 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).BeginInit(); | |
257 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).BeginInit(); | |
258 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit5)).BeginInit(); | |
259 | + this.tabPage2.SuspendLayout(); | |
260 | + ((System.ComponentModel.ISupportInitialize)(this.gridControl_Main)).BeginInit(); | |
261 | + ((System.ComponentModel.ISupportInitialize)(this.gridView_Main)).BeginInit(); | |
262 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit6)).BeginInit(); | |
263 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit4)).BeginInit(); | |
264 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit7)).BeginInit(); | |
265 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit5)).BeginInit(); | |
266 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit6)).BeginInit(); | |
267 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox3)).BeginInit(); | |
268 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit3)).BeginInit(); | |
269 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit8)).BeginInit(); | |
270 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit9)).BeginInit(); | |
271 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).BeginInit(); | |
272 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).BeginInit(); | |
273 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit4)).BeginInit(); | |
274 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit10)).BeginInit(); | |
275 | + this.tabPage3.SuspendLayout(); | |
276 | + ((System.ComponentModel.ISupportInitialize)(this.gridControl_note)).BeginInit(); | |
277 | + ((System.ComponentModel.ISupportInitialize)(this.gridView_note)).BeginInit(); | |
278 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit11)).BeginInit(); | |
279 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit7)).BeginInit(); | |
280 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit12)).BeginInit(); | |
281 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit8)).BeginInit(); | |
282 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit9)).BeginInit(); | |
283 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox4)).BeginInit(); | |
284 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit5)).BeginInit(); | |
285 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit13)).BeginInit(); | |
286 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit14)).BeginInit(); | |
287 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3)).BeginInit(); | |
288 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3.CalendarTimeProperties)).BeginInit(); | |
289 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit6)).BeginInit(); | |
290 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit15)).BeginInit(); | |
291 | + this.SuspendLayout(); | |
292 | + // | |
293 | + // splitContainer1 | |
294 | + // | |
295 | + this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; | |
296 | + this.splitContainer1.IsSplitterFixed = true; | |
297 | + this.splitContainer1.Location = new System.Drawing.Point(0, 0); | |
298 | + this.splitContainer1.Margin = new System.Windows.Forms.Padding(0); | |
299 | + this.splitContainer1.Name = "splitContainer1"; | |
300 | + this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; | |
301 | + // | |
302 | + // splitContainer1.Panel1 | |
303 | + // | |
304 | + this.splitContainer1.Panel1.Controls.Add(this.panelControl_Manu); | |
305 | + // | |
306 | + // splitContainer1.Panel2 | |
307 | + // | |
308 | + this.splitContainer1.Panel2.Controls.Add(this.tabControl1); | |
309 | + this.splitContainer1.Size = new System.Drawing.Size(1024, 550); | |
310 | + this.splitContainer1.SplitterDistance = 197; | |
311 | + this.splitContainer1.TabIndex = 0; | |
312 | + // | |
313 | + // panelControl_Manu | |
314 | + // | |
315 | + this.panelControl_Manu.Controls.Add(this.panelControl7); | |
316 | + this.panelControl_Manu.Controls.Add(this.panelControl6); | |
317 | + this.panelControl_Manu.Controls.Add(this.panelControl2); | |
318 | + this.panelControl_Manu.Controls.Add(this.panelControl1); | |
319 | + this.panelControl_Manu.Controls.Add(this.simpleButton_Search); | |
320 | + this.panelControl_Manu.Controls.Add(this.panelControl3); | |
321 | + this.panelControl_Manu.Controls.Add(this.simpleButton_ReFresh); | |
322 | + this.panelControl_Manu.Controls.Add(this.panelControl4); | |
323 | + this.panelControl_Manu.Controls.Add(this.panelControl5); | |
324 | + this.panelControl_Manu.Controls.Add(this.simpleButton_Work); | |
325 | + this.panelControl_Manu.Controls.Add(this.panelControl36); | |
326 | + this.panelControl_Manu.Dock = System.Windows.Forms.DockStyle.Top; | |
327 | + this.panelControl_Manu.Location = new System.Drawing.Point(0, 0); | |
328 | + this.panelControl_Manu.Name = "panelControl_Manu"; | |
329 | + this.panelControl_Manu.Size = new System.Drawing.Size(1024, 197); | |
330 | + this.panelControl_Manu.TabIndex = 25; | |
331 | + // | |
332 | + // panelControl7 | |
333 | + // | |
334 | + this.panelControl7.Controls.Add(this.barcode); | |
335 | + this.panelControl7.Controls.Add(this.labelControl5); | |
336 | + this.panelControl7.Location = new System.Drawing.Point(311, 5); | |
337 | + this.panelControl7.Name = "panelControl7"; | |
338 | + this.panelControl7.Size = new System.Drawing.Size(301, 40); | |
339 | + this.panelControl7.TabIndex = 115; | |
340 | + this.panelControl7.TabStop = true; | |
341 | + // | |
342 | + // barcode | |
343 | + // | |
344 | + this.barcode.Dock = System.Windows.Forms.DockStyle.Fill; | |
345 | + this.barcode.EditValue = ""; | |
346 | + this.barcode.ImeMode = System.Windows.Forms.ImeMode.NoControl; | |
347 | + this.barcode.Location = new System.Drawing.Point(80, 2); | |
348 | + this.barcode.Name = "barcode"; | |
349 | + this.barcode.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
350 | + this.barcode.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
351 | + this.barcode.Properties.Appearance.Options.UseBackColor = true; | |
352 | + this.barcode.Properties.Appearance.Options.UseFont = true; | |
353 | + this.barcode.Properties.AutoHeight = false; | |
354 | + this.barcode.Size = new System.Drawing.Size(219, 36); | |
355 | + this.barcode.TabIndex = 1; | |
356 | + this.barcode.KeyUp += new System.Windows.Forms.KeyEventHandler(this.barcode_KeyUp); | |
357 | + // | |
358 | + // labelControl5 | |
359 | + // | |
360 | + this.labelControl5.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
361 | + this.labelControl5.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
362 | + this.labelControl5.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
363 | + this.labelControl5.Dock = System.Windows.Forms.DockStyle.Left; | |
364 | + this.labelControl5.Location = new System.Drawing.Point(2, 2); | |
365 | + this.labelControl5.Name = "labelControl5"; | |
366 | + this.labelControl5.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
367 | + this.labelControl5.Size = new System.Drawing.Size(78, 36); | |
368 | + this.labelControl5.TabIndex = 0; | |
369 | + this.labelControl5.Text = "바코드"; | |
370 | + // | |
371 | + // panelControl6 | |
372 | + // | |
373 | + this.panelControl6.Controls.Add(this.txt_state); | |
374 | + this.panelControl6.Controls.Add(this.labelControl6); | |
375 | + this.panelControl6.Location = new System.Drawing.Point(311, 149); | |
376 | + this.panelControl6.Name = "panelControl6"; | |
377 | + this.panelControl6.Size = new System.Drawing.Size(301, 40); | |
378 | + this.panelControl6.TabIndex = 114; | |
379 | + this.panelControl6.TabStop = true; | |
380 | + // | |
381 | + // txt_state | |
382 | + // | |
383 | + this.txt_state.Dock = System.Windows.Forms.DockStyle.Fill; | |
384 | + this.txt_state.Enabled = false; | |
385 | + this.txt_state.Location = new System.Drawing.Point(80, 2); | |
386 | + this.txt_state.Name = "txt_state"; | |
387 | + this.txt_state.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
388 | + this.txt_state.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
389 | + this.txt_state.Properties.Appearance.Options.UseBackColor = true; | |
390 | + this.txt_state.Properties.Appearance.Options.UseFont = true; | |
391 | + this.txt_state.Properties.AutoHeight = false; | |
392 | + this.txt_state.Properties.ReadOnly = true; | |
393 | + this.txt_state.Size = new System.Drawing.Size(219, 36); | |
394 | + this.txt_state.TabIndex = 1; | |
395 | + // | |
396 | + // labelControl6 | |
397 | + // | |
398 | + this.labelControl6.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
399 | + this.labelControl6.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
400 | + this.labelControl6.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
401 | + this.labelControl6.Dock = System.Windows.Forms.DockStyle.Left; | |
402 | + this.labelControl6.Location = new System.Drawing.Point(2, 2); | |
403 | + this.labelControl6.Name = "labelControl6"; | |
404 | + this.labelControl6.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
405 | + this.labelControl6.Size = new System.Drawing.Size(78, 36); | |
406 | + this.labelControl6.TabIndex = 0; | |
407 | + this.labelControl6.Text = "작지 상태"; | |
408 | + // | |
409 | + // panelControl2 | |
410 | + // | |
411 | + this.panelControl2.Controls.Add(this.txt_qty); | |
412 | + this.panelControl2.Controls.Add(this.lable5); | |
413 | + this.panelControl2.Location = new System.Drawing.Point(5, 149); | |
414 | + this.panelControl2.Name = "panelControl2"; | |
415 | + this.panelControl2.Size = new System.Drawing.Size(302, 40); | |
416 | + this.panelControl2.TabIndex = 114; | |
417 | + this.panelControl2.TabStop = true; | |
418 | + // | |
419 | + // txt_qty | |
420 | + // | |
421 | + this.txt_qty.Dock = System.Windows.Forms.DockStyle.Fill; | |
422 | + this.txt_qty.Enabled = false; | |
423 | + this.txt_qty.Location = new System.Drawing.Point(80, 2); | |
424 | + this.txt_qty.Name = "txt_qty"; | |
425 | + this.txt_qty.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
426 | + this.txt_qty.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
427 | + this.txt_qty.Properties.Appearance.Options.UseBackColor = true; | |
428 | + this.txt_qty.Properties.Appearance.Options.UseFont = true; | |
429 | + this.txt_qty.Properties.AutoHeight = false; | |
430 | + this.txt_qty.Properties.ReadOnly = true; | |
431 | + this.txt_qty.Size = new System.Drawing.Size(220, 36); | |
432 | + this.txt_qty.TabIndex = 1; | |
433 | + // | |
434 | + // lable5 | |
435 | + // | |
436 | + this.lable5.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
437 | + this.lable5.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
438 | + this.lable5.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
439 | + this.lable5.Dock = System.Windows.Forms.DockStyle.Left; | |
440 | + this.lable5.Location = new System.Drawing.Point(2, 2); | |
441 | + this.lable5.Name = "lable5"; | |
442 | + this.lable5.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
443 | + this.lable5.Size = new System.Drawing.Size(78, 36); | |
444 | + this.lable5.TabIndex = 0; | |
445 | + this.lable5.Text = "수량(단위)"; | |
446 | + // | |
447 | + // panelControl1 | |
448 | + // | |
449 | + this.panelControl1.Controls.Add(this.txt_partnm); | |
450 | + this.panelControl1.Controls.Add(this.labelControl1); | |
451 | + this.panelControl1.Location = new System.Drawing.Point(311, 103); | |
452 | + this.panelControl1.Name = "panelControl1"; | |
453 | + this.panelControl1.Size = new System.Drawing.Size(301, 40); | |
454 | + this.panelControl1.TabIndex = 113; | |
455 | + this.panelControl1.TabStop = true; | |
456 | + // | |
457 | + // txt_partnm | |
458 | + // | |
459 | + this.txt_partnm.Dock = System.Windows.Forms.DockStyle.Fill; | |
460 | + this.txt_partnm.Enabled = false; | |
461 | + this.txt_partnm.Location = new System.Drawing.Point(80, 2); | |
462 | + this.txt_partnm.Name = "txt_partnm"; | |
463 | + this.txt_partnm.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
464 | + this.txt_partnm.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
465 | + this.txt_partnm.Properties.Appearance.Options.UseBackColor = true; | |
466 | + this.txt_partnm.Properties.Appearance.Options.UseFont = true; | |
467 | + this.txt_partnm.Properties.AutoHeight = false; | |
468 | + this.txt_partnm.Properties.ReadOnly = true; | |
469 | + this.txt_partnm.Size = new System.Drawing.Size(219, 36); | |
470 | + this.txt_partnm.TabIndex = 1; | |
471 | + // | |
472 | + // labelControl1 | |
473 | + // | |
474 | + this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
475 | + this.labelControl1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
476 | + this.labelControl1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
477 | + this.labelControl1.Dock = System.Windows.Forms.DockStyle.Left; | |
478 | + this.labelControl1.Location = new System.Drawing.Point(2, 2); | |
479 | + this.labelControl1.Name = "labelControl1"; | |
480 | + this.labelControl1.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
481 | + this.labelControl1.Size = new System.Drawing.Size(78, 36); | |
482 | + this.labelControl1.TabIndex = 0; | |
483 | + this.labelControl1.Text = "품목명"; | |
484 | + // | |
485 | + // simpleButton_Search | |
486 | + // | |
487 | + this.simpleButton_Search.Appearance.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
488 | + this.simpleButton_Search.Appearance.Options.UseFont = true; | |
489 | + this.simpleButton_Search.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton_Search.Image"))); | |
490 | + this.simpleButton_Search.Location = new System.Drawing.Point(618, 7); | |
491 | + this.simpleButton_Search.Name = "simpleButton_Search"; | |
492 | + this.simpleButton_Search.Size = new System.Drawing.Size(140, 155); | |
493 | + this.simpleButton_Search.TabIndex = 112; | |
494 | + this.simpleButton_Search.Text = "작업지시 \r\n검색"; | |
495 | + this.simpleButton_Search.Click += new System.EventHandler(this.simpleButton_Search_Click); | |
496 | + // | |
497 | + // panelControl3 | |
498 | + // | |
499 | + this.panelControl3.Controls.Add(this.txt_partno); | |
500 | + this.panelControl3.Controls.Add(this.labelControl2); | |
501 | + this.panelControl3.Location = new System.Drawing.Point(5, 103); | |
502 | + this.panelControl3.Name = "panelControl3"; | |
503 | + this.panelControl3.Size = new System.Drawing.Size(302, 40); | |
504 | + this.panelControl3.TabIndex = 111; | |
505 | + this.panelControl3.TabStop = true; | |
506 | + // | |
507 | + // txt_partno | |
508 | + // | |
509 | + this.txt_partno.Dock = System.Windows.Forms.DockStyle.Fill; | |
510 | + this.txt_partno.Enabled = false; | |
511 | + this.txt_partno.Location = new System.Drawing.Point(80, 2); | |
512 | + this.txt_partno.Name = "txt_partno"; | |
513 | + this.txt_partno.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
514 | + this.txt_partno.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
515 | + this.txt_partno.Properties.Appearance.Options.UseBackColor = true; | |
516 | + this.txt_partno.Properties.Appearance.Options.UseFont = true; | |
517 | + this.txt_partno.Properties.AutoHeight = false; | |
518 | + this.txt_partno.Properties.ReadOnly = true; | |
519 | + this.txt_partno.Size = new System.Drawing.Size(220, 36); | |
520 | + this.txt_partno.TabIndex = 1; | |
521 | + // | |
522 | + // labelControl2 | |
523 | + // | |
524 | + this.labelControl2.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
525 | + this.labelControl2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
526 | + this.labelControl2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
527 | + this.labelControl2.Dock = System.Windows.Forms.DockStyle.Left; | |
528 | + this.labelControl2.Location = new System.Drawing.Point(2, 2); | |
529 | + this.labelControl2.Name = "labelControl2"; | |
530 | + this.labelControl2.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
531 | + this.labelControl2.Size = new System.Drawing.Size(78, 36); | |
532 | + this.labelControl2.TabIndex = 0; | |
533 | + this.labelControl2.Text = "생산 품번"; | |
534 | + // | |
535 | + // simpleButton_ReFresh | |
536 | + // | |
537 | + this.simpleButton_ReFresh.Appearance.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
538 | + this.simpleButton_ReFresh.Appearance.Options.UseFont = true; | |
539 | + this.simpleButton_ReFresh.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton_ReFresh.Image"))); | |
540 | + this.simpleButton_ReFresh.Location = new System.Drawing.Point(764, 7); | |
541 | + this.simpleButton_ReFresh.Name = "simpleButton_ReFresh"; | |
542 | + this.simpleButton_ReFresh.Size = new System.Drawing.Size(106, 155); | |
543 | + this.simpleButton_ReFresh.TabIndex = 110; | |
544 | + this.simpleButton_ReFresh.Text = "새로\r\n고침"; | |
545 | + this.simpleButton_ReFresh.Click += new System.EventHandler(this.simpleButton_ReFresh_Click); | |
546 | + // | |
547 | + // panelControl4 | |
548 | + // | |
549 | + this.panelControl4.Controls.Add(this.txt_lotno); | |
550 | + this.panelControl4.Controls.Add(this.labelControl3); | |
551 | + this.panelControl4.Location = new System.Drawing.Point(311, 56); | |
552 | + this.panelControl4.Name = "panelControl4"; | |
553 | + this.panelControl4.Size = new System.Drawing.Size(301, 40); | |
554 | + this.panelControl4.TabIndex = 109; | |
555 | + this.panelControl4.TabStop = true; | |
556 | + // | |
557 | + // txt_lotno | |
558 | + // | |
559 | + this.txt_lotno.Dock = System.Windows.Forms.DockStyle.Fill; | |
560 | + this.txt_lotno.Enabled = false; | |
561 | + this.txt_lotno.Location = new System.Drawing.Point(80, 2); | |
562 | + this.txt_lotno.Name = "txt_lotno"; | |
563 | + this.txt_lotno.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
564 | + this.txt_lotno.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
565 | + this.txt_lotno.Properties.Appearance.Options.UseBackColor = true; | |
566 | + this.txt_lotno.Properties.Appearance.Options.UseFont = true; | |
567 | + this.txt_lotno.Properties.AutoHeight = false; | |
568 | + this.txt_lotno.Properties.ReadOnly = true; | |
569 | + this.txt_lotno.Size = new System.Drawing.Size(219, 36); | |
570 | + this.txt_lotno.TabIndex = 1; | |
571 | + // | |
572 | + // labelControl3 | |
573 | + // | |
574 | + this.labelControl3.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
575 | + this.labelControl3.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
576 | + this.labelControl3.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
577 | + this.labelControl3.Dock = System.Windows.Forms.DockStyle.Left; | |
578 | + this.labelControl3.Location = new System.Drawing.Point(2, 2); | |
579 | + this.labelControl3.Name = "labelControl3"; | |
580 | + this.labelControl3.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
581 | + this.labelControl3.Size = new System.Drawing.Size(78, 36); | |
582 | + this.labelControl3.TabIndex = 0; | |
583 | + this.labelControl3.Text = "LOT"; | |
584 | + // | |
585 | + // panelControl5 | |
586 | + // | |
587 | + this.panelControl5.Controls.Add(this.txt_workno); | |
588 | + this.panelControl5.Controls.Add(this.labelControl4); | |
589 | + this.panelControl5.Location = new System.Drawing.Point(5, 56); | |
590 | + this.panelControl5.Name = "panelControl5"; | |
591 | + this.panelControl5.Size = new System.Drawing.Size(302, 40); | |
592 | + this.panelControl5.TabIndex = 108; | |
593 | + this.panelControl5.TabStop = true; | |
594 | + // | |
595 | + // txt_workno | |
596 | + // | |
597 | + this.txt_workno.Dock = System.Windows.Forms.DockStyle.Fill; | |
598 | + this.txt_workno.Enabled = false; | |
599 | + this.txt_workno.Location = new System.Drawing.Point(80, 2); | |
600 | + this.txt_workno.Name = "txt_workno"; | |
601 | + this.txt_workno.Properties.Appearance.BackColor = System.Drawing.Color.White; | |
602 | + this.txt_workno.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
603 | + this.txt_workno.Properties.Appearance.Options.UseBackColor = true; | |
604 | + this.txt_workno.Properties.Appearance.Options.UseFont = true; | |
605 | + this.txt_workno.Properties.AutoHeight = false; | |
606 | + this.txt_workno.Properties.ReadOnly = true; | |
607 | + this.txt_workno.Size = new System.Drawing.Size(220, 36); | |
608 | + this.txt_workno.TabIndex = 1; | |
609 | + // | |
610 | + // labelControl4 | |
611 | + // | |
612 | + this.labelControl4.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
613 | + this.labelControl4.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
614 | + this.labelControl4.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
615 | + this.labelControl4.Dock = System.Windows.Forms.DockStyle.Left; | |
616 | + this.labelControl4.Location = new System.Drawing.Point(2, 2); | |
617 | + this.labelControl4.Name = "labelControl4"; | |
618 | + this.labelControl4.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
619 | + this.labelControl4.Size = new System.Drawing.Size(78, 36); | |
620 | + this.labelControl4.TabIndex = 0; | |
621 | + this.labelControl4.Text = "생산 오더"; | |
622 | + // | |
623 | + // simpleButton_Work | |
624 | + // | |
625 | + this.simpleButton_Work.Appearance.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
626 | + this.simpleButton_Work.Appearance.Options.UseFont = true; | |
627 | + this.simpleButton_Work.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton_Work.Image"))); | |
628 | + this.simpleButton_Work.Location = new System.Drawing.Point(876, 7); | |
629 | + this.simpleButton_Work.Name = "simpleButton_Work"; | |
630 | + this.simpleButton_Work.Size = new System.Drawing.Size(143, 155); | |
631 | + this.simpleButton_Work.TabIndex = 107; | |
632 | + this.simpleButton_Work.Text = "작업저장"; | |
633 | + this.simpleButton_Work.Click += new System.EventHandler(this.simpleButton_Work_Click); | |
634 | + // | |
635 | + // panelControl36 | |
636 | + // | |
637 | + this.panelControl36.Controls.Add(this.dateEdit_ORDER_DT); | |
638 | + this.panelControl36.Controls.Add(this.simpleButton_Next); | |
639 | + this.panelControl36.Controls.Add(this.simpleButton_Pre); | |
640 | + this.panelControl36.Controls.Add(this.labelControl37); | |
641 | + this.panelControl36.Location = new System.Drawing.Point(5, 5); | |
642 | + this.panelControl36.Name = "panelControl36"; | |
643 | + this.panelControl36.Size = new System.Drawing.Size(300, 40); | |
644 | + this.panelControl36.TabIndex = 104; | |
645 | + this.panelControl36.TabStop = true; | |
646 | + // | |
647 | + // dateEdit_ORDER_DT | |
648 | + // | |
649 | + this.dateEdit_ORDER_DT.Dock = System.Windows.Forms.DockStyle.Fill; | |
650 | + this.dateEdit_ORDER_DT.EditValue = new System.DateTime(2020, 12, 30, 0, 0, 0, 0); | |
651 | + this.dateEdit_ORDER_DT.Location = new System.Drawing.Point(115, 2); | |
652 | + this.dateEdit_ORDER_DT.Name = "dateEdit_ORDER_DT"; | |
653 | + this.dateEdit_ORDER_DT.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
654 | + this.dateEdit_ORDER_DT.Properties.Appearance.Options.UseFont = true; | |
655 | + this.dateEdit_ORDER_DT.Properties.Appearance.Options.UseTextOptions = true; | |
656 | + this.dateEdit_ORDER_DT.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
657 | + this.dateEdit_ORDER_DT.Properties.AppearanceFocused.Options.UseTextOptions = true; | |
658 | + this.dateEdit_ORDER_DT.Properties.AppearanceFocused.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
659 | + this.dateEdit_ORDER_DT.Properties.AutoHeight = false; | |
660 | + this.dateEdit_ORDER_DT.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
661 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
662 | + this.dateEdit_ORDER_DT.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
663 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
664 | + this.dateEdit_ORDER_DT.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.DateTimeAdvancingCaret; | |
665 | + this.dateEdit_ORDER_DT.Properties.Mask.UseMaskAsDisplayFormat = true; | |
666 | + this.dateEdit_ORDER_DT.Size = new System.Drawing.Size(148, 36); | |
667 | + this.dateEdit_ORDER_DT.TabIndex = 107; | |
668 | + // | |
669 | + // simpleButton_Next | |
670 | + // | |
671 | + this.simpleButton_Next.Dock = System.Windows.Forms.DockStyle.Right; | |
672 | + this.simpleButton_Next.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton_Next.Image"))); | |
673 | + this.simpleButton_Next.Location = new System.Drawing.Point(263, 2); | |
674 | + this.simpleButton_Next.Name = "simpleButton_Next"; | |
675 | + this.simpleButton_Next.Size = new System.Drawing.Size(35, 36); | |
676 | + this.simpleButton_Next.TabIndex = 106; | |
677 | + // | |
678 | + // simpleButton_Pre | |
679 | + // | |
680 | + this.simpleButton_Pre.Dock = System.Windows.Forms.DockStyle.Left; | |
681 | + this.simpleButton_Pre.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton_Pre.Image"))); | |
682 | + this.simpleButton_Pre.Location = new System.Drawing.Point(80, 2); | |
683 | + this.simpleButton_Pre.Name = "simpleButton_Pre"; | |
684 | + this.simpleButton_Pre.Size = new System.Drawing.Size(35, 36); | |
685 | + this.simpleButton_Pre.TabIndex = 105; | |
686 | + // | |
687 | + // labelControl37 | |
688 | + // | |
689 | + this.labelControl37.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
690 | + this.labelControl37.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
691 | + this.labelControl37.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; | |
692 | + this.labelControl37.Dock = System.Windows.Forms.DockStyle.Left; | |
693 | + this.labelControl37.Location = new System.Drawing.Point(2, 2); | |
694 | + this.labelControl37.Name = "labelControl37"; | |
695 | + this.labelControl37.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); | |
696 | + this.labelControl37.Size = new System.Drawing.Size(78, 36); | |
697 | + this.labelControl37.TabIndex = 0; | |
698 | + this.labelControl37.Text = "작업 일자"; | |
699 | + // | |
700 | + // tabControl1 | |
701 | + // | |
702 | + this.tabControl1.Controls.Add(this.tabPage1); | |
703 | + this.tabControl1.Controls.Add(this.tabPage2); | |
704 | + this.tabControl1.Controls.Add(this.tabPage3); | |
705 | + this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; | |
706 | + this.tabControl1.HotTrack = true; | |
707 | + this.tabControl1.ItemSize = new System.Drawing.Size(300, 50); | |
708 | + this.tabControl1.Location = new System.Drawing.Point(0, 0); | |
709 | + this.tabControl1.Name = "tabControl1"; | |
710 | + this.tabControl1.SelectedIndex = 0; | |
711 | + this.tabControl1.Size = new System.Drawing.Size(1024, 349); | |
712 | + this.tabControl1.TabIndex = 0; | |
713 | + // | |
714 | + // tabPage1 | |
715 | + // | |
716 | + this.tabPage1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(236)))), ((int)(((byte)(239))))); | |
717 | + this.tabPage1.Controls.Add(this.splitContainer2); | |
718 | + this.tabPage1.Location = new System.Drawing.Point(4, 54); | |
719 | + this.tabPage1.Name = "tabPage1"; | |
720 | + this.tabPage1.Padding = new System.Windows.Forms.Padding(3); | |
721 | + this.tabPage1.Size = new System.Drawing.Size(1016, 291); | |
722 | + this.tabPage1.TabIndex = 0; | |
723 | + this.tabPage1.Text = "공정 및 포장"; | |
724 | + // | |
725 | + // splitContainer2 | |
726 | + // | |
727 | + this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; | |
728 | + this.splitContainer2.Location = new System.Drawing.Point(3, 3); | |
729 | + this.splitContainer2.Name = "splitContainer2"; | |
730 | + this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal; | |
731 | + // | |
732 | + // splitContainer2.Panel1 | |
733 | + // | |
734 | + this.splitContainer2.Panel1.Controls.Add(this.gridControl_P); | |
735 | + // | |
736 | + // splitContainer2.Panel2 | |
737 | + // | |
738 | + this.splitContainer2.Panel2.Controls.Add(this.gridControl_B); | |
739 | + this.splitContainer2.Size = new System.Drawing.Size(1010, 285); | |
740 | + this.splitContainer2.SplitterDistance = 140; | |
741 | + this.splitContainer2.TabIndex = 0; | |
742 | + // | |
743 | + // gridControl_P | |
744 | + // | |
745 | + this.gridControl_P.Dock = System.Windows.Forms.DockStyle.Fill; | |
746 | + this.gridControl_P.Location = new System.Drawing.Point(0, 0); | |
747 | + this.gridControl_P.MainView = this.gridView_P; | |
748 | + this.gridControl_P.Name = "gridControl_P"; | |
749 | + this.gridControl_P.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { | |
750 | + this.repositoryItemLookUpEdit_ORDER_UNIT_CD, | |
751 | + this.repositoryItemButtonEdit_ITEM_SPEC, | |
752 | + this.repositoryItemLookUpEdit_ITEM_CD, | |
753 | + this.repositoryItemButtonEdit_Mokh, | |
754 | + this.repositoryItemButtonEdit_Detail, | |
755 | + this.repositoryItemComboBox1, | |
756 | + this.repositoryItemTextEdit_DataTime, | |
757 | + this.repositoryItemLookUpEdit_PROC, | |
758 | + this.repositoryItemLookUpEdit_WORKER, | |
759 | + this.repositoryItemDateEdit_END_DT, | |
760 | + this.repositoryItemTextEdit_RATIO, | |
761 | + this.repositoryItemLookUpEdit_MACH}); | |
762 | + this.gridControl_P.Size = new System.Drawing.Size(1010, 140); | |
763 | + this.gridControl_P.TabIndex = 122; | |
764 | + this.gridControl_P.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { | |
765 | + this.gridView_P}); | |
766 | + // | |
767 | + // gridView_P | |
768 | + // | |
769 | + this.gridView_P.Appearance.FooterPanel.Options.UseFont = true; | |
770 | + this.gridView_P.Appearance.HeaderPanel.Options.UseFont = true; | |
771 | + this.gridView_P.Appearance.HeaderPanel.Options.UseTextOptions = true; | |
772 | + this.gridView_P.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
773 | + this.gridView_P.Appearance.Row.Options.UseFont = true; | |
774 | + this.gridView_P.ColumnPanelRowHeight = 40; | |
775 | + this.gridView_P.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { | |
776 | + this.gridColumn9, | |
777 | + this.gridColumn16, | |
778 | + this.gridColumn21, | |
779 | + this.gridColumn28, | |
780 | + this.gridColumn29, | |
781 | + this.gridColumn30, | |
782 | + this.gridColumn31, | |
783 | + this.gridColumn32, | |
784 | + this.gridColumn33, | |
785 | + this.gridColumn34, | |
786 | + this.gridColumn35, | |
787 | + this.gridColumn36, | |
788 | + this.gridColumn40}); | |
789 | + this.gridView_P.FooterPanelHeight = 23; | |
790 | + this.gridView_P.GridControl = this.gridControl_P; | |
791 | + this.gridView_P.Name = "gridView_P"; | |
792 | + this.gridView_P.OptionsCustomization.AllowSort = false; | |
793 | + this.gridView_P.OptionsNavigation.EnterMoveNextColumn = true; | |
794 | + this.gridView_P.OptionsView.ColumnAutoWidth = false; | |
795 | + this.gridView_P.OptionsView.ShowGroupPanel = false; | |
796 | + this.gridView_P.RowHeight = 40; | |
797 | + // | |
798 | + // gridColumn9 | |
799 | + // | |
800 | + this.gridColumn9.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
801 | + this.gridColumn9.AppearanceCell.Options.UseFont = true; | |
802 | + this.gridColumn9.AppearanceCell.Options.UseTextOptions = true; | |
803 | + this.gridColumn9.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
804 | + this.gridColumn9.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
805 | + this.gridColumn9.AppearanceHeader.Options.UseFont = true; | |
806 | + this.gridColumn9.Caption = "공정"; | |
807 | + this.gridColumn9.FieldName = "operation"; | |
808 | + this.gridColumn9.Name = "gridColumn9"; | |
809 | + this.gridColumn9.OptionsColumn.AllowEdit = false; | |
810 | + this.gridColumn9.OptionsColumn.AllowFocus = false; | |
811 | + this.gridColumn9.Visible = true; | |
812 | + this.gridColumn9.VisibleIndex = 0; | |
813 | + this.gridColumn9.Width = 85; | |
814 | + // | |
815 | + // gridColumn16 | |
816 | + // | |
817 | + this.gridColumn16.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
818 | + this.gridColumn16.AppearanceCell.Options.UseFont = true; | |
819 | + this.gridColumn16.AppearanceCell.Options.UseTextOptions = true; | |
820 | + this.gridColumn16.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
821 | + this.gridColumn16.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
822 | + this.gridColumn16.AppearanceHeader.Options.UseFont = true; | |
823 | + this.gridColumn16.Caption = "작업장"; | |
824 | + this.gridColumn16.FieldName = "workcenter"; | |
825 | + this.gridColumn16.Name = "gridColumn16"; | |
826 | + this.gridColumn16.OptionsColumn.AllowEdit = false; | |
827 | + this.gridColumn16.OptionsColumn.AllowFocus = false; | |
828 | + this.gridColumn16.Visible = true; | |
829 | + this.gridColumn16.VisibleIndex = 1; | |
830 | + this.gridColumn16.Width = 225; | |
831 | + // | |
832 | + // gridColumn21 | |
833 | + // | |
834 | + this.gridColumn21.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
835 | + this.gridColumn21.AppearanceCell.Options.UseFont = true; | |
836 | + this.gridColumn21.AppearanceCell.Options.UseTextOptions = true; | |
837 | + this.gridColumn21.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
838 | + this.gridColumn21.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
839 | + this.gridColumn21.AppearanceHeader.Options.UseFont = true; | |
840 | + this.gridColumn21.Caption = "작업장이니셜"; | |
841 | + this.gridColumn21.FieldName = "initial_name"; | |
842 | + this.gridColumn21.Name = "gridColumn21"; | |
843 | + this.gridColumn21.OptionsColumn.AllowEdit = false; | |
844 | + this.gridColumn21.OptionsColumn.AllowFocus = false; | |
845 | + this.gridColumn21.Visible = true; | |
846 | + this.gridColumn21.VisibleIndex = 2; | |
847 | + this.gridColumn21.Width = 147; | |
848 | + // | |
849 | + // gridColumn28 | |
850 | + // | |
851 | + this.gridColumn28.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
852 | + this.gridColumn28.AppearanceCell.Options.UseFont = true; | |
853 | + this.gridColumn28.AppearanceCell.Options.UseTextOptions = true; | |
854 | + this.gridColumn28.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
855 | + this.gridColumn28.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
856 | + this.gridColumn28.AppearanceHeader.Options.UseFont = true; | |
857 | + this.gridColumn28.Caption = "공정코드"; | |
858 | + this.gridColumn28.FieldName = "process_key"; | |
859 | + this.gridColumn28.Name = "gridColumn28"; | |
860 | + this.gridColumn28.OptionsColumn.AllowEdit = false; | |
861 | + this.gridColumn28.OptionsColumn.AllowFocus = false; | |
862 | + this.gridColumn28.Visible = true; | |
863 | + this.gridColumn28.VisibleIndex = 3; | |
864 | + this.gridColumn28.Width = 164; | |
865 | + // | |
866 | + // gridColumn29 | |
867 | + // | |
868 | + this.gridColumn29.Caption = "셋업시간"; | |
869 | + this.gridColumn29.FieldName = "setup_hours"; | |
870 | + this.gridColumn29.Name = "gridColumn29"; | |
871 | + // | |
872 | + // gridColumn30 | |
873 | + // | |
874 | + this.gridColumn30.Caption = "표준작업시간"; | |
875 | + this.gridColumn30.FieldName = "std_hours"; | |
876 | + this.gridColumn30.Name = "gridColumn30"; | |
877 | + // | |
878 | + // gridColumn31 | |
879 | + // | |
880 | + this.gridColumn31.Caption = "시간유형"; | |
881 | + this.gridColumn31.FieldName = "st_type"; | |
882 | + this.gridColumn31.Name = "gridColumn31"; | |
883 | + // | |
884 | + // gridColumn32 | |
885 | + // | |
886 | + this.gridColumn32.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
887 | + this.gridColumn32.AppearanceCell.Options.UseFont = true; | |
888 | + this.gridColumn32.AppearanceCell.Options.UseTextOptions = true; | |
889 | + this.gridColumn32.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
890 | + this.gridColumn32.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
891 | + this.gridColumn32.AppearanceHeader.Options.UseFont = true; | |
892 | + this.gridColumn32.Caption = "작업조"; | |
893 | + this.gridColumn32.FieldName = "employee_group"; | |
894 | + this.gridColumn32.Name = "gridColumn32"; | |
895 | + this.gridColumn32.Visible = true; | |
896 | + this.gridColumn32.VisibleIndex = 4; | |
897 | + this.gridColumn32.Width = 91; | |
898 | + // | |
899 | + // gridColumn33 | |
900 | + // | |
901 | + this.gridColumn33.Caption = "우선순위"; | |
902 | + this.gridColumn33.FieldName = "priority"; | |
903 | + this.gridColumn33.Name = "gridColumn33"; | |
904 | + // | |
905 | + // gridColumn34 | |
906 | + // | |
907 | + this.gridColumn34.Caption = "노트"; | |
908 | + this.gridColumn34.FieldName = "rm_note"; | |
909 | + this.gridColumn34.Name = "gridColumn34"; | |
910 | + // | |
911 | + // gridColumn35 | |
912 | + // | |
913 | + this.gridColumn35.Caption = "규격표시"; | |
914 | + this.gridColumn35.FieldName = "certi_code"; | |
915 | + this.gridColumn35.Name = "gridColumn35"; | |
916 | + // | |
917 | + // gridColumn36 | |
918 | + // | |
919 | + this.gridColumn36.Caption = "품질표시"; | |
920 | + this.gridColumn36.FieldName = "product_class_desc"; | |
921 | + this.gridColumn36.Name = "gridColumn36"; | |
922 | + // | |
923 | + // gridColumn40 | |
924 | + // | |
925 | + this.gridColumn40.Caption = "염소계여부"; | |
926 | + this.gridColumn40.FieldName = "ig_desc"; | |
927 | + this.gridColumn40.Name = "gridColumn40"; | |
928 | + // | |
929 | + // repositoryItemLookUpEdit_ORDER_UNIT_CD | |
930 | + // | |
931 | + this.repositoryItemLookUpEdit_ORDER_UNIT_CD.AutoHeight = false; | |
932 | + this.repositoryItemLookUpEdit_ORDER_UNIT_CD.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
933 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
934 | + this.repositoryItemLookUpEdit_ORDER_UNIT_CD.Name = "repositoryItemLookUpEdit_ORDER_UNIT_CD"; | |
935 | + // | |
936 | + // repositoryItemButtonEdit_ITEM_SPEC | |
937 | + // | |
938 | + this.repositoryItemButtonEdit_ITEM_SPEC.AutoHeight = false; | |
939 | + this.repositoryItemButtonEdit_ITEM_SPEC.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
940 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "상세", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true)}); | |
941 | + this.repositoryItemButtonEdit_ITEM_SPEC.ButtonsStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; | |
942 | + this.repositoryItemButtonEdit_ITEM_SPEC.Name = "repositoryItemButtonEdit_ITEM_SPEC"; | |
943 | + // | |
944 | + // repositoryItemLookUpEdit_ITEM_CD | |
945 | + // | |
946 | + this.repositoryItemLookUpEdit_ITEM_CD.AutoHeight = false; | |
947 | + this.repositoryItemLookUpEdit_ITEM_CD.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
948 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
949 | + this.repositoryItemLookUpEdit_ITEM_CD.Name = "repositoryItemLookUpEdit_ITEM_CD"; | |
950 | + // | |
951 | + // repositoryItemButtonEdit_Mokh | |
952 | + // | |
953 | + this.repositoryItemButtonEdit_Mokh.AutoHeight = false; | |
954 | + this.repositoryItemButtonEdit_Mokh.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
955 | + new DevExpress.XtraEditors.Controls.EditorButton()}); | |
956 | + this.repositoryItemButtonEdit_Mokh.Name = "repositoryItemButtonEdit_Mokh"; | |
957 | + // | |
958 | + // repositoryItemButtonEdit_Detail | |
959 | + // | |
960 | + this.repositoryItemButtonEdit_Detail.AutoHeight = false; | |
961 | + this.repositoryItemButtonEdit_Detail.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
962 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Search)}); | |
963 | + this.repositoryItemButtonEdit_Detail.Name = "repositoryItemButtonEdit_Detail"; | |
964 | + // | |
965 | + // repositoryItemComboBox1 | |
966 | + // | |
967 | + this.repositoryItemComboBox1.AutoHeight = false; | |
968 | + this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
969 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
970 | + this.repositoryItemComboBox1.Items.AddRange(new object[] { | |
971 | + "증가", | |
972 | + "감소"}); | |
973 | + this.repositoryItemComboBox1.Name = "repositoryItemComboBox1"; | |
974 | + // | |
975 | + // repositoryItemTextEdit_DataTime | |
976 | + // | |
977 | + this.repositoryItemTextEdit_DataTime.AutoHeight = false; | |
978 | + this.repositoryItemTextEdit_DataTime.Mask.EditMask = "yy-MM-dd HH:mm:ss"; | |
979 | + this.repositoryItemTextEdit_DataTime.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.DateTime; | |
980 | + this.repositoryItemTextEdit_DataTime.Name = "repositoryItemTextEdit_DataTime"; | |
981 | + // | |
982 | + // repositoryItemLookUpEdit_PROC | |
983 | + // | |
984 | + this.repositoryItemLookUpEdit_PROC.AutoHeight = false; | |
985 | + this.repositoryItemLookUpEdit_PROC.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
986 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
987 | + this.repositoryItemLookUpEdit_PROC.Name = "repositoryItemLookUpEdit_PROC"; | |
988 | + // | |
989 | + // repositoryItemLookUpEdit_WORKER | |
990 | + // | |
991 | + this.repositoryItemLookUpEdit_WORKER.AutoHeight = false; | |
992 | + this.repositoryItemLookUpEdit_WORKER.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
993 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
994 | + this.repositoryItemLookUpEdit_WORKER.Name = "repositoryItemLookUpEdit_WORKER"; | |
995 | + // | |
996 | + // repositoryItemDateEdit_END_DT | |
997 | + // | |
998 | + this.repositoryItemDateEdit_END_DT.AutoHeight = false; | |
999 | + this.repositoryItemDateEdit_END_DT.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1000 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1001 | + this.repositoryItemDateEdit_END_DT.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1002 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1003 | + this.repositoryItemDateEdit_END_DT.Name = "repositoryItemDateEdit_END_DT"; | |
1004 | + // | |
1005 | + // repositoryItemTextEdit_RATIO | |
1006 | + // | |
1007 | + this.repositoryItemTextEdit_RATIO.AutoHeight = false; | |
1008 | + this.repositoryItemTextEdit_RATIO.Mask.EditMask = "p"; | |
1009 | + this.repositoryItemTextEdit_RATIO.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; | |
1010 | + this.repositoryItemTextEdit_RATIO.Mask.UseMaskAsDisplayFormat = true; | |
1011 | + this.repositoryItemTextEdit_RATIO.Name = "repositoryItemTextEdit_RATIO"; | |
1012 | + // | |
1013 | + // repositoryItemLookUpEdit_MACH | |
1014 | + // | |
1015 | + this.repositoryItemLookUpEdit_MACH.AutoHeight = false; | |
1016 | + this.repositoryItemLookUpEdit_MACH.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1017 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1018 | + this.repositoryItemLookUpEdit_MACH.Name = "repositoryItemLookUpEdit_MACH"; | |
1019 | + // | |
1020 | + // gridControl_B | |
1021 | + // | |
1022 | + this.gridControl_B.Dock = System.Windows.Forms.DockStyle.Fill; | |
1023 | + this.gridControl_B.Location = new System.Drawing.Point(0, 0); | |
1024 | + this.gridControl_B.MainView = this.gridView_B; | |
1025 | + this.gridControl_B.Name = "gridControl_B"; | |
1026 | + this.gridControl_B.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { | |
1027 | + this.repositoryItemLookUpEdit1, | |
1028 | + this.repositoryItemButtonEdit1, | |
1029 | + this.repositoryItemLookUpEdit2, | |
1030 | + this.repositoryItemButtonEdit2, | |
1031 | + this.repositoryItemButtonEdit3, | |
1032 | + this.repositoryItemComboBox2, | |
1033 | + this.repositoryItemTextEdit1, | |
1034 | + this.repositoryItemLookUpEdit3, | |
1035 | + this.repositoryItemLookUpEdit4, | |
1036 | + this.repositoryItemDateEdit1, | |
1037 | + this.repositoryItemTextEdit2, | |
1038 | + this.repositoryItemLookUpEdit5}); | |
1039 | + this.gridControl_B.Size = new System.Drawing.Size(1010, 141); | |
1040 | + this.gridControl_B.TabIndex = 123; | |
1041 | + this.gridControl_B.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { | |
1042 | + this.gridView_B}); | |
1043 | + // | |
1044 | + // gridView_B | |
1045 | + // | |
1046 | + this.gridView_B.Appearance.FooterPanel.Options.UseFont = true; | |
1047 | + this.gridView_B.Appearance.HeaderPanel.Options.UseFont = true; | |
1048 | + this.gridView_B.Appearance.HeaderPanel.Options.UseTextOptions = true; | |
1049 | + this.gridView_B.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
1050 | + this.gridView_B.Appearance.Row.Options.UseFont = true; | |
1051 | + this.gridView_B.ColumnPanelRowHeight = 40; | |
1052 | + this.gridView_B.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { | |
1053 | + this.gridColumn42, | |
1054 | + this.gridColumn43, | |
1055 | + this.gridColumn44, | |
1056 | + this.gridColumn45, | |
1057 | + this.gridColumn46, | |
1058 | + this.gridColumn47, | |
1059 | + this.gridColumn48, | |
1060 | + this.gridColumn49, | |
1061 | + this.gridColumn50, | |
1062 | + this.gridColumn51}); | |
1063 | + this.gridView_B.FooterPanelHeight = 23; | |
1064 | + this.gridView_B.GridControl = this.gridControl_B; | |
1065 | + this.gridView_B.Name = "gridView_B"; | |
1066 | + this.gridView_B.OptionsCustomization.AllowSort = false; | |
1067 | + this.gridView_B.OptionsNavigation.EnterMoveNextColumn = true; | |
1068 | + this.gridView_B.OptionsView.ColumnAutoWidth = false; | |
1069 | + this.gridView_B.OptionsView.ShowGroupPanel = false; | |
1070 | + this.gridView_B.RowHeight = 40; | |
1071 | + // | |
1072 | + // gridColumn42 | |
1073 | + // | |
1074 | + this.gridColumn42.Caption = "오더번호"; | |
1075 | + this.gridColumn42.FieldName = "order_no"; | |
1076 | + this.gridColumn42.Name = "gridColumn42"; | |
1077 | + // | |
1078 | + // gridColumn43 | |
1079 | + // | |
1080 | + this.gridColumn43.Caption = "로트"; | |
1081 | + this.gridColumn43.FieldName = "lot"; | |
1082 | + this.gridColumn43.Name = "gridColumn43"; | |
1083 | + // | |
1084 | + // gridColumn44 | |
1085 | + // | |
1086 | + this.gridColumn44.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
1087 | + this.gridColumn44.AppearanceCell.Options.UseFont = true; | |
1088 | + this.gridColumn44.AppearanceCell.Options.UseTextOptions = true; | |
1089 | + this.gridColumn44.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
1090 | + this.gridColumn44.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
1091 | + this.gridColumn44.AppearanceHeader.Options.UseFont = true; | |
1092 | + this.gridColumn44.Caption = "로트통제번호"; | |
1093 | + this.gridColumn44.FieldName = "notes"; | |
1094 | + this.gridColumn44.Name = "gridColumn44"; | |
1095 | + this.gridColumn44.OptionsColumn.AllowEdit = false; | |
1096 | + this.gridColumn44.OptionsColumn.AllowFocus = false; | |
1097 | + this.gridColumn44.Visible = true; | |
1098 | + this.gridColumn44.VisibleIndex = 0; | |
1099 | + this.gridColumn44.Width = 169; | |
1100 | + // | |
1101 | + // gridColumn45 | |
1102 | + // | |
1103 | + this.gridColumn45.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
1104 | + this.gridColumn45.AppearanceCell.Options.UseFont = true; | |
1105 | + this.gridColumn45.AppearanceCell.Options.UseTextOptions = true; | |
1106 | + this.gridColumn45.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; | |
1107 | + this.gridColumn45.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
1108 | + this.gridColumn45.AppearanceHeader.Options.UseFont = true; | |
1109 | + this.gridColumn45.Caption = "수량"; | |
1110 | + this.gridColumn45.DisplayFormat.FormatString = "N02"; | |
1111 | + this.gridColumn45.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; | |
1112 | + this.gridColumn45.FieldName = "order_qty"; | |
1113 | + this.gridColumn45.Name = "gridColumn45"; | |
1114 | + this.gridColumn45.OptionsColumn.AllowEdit = false; | |
1115 | + this.gridColumn45.OptionsColumn.AllowFocus = false; | |
1116 | + this.gridColumn45.Visible = true; | |
1117 | + this.gridColumn45.VisibleIndex = 1; | |
1118 | + this.gridColumn45.Width = 123; | |
1119 | + // | |
1120 | + // gridColumn46 | |
1121 | + // | |
1122 | + this.gridColumn46.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
1123 | + this.gridColumn46.AppearanceCell.Options.UseFont = true; | |
1124 | + this.gridColumn46.AppearanceCell.Options.UseTextOptions = true; | |
1125 | + this.gridColumn46.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
1126 | + this.gridColumn46.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
1127 | + this.gridColumn46.AppearanceHeader.Options.UseFont = true; | |
1128 | + this.gridColumn46.Caption = "단위"; | |
1129 | + this.gridColumn46.FieldName = "uom"; | |
1130 | + this.gridColumn46.Name = "gridColumn46"; | |
1131 | + this.gridColumn46.OptionsColumn.AllowEdit = false; | |
1132 | + this.gridColumn46.OptionsColumn.AllowFocus = false; | |
1133 | + this.gridColumn46.Visible = true; | |
1134 | + this.gridColumn46.VisibleIndex = 2; | |
1135 | + this.gridColumn46.Width = 98; | |
1136 | + // | |
1137 | + // gridColumn47 | |
1138 | + // | |
1139 | + this.gridColumn47.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
1140 | + this.gridColumn47.AppearanceCell.Options.UseFont = true; | |
1141 | + this.gridColumn47.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
1142 | + this.gridColumn47.AppearanceHeader.Options.UseFont = true; | |
1143 | + this.gridColumn47.Caption = "포장명"; | |
1144 | + this.gridColumn47.FieldName = "mark_nm"; | |
1145 | + this.gridColumn47.Name = "gridColumn47"; | |
1146 | + this.gridColumn47.OptionsColumn.AllowEdit = false; | |
1147 | + this.gridColumn47.OptionsColumn.AllowFocus = false; | |
1148 | + this.gridColumn47.Visible = true; | |
1149 | + this.gridColumn47.VisibleIndex = 3; | |
1150 | + this.gridColumn47.Width = 300; | |
1151 | + // | |
1152 | + // gridColumn48 | |
1153 | + // | |
1154 | + this.gridColumn48.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
1155 | + this.gridColumn48.AppearanceCell.Options.UseFont = true; | |
1156 | + this.gridColumn48.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
1157 | + this.gridColumn48.AppearanceHeader.Options.UseFont = true; | |
1158 | + this.gridColumn48.Caption = "생산단위"; | |
1159 | + this.gridColumn48.FieldName = "uom_prct"; | |
1160 | + this.gridColumn48.Name = "gridColumn48"; | |
1161 | + this.gridColumn48.OptionsColumn.AllowEdit = false; | |
1162 | + this.gridColumn48.OptionsColumn.AllowFocus = false; | |
1163 | + this.gridColumn48.Width = 139; | |
1164 | + // | |
1165 | + // gridColumn49 | |
1166 | + // | |
1167 | + this.gridColumn49.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
1168 | + this.gridColumn49.AppearanceCell.Options.UseFont = true; | |
1169 | + this.gridColumn49.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
1170 | + this.gridColumn49.AppearanceHeader.Options.UseFont = true; | |
1171 | + this.gridColumn49.Caption = "포장단위"; | |
1172 | + this.gridColumn49.FieldName = "uom_pack"; | |
1173 | + this.gridColumn49.Name = "gridColumn49"; | |
1174 | + this.gridColumn49.OptionsColumn.AllowEdit = false; | |
1175 | + this.gridColumn49.OptionsColumn.AllowFocus = false; | |
1176 | + this.gridColumn49.Width = 125; | |
1177 | + // | |
1178 | + // gridColumn50 | |
1179 | + // | |
1180 | + this.gridColumn50.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
1181 | + this.gridColumn50.AppearanceCell.Options.UseFont = true; | |
1182 | + this.gridColumn50.AppearanceCell.Options.UseTextOptions = true; | |
1183 | + this.gridColumn50.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; | |
1184 | + this.gridColumn50.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
1185 | + this.gridColumn50.AppearanceHeader.Options.UseFont = true; | |
1186 | + this.gridColumn50.Caption = "포장수량"; | |
1187 | + this.gridColumn50.DisplayFormat.FormatString = "N02"; | |
1188 | + this.gridColumn50.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; | |
1189 | + this.gridColumn50.FieldName = "pack_qty"; | |
1190 | + this.gridColumn50.Name = "gridColumn50"; | |
1191 | + this.gridColumn50.OptionsColumn.AllowEdit = false; | |
1192 | + this.gridColumn50.OptionsColumn.AllowFocus = false; | |
1193 | + this.gridColumn50.Visible = true; | |
1194 | + this.gridColumn50.VisibleIndex = 4; | |
1195 | + this.gridColumn50.Width = 137; | |
1196 | + // | |
1197 | + // gridColumn51 | |
1198 | + // | |
1199 | + this.gridColumn51.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
1200 | + this.gridColumn51.AppearanceCell.Options.UseFont = true; | |
1201 | + this.gridColumn51.AppearanceCell.Options.UseTextOptions = true; | |
1202 | + this.gridColumn51.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
1203 | + this.gridColumn51.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
1204 | + this.gridColumn51.AppearanceHeader.Options.UseFont = true; | |
1205 | + this.gridColumn51.Caption = "비고"; | |
1206 | + this.gridColumn51.FieldName = "mark_note"; | |
1207 | + this.gridColumn51.Name = "gridColumn51"; | |
1208 | + this.gridColumn51.OptionsColumn.AllowEdit = false; | |
1209 | + this.gridColumn51.OptionsColumn.AllowFocus = false; | |
1210 | + this.gridColumn51.Visible = true; | |
1211 | + this.gridColumn51.VisibleIndex = 5; | |
1212 | + this.gridColumn51.Width = 164; | |
1213 | + // | |
1214 | + // repositoryItemLookUpEdit1 | |
1215 | + // | |
1216 | + this.repositoryItemLookUpEdit1.AutoHeight = false; | |
1217 | + this.repositoryItemLookUpEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1218 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1219 | + this.repositoryItemLookUpEdit1.Name = "repositoryItemLookUpEdit1"; | |
1220 | + // | |
1221 | + // repositoryItemButtonEdit1 | |
1222 | + // | |
1223 | + this.repositoryItemButtonEdit1.AutoHeight = false; | |
1224 | + this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1225 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "상세", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject2, "", null, null, true)}); | |
1226 | + this.repositoryItemButtonEdit1.ButtonsStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; | |
1227 | + this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; | |
1228 | + // | |
1229 | + // repositoryItemLookUpEdit2 | |
1230 | + // | |
1231 | + this.repositoryItemLookUpEdit2.AutoHeight = false; | |
1232 | + this.repositoryItemLookUpEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1233 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1234 | + this.repositoryItemLookUpEdit2.Name = "repositoryItemLookUpEdit2"; | |
1235 | + // | |
1236 | + // repositoryItemButtonEdit2 | |
1237 | + // | |
1238 | + this.repositoryItemButtonEdit2.AutoHeight = false; | |
1239 | + this.repositoryItemButtonEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1240 | + new DevExpress.XtraEditors.Controls.EditorButton()}); | |
1241 | + this.repositoryItemButtonEdit2.Name = "repositoryItemButtonEdit2"; | |
1242 | + // | |
1243 | + // repositoryItemButtonEdit3 | |
1244 | + // | |
1245 | + this.repositoryItemButtonEdit3.AutoHeight = false; | |
1246 | + this.repositoryItemButtonEdit3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1247 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Search)}); | |
1248 | + this.repositoryItemButtonEdit3.Name = "repositoryItemButtonEdit3"; | |
1249 | + // | |
1250 | + // repositoryItemComboBox2 | |
1251 | + // | |
1252 | + this.repositoryItemComboBox2.AutoHeight = false; | |
1253 | + this.repositoryItemComboBox2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1254 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1255 | + this.repositoryItemComboBox2.Items.AddRange(new object[] { | |
1256 | + "증가", | |
1257 | + "감소"}); | |
1258 | + this.repositoryItemComboBox2.Name = "repositoryItemComboBox2"; | |
1259 | + // | |
1260 | + // repositoryItemTextEdit1 | |
1261 | + // | |
1262 | + this.repositoryItemTextEdit1.AutoHeight = false; | |
1263 | + this.repositoryItemTextEdit1.Mask.EditMask = "yy-MM-dd HH:mm:ss"; | |
1264 | + this.repositoryItemTextEdit1.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.DateTime; | |
1265 | + this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1"; | |
1266 | + // | |
1267 | + // repositoryItemLookUpEdit3 | |
1268 | + // | |
1269 | + this.repositoryItemLookUpEdit3.AutoHeight = false; | |
1270 | + this.repositoryItemLookUpEdit3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1271 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1272 | + this.repositoryItemLookUpEdit3.Name = "repositoryItemLookUpEdit3"; | |
1273 | + // | |
1274 | + // repositoryItemLookUpEdit4 | |
1275 | + // | |
1276 | + this.repositoryItemLookUpEdit4.AutoHeight = false; | |
1277 | + this.repositoryItemLookUpEdit4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1278 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1279 | + this.repositoryItemLookUpEdit4.Name = "repositoryItemLookUpEdit4"; | |
1280 | + // | |
1281 | + // repositoryItemDateEdit1 | |
1282 | + // | |
1283 | + this.repositoryItemDateEdit1.AutoHeight = false; | |
1284 | + this.repositoryItemDateEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1285 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1286 | + this.repositoryItemDateEdit1.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1287 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1288 | + this.repositoryItemDateEdit1.Name = "repositoryItemDateEdit1"; | |
1289 | + // | |
1290 | + // repositoryItemTextEdit2 | |
1291 | + // | |
1292 | + this.repositoryItemTextEdit2.AutoHeight = false; | |
1293 | + this.repositoryItemTextEdit2.Mask.EditMask = "p"; | |
1294 | + this.repositoryItemTextEdit2.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; | |
1295 | + this.repositoryItemTextEdit2.Mask.UseMaskAsDisplayFormat = true; | |
1296 | + this.repositoryItemTextEdit2.Name = "repositoryItemTextEdit2"; | |
1297 | + // | |
1298 | + // repositoryItemLookUpEdit5 | |
1299 | + // | |
1300 | + this.repositoryItemLookUpEdit5.AutoHeight = false; | |
1301 | + this.repositoryItemLookUpEdit5.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1302 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1303 | + this.repositoryItemLookUpEdit5.Name = "repositoryItemLookUpEdit5"; | |
1304 | + // | |
1305 | + // tabPage2 | |
1306 | + // | |
1307 | + this.tabPage2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(236)))), ((int)(((byte)(239))))); | |
1308 | + this.tabPage2.Controls.Add(this.gridControl_Main); | |
1309 | + this.tabPage2.Location = new System.Drawing.Point(4, 54); | |
1310 | + this.tabPage2.Name = "tabPage2"; | |
1311 | + this.tabPage2.Padding = new System.Windows.Forms.Padding(3); | |
1312 | + this.tabPage2.Size = new System.Drawing.Size(1016, 291); | |
1313 | + this.tabPage2.TabIndex = 1; | |
1314 | + this.tabPage2.Text = "자재 투입"; | |
1315 | + // | |
1316 | + // gridControl_Main | |
1317 | + // | |
1318 | + this.gridControl_Main.Dock = System.Windows.Forms.DockStyle.Fill; | |
1319 | + this.gridControl_Main.Location = new System.Drawing.Point(3, 3); | |
1320 | + this.gridControl_Main.MainView = this.gridView_Main; | |
1321 | + this.gridControl_Main.Name = "gridControl_Main"; | |
1322 | + this.gridControl_Main.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { | |
1323 | + this.repositoryItemLookUpEdit6, | |
1324 | + this.repositoryItemButtonEdit4, | |
1325 | + this.repositoryItemLookUpEdit7, | |
1326 | + this.repositoryItemButtonEdit5, | |
1327 | + this.repositoryItemButtonEdit6, | |
1328 | + this.repositoryItemComboBox3, | |
1329 | + this.repositoryItemTextEdit3, | |
1330 | + this.repositoryItemLookUpEdit8, | |
1331 | + this.repositoryItemLookUpEdit9, | |
1332 | + this.repositoryItemDateEdit2, | |
1333 | + this.repositoryItemTextEdit4, | |
1334 | + this.repositoryItemLookUpEdit10}); | |
1335 | + this.gridControl_Main.Size = new System.Drawing.Size(1010, 285); | |
1336 | + this.gridControl_Main.TabIndex = 123; | |
1337 | + this.gridControl_Main.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { | |
1338 | + this.gridView_Main}); | |
1339 | + this.gridControl_Main.DoubleClick += new System.EventHandler(this.gridControl_Main_DoubleClick); | |
1340 | + // | |
1341 | + // gridView_Main | |
1342 | + // | |
1343 | + this.gridView_Main.Appearance.FooterPanel.Options.UseFont = true; | |
1344 | + this.gridView_Main.Appearance.HeaderPanel.Options.UseFont = true; | |
1345 | + this.gridView_Main.Appearance.HeaderPanel.Options.UseTextOptions = true; | |
1346 | + this.gridView_Main.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
1347 | + this.gridView_Main.Appearance.Row.Options.UseFont = true; | |
1348 | + this.gridView_Main.ColumnPanelRowHeight = 40; | |
1349 | + this.gridView_Main.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { | |
1350 | + this.gridColumn53, | |
1351 | + this.gridColumn54, | |
1352 | + this.gridColumn55, | |
1353 | + this.gridColumn56, | |
1354 | + this.gridColumn60, | |
1355 | + this.gridColumn57, | |
1356 | + this.gridColumn58, | |
1357 | + this.gridColumn59}); | |
1358 | + this.gridView_Main.FooterPanelHeight = 23; | |
1359 | + this.gridView_Main.GridControl = this.gridControl_Main; | |
1360 | + this.gridView_Main.Name = "gridView_Main"; | |
1361 | + this.gridView_Main.OptionsCustomization.AllowSort = false; | |
1362 | + this.gridView_Main.OptionsNavigation.EnterMoveNextColumn = true; | |
1363 | + this.gridView_Main.OptionsView.ColumnAutoWidth = false; | |
1364 | + this.gridView_Main.OptionsView.ShowGroupPanel = false; | |
1365 | + this.gridView_Main.RowHeight = 40; | |
1366 | + // | |
1367 | + // gridColumn53 | |
1368 | + // | |
1369 | + this.gridColumn53.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
1370 | + this.gridColumn53.AppearanceCell.Options.UseFont = true; | |
1371 | + this.gridColumn53.AppearanceCell.Options.UseTextOptions = true; | |
1372 | + this.gridColumn53.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
1373 | + this.gridColumn53.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
1374 | + this.gridColumn53.AppearanceHeader.Options.UseFont = true; | |
1375 | + this.gridColumn53.Caption = "공정"; | |
1376 | + this.gridColumn53.FieldName = "operation"; | |
1377 | + this.gridColumn53.Name = "gridColumn53"; | |
1378 | + this.gridColumn53.OptionsColumn.AllowEdit = false; | |
1379 | + this.gridColumn53.OptionsColumn.AllowFocus = false; | |
1380 | + this.gridColumn53.Visible = true; | |
1381 | + this.gridColumn53.VisibleIndex = 0; | |
1382 | + this.gridColumn53.Width = 72; | |
1383 | + // | |
1384 | + // gridColumn54 | |
1385 | + // | |
1386 | + this.gridColumn54.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
1387 | + this.gridColumn54.AppearanceCell.Options.UseFont = true; | |
1388 | + this.gridColumn54.AppearanceCell.Options.UseTextOptions = true; | |
1389 | + this.gridColumn54.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
1390 | + this.gridColumn54.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
1391 | + this.gridColumn54.AppearanceHeader.Options.UseFont = true; | |
1392 | + this.gridColumn54.Caption = "투입순번"; | |
1393 | + this.gridColumn54.FieldName = "note"; | |
1394 | + this.gridColumn54.Name = "gridColumn54"; | |
1395 | + this.gridColumn54.OptionsColumn.AllowEdit = false; | |
1396 | + this.gridColumn54.OptionsColumn.AllowFocus = false; | |
1397 | + this.gridColumn54.Visible = true; | |
1398 | + this.gridColumn54.VisibleIndex = 1; | |
1399 | + this.gridColumn54.Width = 89; | |
1400 | + // | |
1401 | + // gridColumn55 | |
1402 | + // | |
1403 | + this.gridColumn55.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
1404 | + this.gridColumn55.AppearanceCell.Options.UseFont = true; | |
1405 | + this.gridColumn55.AppearanceCell.Options.UseTextOptions = true; | |
1406 | + this.gridColumn55.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
1407 | + this.gridColumn55.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
1408 | + this.gridColumn55.AppearanceHeader.Options.UseFont = true; | |
1409 | + this.gridColumn55.Caption = "자품목번호"; | |
1410 | + this.gridColumn55.FieldName = "resource_used"; | |
1411 | + this.gridColumn55.Name = "gridColumn55"; | |
1412 | + this.gridColumn55.OptionsColumn.AllowEdit = false; | |
1413 | + this.gridColumn55.OptionsColumn.AllowFocus = false; | |
1414 | + this.gridColumn55.Visible = true; | |
1415 | + this.gridColumn55.VisibleIndex = 2; | |
1416 | + this.gridColumn55.Width = 177; | |
1417 | + // | |
1418 | + // gridColumn56 | |
1419 | + // | |
1420 | + this.gridColumn56.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
1421 | + this.gridColumn56.AppearanceCell.Options.UseFont = true; | |
1422 | + this.gridColumn56.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
1423 | + this.gridColumn56.AppearanceHeader.Options.UseFont = true; | |
1424 | + this.gridColumn56.Caption = "명세"; | |
1425 | + this.gridColumn56.FieldName = "description"; | |
1426 | + this.gridColumn56.Name = "gridColumn56"; | |
1427 | + this.gridColumn56.OptionsColumn.AllowEdit = false; | |
1428 | + this.gridColumn56.OptionsColumn.AllowFocus = false; | |
1429 | + this.gridColumn56.Visible = true; | |
1430 | + this.gridColumn56.VisibleIndex = 3; | |
1431 | + this.gridColumn56.Width = 303; | |
1432 | + // | |
1433 | + // gridColumn60 | |
1434 | + // | |
1435 | + this.gridColumn60.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
1436 | + this.gridColumn60.AppearanceCell.Options.UseFont = true; | |
1437 | + this.gridColumn60.AppearanceCell.Options.UseTextOptions = true; | |
1438 | + this.gridColumn60.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
1439 | + this.gridColumn60.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
1440 | + this.gridColumn60.AppearanceHeader.Options.UseFont = true; | |
1441 | + this.gridColumn60.Caption = "투입량"; | |
1442 | + this.gridColumn60.DisplayFormat.FormatString = "N02"; | |
1443 | + this.gridColumn60.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; | |
1444 | + this.gridColumn60.FieldName = "in_qty"; | |
1445 | + this.gridColumn60.Name = "gridColumn60"; | |
1446 | + this.gridColumn60.OptionsColumn.AllowEdit = false; | |
1447 | + this.gridColumn60.OptionsColumn.AllowFocus = false; | |
1448 | + this.gridColumn60.Visible = true; | |
1449 | + this.gridColumn60.VisibleIndex = 4; | |
1450 | + this.gridColumn60.Width = 129; | |
1451 | + // | |
1452 | + // gridColumn57 | |
1453 | + // | |
1454 | + this.gridColumn57.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); | |
1455 | + this.gridColumn57.AppearanceCell.Options.UseFont = true; | |
1456 | + this.gridColumn57.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold); | |
1457 | + this.gridColumn57.AppearanceHeader.Options.UseFont = true; | |
1458 | + this.gridColumn57.Caption = "합계수량"; | |
1459 | + this.gridColumn57.FieldName = "qty_total"; | |
1460 | + this.gridColumn57.Name = "gridColumn57"; | |
1461 | + this.gridColumn57.OptionsColumn.AllowEdit = false; | |
1462 | + this.gridColumn57.OptionsColumn.AllowFocus = false; | |
1463 | + this.gridColumn57.Width = 136; | |
1464 | + // | |
1465 | + // gridColumn58 | |
1466 | + // | |
1467 | + this.gridColumn58.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
1468 | + this.gridColumn58.AppearanceCell.Options.UseFont = true; | |
1469 | + this.gridColumn58.AppearanceCell.Options.UseTextOptions = true; | |
1470 | + this.gridColumn58.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
1471 | + this.gridColumn58.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
1472 | + this.gridColumn58.AppearanceHeader.Options.UseFont = true; | |
1473 | + this.gridColumn58.Caption = "단위"; | |
1474 | + this.gridColumn58.FieldName = "uom"; | |
1475 | + this.gridColumn58.Name = "gridColumn58"; | |
1476 | + this.gridColumn58.OptionsColumn.AllowEdit = false; | |
1477 | + this.gridColumn58.OptionsColumn.AllowFocus = false; | |
1478 | + this.gridColumn58.Visible = true; | |
1479 | + this.gridColumn58.VisibleIndex = 5; | |
1480 | + this.gridColumn58.Width = 80; | |
1481 | + // | |
1482 | + // gridColumn59 | |
1483 | + // | |
1484 | + this.gridColumn59.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
1485 | + this.gridColumn59.AppearanceCell.Options.UseFont = true; | |
1486 | + this.gridColumn59.AppearanceCell.Options.UseTextOptions = true; | |
1487 | + this.gridColumn59.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; | |
1488 | + this.gridColumn59.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
1489 | + this.gridColumn59.AppearanceHeader.Options.UseFont = true; | |
1490 | + this.gridColumn59.Caption = "현재고"; | |
1491 | + this.gridColumn59.DisplayFormat.FormatString = "N02"; | |
1492 | + this.gridColumn59.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; | |
1493 | + this.gridColumn59.FieldName = "stock_qty"; | |
1494 | + this.gridColumn59.Name = "gridColumn59"; | |
1495 | + this.gridColumn59.OptionsColumn.AllowEdit = false; | |
1496 | + this.gridColumn59.OptionsColumn.AllowFocus = false; | |
1497 | + this.gridColumn59.Visible = true; | |
1498 | + this.gridColumn59.VisibleIndex = 6; | |
1499 | + this.gridColumn59.Width = 121; | |
1500 | + // | |
1501 | + // repositoryItemLookUpEdit6 | |
1502 | + // | |
1503 | + this.repositoryItemLookUpEdit6.AutoHeight = false; | |
1504 | + this.repositoryItemLookUpEdit6.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1505 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1506 | + this.repositoryItemLookUpEdit6.Name = "repositoryItemLookUpEdit6"; | |
1507 | + // | |
1508 | + // repositoryItemButtonEdit4 | |
1509 | + // | |
1510 | + this.repositoryItemButtonEdit4.AutoHeight = false; | |
1511 | + this.repositoryItemButtonEdit4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1512 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "상세", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject3, "", null, null, true)}); | |
1513 | + this.repositoryItemButtonEdit4.ButtonsStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; | |
1514 | + this.repositoryItemButtonEdit4.Name = "repositoryItemButtonEdit4"; | |
1515 | + // | |
1516 | + // repositoryItemLookUpEdit7 | |
1517 | + // | |
1518 | + this.repositoryItemLookUpEdit7.AutoHeight = false; | |
1519 | + this.repositoryItemLookUpEdit7.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1520 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1521 | + this.repositoryItemLookUpEdit7.Name = "repositoryItemLookUpEdit7"; | |
1522 | + // | |
1523 | + // repositoryItemButtonEdit5 | |
1524 | + // | |
1525 | + this.repositoryItemButtonEdit5.AutoHeight = false; | |
1526 | + this.repositoryItemButtonEdit5.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1527 | + new DevExpress.XtraEditors.Controls.EditorButton()}); | |
1528 | + this.repositoryItemButtonEdit5.Name = "repositoryItemButtonEdit5"; | |
1529 | + // | |
1530 | + // repositoryItemButtonEdit6 | |
1531 | + // | |
1532 | + this.repositoryItemButtonEdit6.AutoHeight = false; | |
1533 | + this.repositoryItemButtonEdit6.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1534 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Search)}); | |
1535 | + this.repositoryItemButtonEdit6.Name = "repositoryItemButtonEdit6"; | |
1536 | + // | |
1537 | + // repositoryItemComboBox3 | |
1538 | + // | |
1539 | + this.repositoryItemComboBox3.AutoHeight = false; | |
1540 | + this.repositoryItemComboBox3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1541 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1542 | + this.repositoryItemComboBox3.Items.AddRange(new object[] { | |
1543 | + "증가", | |
1544 | + "감소"}); | |
1545 | + this.repositoryItemComboBox3.Name = "repositoryItemComboBox3"; | |
1546 | + // | |
1547 | + // repositoryItemTextEdit3 | |
1548 | + // | |
1549 | + this.repositoryItemTextEdit3.AutoHeight = false; | |
1550 | + this.repositoryItemTextEdit3.Mask.EditMask = "yy-MM-dd HH:mm:ss"; | |
1551 | + this.repositoryItemTextEdit3.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.DateTime; | |
1552 | + this.repositoryItemTextEdit3.Name = "repositoryItemTextEdit3"; | |
1553 | + // | |
1554 | + // repositoryItemLookUpEdit8 | |
1555 | + // | |
1556 | + this.repositoryItemLookUpEdit8.AutoHeight = false; | |
1557 | + this.repositoryItemLookUpEdit8.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1558 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1559 | + this.repositoryItemLookUpEdit8.Name = "repositoryItemLookUpEdit8"; | |
1560 | + // | |
1561 | + // repositoryItemLookUpEdit9 | |
1562 | + // | |
1563 | + this.repositoryItemLookUpEdit9.AutoHeight = false; | |
1564 | + this.repositoryItemLookUpEdit9.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1565 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1566 | + this.repositoryItemLookUpEdit9.Name = "repositoryItemLookUpEdit9"; | |
1567 | + // | |
1568 | + // repositoryItemDateEdit2 | |
1569 | + // | |
1570 | + this.repositoryItemDateEdit2.AutoHeight = false; | |
1571 | + this.repositoryItemDateEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1572 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1573 | + this.repositoryItemDateEdit2.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1574 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1575 | + this.repositoryItemDateEdit2.Name = "repositoryItemDateEdit2"; | |
1576 | + // | |
1577 | + // repositoryItemTextEdit4 | |
1578 | + // | |
1579 | + this.repositoryItemTextEdit4.AutoHeight = false; | |
1580 | + this.repositoryItemTextEdit4.Mask.EditMask = "p"; | |
1581 | + this.repositoryItemTextEdit4.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; | |
1582 | + this.repositoryItemTextEdit4.Mask.UseMaskAsDisplayFormat = true; | |
1583 | + this.repositoryItemTextEdit4.Name = "repositoryItemTextEdit4"; | |
1584 | + // | |
1585 | + // repositoryItemLookUpEdit10 | |
1586 | + // | |
1587 | + this.repositoryItemLookUpEdit10.AutoHeight = false; | |
1588 | + this.repositoryItemLookUpEdit10.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1589 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1590 | + this.repositoryItemLookUpEdit10.Name = "repositoryItemLookUpEdit10"; | |
1591 | + // | |
1592 | + // tabPage3 | |
1593 | + // | |
1594 | + this.tabPage3.Controls.Add(this.gridControl_note); | |
1595 | + this.tabPage3.Location = new System.Drawing.Point(4, 54); | |
1596 | + this.tabPage3.Name = "tabPage3"; | |
1597 | + this.tabPage3.Padding = new System.Windows.Forms.Padding(3); | |
1598 | + this.tabPage3.Size = new System.Drawing.Size(1016, 291); | |
1599 | + this.tabPage3.TabIndex = 2; | |
1600 | + this.tabPage3.Text = "공정"; | |
1601 | + this.tabPage3.UseVisualStyleBackColor = true; | |
1602 | + // | |
1603 | + // gridControl_note | |
1604 | + // | |
1605 | + this.gridControl_note.Dock = System.Windows.Forms.DockStyle.Fill; | |
1606 | + this.gridControl_note.Location = new System.Drawing.Point(3, 3); | |
1607 | + this.gridControl_note.MainView = this.gridView_note; | |
1608 | + this.gridControl_note.Name = "gridControl_note"; | |
1609 | + this.gridControl_note.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { | |
1610 | + this.repositoryItemLookUpEdit11, | |
1611 | + this.repositoryItemButtonEdit7, | |
1612 | + this.repositoryItemLookUpEdit12, | |
1613 | + this.repositoryItemButtonEdit8, | |
1614 | + this.repositoryItemButtonEdit9, | |
1615 | + this.repositoryItemComboBox4, | |
1616 | + this.repositoryItemTextEdit5, | |
1617 | + this.repositoryItemLookUpEdit13, | |
1618 | + this.repositoryItemLookUpEdit14, | |
1619 | + this.repositoryItemDateEdit3, | |
1620 | + this.repositoryItemTextEdit6, | |
1621 | + this.repositoryItemLookUpEdit15}); | |
1622 | + this.gridControl_note.Size = new System.Drawing.Size(1010, 285); | |
1623 | + this.gridControl_note.TabIndex = 124; | |
1624 | + this.gridControl_note.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { | |
1625 | + this.gridView_note}); | |
1626 | + // | |
1627 | + // gridView_note | |
1628 | + // | |
1629 | + this.gridView_note.Appearance.FooterPanel.Options.UseFont = true; | |
1630 | + this.gridView_note.Appearance.HeaderPanel.Options.UseFont = true; | |
1631 | + this.gridView_note.Appearance.HeaderPanel.Options.UseTextOptions = true; | |
1632 | + this.gridView_note.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; | |
1633 | + this.gridView_note.Appearance.Row.Options.UseFont = true; | |
1634 | + this.gridView_note.ColumnPanelRowHeight = 40; | |
1635 | + this.gridView_note.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { | |
1636 | + this.gridColumn61, | |
1637 | + this.gridColumn62, | |
1638 | + this.gridColumn63}); | |
1639 | + this.gridView_note.FooterPanelHeight = 23; | |
1640 | + this.gridView_note.GridControl = this.gridControl_note; | |
1641 | + this.gridView_note.Name = "gridView_note"; | |
1642 | + this.gridView_note.OptionsCustomization.AllowSort = false; | |
1643 | + this.gridView_note.OptionsNavigation.EnterMoveNextColumn = true; | |
1644 | + this.gridView_note.OptionsView.ColumnAutoWidth = false; | |
1645 | + this.gridView_note.OptionsView.ShowGroupPanel = false; | |
1646 | + this.gridView_note.RowHeight = 40; | |
1647 | + // | |
1648 | + // gridColumn61 | |
1649 | + // | |
1650 | + this.gridColumn61.Caption = "operation"; | |
1651 | + this.gridColumn61.FieldName = "operation"; | |
1652 | + this.gridColumn61.Name = "gridColumn61"; | |
1653 | + // | |
1654 | + // gridColumn62 | |
1655 | + // | |
1656 | + this.gridColumn62.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
1657 | + this.gridColumn62.AppearanceCell.Options.UseFont = true; | |
1658 | + this.gridColumn62.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
1659 | + this.gridColumn62.AppearanceHeader.Options.UseFont = true; | |
1660 | + this.gridColumn62.Caption = "공정"; | |
1661 | + this.gridColumn62.FieldName = "line_no"; | |
1662 | + this.gridColumn62.Name = "gridColumn62"; | |
1663 | + this.gridColumn62.Visible = true; | |
1664 | + this.gridColumn62.VisibleIndex = 0; | |
1665 | + // | |
1666 | + // gridColumn63 | |
1667 | + // | |
1668 | + this.gridColumn63.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold); | |
1669 | + this.gridColumn63.AppearanceCell.Options.UseFont = true; | |
1670 | + this.gridColumn63.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold); | |
1671 | + this.gridColumn63.AppearanceHeader.Options.UseFont = true; | |
1672 | + this.gridColumn63.Caption = "작업방법"; | |
1673 | + this.gridColumn63.FieldName = "notes"; | |
1674 | + this.gridColumn63.Name = "gridColumn63"; | |
1675 | + this.gridColumn63.Visible = true; | |
1676 | + this.gridColumn63.VisibleIndex = 1; | |
1677 | + this.gridColumn63.Width = 916; | |
1678 | + // | |
1679 | + // repositoryItemLookUpEdit11 | |
1680 | + // | |
1681 | + this.repositoryItemLookUpEdit11.AutoHeight = false; | |
1682 | + this.repositoryItemLookUpEdit11.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1683 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1684 | + this.repositoryItemLookUpEdit11.Name = "repositoryItemLookUpEdit11"; | |
1685 | + // | |
1686 | + // repositoryItemButtonEdit7 | |
1687 | + // | |
1688 | + this.repositoryItemButtonEdit7.AutoHeight = false; | |
1689 | + this.repositoryItemButtonEdit7.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1690 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "상세", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject4, "", null, null, true)}); | |
1691 | + this.repositoryItemButtonEdit7.ButtonsStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; | |
1692 | + this.repositoryItemButtonEdit7.Name = "repositoryItemButtonEdit7"; | |
1693 | + // | |
1694 | + // repositoryItemLookUpEdit12 | |
1695 | + // | |
1696 | + this.repositoryItemLookUpEdit12.AutoHeight = false; | |
1697 | + this.repositoryItemLookUpEdit12.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1698 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1699 | + this.repositoryItemLookUpEdit12.Name = "repositoryItemLookUpEdit12"; | |
1700 | + // | |
1701 | + // repositoryItemButtonEdit8 | |
1702 | + // | |
1703 | + this.repositoryItemButtonEdit8.AutoHeight = false; | |
1704 | + this.repositoryItemButtonEdit8.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1705 | + new DevExpress.XtraEditors.Controls.EditorButton()}); | |
1706 | + this.repositoryItemButtonEdit8.Name = "repositoryItemButtonEdit8"; | |
1707 | + // | |
1708 | + // repositoryItemButtonEdit9 | |
1709 | + // | |
1710 | + this.repositoryItemButtonEdit9.AutoHeight = false; | |
1711 | + this.repositoryItemButtonEdit9.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1712 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Search)}); | |
1713 | + this.repositoryItemButtonEdit9.Name = "repositoryItemButtonEdit9"; | |
1714 | + // | |
1715 | + // repositoryItemComboBox4 | |
1716 | + // | |
1717 | + this.repositoryItemComboBox4.AutoHeight = false; | |
1718 | + this.repositoryItemComboBox4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1719 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1720 | + this.repositoryItemComboBox4.Items.AddRange(new object[] { | |
1721 | + "증가", | |
1722 | + "감소"}); | |
1723 | + this.repositoryItemComboBox4.Name = "repositoryItemComboBox4"; | |
1724 | + // | |
1725 | + // repositoryItemTextEdit5 | |
1726 | + // | |
1727 | + this.repositoryItemTextEdit5.AutoHeight = false; | |
1728 | + this.repositoryItemTextEdit5.Mask.EditMask = "yy-MM-dd HH:mm:ss"; | |
1729 | + this.repositoryItemTextEdit5.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.DateTime; | |
1730 | + this.repositoryItemTextEdit5.Name = "repositoryItemTextEdit5"; | |
1731 | + // | |
1732 | + // repositoryItemLookUpEdit13 | |
1733 | + // | |
1734 | + this.repositoryItemLookUpEdit13.AutoHeight = false; | |
1735 | + this.repositoryItemLookUpEdit13.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1736 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1737 | + this.repositoryItemLookUpEdit13.Name = "repositoryItemLookUpEdit13"; | |
1738 | + // | |
1739 | + // repositoryItemLookUpEdit14 | |
1740 | + // | |
1741 | + this.repositoryItemLookUpEdit14.AutoHeight = false; | |
1742 | + this.repositoryItemLookUpEdit14.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1743 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1744 | + this.repositoryItemLookUpEdit14.Name = "repositoryItemLookUpEdit14"; | |
1745 | + // | |
1746 | + // repositoryItemDateEdit3 | |
1747 | + // | |
1748 | + this.repositoryItemDateEdit3.AutoHeight = false; | |
1749 | + this.repositoryItemDateEdit3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1750 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1751 | + this.repositoryItemDateEdit3.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1752 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1753 | + this.repositoryItemDateEdit3.Name = "repositoryItemDateEdit3"; | |
1754 | + // | |
1755 | + // repositoryItemTextEdit6 | |
1756 | + // | |
1757 | + this.repositoryItemTextEdit6.AutoHeight = false; | |
1758 | + this.repositoryItemTextEdit6.Mask.EditMask = "p"; | |
1759 | + this.repositoryItemTextEdit6.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; | |
1760 | + this.repositoryItemTextEdit6.Mask.UseMaskAsDisplayFormat = true; | |
1761 | + this.repositoryItemTextEdit6.Name = "repositoryItemTextEdit6"; | |
1762 | + // | |
1763 | + // repositoryItemLookUpEdit15 | |
1764 | + // | |
1765 | + this.repositoryItemLookUpEdit15.AutoHeight = false; | |
1766 | + this.repositoryItemLookUpEdit15.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { | |
1767 | + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); | |
1768 | + this.repositoryItemLookUpEdit15.Name = "repositoryItemLookUpEdit15"; | |
1769 | + // | |
1770 | + // gridColumn27 | |
1771 | + // | |
1772 | + this.gridColumn27.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); | |
1773 | + this.gridColumn27.AppearanceCell.Options.UseFont = true; | |
1774 | + this.gridColumn27.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold); | |
1775 | + this.gridColumn27.AppearanceHeader.Options.UseFont = true; | |
1776 | + this.gridColumn27.Caption = "포장명"; | |
1777 | + this.gridColumn27.FieldName = "process_key"; | |
1778 | + this.gridColumn27.Name = "gridColumn27"; | |
1779 | + this.gridColumn27.OptionsColumn.AllowEdit = false; | |
1780 | + this.gridColumn27.OptionsColumn.AllowFocus = false; | |
1781 | + this.gridColumn27.Visible = true; | |
1782 | + this.gridColumn27.VisibleIndex = 3; | |
1783 | + this.gridColumn27.Width = 98; | |
1784 | + // | |
1785 | + // gridColumn4 | |
1786 | + // | |
1787 | + this.gridColumn4.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1788 | + this.gridColumn4.AppearanceCell.Options.UseFont = true; | |
1789 | + this.gridColumn4.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1790 | + this.gridColumn4.AppearanceHeader.Options.UseFont = true; | |
1791 | + this.gridColumn4.Caption = "비고"; | |
1792 | + this.gridColumn4.FieldName = "REMARK"; | |
1793 | + this.gridColumn4.Name = "gridColumn4"; | |
1794 | + this.gridColumn4.OptionsColumn.AllowEdit = false; | |
1795 | + this.gridColumn4.OptionsColumn.AllowFocus = false; | |
1796 | + this.gridColumn4.Width = 157; | |
1797 | + // | |
1798 | + // gridColumn5 | |
1799 | + // | |
1800 | + this.gridColumn5.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); | |
1801 | + this.gridColumn5.AppearanceCell.Options.UseFont = true; | |
1802 | + this.gridColumn5.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold); | |
1803 | + this.gridColumn5.AppearanceHeader.Options.UseFont = true; | |
1804 | + this.gridColumn5.Caption = "공정코드"; | |
1805 | + this.gridColumn5.FieldName = "process_key"; | |
1806 | + this.gridColumn5.Name = "gridColumn5"; | |
1807 | + this.gridColumn5.OptionsColumn.AllowEdit = false; | |
1808 | + this.gridColumn5.OptionsColumn.AllowFocus = false; | |
1809 | + this.gridColumn5.Width = 193; | |
1810 | + // | |
1811 | + // gridColumn1 | |
1812 | + // | |
1813 | + this.gridColumn1.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1814 | + this.gridColumn1.AppearanceCell.Options.UseFont = true; | |
1815 | + this.gridColumn1.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1816 | + this.gridColumn1.AppearanceHeader.Options.UseFont = true; | |
1817 | + this.gridColumn1.Caption = "작업장 이니셜"; | |
1818 | + this.gridColumn1.FieldName = "initial_name"; | |
1819 | + this.gridColumn1.Name = "gridColumn1"; | |
1820 | + this.gridColumn1.OptionsColumn.AllowEdit = false; | |
1821 | + this.gridColumn1.OptionsColumn.AllowFocus = false; | |
1822 | + this.gridColumn1.Width = 181; | |
1823 | + // | |
1824 | + // gridColumn10 | |
1825 | + // | |
1826 | + this.gridColumn10.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1827 | + this.gridColumn10.AppearanceCell.Options.UseFont = true; | |
1828 | + this.gridColumn10.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1829 | + this.gridColumn10.AppearanceHeader.Options.UseFont = true; | |
1830 | + this.gridColumn10.Caption = "작업장"; | |
1831 | + this.gridColumn10.FieldName = "workcenter"; | |
1832 | + this.gridColumn10.Name = "gridColumn10"; | |
1833 | + this.gridColumn10.OptionsColumn.AllowEdit = false; | |
1834 | + this.gridColumn10.OptionsColumn.AllowFocus = false; | |
1835 | + this.gridColumn10.Width = 180; | |
1836 | + // | |
1837 | + // gridColumn11 | |
1838 | + // | |
1839 | + this.gridColumn11.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); | |
1840 | + this.gridColumn11.AppearanceCell.Options.UseFont = true; | |
1841 | + this.gridColumn11.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold); | |
1842 | + this.gridColumn11.AppearanceHeader.Options.UseFont = true; | |
1843 | + this.gridColumn11.Caption = "지시명"; | |
1844 | + this.gridColumn11.FieldName = "ORDER_G_NM"; | |
1845 | + this.gridColumn11.Name = "gridColumn11"; | |
1846 | + this.gridColumn11.OptionsColumn.AllowEdit = false; | |
1847 | + this.gridColumn11.OptionsColumn.AllowFocus = false; | |
1848 | + this.gridColumn11.Width = 171; | |
1849 | + // | |
1850 | + // gridColumn8 | |
1851 | + // | |
1852 | + this.gridColumn8.Caption = "제품명"; | |
1853 | + this.gridColumn8.FieldName = "ITEM_NM"; | |
1854 | + this.gridColumn8.Name = "gridColumn8"; | |
1855 | + // | |
1856 | + // gridColumn7 | |
1857 | + // | |
1858 | + this.gridColumn7.Caption = "프로젝트명"; | |
1859 | + this.gridColumn7.FieldName = "PJT_NM"; | |
1860 | + this.gridColumn7.Name = "gridColumn7"; | |
1861 | + // | |
1862 | + // gridColumn14 | |
1863 | + // | |
1864 | + this.gridColumn14.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1865 | + this.gridColumn14.AppearanceCell.Options.UseFont = true; | |
1866 | + this.gridColumn14.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1867 | + this.gridColumn14.AppearanceHeader.Options.UseFont = true; | |
1868 | + this.gridColumn14.Caption = "ORDER_W_CD"; | |
1869 | + this.gridColumn14.FieldName = "ORDER_W_CD"; | |
1870 | + this.gridColumn14.Name = "gridColumn14"; | |
1871 | + this.gridColumn14.OptionsColumn.AllowEdit = false; | |
1872 | + this.gridColumn14.OptionsColumn.AllowFocus = false; | |
1873 | + // | |
1874 | + // gridColumn13 | |
1875 | + // | |
1876 | + this.gridColumn13.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1877 | + this.gridColumn13.AppearanceCell.Options.UseFont = true; | |
1878 | + this.gridColumn13.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1879 | + this.gridColumn13.AppearanceHeader.Options.UseFont = true; | |
1880 | + this.gridColumn13.Caption = "ORDER_D_CD"; | |
1881 | + this.gridColumn13.FieldName = "ORDER_D_CD"; | |
1882 | + this.gridColumn13.Name = "gridColumn13"; | |
1883 | + this.gridColumn13.OptionsColumn.AllowEdit = false; | |
1884 | + this.gridColumn13.OptionsColumn.AllowFocus = false; | |
1885 | + // | |
1886 | + // gridColumn2 | |
1887 | + // | |
1888 | + this.gridColumn2.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1889 | + this.gridColumn2.AppearanceCell.Options.UseFont = true; | |
1890 | + this.gridColumn2.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1891 | + this.gridColumn2.AppearanceHeader.Options.UseFont = true; | |
1892 | + this.gridColumn2.Caption = "ORDER_G_CD"; | |
1893 | + this.gridColumn2.FieldName = "ORDER_G_CD"; | |
1894 | + this.gridColumn2.Name = "gridColumn2"; | |
1895 | + this.gridColumn2.OptionsColumn.AllowEdit = false; | |
1896 | + this.gridColumn2.OptionsColumn.AllowFocus = false; | |
1897 | + this.gridColumn2.Width = 58; | |
1898 | + // | |
1899 | + // gridColumn41 | |
1900 | + // | |
1901 | + this.gridColumn41.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); | |
1902 | + this.gridColumn41.AppearanceCell.Options.UseFont = true; | |
1903 | + this.gridColumn41.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold); | |
1904 | + this.gridColumn41.AppearanceHeader.Options.UseFont = true; | |
1905 | + this.gridColumn41.Caption = "비고"; | |
1906 | + this.gridColumn41.FieldName = "mark_note"; | |
1907 | + this.gridColumn41.Name = "gridColumn41"; | |
1908 | + this.gridColumn41.Width = 300; | |
1909 | + // | |
1910 | + // gridColumn39 | |
1911 | + // | |
1912 | + this.gridColumn39.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1913 | + this.gridColumn39.AppearanceCell.Options.UseFont = true; | |
1914 | + this.gridColumn39.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1915 | + this.gridColumn39.AppearanceHeader.Options.UseFont = true; | |
1916 | + this.gridColumn39.Caption = "비고"; | |
1917 | + this.gridColumn39.FieldName = "REMARK"; | |
1918 | + this.gridColumn39.Name = "gridColumn39"; | |
1919 | + this.gridColumn39.OptionsColumn.AllowEdit = false; | |
1920 | + this.gridColumn39.OptionsColumn.AllowFocus = false; | |
1921 | + this.gridColumn39.Width = 157; | |
1922 | + // | |
1923 | + // gridColumn38 | |
1924 | + // | |
1925 | + this.gridColumn38.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1926 | + this.gridColumn38.AppearanceCell.Options.UseFont = true; | |
1927 | + this.gridColumn38.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1928 | + this.gridColumn38.AppearanceHeader.Options.UseFont = true; | |
1929 | + this.gridColumn38.Caption = "생산단위"; | |
1930 | + this.gridColumn38.FieldName = "uom_prct"; | |
1931 | + this.gridColumn38.Name = "gridColumn38"; | |
1932 | + this.gridColumn38.OptionsColumn.AllowEdit = false; | |
1933 | + this.gridColumn38.OptionsColumn.AllowFocus = false; | |
1934 | + this.gridColumn38.Width = 100; | |
1935 | + // | |
1936 | + // gridColumn37 | |
1937 | + // | |
1938 | + this.gridColumn37.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); | |
1939 | + this.gridColumn37.AppearanceCell.Options.UseFont = true; | |
1940 | + this.gridColumn37.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold); | |
1941 | + this.gridColumn37.AppearanceHeader.Options.UseFont = true; | |
1942 | + this.gridColumn37.Caption = "포장수량"; | |
1943 | + this.gridColumn37.FieldName = "pack_qty"; | |
1944 | + this.gridColumn37.Name = "gridColumn37"; | |
1945 | + this.gridColumn37.OptionsColumn.AllowEdit = false; | |
1946 | + this.gridColumn37.OptionsColumn.AllowFocus = false; | |
1947 | + this.gridColumn37.Width = 130; | |
1948 | + // | |
1949 | + // gridColumn26 | |
1950 | + // | |
1951 | + this.gridColumn26.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1952 | + this.gridColumn26.AppearanceCell.Options.UseFont = true; | |
1953 | + this.gridColumn26.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1954 | + this.gridColumn26.AppearanceHeader.Options.UseFont = true; | |
1955 | + this.gridColumn26.Caption = "포장단위"; | |
1956 | + this.gridColumn26.FieldName = "uom_pack"; | |
1957 | + this.gridColumn26.Name = "gridColumn26"; | |
1958 | + this.gridColumn26.OptionsColumn.AllowEdit = false; | |
1959 | + this.gridColumn26.OptionsColumn.AllowFocus = false; | |
1960 | + this.gridColumn26.Width = 100; | |
1961 | + // | |
1962 | + // gridColumn25 | |
1963 | + // | |
1964 | + this.gridColumn25.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); | |
1965 | + this.gridColumn25.AppearanceCell.Options.UseFont = true; | |
1966 | + this.gridColumn25.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold); | |
1967 | + this.gridColumn25.AppearanceHeader.Options.UseFont = true; | |
1968 | + this.gridColumn25.Caption = "포장명"; | |
1969 | + this.gridColumn25.FieldName = "mark_nm"; | |
1970 | + this.gridColumn25.Name = "gridColumn25"; | |
1971 | + this.gridColumn25.OptionsColumn.AllowEdit = false; | |
1972 | + this.gridColumn25.OptionsColumn.AllowFocus = false; | |
1973 | + this.gridColumn25.Width = 113; | |
1974 | + // | |
1975 | + // gridColumn24 | |
1976 | + // | |
1977 | + this.gridColumn24.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1978 | + this.gridColumn24.AppearanceCell.Options.UseFont = true; | |
1979 | + this.gridColumn24.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1980 | + this.gridColumn24.AppearanceHeader.Options.UseFont = true; | |
1981 | + this.gridColumn24.Caption = "단위"; | |
1982 | + this.gridColumn24.FieldName = "uom"; | |
1983 | + this.gridColumn24.Name = "gridColumn24"; | |
1984 | + this.gridColumn24.OptionsColumn.AllowEdit = false; | |
1985 | + this.gridColumn24.OptionsColumn.AllowFocus = false; | |
1986 | + this.gridColumn24.Width = 80; | |
1987 | + // | |
1988 | + // gridColumn23 | |
1989 | + // | |
1990 | + this.gridColumn23.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1991 | + this.gridColumn23.AppearanceCell.Options.UseFont = true; | |
1992 | + this.gridColumn23.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
1993 | + this.gridColumn23.AppearanceHeader.Options.UseFont = true; | |
1994 | + this.gridColumn23.Caption = "수량"; | |
1995 | + this.gridColumn23.FieldName = "order_qty"; | |
1996 | + this.gridColumn23.Name = "gridColumn23"; | |
1997 | + this.gridColumn23.OptionsColumn.AllowEdit = false; | |
1998 | + this.gridColumn23.OptionsColumn.AllowFocus = false; | |
1999 | + this.gridColumn23.Width = 130; | |
2000 | + // | |
2001 | + // gridColumn22 | |
2002 | + // | |
2003 | + this.gridColumn22.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); | |
2004 | + this.gridColumn22.AppearanceCell.Options.UseFont = true; | |
2005 | + this.gridColumn22.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold); | |
2006 | + this.gridColumn22.AppearanceHeader.Options.UseFont = true; | |
2007 | + this.gridColumn22.Caption = "지시명"; | |
2008 | + this.gridColumn22.FieldName = "ORDER_G_NM"; | |
2009 | + this.gridColumn22.Name = "gridColumn22"; | |
2010 | + this.gridColumn22.OptionsColumn.AllowEdit = false; | |
2011 | + this.gridColumn22.OptionsColumn.AllowFocus = false; | |
2012 | + this.gridColumn22.Width = 171; | |
2013 | + // | |
2014 | + // gridColumn20 | |
2015 | + // | |
2016 | + this.gridColumn20.Caption = "제품명"; | |
2017 | + this.gridColumn20.FieldName = "ITEM_NM"; | |
2018 | + this.gridColumn20.Name = "gridColumn20"; | |
2019 | + // | |
2020 | + // gridColumn19 | |
2021 | + // | |
2022 | + this.gridColumn19.Caption = "프로젝트명"; | |
2023 | + this.gridColumn19.FieldName = "PJT_NM"; | |
2024 | + this.gridColumn19.Name = "gridColumn19"; | |
2025 | + // | |
2026 | + // gridColumn18 | |
2027 | + // | |
2028 | + this.gridColumn18.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
2029 | + this.gridColumn18.AppearanceCell.Options.UseFont = true; | |
2030 | + this.gridColumn18.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
2031 | + this.gridColumn18.AppearanceHeader.Options.UseFont = true; | |
2032 | + this.gridColumn18.Caption = "ORDER_W_CD"; | |
2033 | + this.gridColumn18.FieldName = "ORDER_W_CD"; | |
2034 | + this.gridColumn18.Name = "gridColumn18"; | |
2035 | + this.gridColumn18.OptionsColumn.AllowEdit = false; | |
2036 | + this.gridColumn18.OptionsColumn.AllowFocus = false; | |
2037 | + // | |
2038 | + // gridColumn17 | |
2039 | + // | |
2040 | + this.gridColumn17.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
2041 | + this.gridColumn17.AppearanceCell.Options.UseFont = true; | |
2042 | + this.gridColumn17.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
2043 | + this.gridColumn17.AppearanceHeader.Options.UseFont = true; | |
2044 | + this.gridColumn17.Caption = "ORDER_D_CD"; | |
2045 | + this.gridColumn17.FieldName = "ORDER_D_CD"; | |
2046 | + this.gridColumn17.Name = "gridColumn17"; | |
2047 | + this.gridColumn17.OptionsColumn.AllowEdit = false; | |
2048 | + this.gridColumn17.OptionsColumn.AllowFocus = false; | |
2049 | + // | |
2050 | + // gridColumn15 | |
2051 | + // | |
2052 | + this.gridColumn15.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
2053 | + this.gridColumn15.AppearanceCell.Options.UseFont = true; | |
2054 | + this.gridColumn15.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
2055 | + this.gridColumn15.AppearanceHeader.Options.UseFont = true; | |
2056 | + this.gridColumn15.Caption = "ORDER_G_CD"; | |
2057 | + this.gridColumn15.FieldName = "ORDER_G_CD"; | |
2058 | + this.gridColumn15.Name = "gridColumn15"; | |
2059 | + this.gridColumn15.OptionsColumn.AllowEdit = false; | |
2060 | + this.gridColumn15.OptionsColumn.AllowFocus = false; | |
2061 | + this.gridColumn15.Width = 58; | |
2062 | + // | |
2063 | + // gridColumn12 | |
2064 | + // | |
2065 | + this.gridColumn12.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
2066 | + this.gridColumn12.AppearanceCell.Options.UseFont = true; | |
2067 | + this.gridColumn12.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
2068 | + this.gridColumn12.AppearanceHeader.Options.UseFont = true; | |
2069 | + this.gridColumn12.Caption = "ORDER_CD"; | |
2070 | + this.gridColumn12.FieldName = "ORDER_CD"; | |
2071 | + this.gridColumn12.Name = "gridColumn12"; | |
2072 | + this.gridColumn12.OptionsColumn.AllowEdit = false; | |
2073 | + this.gridColumn12.OptionsColumn.AllowFocus = false; | |
2074 | + // | |
2075 | + // gridColumn6 | |
2076 | + // | |
2077 | + this.gridColumn6.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
2078 | + this.gridColumn6.AppearanceCell.Options.UseFont = true; | |
2079 | + this.gridColumn6.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
2080 | + this.gridColumn6.AppearanceHeader.Options.UseFont = true; | |
2081 | + this.gridColumn6.Caption = "COMP_CD"; | |
2082 | + this.gridColumn6.FieldName = "COMP_CD"; | |
2083 | + this.gridColumn6.Name = "gridColumn6"; | |
2084 | + this.gridColumn6.OptionsColumn.AllowEdit = false; | |
2085 | + this.gridColumn6.OptionsColumn.AllowFocus = false; | |
2086 | + // | |
2087 | + // gridColumn3 | |
2088 | + // | |
2089 | + this.gridColumn3.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
2090 | + this.gridColumn3.AppearanceCell.Options.UseFont = true; | |
2091 | + this.gridColumn3.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | |
2092 | + this.gridColumn3.AppearanceHeader.Options.UseFont = true; | |
2093 | + this.gridColumn3.Caption = "로트통제번호"; | |
2094 | + this.gridColumn3.FieldName = "notes"; | |
2095 | + this.gridColumn3.Name = "gridColumn3"; | |
2096 | + this.gridColumn3.OptionsColumn.AllowEdit = false; | |
2097 | + this.gridColumn3.OptionsColumn.AllowFocus = false; | |
2098 | + this.gridColumn3.Width = 200; | |
2099 | + // | |
2100 | + // end | |
2101 | + // | |
2102 | + this.end.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); | |
2103 | + this.end.AppearanceCell.Options.UseFont = true; | |
2104 | + this.end.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold); | |
2105 | + this.end.AppearanceHeader.Options.UseFont = true; | |
2106 | + this.end.Caption = "투입완료"; | |
2107 | + this.end.Name = "end"; | |
2108 | + this.end.Width = 117; | |
2109 | + // | |
2110 | + // gridColumn52 | |
2111 | + // | |
2112 | + this.gridColumn52.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); | |
2113 | + this.gridColumn52.AppearanceCell.Options.UseFont = true; | |
2114 | + this.gridColumn52.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold); | |
2115 | + this.gridColumn52.AppearanceHeader.Options.UseFont = true; | |
2116 | + this.gridColumn52.Caption = "작업장"; | |
2117 | + this.gridColumn52.Name = "gridColumn52"; | |
2118 | + this.gridColumn52.Visible = true; | |
2119 | + this.gridColumn52.VisibleIndex = 1; | |
2120 | + this.gridColumn52.Width = 232; | |
2121 | + // | |
2122 | + // UcWork | |
2123 | + // | |
2124 | + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | |
2125 | + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | |
2126 | + this.Controls.Add(this.splitContainer1); | |
2127 | + this.Name = "UcWork"; | |
2128 | + this.Size = new System.Drawing.Size(1024, 550); | |
2129 | + this.splitContainer1.Panel1.ResumeLayout(false); | |
2130 | + this.splitContainer1.Panel2.ResumeLayout(false); | |
2131 | + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); | |
2132 | + this.splitContainer1.ResumeLayout(false); | |
2133 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl_Manu)).EndInit(); | |
2134 | + this.panelControl_Manu.ResumeLayout(false); | |
2135 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl7)).EndInit(); | |
2136 | + this.panelControl7.ResumeLayout(false); | |
2137 | + ((System.ComponentModel.ISupportInitialize)(this.barcode.Properties)).EndInit(); | |
2138 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl6)).EndInit(); | |
2139 | + this.panelControl6.ResumeLayout(false); | |
2140 | + ((System.ComponentModel.ISupportInitialize)(this.txt_state.Properties)).EndInit(); | |
2141 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); | |
2142 | + this.panelControl2.ResumeLayout(false); | |
2143 | + ((System.ComponentModel.ISupportInitialize)(this.txt_qty.Properties)).EndInit(); | |
2144 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); | |
2145 | + this.panelControl1.ResumeLayout(false); | |
2146 | + ((System.ComponentModel.ISupportInitialize)(this.txt_partnm.Properties)).EndInit(); | |
2147 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit(); | |
2148 | + this.panelControl3.ResumeLayout(false); | |
2149 | + ((System.ComponentModel.ISupportInitialize)(this.txt_partno.Properties)).EndInit(); | |
2150 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit(); | |
2151 | + this.panelControl4.ResumeLayout(false); | |
2152 | + ((System.ComponentModel.ISupportInitialize)(this.txt_lotno.Properties)).EndInit(); | |
2153 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl5)).EndInit(); | |
2154 | + this.panelControl5.ResumeLayout(false); | |
2155 | + ((System.ComponentModel.ISupportInitialize)(this.txt_workno.Properties)).EndInit(); | |
2156 | + ((System.ComponentModel.ISupportInitialize)(this.panelControl36)).EndInit(); | |
2157 | + this.panelControl36.ResumeLayout(false); | |
2158 | + ((System.ComponentModel.ISupportInitialize)(this.dateEdit_ORDER_DT.Properties.CalendarTimeProperties)).EndInit(); | |
2159 | + ((System.ComponentModel.ISupportInitialize)(this.dateEdit_ORDER_DT.Properties)).EndInit(); | |
2160 | + this.tabControl1.ResumeLayout(false); | |
2161 | + this.tabPage1.ResumeLayout(false); | |
2162 | + this.splitContainer2.Panel1.ResumeLayout(false); | |
2163 | + this.splitContainer2.Panel2.ResumeLayout(false); | |
2164 | + ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); | |
2165 | + this.splitContainer2.ResumeLayout(false); | |
2166 | + ((System.ComponentModel.ISupportInitialize)(this.gridControl_P)).EndInit(); | |
2167 | + ((System.ComponentModel.ISupportInitialize)(this.gridView_P)).EndInit(); | |
2168 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_ORDER_UNIT_CD)).EndInit(); | |
2169 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit_ITEM_SPEC)).EndInit(); | |
2170 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_ITEM_CD)).EndInit(); | |
2171 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit_Mokh)).EndInit(); | |
2172 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit_Detail)).EndInit(); | |
2173 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit(); | |
2174 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit_DataTime)).EndInit(); | |
2175 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_PROC)).EndInit(); | |
2176 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_WORKER)).EndInit(); | |
2177 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit_END_DT.CalendarTimeProperties)).EndInit(); | |
2178 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit_END_DT)).EndInit(); | |
2179 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit_RATIO)).EndInit(); | |
2180 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit_MACH)).EndInit(); | |
2181 | + ((System.ComponentModel.ISupportInitialize)(this.gridControl_B)).EndInit(); | |
2182 | + ((System.ComponentModel.ISupportInitialize)(this.gridView_B)).EndInit(); | |
2183 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).EndInit(); | |
2184 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit(); | |
2185 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit2)).EndInit(); | |
2186 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit2)).EndInit(); | |
2187 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit3)).EndInit(); | |
2188 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).EndInit(); | |
2189 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit(); | |
2190 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit3)).EndInit(); | |
2191 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit4)).EndInit(); | |
2192 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).EndInit(); | |
2193 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).EndInit(); | |
2194 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).EndInit(); | |
2195 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit5)).EndInit(); | |
2196 | + this.tabPage2.ResumeLayout(false); | |
2197 | + ((System.ComponentModel.ISupportInitialize)(this.gridControl_Main)).EndInit(); | |
2198 | + ((System.ComponentModel.ISupportInitialize)(this.gridView_Main)).EndInit(); | |
2199 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit6)).EndInit(); | |
2200 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit4)).EndInit(); | |
2201 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit7)).EndInit(); | |
2202 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit5)).EndInit(); | |
2203 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit6)).EndInit(); | |
2204 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox3)).EndInit(); | |
2205 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit3)).EndInit(); | |
2206 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit8)).EndInit(); | |
2207 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit9)).EndInit(); | |
2208 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).EndInit(); | |
2209 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).EndInit(); | |
2210 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit4)).EndInit(); | |
2211 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit10)).EndInit(); | |
2212 | + this.tabPage3.ResumeLayout(false); | |
2213 | + ((System.ComponentModel.ISupportInitialize)(this.gridControl_note)).EndInit(); | |
2214 | + ((System.ComponentModel.ISupportInitialize)(this.gridView_note)).EndInit(); | |
2215 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit11)).EndInit(); | |
2216 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit7)).EndInit(); | |
2217 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit12)).EndInit(); | |
2218 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit8)).EndInit(); | |
2219 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit9)).EndInit(); | |
2220 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox4)).EndInit(); | |
2221 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit5)).EndInit(); | |
2222 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit13)).EndInit(); | |
2223 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit14)).EndInit(); | |
2224 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3.CalendarTimeProperties)).EndInit(); | |
2225 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3)).EndInit(); | |
2226 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit6)).EndInit(); | |
2227 | + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit15)).EndInit(); | |
2228 | + this.ResumeLayout(false); | |
2229 | + | |
2230 | + } | |
2231 | + | |
2232 | + #endregion | |
2233 | + | |
2234 | + private System.Windows.Forms.SplitContainer splitContainer1; | |
2235 | + private DevExpress.XtraEditors.PanelControl panelControl_Manu; | |
2236 | + private DevExpress.XtraEditors.PanelControl panelControl3; | |
2237 | + private DevExpress.XtraEditors.TextEdit txt_partno; | |
2238 | + private DevExpress.XtraEditors.LabelControl labelControl2; | |
2239 | + private DevExpress.XtraEditors.SimpleButton simpleButton_ReFresh; | |
2240 | + private DevExpress.XtraEditors.PanelControl panelControl4; | |
2241 | + private DevExpress.XtraEditors.TextEdit txt_lotno; | |
2242 | + private DevExpress.XtraEditors.LabelControl labelControl3; | |
2243 | + private DevExpress.XtraEditors.PanelControl panelControl5; | |
2244 | + private DevExpress.XtraEditors.TextEdit txt_workno; | |
2245 | + private DevExpress.XtraEditors.LabelControl labelControl4; | |
2246 | + private DevExpress.XtraEditors.SimpleButton simpleButton_Work; | |
2247 | + private DevExpress.XtraEditors.PanelControl panelControl36; | |
2248 | + private DevExpress.XtraEditors.DateEdit dateEdit_ORDER_DT; | |
2249 | + private DevExpress.XtraEditors.SimpleButton simpleButton_Next; | |
2250 | + private DevExpress.XtraEditors.SimpleButton simpleButton_Pre; | |
2251 | + private DevExpress.XtraEditors.LabelControl labelControl37; | |
2252 | + private DevExpress.XtraEditors.SimpleButton simpleButton_Search; | |
2253 | + private DevExpress.XtraEditors.PanelControl panelControl1; | |
2254 | + private DevExpress.XtraEditors.TextEdit txt_partnm; | |
2255 | + private DevExpress.XtraEditors.LabelControl labelControl1; | |
2256 | + private DevExpress.XtraEditors.PanelControl panelControl2; | |
2257 | + private DevExpress.XtraEditors.TextEdit txt_qty; | |
2258 | + private DevExpress.XtraEditors.LabelControl lable5; | |
2259 | + private DevExpress.XtraEditors.PanelControl panelControl6; | |
2260 | + private DevExpress.XtraEditors.TextEdit txt_state; | |
2261 | + private DevExpress.XtraEditors.LabelControl labelControl6; | |
2262 | + private System.Windows.Forms.TabControl tabControl1; | |
2263 | + private System.Windows.Forms.TabPage tabPage1; | |
2264 | + private System.Windows.Forms.TabPage tabPage2; | |
2265 | + private System.Windows.Forms.SplitContainer splitContainer2; | |
2266 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn27; | |
2267 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn4; | |
2268 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn5; | |
2269 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; | |
2270 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn10; | |
2271 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn11; | |
2272 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn8; | |
2273 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn7; | |
2274 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn14; | |
2275 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn13; | |
2276 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; | |
2277 | + private DevExpress.XtraEditors.PanelControl panelControl7; | |
2278 | + private DevExpress.XtraEditors.LabelControl labelControl5; | |
2279 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn41; | |
2280 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn39; | |
2281 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn38; | |
2282 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn37; | |
2283 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn26; | |
2284 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn25; | |
2285 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn24; | |
2286 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn23; | |
2287 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn22; | |
2288 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn20; | |
2289 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn19; | |
2290 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn18; | |
2291 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn17; | |
2292 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn15; | |
2293 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn12; | |
2294 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn6; | |
2295 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; | |
2296 | + private DevExpress.XtraGrid.Columns.GridColumn end; | |
2297 | + private DevExpress.XtraGrid.GridControl gridControl_P; | |
2298 | + private DevExpress.XtraGrid.Views.Grid.GridView gridView_P; | |
2299 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit_ORDER_UNIT_CD; | |
2300 | + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit_ITEM_SPEC; | |
2301 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit_ITEM_CD; | |
2302 | + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit_Mokh; | |
2303 | + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit_Detail; | |
2304 | + private DevExpress.XtraEditors.Repository.RepositoryItemComboBox repositoryItemComboBox1; | |
2305 | + private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEdit_DataTime; | |
2306 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit_PROC; | |
2307 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit_WORKER; | |
2308 | + private DevExpress.XtraEditors.Repository.RepositoryItemDateEdit repositoryItemDateEdit_END_DT; | |
2309 | + private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEdit_RATIO; | |
2310 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit_MACH; | |
2311 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn9; | |
2312 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn16; | |
2313 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn21; | |
2314 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn28; | |
2315 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn29; | |
2316 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn30; | |
2317 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn31; | |
2318 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn32; | |
2319 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn33; | |
2320 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn34; | |
2321 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn35; | |
2322 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn36; | |
2323 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn40; | |
2324 | + private DevExpress.XtraGrid.GridControl gridControl_B; | |
2325 | + private DevExpress.XtraGrid.Views.Grid.GridView gridView_B; | |
2326 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit1; | |
2327 | + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; | |
2328 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit2; | |
2329 | + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit2; | |
2330 | + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit3; | |
2331 | + private DevExpress.XtraEditors.Repository.RepositoryItemComboBox repositoryItemComboBox2; | |
2332 | + private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEdit1; | |
2333 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit3; | |
2334 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit4; | |
2335 | + private DevExpress.XtraEditors.Repository.RepositoryItemDateEdit repositoryItemDateEdit1; | |
2336 | + private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEdit2; | |
2337 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit5; | |
2338 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn42; | |
2339 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn43; | |
2340 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn44; | |
2341 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn45; | |
2342 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn46; | |
2343 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn47; | |
2344 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn48; | |
2345 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn49; | |
2346 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn50; | |
2347 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn51; | |
2348 | + private DevExpress.XtraGrid.GridControl gridControl_Main; | |
2349 | + private DevExpress.XtraGrid.Views.Grid.GridView gridView_Main; | |
2350 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit6; | |
2351 | + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit4; | |
2352 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit7; | |
2353 | + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit5; | |
2354 | + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit6; | |
2355 | + private DevExpress.XtraEditors.Repository.RepositoryItemComboBox repositoryItemComboBox3; | |
2356 | + private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEdit3; | |
2357 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit8; | |
2358 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit9; | |
2359 | + private DevExpress.XtraEditors.Repository.RepositoryItemDateEdit repositoryItemDateEdit2; | |
2360 | + private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEdit4; | |
2361 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit10; | |
2362 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn52; | |
2363 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn53; | |
2364 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn54; | |
2365 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn55; | |
2366 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn56; | |
2367 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn57; | |
2368 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn58; | |
2369 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn59; | |
2370 | + private DevExpress.XtraEditors.TextEdit barcode; | |
2371 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn60; | |
2372 | + private System.Windows.Forms.TabPage tabPage3; | |
2373 | + private DevExpress.XtraGrid.GridControl gridControl_note; | |
2374 | + private DevExpress.XtraGrid.Views.Grid.GridView gridView_note; | |
2375 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit11; | |
2376 | + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit7; | |
2377 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit12; | |
2378 | + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit8; | |
2379 | + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit9; | |
2380 | + private DevExpress.XtraEditors.Repository.RepositoryItemComboBox repositoryItemComboBox4; | |
2381 | + private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEdit5; | |
2382 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit13; | |
2383 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit14; | |
2384 | + private DevExpress.XtraEditors.Repository.RepositoryItemDateEdit repositoryItemDateEdit3; | |
2385 | + private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEdit6; | |
2386 | + private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repositoryItemLookUpEdit15; | |
2387 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn61; | |
2388 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn62; | |
2389 | + private DevExpress.XtraGrid.Columns.GridColumn gridColumn63; | |
2390 | + } | |
2391 | +}(No newline at end of file) |
+++ KHSCALE_TP/UcWork.cs
... | ... | @@ -0,0 +1,429 @@ |
1 | +using ClientLib; | |
2 | +using ClientLib.CommonService2; | |
3 | +using DevExpress.XtraEditors; | |
4 | +using PublicLib; | |
5 | +using System; | |
6 | +using System.Collections.Generic; | |
7 | +using System.ComponentModel; | |
8 | +using System.Data; | |
9 | +using System.Drawing; | |
10 | +using System.Linq; | |
11 | +using System.Text; | |
12 | +using System.Threading.Tasks; | |
13 | +using System.Windows.Forms; | |
14 | +using System.Runtime.InteropServices; | |
15 | +using System.Data.SqlClient; | |
16 | + | |
17 | +namespace KHSCALE_TP | |
18 | +{ | |
19 | + public partial class UcWork : UserControl | |
20 | + { | |
21 | + [DllImport("user32.dll")] | |
22 | + static extern uint keybd_event(byte bVk, byte bScan, int dwFlags, int dwExtraInfo); | |
23 | + | |
24 | + string BarData = ""; | |
25 | + | |
26 | + U3Database u3Database = new U3Database(); | |
27 | + U3Config u3Config = new U3Config(); | |
28 | + | |
29 | + private string m_ORDER_CD = ""; | |
30 | + private string m_ORDER_G_CD = ""; | |
31 | + | |
32 | + public UcWork() | |
33 | + { | |
34 | + InitializeComponent(); | |
35 | + u3Database.SetSqlServer(); | |
36 | + | |
37 | + //DataView grpMach = new DataView(GetMachTable()); | |
38 | + //UtilClass.SetLookup(this.lookUpEdit_Mach, grpMach, "MACH_CD", "MACH_NM", true, true); | |
39 | + | |
40 | + dateEdit_ORDER_DT.DateTime = DateTime.Now; | |
41 | + | |
42 | + //searchProc(); | |
43 | + } | |
44 | + | |
45 | + protected override void OnLoad(EventArgs e) | |
46 | + { | |
47 | + base.OnLoad(e); | |
48 | + | |
49 | + OnInitButtonClicked(); | |
50 | + | |
51 | + | |
52 | + } | |
53 | + | |
54 | + public string ReceivedData = ""; | |
55 | + public string orderno = ""; | |
56 | + public string lot = ""; | |
57 | + | |
58 | + public void searchProc() | |
59 | + { | |
60 | + try | |
61 | + { | |
62 | + this.Cursor = Cursors.WaitCursor; | |
63 | + | |
64 | + gridControl_Main.DataSource = null; | |
65 | + | |
66 | + string sDate = this.dateEdit_ORDER_DT.DateTime.ToString("yyyy-MM-dd"); | |
67 | + | |
68 | + DataTable resultData = null; | |
69 | + | |
70 | + gridControl_Main.DataSource = resultData; | |
71 | + | |
72 | + this.Cursor = Cursors.Arrow; | |
73 | + } | |
74 | + catch (Exception ex) | |
75 | + { | |
76 | + this.Cursor = Cursors.Arrow; | |
77 | + MessageBox.Show(ex.Message); | |
78 | + } | |
79 | + } | |
80 | + | |
81 | + public void barcode_search(string BarData) | |
82 | + { | |
83 | + try | |
84 | + { | |
85 | + | |
86 | + string[] arValues = barcode.Text.Trim().Split(' '); | |
87 | + //if (arValues.Length != 4 && arValues[0] != "P") | |
88 | + // throw new Exception("정상적인 바코드가 아닙니다"); | |
89 | + | |
90 | + if (arValues.Length == 2) //작업지시바코드일경우 | |
91 | + { | |
92 | + DataTable dt = null; | |
93 | + | |
94 | + dt = u3Database.OpenSQL("select * from T_KH_SAL_WORK_D a where a.ORDER_NO = '" + arValues[0].ToString().Substring(1) + "' and a.PLOT_NO = '" + arValues[1].ToString() + "'"); | |
95 | + | |
96 | + // 기존에 저장된 데이터가 있는지 확인하여 있으면 기존에 저장된 데이터를 불러옴(자재만) | |
97 | + if (dt.Rows.Count == 0) | |
98 | + { | |
99 | + gridControl_P.DataSource = null; | |
100 | + gridControl_B.DataSource = null; | |
101 | + gridControl_Main.DataSource = null; | |
102 | + | |
103 | + OnInitButtonClicked(); | |
104 | + | |
105 | + txt_workno.Text = arValues[0].Substring(1); | |
106 | + txt_lotno.Text = arValues[1]; | |
107 | + | |
108 | + DataTable dt1 = null; | |
109 | + | |
110 | + //dt1 = u3Database.OpenSQL("select a.resource_no, a.resource_name, a.order_qty, a.demand_status_desc from T_KH_SAL_ORDER a where a.order_no = '" + arValues[0].ToString().Substring(1) + "' and a.lot = '" + arValues[1].ToString() + "'"); | |
111 | + | |
112 | + dt1 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m101 '" + arValues[0].ToString().Substring(1) + "', '" + arValues[1].ToString() + "'"); | |
113 | + | |
114 | + txt_partno.Text = dt1.Rows[0]["resource_no"].ToString(); | |
115 | + txt_partnm.Text = dt1.Rows[0]["resource_name"].ToString(); | |
116 | + txt_qty.Text = dt1.Rows[0]["order_qty"].ToString(); | |
117 | + txt_state.Text = dt1.Rows[0]["demand_status_desc"].ToString(); | |
118 | + | |
119 | + DataTable resultComp1 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m103 '" + arValues[0].ToString().Substring(1) + "', '" + arValues[1].ToString() + "'"); | |
120 | + | |
121 | + gridControl_P.DataSource = resultComp1; | |
122 | + | |
123 | + DataTable resultComp2 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m102 '" + arValues[0].ToString().Substring(1) + "', '" + arValues[1].ToString() + "'"); | |
124 | + | |
125 | + gridControl_B.DataSource = resultComp2; | |
126 | + | |
127 | + DataTable resultComp3 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m104 '" + arValues[0].ToString().Substring(1) + "', '" + arValues[1].ToString() + "'"); | |
128 | + | |
129 | + gridControl_Main.DataSource = resultComp3; | |
130 | + | |
131 | + barcode.SelectAll(); | |
132 | + } | |
133 | + else if (dt.Rows.Count != 0) | |
134 | + { | |
135 | + gridControl_P.DataSource = null; | |
136 | + gridControl_B.DataSource = null; | |
137 | + gridControl_Main.DataSource = null; | |
138 | + | |
139 | + OnInitButtonClicked(); | |
140 | + | |
141 | + txt_workno.Text = arValues[0].Substring(1); | |
142 | + txt_lotno.Text = arValues[1]; | |
143 | + | |
144 | + DataTable dt1 = null; | |
145 | + | |
146 | + dt1 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m101 '" + arValues[0].ToString().Substring(1) + "', '" + arValues[1].ToString() + "'"); | |
147 | + | |
148 | + txt_partno.Text = dt1.Rows[0]["resource_no"].ToString(); | |
149 | + txt_partnm.Text = dt1.Rows[0]["resource_name"].ToString(); | |
150 | + txt_qty.Text = dt1.Rows[0]["order_qty"].ToString(); | |
151 | + txt_state.Text = dt1.Rows[0]["demand_status_desc"].ToString(); | |
152 | + | |
153 | + DataTable resultComp1 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m103 '" + arValues[0].ToString().Substring(1) + "', '" + arValues[1].ToString() + "'"); | |
154 | + | |
155 | + gridControl_P.DataSource = resultComp1; | |
156 | + | |
157 | + DataTable resultComp2 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m102 '" + arValues[0].ToString().Substring(1) + "', '" + arValues[1].ToString() + "'"); | |
158 | + | |
159 | + gridControl_B.DataSource = resultComp2; | |
160 | + | |
161 | + DataTable resultComp3 = u3Database.OpenSQL("EXEC KHJPARTINDATA1 '" + txt_workno.Text + "', '" + txt_lotno.Text + "'"); | |
162 | + | |
163 | + gridControl_Main.DataSource = resultComp3; | |
164 | + | |
165 | + DataTable resultComp4 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m105 '" + arValues[0].ToString().Substring(1) + "', '" + arValues[1].ToString() + "'"); | |
166 | + | |
167 | + gridControl_note.DataSource = resultComp4; | |
168 | + | |
169 | + barcode.SelectAll(); | |
170 | + } | |
171 | + | |
172 | + } | |
173 | + } | |
174 | + catch (Exception ex) | |
175 | + { | |
176 | + this.ActiveControl = barcode; | |
177 | + barcode.SelectAll(); | |
178 | + | |
179 | + XtraMessageBox.Show(ex.Message); | |
180 | + } | |
181 | + | |
182 | + } | |
183 | + | |
184 | + public void barcode_search2(string order_no, string lot) | |
185 | + { | |
186 | + try | |
187 | + { | |
188 | + DataTable dt = null; | |
189 | + | |
190 | + dt = u3Database.OpenSQL("select * from T_KH_SAL_WORK_D a where a.ORDER_NO = '" + order_no + "' and a.PLOT_NO = '" + lot + "'"); | |
191 | + | |
192 | + if (dt.Rows.Count == 0) | |
193 | + { | |
194 | + string a = order_no.Replace(" ", string.Empty); | |
195 | + string b = lot.Replace(" ", string.Empty); | |
196 | + | |
197 | + //barcode.Text = a + " " + b; | |
198 | + txt_workno.Text = a; | |
199 | + txt_lotno.Text = b; | |
200 | + | |
201 | + DataTable dt1 = null; | |
202 | + | |
203 | + dt1 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m101 '" + a + "', '" + b + "'"); | |
204 | + | |
205 | + txt_partno.Text = dt1.Rows[0]["resource_no"].ToString(); | |
206 | + txt_partnm.Text = dt1.Rows[0]["resource_name"].ToString(); | |
207 | + txt_qty.Text = dt1.Rows[0]["order_qty"].ToString(); | |
208 | + txt_state.Text = dt1.Rows[0]["demand_status_desc"].ToString(); | |
209 | + | |
210 | + DataTable resultComp1 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m103 '" + a + "', '" + b + "'"); | |
211 | + | |
212 | + gridControl_P.DataSource = resultComp1; | |
213 | + | |
214 | + DataTable resultComp2 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m102 '" + a + "', '" + b + "'"); | |
215 | + | |
216 | + gridControl_B.DataSource = resultComp2; | |
217 | + | |
218 | + DataTable resultComp3 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m104 '" + a + "', '" + b + "'"); | |
219 | + | |
220 | + gridControl_Main.DataSource = resultComp3; | |
221 | + | |
222 | + DataTable resultComp4 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m105 '" + a + "', '" + b + "'"); | |
223 | + | |
224 | + gridControl_note.DataSource = resultComp4; | |
225 | + | |
226 | + } | |
227 | + else if (dt.Rows.Count != 0) | |
228 | + { | |
229 | + string a = order_no.Replace(" ", string.Empty); | |
230 | + string b = lot.Replace(" ", string.Empty); | |
231 | + | |
232 | + //barcode.Text = a + " " + b; | |
233 | + txt_workno.Text = a; | |
234 | + txt_lotno.Text = b; | |
235 | + | |
236 | + DataTable dt1 = null; | |
237 | + | |
238 | + dt1 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m101 '" + a + "', '" + b + "'"); | |
239 | + | |
240 | + txt_partno.Text = dt1.Rows[0]["resource_no"].ToString(); | |
241 | + txt_partnm.Text = dt1.Rows[0]["resource_name"].ToString(); | |
242 | + txt_qty.Text = dt1.Rows[0]["order_qty"].ToString(); | |
243 | + txt_state.Text = dt1.Rows[0]["demand_status_desc"].ToString(); | |
244 | + | |
245 | + DataTable resultComp1 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m103 '" + a + "', '" + b + "'"); | |
246 | + | |
247 | + gridControl_P.DataSource = resultComp1; | |
248 | + | |
249 | + DataTable resultComp2 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m102 '" + a + "', '" + b + "'"); | |
250 | + | |
251 | + gridControl_B.DataSource = resultComp2; | |
252 | + | |
253 | + //DataTable resultComp3 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m104 '" + a + "', '" + b + "'"); | |
254 | + DataTable resultComp3 = u3Database.OpenSQL("select a.process_key, a.note, a.resource_used, a.[description], b.QTY as in_qty, a.uom2 as uom, a.qty_total from T_KH_SAL_ORDER a left join T_KH_SAL_WORK_D b on a.order_no = b.ORDER_NO and a.lot = b.PLOT_NO and a.resource_used = b.JPART_NO where a.order_no = '" + order_no + "' and a.lot = '" + lot + "'"); | |
255 | + | |
256 | + gridControl_Main.DataSource = resultComp3; | |
257 | + | |
258 | + DataTable resultComp4 = u3Database.OpenSQL("EXEC KHERP.KHC_MFG.dbo.usp_pop_khc_m105 '" + a + "', '" + b + "'"); | |
259 | + | |
260 | + gridControl_note.DataSource = resultComp4; | |
261 | + } | |
262 | + | |
263 | + | |
264 | + | |
265 | + } | |
266 | + catch (Exception ex) | |
267 | + { | |
268 | + this.ActiveControl = barcode; | |
269 | + barcode.SelectAll(); | |
270 | + | |
271 | + XtraMessageBox.Show(ex.Message); | |
272 | + } | |
273 | + | |
274 | + } | |
275 | + | |
276 | + private DataTable GetMachTable() | |
277 | + { | |
278 | + try | |
279 | + { | |
280 | + this.Cursor = Cursors.WaitCursor; | |
281 | + return u3Database.OpenSQL("select 'N' as SEL_FIELD, a.MACH_CD, a.MACH_NO, a.MACH_NM from dbo.T_STD_MACH a where a.COMP_CD = '" + ConstClass._COMP_CD + "' and isnull(a.DEL_YN,'N') = 'N' order by a.MACH_CD"); | |
282 | + } | |
283 | + catch (Exception ex) | |
284 | + { | |
285 | + this.Cursor = Cursors.Arrow; | |
286 | + XtraMessageBox.Show(ex.Message); | |
287 | + } | |
288 | + return null; | |
289 | + } | |
290 | + | |
291 | + private void simpleButton_Pre_Click(object sender, EventArgs e) | |
292 | + { | |
293 | + try | |
294 | + { | |
295 | + dateEdit_ORDER_DT.DateTime = dateEdit_ORDER_DT.DateTime.AddDays(-1); | |
296 | + //searchProc(); | |
297 | + } | |
298 | + catch (Exception ex) | |
299 | + { | |
300 | + | |
301 | + } | |
302 | + } | |
303 | + | |
304 | + private void simpleButton_Next_Click(object sender, EventArgs e) | |
305 | + { | |
306 | + try | |
307 | + { | |
308 | + dateEdit_ORDER_DT.DateTime = dateEdit_ORDER_DT.DateTime.AddDays(1); | |
309 | + //searchProc(); | |
310 | + } | |
311 | + catch (Exception ex) | |
312 | + { | |
313 | + | |
314 | + } | |
315 | + } | |
316 | + | |
317 | + private void lookUpEdit_Mach_EditValueChanged(object sender, EventArgs e) | |
318 | + { | |
319 | + searchProc(); | |
320 | + } | |
321 | + | |
322 | + private void simpleButton_ReFresh_Click(object sender, EventArgs e) | |
323 | + { | |
324 | + OnInitButtonClicked(); | |
325 | + } | |
326 | + | |
327 | + private void OnInitButtonClicked() | |
328 | + { | |
329 | + txt_workno.Text = ""; | |
330 | + txt_lotno.Text = ""; | |
331 | + txt_partno.Text = ""; | |
332 | + txt_partnm.Text = ""; | |
333 | + txt_qty.Text = ""; | |
334 | + txt_state.Text = ""; | |
335 | + | |
336 | + gridControl_P.DataSource = null; | |
337 | + gridControl_B.DataSource = null; | |
338 | + gridControl_Main.DataSource = null; | |
339 | + | |
340 | + } | |
341 | + | |
342 | + private void simpleButton_Search_Click(object sender, EventArgs e) | |
343 | + { | |
344 | + | |
345 | + UcOrderList ol = new UcOrderList(); | |
346 | + | |
347 | + if (ol.ShowDialog() != DialogResult.Yes) | |
348 | + { | |
349 | + return; | |
350 | + } | |
351 | + | |
352 | + this.barcode_search2(ol.orderno, ol.lot); | |
353 | + //txt_workno.Text = ol.orderno; | |
354 | + //txt_lotno.Text = ol.lot; | |
355 | + } | |
356 | + | |
357 | + private void simpleButton_Work_Click(object sender, EventArgs e) | |
358 | + { | |
359 | + | |
360 | + this.Cursor = Cursors.WaitCursor; | |
361 | + | |
362 | + string sDate = this.dateEdit_ORDER_DT.DateTime.ToString("yyyy-MM-dd"); | |
363 | + | |
364 | + DataTable dt1 = null; | |
365 | + | |
366 | + dt1 = u3Database.OpenSQL("select SUM(a.QTY) as QTY from T_KH_SAL_WORK_D a where a.ORDER_NO = '" + txt_workno.Text + "' and a.PLOT_NO = '" + txt_lotno.Text + "'"); | |
367 | + | |
368 | + try | |
369 | + { | |
370 | + u3Database.ExcuteSql("INSERT INTO T_KH_SAL_WORK_M (COMP_CD, ORDER_NO, LOT_NO, PART_NO, RECORD_DT, TRUE_QTY, RED_ID, REG_DT, UP_ID, UP_DT) VALUES (" + | |
371 | + " '" + ConstClass._COMP_CD + "'" + | |
372 | + " ,'" + txt_workno.Text + "'" + | |
373 | + " ,'" + txt_lotno.Text + "'" + | |
374 | + " ,'" + txt_partno.Text + "'" + | |
375 | + " ,'" + sDate + "'" + | |
376 | + " ,'" + dt1.Rows[0]["QTY"].ToString() + "'" + | |
377 | + " ,'" + ConstClass._USR_ID + "'" + | |
378 | + " ,'" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "'" + | |
379 | + " ,'" + ConstClass._USR_ID + "'" + | |
380 | + " ,'" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "'" + | |
381 | + ")"); | |
382 | + | |
383 | + XtraMessageBox.Show("생산실적을 저장하였습니다."); | |
384 | + | |
385 | + OnInitButtonClicked(); | |
386 | + } | |
387 | + catch (Exception ex) | |
388 | + { | |
389 | + this.Cursor = Cursors.Arrow; | |
390 | + XtraMessageBox.Show(ex.Message); | |
391 | + } | |
392 | + | |
393 | + this.Cursor = Cursors.Arrow; | |
394 | + } | |
395 | + | |
396 | + private void barcode_KeyUp(object sender, KeyEventArgs e) | |
397 | + { | |
398 | + if (e.KeyCode == Keys.Enter) | |
399 | + { | |
400 | + e.SuppressKeyPress = true; | |
401 | + | |
402 | + barcode_search(BarData); | |
403 | + } | |
404 | + else | |
405 | + { | |
406 | + | |
407 | + } | |
408 | + } | |
409 | + | |
410 | + private void gridControl_Main_DoubleClick(object sender, EventArgs e) | |
411 | + { | |
412 | + DataRow row = gridView_Main.GetFocusedDataRow(); | |
413 | + | |
414 | + if (row == null) | |
415 | + { | |
416 | + return; | |
417 | + } | |
418 | + | |
419 | + UcInsertWork iw = new UcInsertWork(); | |
420 | + | |
421 | + iw.SetData(txt_workno.Text, txt_lotno.Text, txt_partno.Text); | |
422 | + | |
423 | + if (iw.ShowDialog() == DialogResult.Yes) | |
424 | + { | |
425 | + searchProc(); | |
426 | + } | |
427 | + } | |
428 | + } | |
429 | +} |
+++ KHSCALE_TP/UcWork.resx
... | ... | @@ -0,0 +1,323 @@ |
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 | + <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | |
121 | + <data name="simpleButton_Search.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |
122 | + <value> | |
123 | + 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 | |
166 | +</value> | |
167 | + </data> | |
168 | + <data name="simpleButton_ReFresh.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |
169 | + <value> | |
170 | + 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 | |
216 | +</value> | |
217 | + </data> | |
218 | + <data name="simpleButton_Work.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |
219 | + <value> | |
220 | + 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 | |
259 | + /wBqkiSvivDUAgAAAABJRU5ErkJggg== | |
260 | +</value> | |
261 | + </data> | |
262 | + <data name="simpleButton_Next.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |
263 | + <value> | |
264 | + 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 | |
290 | +</value> | |
291 | + </data> | |
292 | + <data name="simpleButton_Pre.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |
293 | + <value> | |
294 | + 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 | |
320 | + AAAAAElFTkSuQmCC | |
321 | +</value> | |
322 | + </data> | |
323 | +</root>(No newline at end of file) |
+++ KHSCALE_TP/content-window_icon-icons.com_58037.ico
Binary file is not shown |
--- ModbusTest/DBConnectionSingleton.cs
+++ ModbusTest/DBConnectionSingleton.cs
... | ... | @@ -13,12 +13,18 @@ |
13 | 13 |
private static DBConnectionSingleton DBConnection; |
14 | 14 |
|
15 | 15 |
// Connection 정보를 세팅한다. |
16 |
+ |
|
17 |
+ // 한국하우톤 로컬 서버 |
|
16 | 18 |
private string DBURL = "192.168.1.17,1433"; |
17 | 19 |
private string DBPASSWORD = "signus1!"; |
18 |
- //private string DBURL = "signus-smes.koreacentral.cloudapp.azure.com,14443"; |
|
19 |
- //private string DBPASSWORD = "tlrmsjtm~1@3"; |
|
20 |
- private string DBNAME = "U3SMES"; |
|
21 | 20 |
private string DBID = "sa"; |
21 |
+ |
|
22 |
+ // 개발 서버 |
|
23 |
+ //private string DBURL = "signus-sf1.koreacentral.cloudapp.azure.com,14443"; |
|
24 |
+ //private string DBPASSWORD = "u3smes!"; |
|
25 |
+ //private string DBID = "smes"; |
|
26 |
+ |
|
27 |
+ private string DBNAME = "U3SMES"; |
|
22 | 28 |
SqlConnection mConn; |
23 | 29 |
|
24 | 30 |
public struct DBValue |
--- ModbusTest/FormModbus.Designer.cs
+++ ModbusTest/FormModbus.Designer.cs
... | ... | @@ -93,6 +93,11 @@ |
93 | 93 |
this.textBox1 = new System.Windows.Forms.TextBox(); |
94 | 94 |
this.label21 = new System.Windows.Forms.Label(); |
95 | 95 |
this.simpleButton8 = new DevExpress.XtraEditors.SimpleButton(); |
96 |
+ this.textBox_LENGTH_7 = new System.Windows.Forms.TextBox(); |
|
97 |
+ this.label22 = new System.Windows.Forms.Label(); |
|
98 |
+ this.textBox_Addr_7 = new System.Windows.Forms.TextBox(); |
|
99 |
+ this.label23 = new System.Windows.Forms.Label(); |
|
100 |
+ this.simpleButton_InputRegister_7 = new DevExpress.XtraEditors.SimpleButton(); |
|
96 | 101 |
((System.ComponentModel.ISupportInitialize)(this.toggleSwitch_Auto.Properties)).BeginInit(); |
97 | 102 |
this.panel_DBConnect.SuspendLayout(); |
98 | 103 |
((System.ComponentModel.ISupportInitialize)(this.toggleSwitch_Log.Properties)).BeginInit(); |
... | ... | @@ -368,7 +373,7 @@ |
368 | 373 |
this.textBox_LENGTH_3.Name = "textBox_LENGTH_3"; |
369 | 374 |
this.textBox_LENGTH_3.Size = new System.Drawing.Size(44, 21); |
370 | 375 |
this.textBox_LENGTH_3.TabIndex = 31; |
371 |
- this.textBox_LENGTH_3.Text = "19"; |
|
376 |
+ this.textBox_LENGTH_3.Text = "20"; |
|
372 | 377 |
this.textBox_LENGTH_3.Visible = false; |
373 | 378 |
// |
374 | 379 |
// label9 |
... | ... | @@ -508,45 +513,50 @@ |
508 | 513 |
// |
509 | 514 |
// textBox_LENGTH_6 |
510 | 515 |
// |
511 |
- this.textBox_LENGTH_6.Location = new System.Drawing.Point(1085, 350); |
|
516 |
+ this.textBox_LENGTH_6.Location = new System.Drawing.Point(1085, 321); |
|
512 | 517 |
this.textBox_LENGTH_6.Name = "textBox_LENGTH_6"; |
513 | 518 |
this.textBox_LENGTH_6.Size = new System.Drawing.Size(44, 21); |
514 | 519 |
this.textBox_LENGTH_6.TabIndex = 61; |
515 |
- this.textBox_LENGTH_6.Text = "2"; |
|
520 |
+ this.textBox_LENGTH_6.Text = "10"; |
|
521 |
+ this.textBox_LENGTH_6.Visible = false; |
|
516 | 522 |
// |
517 | 523 |
// label17 |
518 | 524 |
// |
519 | 525 |
this.label17.AutoSize = true; |
520 |
- this.label17.Location = new System.Drawing.Point(1030, 355); |
|
526 |
+ this.label17.Location = new System.Drawing.Point(1030, 326); |
|
521 | 527 |
this.label17.Name = "label17"; |
522 | 528 |
this.label17.Size = new System.Drawing.Size(54, 12); |
523 | 529 |
this.label17.TabIndex = 60; |
524 | 530 |
this.label17.Text = "LENGTH"; |
531 |
+ this.label17.Visible = false; |
|
525 | 532 |
// |
526 | 533 |
// textBox_Addr_6 |
527 | 534 |
// |
528 |
- this.textBox_Addr_6.Location = new System.Drawing.Point(980, 350); |
|
535 |
+ this.textBox_Addr_6.Location = new System.Drawing.Point(980, 321); |
|
529 | 536 |
this.textBox_Addr_6.Name = "textBox_Addr_6"; |
530 | 537 |
this.textBox_Addr_6.Size = new System.Drawing.Size(44, 21); |
531 | 538 |
this.textBox_Addr_6.TabIndex = 59; |
532 | 539 |
this.textBox_Addr_6.Text = "620"; |
540 |
+ this.textBox_Addr_6.Visible = false; |
|
533 | 541 |
// |
534 | 542 |
// label18 |
535 | 543 |
// |
536 | 544 |
this.label18.AutoSize = true; |
537 |
- this.label18.Location = new System.Drawing.Point(933, 355); |
|
545 |
+ this.label18.Location = new System.Drawing.Point(933, 326); |
|
538 | 546 |
this.label18.Name = "label18"; |
539 | 547 |
this.label18.Size = new System.Drawing.Size(37, 12); |
540 | 548 |
this.label18.TabIndex = 58; |
541 | 549 |
this.label18.Text = "ADDR"; |
550 |
+ this.label18.Visible = false; |
|
542 | 551 |
// |
543 | 552 |
// simpleButton_InputRegister_6 |
544 | 553 |
// |
545 |
- this.simpleButton_InputRegister_6.Location = new System.Drawing.Point(1146, 343); |
|
554 |
+ this.simpleButton_InputRegister_6.Location = new System.Drawing.Point(1146, 314); |
|
546 | 555 |
this.simpleButton_InputRegister_6.Name = "simpleButton_InputRegister_6"; |
547 | 556 |
this.simpleButton_InputRegister_6.Size = new System.Drawing.Size(122, 32); |
548 | 557 |
this.simpleButton_InputRegister_6.TabIndex = 57; |
549 | 558 |
this.simpleButton_InputRegister_6.Text = "InputRegister"; |
559 |
+ this.simpleButton_InputRegister_6.Visible = false; |
|
550 | 560 |
this.simpleButton_InputRegister_6.Click += new System.EventHandler(this.simpleButton_InputRegister_6_Click); |
551 | 561 |
// |
552 | 562 |
// textBox_LENGTH_2_2 |
... | ... | @@ -686,10 +696,63 @@ |
686 | 696 |
this.simpleButton8.Visible = false; |
687 | 697 |
this.simpleButton8.Click += new System.EventHandler(this.simpleButton8_Click_1); |
688 | 698 |
// |
699 |
+ // textBox_LENGTH_7 |
|
700 |
+ // |
|
701 |
+ this.textBox_LENGTH_7.Location = new System.Drawing.Point(1085, 359); |
|
702 |
+ this.textBox_LENGTH_7.Name = "textBox_LENGTH_7"; |
|
703 |
+ this.textBox_LENGTH_7.Size = new System.Drawing.Size(44, 21); |
|
704 |
+ this.textBox_LENGTH_7.TabIndex = 78; |
|
705 |
+ this.textBox_LENGTH_7.Text = "2"; |
|
706 |
+ this.textBox_LENGTH_7.Visible = false; |
|
707 |
+ // |
|
708 |
+ // label22 |
|
709 |
+ // |
|
710 |
+ this.label22.AutoSize = true; |
|
711 |
+ this.label22.Location = new System.Drawing.Point(1030, 364); |
|
712 |
+ this.label22.Name = "label22"; |
|
713 |
+ this.label22.Size = new System.Drawing.Size(54, 12); |
|
714 |
+ this.label22.TabIndex = 77; |
|
715 |
+ this.label22.Text = "LENGTH"; |
|
716 |
+ this.label22.Visible = false; |
|
717 |
+ // |
|
718 |
+ // textBox_Addr_7 |
|
719 |
+ // |
|
720 |
+ this.textBox_Addr_7.Location = new System.Drawing.Point(980, 359); |
|
721 |
+ this.textBox_Addr_7.Name = "textBox_Addr_7"; |
|
722 |
+ this.textBox_Addr_7.Size = new System.Drawing.Size(44, 21); |
|
723 |
+ this.textBox_Addr_7.TabIndex = 76; |
|
724 |
+ this.textBox_Addr_7.Text = "490"; |
|
725 |
+ this.textBox_Addr_7.Visible = false; |
|
726 |
+ // |
|
727 |
+ // label23 |
|
728 |
+ // |
|
729 |
+ this.label23.AutoSize = true; |
|
730 |
+ this.label23.Location = new System.Drawing.Point(933, 364); |
|
731 |
+ this.label23.Name = "label23"; |
|
732 |
+ this.label23.Size = new System.Drawing.Size(37, 12); |
|
733 |
+ this.label23.TabIndex = 75; |
|
734 |
+ this.label23.Text = "ADDR"; |
|
735 |
+ this.label23.Visible = false; |
|
736 |
+ // |
|
737 |
+ // simpleButton_InputRegister_7 |
|
738 |
+ // |
|
739 |
+ this.simpleButton_InputRegister_7.Location = new System.Drawing.Point(1146, 352); |
|
740 |
+ this.simpleButton_InputRegister_7.Name = "simpleButton_InputRegister_7"; |
|
741 |
+ this.simpleButton_InputRegister_7.Size = new System.Drawing.Size(122, 32); |
|
742 |
+ this.simpleButton_InputRegister_7.TabIndex = 74; |
|
743 |
+ this.simpleButton_InputRegister_7.Text = "InputRegister"; |
|
744 |
+ this.simpleButton_InputRegister_7.Visible = false; |
|
745 |
+ this.simpleButton_InputRegister_7.Click += new System.EventHandler(this.simpleButton_InputRegister_7_Click); |
|
746 |
+ // |
|
689 | 747 |
// FormModbus |
690 | 748 |
// |
691 | 749 |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; |
692 |
- this.ClientSize = new System.Drawing.Size(932, 450); |
|
750 |
+ this.ClientSize = new System.Drawing.Size(1291, 450); |
|
751 |
+ this.Controls.Add(this.textBox_LENGTH_7); |
|
752 |
+ this.Controls.Add(this.label22); |
|
753 |
+ this.Controls.Add(this.textBox_Addr_7); |
|
754 |
+ this.Controls.Add(this.label23); |
|
755 |
+ this.Controls.Add(this.simpleButton_InputRegister_7); |
|
693 | 756 |
this.Controls.Add(this.simpleButton8); |
694 | 757 |
this.Controls.Add(this.textBox1); |
695 | 758 |
this.Controls.Add(this.label21); |
... | ... | @@ -750,7 +813,6 @@ |
750 | 813 |
this.Controls.Add(this.textBox_State); |
751 | 814 |
this.Name = "FormModbus"; |
752 | 815 |
this.Text = "SignusSensorUploader"; |
753 |
- this.WindowState = System.Windows.Forms.FormWindowState.Minimized; |
|
754 | 816 |
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); |
755 | 817 |
this.Load += new System.EventHandler(this.FormModbus_Load); |
756 | 818 |
((System.ComponentModel.ISupportInitialize)(this.toggleSwitch_Auto.Properties)).EndInit(); |
... | ... | @@ -826,6 +888,11 @@ |
826 | 888 |
private System.Windows.Forms.TextBox textBox1; |
827 | 889 |
private System.Windows.Forms.Label label21; |
828 | 890 |
private DevExpress.XtraEditors.SimpleButton simpleButton8; |
891 |
+ private System.Windows.Forms.TextBox textBox_LENGTH_7; |
|
892 |
+ private System.Windows.Forms.Label label22; |
|
893 |
+ private System.Windows.Forms.TextBox textBox_Addr_7; |
|
894 |
+ private System.Windows.Forms.Label label23; |
|
895 |
+ private DevExpress.XtraEditors.SimpleButton simpleButton_InputRegister_7; |
|
829 | 896 |
} |
830 | 897 |
} |
831 | 898 |
|
--- ModbusTest/FormModbus.cs
+++ ModbusTest/FormModbus.cs
... | ... | @@ -301,13 +301,10 @@ |
301 | 301 |
} |
302 | 302 |
|
303 | 303 |
//sw.Stop(); |
304 |
- |
|
305 | 304 |
//textBox_State.Text += "Timer Check 4 : " + sw.ElapsedMilliseconds.ToString() + "\r\n"; |
306 |
- |
|
307 | 305 |
|
308 | 306 |
textBox_State.Select(textBox_State.Text.Length, 0); |
309 | 307 |
textBox_State.ScrollToCaret(); |
310 |
- |
|
311 | 308 |
} |
312 | 309 |
|
313 | 310 |
public int RunState = 0; |
... | ... | @@ -318,6 +315,7 @@ |
318 | 315 |
switch(RunState) |
319 | 316 |
{ |
320 | 317 |
case 0: |
318 |
+ U3Util.ErrorLog(textBox_State.Text); |
|
321 | 319 |
textBox_State.Text = ""; |
322 | 320 |
lst = new List<string[,]>(); |
323 | 321 |
break; |
... | ... | @@ -350,6 +348,10 @@ |
350 | 348 |
if (array != null) if (array.Length > 1) lst.Add(array); |
351 | 349 |
break; |
352 | 350 |
case 8: |
351 |
+ array = DataReadInputToBit(textBox_Addr_7.Text, textBox_LENGTH_7.Text); |
|
352 |
+ if (array != null) if (array.Length > 1) lst.Add(array); |
|
353 |
+ break; |
|
354 |
+ case 9: |
|
353 | 355 |
DB_Input(lst); |
354 | 356 |
break; |
355 | 357 |
} |
... | ... | @@ -738,12 +740,6 @@ |
738 | 740 |
return result; |
739 | 741 |
} |
740 | 742 |
|
741 |
- public void ByteToBit(byte b) |
|
742 |
- { |
|
743 |
- |
|
744 |
- |
|
745 |
- } |
|
746 |
- |
|
747 | 743 |
public string[,] DataReadInputTouUint64(string Addr, string Length) |
748 | 744 |
{ |
749 | 745 |
//Stopwatch sw = new Stopwatch(); |
... | ... | @@ -912,6 +908,13 @@ |
912 | 908 |
DB_Input(Data); |
913 | 909 |
} |
914 | 910 |
|
911 |
+ |
|
912 |
+ private void simpleButton_InputRegister_7_Click(object sender, EventArgs e) |
|
913 |
+ { |
|
914 |
+ string[,] Data = DataReadInputToBit(textBox_Addr_7.Text, textBox_LENGTH_7.Text); |
|
915 |
+ DB_Input(Data); |
|
916 |
+ } |
|
917 |
+ |
|
915 | 918 |
private void simpleButton_InputRegister_2_2_Click(object sender, EventArgs e) |
916 | 919 |
{ |
917 | 920 |
textBox_State.Text = ""; |
--- ModbusTest/FormModbus.resx
+++ ModbusTest/FormModbus.resx
... | ... | @@ -129,4 +129,7 @@ |
129 | 129 |
<metadata name="timer_Log.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
130 | 130 |
<value>424, 17</value> |
131 | 131 |
</metadata> |
132 |
+ <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
|
133 |
+ <value>57</value> |
|
134 |
+ </metadata> |
|
132 | 135 |
</root>(No newline at end of file) |
--- ModbusTest/KHModbus.csproj
+++ ModbusTest/KHModbus.csproj
... | ... | @@ -68,6 +68,7 @@ |
68 | 68 |
<Compile Include="Program.cs" /> |
69 | 69 |
<Compile Include="Properties\AssemblyInfo.cs" /> |
70 | 70 |
<Compile Include="SerialConnectionSingleton.cs" /> |
71 |
+ <Compile Include="U3Util.cs" /> |
|
71 | 72 |
<EmbeddedResource Include="FormModbus.resx"> |
72 | 73 |
<DependentUpon>FormModbus.cs</DependentUpon> |
73 | 74 |
</EmbeddedResource> |
--- ModbusTest/Program.cs
+++ ModbusTest/Program.cs
... | ... | @@ -19,7 +19,37 @@ |
19 | 19 |
|
20 | 20 |
DBConnectionSingleton.Instance(); |
21 | 21 |
|
22 |
+ //test(); |
|
23 |
+ |
|
22 | 24 |
Application.Run(new FormModbus()); |
23 | 25 |
} |
26 |
+ |
|
27 |
+ static void test() |
|
28 |
+ { |
|
29 |
+ int Addr = 620; |
|
30 |
+ int[] Data = new int[] { 65535, 65534, 3, 4, 5, 6, 7, 8, 9, 10 }; |
|
31 |
+ string[,] result = new string[Data.Length * 16, 2]; |
|
32 |
+ |
|
33 |
+ int aa = 0; |
|
34 |
+ string Result = ""; |
|
35 |
+ for (int i = 0; i < Data.Length; i++) |
|
36 |
+ { |
|
37 |
+ byte[] a = BitConverter.GetBytes(Convert.ToUInt16(Data[i])); |
|
38 |
+ for (int j = 0; j < a.Length; j++) |
|
39 |
+ { |
|
40 |
+ string s = Convert.ToString(a[j], 2).PadLeft(8, '0'); |
|
41 |
+ char[] sa = s.ToCharArray(); |
|
42 |
+ Array.Reverse(sa); |
|
43 |
+ |
|
44 |
+ for (int r = 0; r < sa.Length; r++) |
|
45 |
+ { |
|
46 |
+ result[((i * a.Length * 8) + (j * 8)) + r, 0] = (Convert.ToInt32(Addr) + i).ToString() + "." + ((j * 8) + r).ToString(); |
|
47 |
+ result[((i * a.Length * 8) + (j * 8)) + r, 1] = sa[r].ToString(); |
|
48 |
+ } |
|
49 |
+ |
|
50 |
+ Result += new string(sa); |
|
51 |
+ } |
|
52 |
+ } |
|
53 |
+ } |
|
24 | 54 |
} |
25 | 55 |
} |
+++ ModbusTest/U3Util.cs
... | ... | @@ -0,0 +1,210 @@ |
1 | +using System; | |
2 | +using System.Collections.Generic; | |
3 | +using System.Linq; | |
4 | +using System.Text; | |
5 | +using System.Threading.Tasks; | |
6 | +using System.Windows.Forms; | |
7 | +using System.IO; | |
8 | +using System.Drawing; | |
9 | +using System.Drawing.Imaging; | |
10 | +using System.Drawing.Drawing2D; | |
11 | + | |
12 | +namespace KHModbus | |
13 | +{ | |
14 | + public class U3Util | |
15 | + { | |
16 | + static public Random rnd = new Random(new System.DateTime().Millisecond); | |
17 | + | |
18 | + static public string GetErrorLogFile(bool bFullPath) | |
19 | + { | |
20 | + string AppPath = Application.ExecutablePath.Substring(0, Application.ExecutablePath.LastIndexOf("\\")); | |
21 | + string AppName = Application.ExecutablePath.Substring(Application.ExecutablePath.LastIndexOf("\\") + 1); | |
22 | + string AppTitle = AppName.Substring(0, AppName.LastIndexOf(".")); | |
23 | + | |
24 | + if (bFullPath) | |
25 | + return AppPath + "\\" + AppTitle + "Error.txt"; | |
26 | + else | |
27 | + return AppTitle + "Error.txt"; | |
28 | + } | |
29 | + | |
30 | + static public string GetEventLogFile(bool bFullPath) | |
31 | + { | |
32 | + string AppPath = Application.ExecutablePath.Substring(0, Application.ExecutablePath.LastIndexOf("\\")); | |
33 | + string AppName = Application.ExecutablePath.Substring(Application.ExecutablePath.LastIndexOf("\\") + 1); | |
34 | + string AppTitle = AppName.Substring(0, AppName.LastIndexOf(".")); | |
35 | + | |
36 | + if (bFullPath) | |
37 | + return AppPath + "\\" + AppTitle + "Event.txt"; | |
38 | + else | |
39 | + return AppTitle + "Event.txt"; | |
40 | + } | |
41 | + | |
42 | + static public string GetImagePath() | |
43 | + { | |
44 | + string AppPath = Application.ExecutablePath.Substring(0, Application.ExecutablePath.LastIndexOf("\\")); | |
45 | + return AppPath + "\\" + "Images"; | |
46 | + } | |
47 | + | |
48 | + public static Bitmap ResizeImage(Image image, int width, int height) | |
49 | + { | |
50 | + var destRect = new Rectangle(0, 0, width, height); | |
51 | + var destImage = new Bitmap(width, height); | |
52 | + | |
53 | + destImage.SetResolution(image.HorizontalResolution, image.VerticalResolution); | |
54 | + | |
55 | + using (var graphics = Graphics.FromImage(destImage)) | |
56 | + { | |
57 | + graphics.CompositingMode = CompositingMode.SourceCopy; | |
58 | + graphics.CompositingQuality = CompositingQuality.HighQuality; | |
59 | + graphics.InterpolationMode = InterpolationMode.HighQualityBicubic; | |
60 | + graphics.SmoothingMode = SmoothingMode.HighQuality; | |
61 | + graphics.PixelOffsetMode = PixelOffsetMode.HighQuality; | |
62 | + | |
63 | + using (var wrapMode = new ImageAttributes()) | |
64 | + { | |
65 | + wrapMode.SetWrapMode(WrapMode.TileFlipXY); | |
66 | + graphics.DrawImage(image, destRect, 0, 0, image.Width, image.Height, GraphicsUnit.Pixel, wrapMode); | |
67 | + } | |
68 | + } | |
69 | + return destImage; | |
70 | + } | |
71 | + | |
72 | + public static void ErrorLog(string strLog) | |
73 | + { | |
74 | + try | |
75 | + { | |
76 | + FileLog(strLog, GetErrorLogFile(false)); | |
77 | + } | |
78 | + catch | |
79 | + { | |
80 | + } | |
81 | + } | |
82 | + | |
83 | + public static void EventLog(string strLog) | |
84 | + { | |
85 | + try | |
86 | + { | |
87 | + FileLog(strLog, GetEventLogFile(false)); | |
88 | + } | |
89 | + catch | |
90 | + { | |
91 | + } | |
92 | + } | |
93 | + | |
94 | + public static void FileLog(string strLog, string strFileName) | |
95 | + { | |
96 | + string str = ""; | |
97 | + | |
98 | + DateTime t = DateTime.Now; | |
99 | + str = t.ToString("(yyyy-MM-dd HH:mm:ss.fff) "); | |
100 | + str += strLog; | |
101 | + | |
102 | + try | |
103 | + { | |
104 | + string AppPath = Application.ExecutablePath.Substring(0, Application.ExecutablePath.LastIndexOf("\\")); | |
105 | + string strLogFile = AppPath + "\\" + strFileName; | |
106 | + FileBackup(strLogFile); | |
107 | + FileWrite(strLogFile, str); | |
108 | + } | |
109 | + catch (Exception ex) | |
110 | + { | |
111 | + throw new Exception("FileLog->:" + ex.Message); | |
112 | + } | |
113 | + } | |
114 | + | |
115 | + public static void FileBackup(string strLogFile) | |
116 | + { | |
117 | + if (File.Exists(strLogFile)) | |
118 | + { | |
119 | + try | |
120 | + { | |
121 | + FileInfo f = new FileInfo(strLogFile); | |
122 | + if (f.Length >= (2 * 1024 * 1024)) | |
123 | + { | |
124 | + System.IO.File.Delete(strLogFile + ".bak"); | |
125 | + f.MoveTo(strLogFile + ".bak"); | |
126 | + } | |
127 | + } | |
128 | + catch (Exception ex) | |
129 | + { | |
130 | + throw new Exception("FileBackup->:" + ex.Message); | |
131 | + } | |
132 | + } | |
133 | + } | |
134 | + | |
135 | + public static void FileWrite(string strLogFile, string str) | |
136 | + { | |
137 | + try | |
138 | + { | |
139 | + FileStream fs = new FileStream(strLogFile, FileMode.OpenOrCreate, FileAccess.Write, FileShare.None); | |
140 | + fs.Seek(0, SeekOrigin.End); | |
141 | + StreamWriter swFromFile = new StreamWriter(fs); | |
142 | + swFromFile.WriteLine(str); | |
143 | + swFromFile.Close(); | |
144 | + fs.Close(); | |
145 | + } | |
146 | + catch (Exception ex) | |
147 | + { | |
148 | + ErrorLog("FileWrite->:" + ex.Message); | |
149 | + } | |
150 | + } | |
151 | + | |
152 | + public static string FileRead(string strFileName) | |
153 | + { | |
154 | + if (System.IO.File.Exists(strFileName) == false) return ""; | |
155 | + | |
156 | + string result = ""; | |
157 | + try | |
158 | + { | |
159 | + FileStream fs = new FileStream(strFileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite); | |
160 | + fs.Seek(0, SeekOrigin.Begin); | |
161 | + StreamReader srFile = new StreamReader(fs, Encoding.Default, true); | |
162 | + result = srFile.ReadToEnd(); | |
163 | + srFile.Close(); | |
164 | + fs.Close(); | |
165 | + } | |
166 | + catch (Exception ex) | |
167 | + { | |
168 | + ErrorLog("FileRead->:" + ex.Message); | |
169 | + } | |
170 | + return result; | |
171 | + } | |
172 | + | |
173 | + public static bool GetBit(byte b, int bitNumber) | |
174 | + { | |
175 | + return (b & (1 << bitNumber)) != 0; | |
176 | + } | |
177 | + | |
178 | + public static bool GetBit(short s, int bitNumber) | |
179 | + { | |
180 | + return (s & (1 << bitNumber)) != 0; | |
181 | + } | |
182 | + | |
183 | + static public DateTime FromUnixTime(long unixTime) | |
184 | + { | |
185 | + var epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); | |
186 | + return epoch.AddSeconds(unixTime); | |
187 | + } | |
188 | + | |
189 | + static public Int32 ToUnixTime(DateTime dt) | |
190 | + { | |
191 | + return (Int32)(dt.Subtract(new DateTime(1970, 1, 1, 0, 0, 0))).TotalSeconds; | |
192 | + } | |
193 | + | |
194 | + static public void DeleteAllFile(string strPath) | |
195 | + { | |
196 | + try | |
197 | + { | |
198 | + System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(strPath); | |
199 | + FileInfo[] lst = di.GetFiles(); | |
200 | + foreach (FileInfo fi in lst) | |
201 | + { | |
202 | + System.IO.File.Delete(fi.FullName); | |
203 | + } | |
204 | + } | |
205 | + catch | |
206 | + { | |
207 | + } | |
208 | + } | |
209 | + } | |
210 | +} |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?