This commit is contained in:
chi
2021-03-31 17:55:06 +09:00
parent d7a6cb25c5
commit 33ef66b173
11 changed files with 418 additions and 979 deletions

View File

@@ -68,12 +68,6 @@
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.pMP현황ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.pMP현황ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.mn_eq = new System.Windows.Forms.ToolStripMenuItem(); this.mn_eq = new System.Windows.Forms.ToolStripMenuItem();
this.dataFOLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.dataMoldEOLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.dataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.otherToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.summaryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.aLLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.aLLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -409,7 +403,6 @@
this.mn_jago.Name = "mn_jago"; this.mn_jago.Name = "mn_jago";
this.mn_jago.Size = new System.Drawing.Size(208, 24); this.mn_jago.Size = new System.Drawing.Size(208, 24);
this.mn_jago.Text = "품목재고"; this.mn_jago.Text = "품목재고";
this.mn_jago.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 관리ToolStripMenuItem // 관리ToolStripMenuItem
// //
@@ -435,12 +428,6 @@
// mn_eq // mn_eq
// //
this.mn_eq.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mn_eq.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.dataFOLToolStripMenuItem,
this.dataMoldEOLToolStripMenuItem,
this.dataToolStripMenuItem,
this.ToolStripMenuItem,
this.otherToolStripMenuItem,
this.summaryToolStripMenuItem,
this.aLLToolStripMenuItem, this.aLLToolStripMenuItem,
this.toolStripMenuItem2, this.toolStripMenuItem2,
this.ToolStripMenuItem}); this.ToolStripMenuItem});
@@ -449,70 +436,22 @@
this.mn_eq.Size = new System.Drawing.Size(208, 24); this.mn_eq.Size = new System.Drawing.Size(208, 24);
this.mn_eq.Text = "장비 목록"; this.mn_eq.Text = "장비 목록";
// //
// dataFOLToolStripMenuItem
//
this.dataFOLToolStripMenuItem.ForeColor = System.Drawing.Color.Gray;
this.dataFOLToolStripMenuItem.Name = "dataFOLToolStripMenuItem";
this.dataFOLToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.dataFOLToolStripMenuItem.Text = "FOL";
this.dataFOLToolStripMenuItem.Click += new System.EventHandler(this.dataFOLToolStripMenuItem_Click);
//
// dataMoldEOLToolStripMenuItem
//
this.dataMoldEOLToolStripMenuItem.ForeColor = System.Drawing.Color.Gray;
this.dataMoldEOLToolStripMenuItem.Name = "dataMoldEOLToolStripMenuItem";
this.dataMoldEOLToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.dataMoldEOLToolStripMenuItem.Text = "MOLD & EOL";
this.dataMoldEOLToolStripMenuItem.Click += new System.EventHandler(this.dataMoldEOLToolStripMenuItem_Click);
//
// dataToolStripMenuItem
//
this.dataToolStripMenuItem.ForeColor = System.Drawing.Color.Gray;
this.dataToolStripMenuItem.Name = "dataToolStripMenuItem";
this.dataToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.dataToolStripMenuItem.Text = "BUMP";
this.dataToolStripMenuItem.Click += new System.EventHandler(this.dataToolStripMenuItem_Click);
//
// 잉여장비ToolStripMenuItem
//
this.ToolStripMenuItem.ForeColor = System.Drawing.Color.Gray;
this.ToolStripMenuItem.Name = "잉여장비ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.ToolStripMenuItem.Text = "잉여장비";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// otherToolStripMenuItem
//
this.otherToolStripMenuItem.ForeColor = System.Drawing.Color.Gray;
this.otherToolStripMenuItem.Name = "otherToolStripMenuItem";
this.otherToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.otherToolStripMenuItem.Text = "K3/K5";
this.otherToolStripMenuItem.Click += new System.EventHandler(this.otherToolStripMenuItem_Click);
//
// summaryToolStripMenuItem
//
this.summaryToolStripMenuItem.ForeColor = System.Drawing.Color.Gray;
this.summaryToolStripMenuItem.Name = "summaryToolStripMenuItem";
this.summaryToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.summaryToolStripMenuItem.Text = "Summary";
this.summaryToolStripMenuItem.Click += new System.EventHandler(this.summaryToolStripMenuItem_Click);
//
// aLLToolStripMenuItem // aLLToolStripMenuItem
// //
this.aLLToolStripMenuItem.Name = "aLLToolStripMenuItem"; this.aLLToolStripMenuItem.Name = "aLLToolStripMenuItem";
this.aLLToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.aLLToolStripMenuItem.Size = new System.Drawing.Size(186, 24);
this.aLLToolStripMenuItem.Text = "ALL"; this.aLLToolStripMenuItem.Text = "데이터 및 레포트";
this.aLLToolStripMenuItem.Click += new System.EventHandler(this.aLLToolStripMenuItem_Click); this.aLLToolStripMenuItem.Click += new System.EventHandler(this.aLLToolStripMenuItem_Click);
// //
// toolStripMenuItem2 // toolStripMenuItem2
// //
this.toolStripMenuItem2.Name = "toolStripMenuItem2"; this.toolStripMenuItem2.Name = "toolStripMenuItem2";
this.toolStripMenuItem2.Size = new System.Drawing.Size(177, 6); this.toolStripMenuItem2.Size = new System.Drawing.Size(183, 6);
// //
// 라인코드관리ToolStripMenuItem // 라인코드관리ToolStripMenuItem
// //
this.ToolStripMenuItem.Name = "라인코드관리ToolStripMenuItem"; this.ToolStripMenuItem.Name = "라인코드관리ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 24); this.ToolStripMenuItem.Size = new System.Drawing.Size(186, 24);
this.ToolStripMenuItem.Text = "라인코드관리"; this.ToolStripMenuItem.Text = "라인코드관리";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -584,39 +523,39 @@
// 메모장ToolStripMenuItem // 메모장ToolStripMenuItem
// //
this.ToolStripMenuItem.Name = "메모장ToolStripMenuItem"; this.ToolStripMenuItem.Name = "메모장ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(165, 24); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.ToolStripMenuItem.Text = "메모장"; this.ToolStripMenuItem.Text = "메모장";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// toolStripMenuItem4 // toolStripMenuItem4
// //
this.toolStripMenuItem4.Name = "toolStripMenuItem4"; this.toolStripMenuItem4.Name = "toolStripMenuItem4";
this.toolStripMenuItem4.Size = new System.Drawing.Size(162, 6); this.toolStripMenuItem4.Size = new System.Drawing.Size(177, 6);
// //
// 패치내역ToolStripMenuItem1 // 패치내역ToolStripMenuItem1
// //
this.ToolStripMenuItem1.Name = "패치내역ToolStripMenuItem1"; this.ToolStripMenuItem1.Name = "패치내역ToolStripMenuItem1";
this.ToolStripMenuItem1.Size = new System.Drawing.Size(165, 24); this.ToolStripMenuItem1.Size = new System.Drawing.Size(180, 24);
this.ToolStripMenuItem1.Text = "패치 내역"; this.ToolStripMenuItem1.Text = "패치 내역";
this.ToolStripMenuItem1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click); this.ToolStripMenuItem1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
// //
// 메일내역ToolStripMenuItem // 메일내역ToolStripMenuItem
// //
this.ToolStripMenuItem.Name = "메일내역ToolStripMenuItem"; this.ToolStripMenuItem.Name = "메일내역ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(165, 24); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.ToolStripMenuItem.Text = "메일 내역"; this.ToolStripMenuItem.Text = "메일 내역";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// toolStripMenuItem3 // toolStripMenuItem3
// //
this.toolStripMenuItem3.Name = "toolStripMenuItem3"; this.toolStripMenuItem3.Name = "toolStripMenuItem3";
this.toolStripMenuItem3.Size = new System.Drawing.Size(162, 6); this.toolStripMenuItem3.Size = new System.Drawing.Size(177, 6);
// //
// minutesToolStripMenuItem // minutesToolStripMenuItem
// //
this.minutesToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink; this.minutesToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink;
this.minutesToolStripMenuItem.Name = "minutesToolStripMenuItem"; this.minutesToolStripMenuItem.Name = "minutesToolStripMenuItem";
this.minutesToolStripMenuItem.Size = new System.Drawing.Size(165, 24); this.minutesToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.minutesToolStripMenuItem.Text = "회의록"; this.minutesToolStripMenuItem.Text = "회의록";
this.minutesToolStripMenuItem.Visible = false; this.minutesToolStripMenuItem.Visible = false;
this.minutesToolStripMenuItem.Click += new System.EventHandler(this.minutesToolStripMenuItem_Click); this.minutesToolStripMenuItem.Click += new System.EventHandler(this.minutesToolStripMenuItem_Click);
@@ -625,7 +564,7 @@
// //
this.requestITemToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink; this.requestITemToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink;
this.requestITemToolStripMenuItem.Name = "requestITemToolStripMenuItem"; this.requestITemToolStripMenuItem.Name = "requestITemToolStripMenuItem";
this.requestITemToolStripMenuItem.Size = new System.Drawing.Size(165, 24); this.requestITemToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.requestITemToolStripMenuItem.Text = "견적요청"; this.requestITemToolStripMenuItem.Text = "견적요청";
this.requestITemToolStripMenuItem.Visible = false; this.requestITemToolStripMenuItem.Visible = false;
this.requestITemToolStripMenuItem.Click += new System.EventHandler(this.requestITemToolStripMenuItem_Click); this.requestITemToolStripMenuItem.Click += new System.EventHandler(this.requestITemToolStripMenuItem_Click);
@@ -634,7 +573,7 @@
// //
this.freeBoardToolStripMenuItem.Enabled = false; this.freeBoardToolStripMenuItem.Enabled = false;
this.freeBoardToolStripMenuItem.Name = "freeBoardToolStripMenuItem"; this.freeBoardToolStripMenuItem.Name = "freeBoardToolStripMenuItem";
this.freeBoardToolStripMenuItem.Size = new System.Drawing.Size(165, 24); this.freeBoardToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.freeBoardToolStripMenuItem.Text = "Free Board"; this.freeBoardToolStripMenuItem.Text = "Free Board";
this.freeBoardToolStripMenuItem.Visible = false; this.freeBoardToolStripMenuItem.Visible = false;
// //
@@ -642,7 +581,7 @@
// //
this.bugReportToolStripMenuItem.Enabled = false; this.bugReportToolStripMenuItem.Enabled = false;
this.bugReportToolStripMenuItem.Name = "bugReportToolStripMenuItem"; this.bugReportToolStripMenuItem.Name = "bugReportToolStripMenuItem";
this.bugReportToolStripMenuItem.Size = new System.Drawing.Size(165, 24); this.bugReportToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.bugReportToolStripMenuItem.Text = "Bug Report"; this.bugReportToolStripMenuItem.Text = "Bug Report";
this.bugReportToolStripMenuItem.Visible = false; this.bugReportToolStripMenuItem.Visible = false;
// //
@@ -650,7 +589,7 @@
// //
this.todoListToolStripMenuItem.Enabled = false; this.todoListToolStripMenuItem.Enabled = false;
this.todoListToolStripMenuItem.Name = "todoListToolStripMenuItem"; this.todoListToolStripMenuItem.Name = "todoListToolStripMenuItem";
this.todoListToolStripMenuItem.Size = new System.Drawing.Size(165, 24); this.todoListToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.todoListToolStripMenuItem.Text = "Todo List"; this.todoListToolStripMenuItem.Text = "Todo List";
this.todoListToolStripMenuItem.Visible = false; this.todoListToolStripMenuItem.Visible = false;
this.todoListToolStripMenuItem.Click += new System.EventHandler(this.todoListToolStripMenuItem_Click); this.todoListToolStripMenuItem.Click += new System.EventHandler(this.todoListToolStripMenuItem_Click);
@@ -659,7 +598,7 @@
// //
this.ToolStripMenuItem.ForeColor = System.Drawing.Color.Red; this.ToolStripMenuItem.ForeColor = System.Drawing.Color.Red;
this.ToolStripMenuItem.Name = "메일전송ToolStripMenuItem"; this.ToolStripMenuItem.Name = "메일전송ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(165, 24); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 24);
this.ToolStripMenuItem.Text = "메일전송"; this.ToolStripMenuItem.Text = "메일전송";
this.ToolStripMenuItem.Visible = false; this.ToolStripMenuItem.Visible = false;
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -668,7 +607,7 @@
// //
this.toolStripMenuItem5.ForeColor = System.Drawing.Color.Red; this.toolStripMenuItem5.ForeColor = System.Drawing.Color.Red;
this.toolStripMenuItem5.Name = "toolStripMenuItem5"; this.toolStripMenuItem5.Name = "toolStripMenuItem5";
this.toolStripMenuItem5.Size = new System.Drawing.Size(165, 24); this.toolStripMenuItem5.Size = new System.Drawing.Size(180, 24);
this.toolStripMenuItem5.Text = "(test)휴가등록"; this.toolStripMenuItem5.Text = "(test)휴가등록";
this.toolStripMenuItem5.Click += new System.EventHandler(this.toolStripMenuItem5_Click); this.toolStripMenuItem5.Click += new System.EventHandler(this.toolStripMenuItem5_Click);
// //
@@ -978,9 +917,6 @@
private System.Windows.Forms.ToolStripMenuItem todoListToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem todoListToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem managementToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem managementToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem mn_eq; private System.Windows.Forms.ToolStripMenuItem mn_eq;
private System.Windows.Forms.ToolStripMenuItem dataToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem dataFOLToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem dataMoldEOLToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem personalInventoryToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem personalInventoryToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem userInfoToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem userInfoToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem minutesToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem minutesToolStripMenuItem;
@@ -1045,11 +981,8 @@
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem accessDBToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem accessDBToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem otherToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem summaryToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem aLLToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem aLLToolStripMenuItem;
} }
} }

View File

@@ -391,65 +391,6 @@ namespace Project
AddForm(formkey, new FCM0000.fItems()); AddForm(formkey, new FCM0000.fItems());
} }
private void staffGridToolStripMenuItem_Click(object sender, EventArgs e)
{
}
private void dataToolStripMenuItem_Click(object sender, EventArgs e)
{
string formkey = "EQBUMP";
if (!ShowForm(formkey))
AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.BUMP), "BUMP");
}
private void dataMoldEOLToolStripMenuItem_Click(object sender, EventArgs e)
{
string formkey = "EQMOLD";
if (!ShowForm(formkey))
AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.MOLD), "MOLD_EOL");
}
private void dataFOLToolStripMenuItem_Click(object sender, EventArgs e)
{
string formkey = "EQFOL";
if (!ShowForm(formkey))
AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.FOL), "FOL");
}
private void cascadeToolStripMenuItem_Click(object sender, EventArgs e)
{
LayoutMdi(MdiLayout.Cascade);
}
private void tileVerticalToolStripMenuItem_Click(object sender, EventArgs e)
{
LayoutMdi(MdiLayout.TileVertical);
}
private void tileHorizontalToolStripMenuItem_Click(object sender, EventArgs e)
{
LayoutMdi(MdiLayout.TileHorizontal);
}
private void closeAllToolStripMenuItem_Click(object sender, EventArgs e)
{
foreach (Form childForm in MdiChildren)
{
childForm.Close();
}
}
private void arrangeIconsToolStripMenuItem_Click(object sender, EventArgs e)
{
LayoutMdi(MdiLayout.ArrangeIcons);
}
private void personalInventoryToolStripMenuItem_Click(object sender, EventArgs e) private void personalInventoryToolStripMenuItem_Click(object sender, EventArgs e)
{ {
@@ -492,11 +433,6 @@ namespace Project
f.ShowDialog(); f.ShowDialog();
} }
private void mailFormToolStripMenuItem_Click(object sender, EventArgs e)
{
}
private void requestITemToolStripMenuItem_Click(object sender, EventArgs e) private void requestITemToolStripMenuItem_Click(object sender, EventArgs e)
{ {
@@ -506,11 +442,6 @@ namespace Project
} }
private void toolStripButton1_Click(object sender, EventArgs e)
{
}
void menu_nrpurchase() void menu_nrpurchase()
{ {
string formkey = "PUCHASE"; string formkey = "PUCHASE";
@@ -545,10 +476,6 @@ namespace Project
var f = new FCM0000.fCustoms(); var f = new FCM0000.fCustoms();
} }
private void toolStripButton2_Click(object sender, EventArgs e)
{
mn_purchase.PerformClick();
}
private void userAccountToolStripMenuItem_Click(object sender, EventArgs e) private void userAccountToolStripMenuItem_Click(object sender, EventArgs e)
{ {
@@ -556,10 +483,6 @@ namespace Project
f.ShowDialog(); f.ShowDialog();
} }
private void aDSUserListToolStripMenuItem_Click(object sender, EventArgs e)
{
}
private void myAccouserToolStripMenuItem_Click(object sender, EventArgs e) private void myAccouserToolStripMenuItem_Click(object sender, EventArgs e)
{ {
@@ -567,20 +490,6 @@ namespace Project
f.ShowDialog(); f.ShowDialog();
} }
private void toolStripButton3_Click(object sender, EventArgs e)
{
menu_projecT_list();
}
private void workReportToolStripMenuItem_Click(object sender, EventArgs e)
{
}
private void toolStripButton4_Click(object sender, EventArgs e)
{
Menu_Inventory();
}
private void customerImportToolStripMenuItem_Click(object sender, EventArgs e) private void customerImportToolStripMenuItem_Click(object sender, EventArgs e)
{ {
@@ -649,15 +558,6 @@ namespace Project
e.Graphics.DrawString("X", this.Font, Brushes.Black, tabControl1.Right - 50, tabControl1.Top); e.Graphics.DrawString("X", this.Font, Brushes.Black, tabControl1.Right - 50, tabControl1.Top);
} }
private void toolStripButton5_Click(object sender, EventArgs e)
{
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
}
private void materialImportToolStripMenuItem_Click(object sender, EventArgs e) private void materialImportToolStripMenuItem_Click(object sender, EventArgs e)
{ {
@@ -676,10 +576,6 @@ namespace Project
} }
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
}
private void todoListToolStripMenuItem_Click(object sender, EventArgs e) private void todoListToolStripMenuItem_Click(object sender, EventArgs e)
{ {
@@ -726,11 +622,6 @@ namespace Project
f.Show(); f.Show();
} }
private void nR구매신청ToolStripMenuItem_Click(object sender, EventArgs e)
{
menu_nrpurchase();
}
private void ToolStripMenuItem1_Click(object sender, EventArgs e) private void ToolStripMenuItem1_Click(object sender, EventArgs e)
{ {
@@ -757,19 +648,6 @@ namespace Project
f.ShowDialog(); f.ShowDialog();
} }
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
//string formkey = "USERGROUP";
//if (!ShowForm(formkey))
// AddForm(formkey, new FCM0000.fUserGroup());
}
private void addSIdDataToolStripMenuItem_Click(object sender, EventArgs e) private void addSIdDataToolStripMenuItem_Click(object sender, EventArgs e)
{ {
@@ -848,11 +726,7 @@ namespace Project
Menu_Inventory(); Menu_Inventory();
} }
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
var f = new FCM0000.Inventory.RepInvStock();
f.ShowDialog();
}
void Menu_InventoryList() void Menu_InventoryList()
{ {
string formkey = "INVENTORYLIST"; string formkey = "INVENTORYLIST";
@@ -877,17 +751,6 @@ namespace Project
AddForm(formkey, new _Info.fInfo_Staff()); AddForm(formkey, new _Info.fInfo_Staff());
} }
private void toolStripMenuItem3_Click(object sender, EventArgs e)
{
string formkey = "MAILFORM";
if (!ShowForm(formkey))
AddForm(formkey, new FCM0000.fMailform());
}
private void mn_logdata_Click(object sender, EventArgs e)
{
}
private void ToolStripMenuItem_Click(object sender, EventArgs e) private void ToolStripMenuItem_Click(object sender, EventArgs e)
{ {
@@ -1040,10 +903,6 @@ namespace Project
Menu_Note(); Menu_Note();
} }
private void toolStripButton1_Click_1(object sender, EventArgs e)
{
Menu_Note();
}
private void toolStripMenuItem7_Click(object sender, EventArgs e) private void toolStripMenuItem7_Click(object sender, EventArgs e)
{ {
@@ -1132,17 +991,6 @@ namespace Project
menu_work_eboard(); menu_work_eboard();
} }
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
string formkey = "INGYEQ";
if (!ShowForm(formkey))
AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.ING), "잉여장비");
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
}
private void ToolStripMenuItem_Click(object sender, EventArgs e) private void ToolStripMenuItem_Click(object sender, EventArgs e)
{ {
@@ -1158,19 +1006,6 @@ namespace Project
f.ShowDialog(); f.ShowDialog();
} }
private void otherToolStripMenuItem_Click(object sender, EventArgs e)
{
string formkey = "OTHEREQ";
if (!ShowForm(formkey))
AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.OTHER), "K3/K5");
}
private void summaryToolStripMenuItem_Click(object sender, EventArgs e)
{
string formkey = "EQSUM";
if (!ShowForm(formkey))
AddForm(formkey, new FEQ0000.fEquipmentSummary(), "장비전체요약");
}
private void aLLToolStripMenuItem_Click(object sender, EventArgs e) private void aLLToolStripMenuItem_Click(object sender, EventArgs e)
{ {

View File

@@ -374,53 +374,53 @@
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJFSURBVDhPjVPvS1NhGH1B71/Qx/6HPqQrIYKEsDIVoiih YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJFSURBVDhPjVPtS1NxGP1B3r+gj/0PfUhXQgQJYWUqRFFB
IYmLQihH1lY0dUK0QfhBSE1kX5wyUGoUgXUZjBD6HUWsGe3bgmBTR2zz7t5pnd7z3itLVPCByz7ce55z QwoXhVCNrK1o6oJog+iDkJrIvjRlkKQUgXUZjBB6jyLWjPZtQbCpI7Z5t7teTs/53StLVOiByz7ce55z
nnPOxF4nownPD00syt+8fKykJv7ENfHXeb37yI8n0prIEZDrOY9l/1WsDF7HatAL+Q7OZ9tHsrmX6kU2 nnPO1P9O1lC+r4aal9+CPHbKUL9nDPXHfb35yMdjGUPlCcj3HsNi8ByWBi9gOeyHvIP72foRNu9Ck8rl
23QAy74rKNzzojjmQzFwFGuhJqwvDKDi32VBpk5EUpowcpc7UQj14/edFhhhF6yxw6hO2M9GYhDW3R0W WrdjMXAWxZt+lEYCKIX2YCXSip9zA6gGN1mQ3aJiaUNZ+TMnUIz048e1dlhRD+yRXaiPOc+v5CDs6xss
ZOrFvJRWXRm4huJDH8rBg6g6QGv2GMyX7ai8vQArO47Sh4atC8hM8OpQH0pTfpgjLhsYa0bl1VkYqS4Y yDapaZFWXxo4j9LdACrhHai7QHtqL2rPulB9dRx2bhTlt81rF5CZ4OWhiyhPBFG743GAiTZUnx+Ble6B
37vVY/2aROmTq7aAN1M2mQm2Rg8psPm8FcYXtwL9TLnx+E0HAolmjH8ewv7IfyfQMN5M2ZvMpt4BI30J 9eW0fuzv4yi/9zQW8GbKJjPB9vBODa496YD10atB39JePHzZjVCyDaMfhrAt9s8JNIw3U/Yqc83shpU5
axI8/7odnoUjaH3WiBNPGxD+GMC+KWcBo2Kmhfs3UB5urDFLcP5bFx4kj6PNAV6M+tA7GUNU/4rTt+L2 hRUBT7/ogm9uNzoet2D/o2ZE34WwdcJdwKiYafHWJVRutDSYBVz43IPbqX3odIEn4wH0jScQNz/h0JVZ
AubMqMqR28ow3kzZZCb4pASemTuH3kcxzOhpzOpLmH6RthdIdg9LwpwZFdmVYY5sMhMcjCYUMDzzHj0h ZwFzZlSV2FVtGG+mbDITfECAhx8cRd+9BCbNDKbMBdx/mnEWCLuPJWHOjIrs2jBXNpkJDseTGhidfIPe
XYKj5qn++Duat8iGsSTMmVHRbRrGmymbzAR7R5MK2HbzSYuSzpEK8qwnG6ZulzmTnW7TMN5M2WQm2IHV iCngeO1g/+xrmjfPhrEkzJlR0W0axpspm8wE+4dTGth5eaZdS+eIggLryYbp2yVnstNtGsabKZvMBLuw
Ri6w2G3WU8mXJeECRqXYpWFkp+wtzJvD+/nHYLdVPWXDWBLmzKjotm3YDuwcxidVqD8Gu816smEsCXOm xsgCm91mPbV8KQkXMCrNLoaRnbLXMK8O7+cfg93W9ZSGsSTMmVHRbcewDdg5jE9U6D8Gu816smEsCXOm
03yUYdtGiH9Vo/RQZzaIAAAAAABJRU5ErkJggg== 03y0YetGqb9PkfRN0zTfpAAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
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
</value> </value>
</data> </data>
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
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
</value> </value>
</data> </data>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

View File

@@ -14,16 +14,22 @@ namespace FEQ0000
cn.ConnectionString = cs; cn.ConnectionString = cs;
return cn; return cn;
} }
public static List<String> getEQGroupLiist(string GroupColumn,string table) public static List<String> getEQGroupLiist(string GroupColumn, string table)
{ {
List<string> retval = new List<string>(); List<string> retval = new List<string>();
var cn = getCn(); var cn = getCn();
cn.Open(); cn.Open();
var sql = "select {0} from {1} where isnull({0},'') != '' group by {0} order by {0}"; var sql = "select {0} from {1} where isnull({0},'') != '' group by {0} order by {0}";
sql = string.Format(sql, "[" + GroupColumn +"]",table);
var cmd = new System.Data.SqlClient.SqlCommand(sql,cn); if (GroupColumn.IndexOf("+") == -1)
sql = string.Format(sql, "[" + GroupColumn + "]", table);
else
sql = string.Format(sql, GroupColumn , table);
var cmd = new System.Data.SqlClient.SqlCommand(sql, cn);
var rdr = cmd.ExecuteReader(); var rdr = cmd.ExecuteReader();
while(rdr.Read()) while (rdr.Read())
{ {
retval.Add(rdr[0].ToString()); retval.Add(rdr[0].ToString());
} }

View File

@@ -30,8 +30,8 @@
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fEquipment)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fEquipment));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
this.bn = new System.Windows.Forms.BindingNavigator(this.components); this.bn = new System.Windows.Forms.BindingNavigator(this.components);
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
this.bsB = new System.Windows.Forms.BindingSource(this.components); this.bsB = new System.Windows.Forms.BindingSource(this.components);
@@ -54,28 +54,10 @@
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.prb1 = new System.Windows.Forms.ToolStripProgressBar(); this.prb1 = new System.Windows.Forms.ToolStripProgressBar();
this.dv = new System.Windows.Forms.DataGridView(); this.dv = new System.Windows.Forms.DataGridView();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ing = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.except = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.plant = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.grp2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.flag = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.type = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.lineT = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.lineP = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_param = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.primary = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.memo = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.autosizeColumnsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.autosizeColumnsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
this.cmbGrp = new System.Windows.Forms.ComboBox(); this.cbTeamPart = new System.Windows.Forms.ComboBox();
this.label2 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label();
this.cmbLine = new System.Windows.Forms.ComboBox(); this.cmbLine = new System.Windows.Forms.ComboBox();
this.label3 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label();
@@ -93,8 +75,6 @@
this.radioButton1 = new System.Windows.Forms.RadioButton(); this.radioButton1 = new System.Windows.Forms.RadioButton();
this.radioButton2 = new System.Windows.Forms.RadioButton(); this.radioButton2 = new System.Windows.Forms.RadioButton();
this.radioButton3 = new System.Windows.Forms.RadioButton(); this.radioButton3 = new System.Windows.Forms.RadioButton();
this.cmbCate = new System.Windows.Forms.ComboBox();
this.cmbGrp2 = new System.Windows.Forms.Label();
this.cmbPlant = new System.Windows.Forms.ComboBox(); this.cmbPlant = new System.Windows.Forms.ComboBox();
this.label6 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label();
this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStrip1 = new System.Windows.Forms.ToolStrip();
@@ -105,7 +85,7 @@
this.applyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.applyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButton6 = new System.Windows.Forms.ToolStripButton(); this.btRefresh = new System.Windows.Forms.ToolStripButton();
this.cmbDate = new System.Windows.Forms.ToolStripComboBox(); this.cmbDate = new System.Windows.Forms.ToolStripComboBox();
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripButton(); this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripButton();
@@ -123,6 +103,23 @@
this.taOther = new FEQ0000.dsEQTableAdapters.EETGW_EquipmentOtherTableAdapter(); this.taOther = new FEQ0000.dsEQTableAdapters.EETGW_EquipmentOtherTableAdapter();
this.taAll = new FEQ0000.dsEQTableAdapters.EETGW_EquipmentTableAdapter(); this.taAll = new FEQ0000.dsEQTableAdapters.EETGW_EquipmentTableAdapter();
this.bsAll = new System.Windows.Forms.BindingSource(this.components); this.bsAll = new System.Windows.Forms.BindingSource(this.components);
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ing = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.except = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.plant = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.flag = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.type = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.lineT = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.lineP = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_param = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.primary = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.memo = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout(); this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bsB)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bsB)).BeginInit();
@@ -313,8 +310,8 @@
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(181, 22); this.toolStripButton1.Size = new System.Drawing.Size(150, 22);
this.toolStripButton1.Text = "Tem/Part/Plant/Grp2 Update"; this.toolStripButton1.Text = "Tem/Part/Plant Update";
this.toolStripButton1.ToolTipText = "Tem/Part 정보는 서버의 정보를 기준으로 변경 합니다."; this.toolStripButton1.ToolTipText = "Tem/Part 정보는 서버의 정보를 기준으로 변경 합니다.";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click_1); this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click_1);
// //
@@ -334,10 +331,7 @@
this.ing, this.ing,
this.except, this.except,
this.plant, this.plant,
this.grp2,
this.dataGridViewTextBoxColumn3,
this.flag, this.flag,
this.dataGridViewTextBoxColumn4,
this.type, this.type,
this.dataGridViewTextBoxColumn8, this.dataGridViewTextBoxColumn8,
this.dataGridViewTextBoxColumn5, this.dataGridViewTextBoxColumn5,
@@ -346,142 +340,19 @@
this.lineP, this.lineP,
this.dvc_param, this.dvc_param,
this.dataGridViewTextBoxColumn7, this.dataGridViewTextBoxColumn7,
this.dataGridViewTextBoxColumn4,
this.dataGridViewTextBoxColumn3,
this.primary, this.primary,
this.memo}); this.memo});
this.dv.ContextMenuStrip = this.cm1; this.dv.ContextMenuStrip = this.cm1;
this.dv.DataSource = this.bsB; this.dv.DataSource = this.bsB;
this.dv.Dock = System.Windows.Forms.DockStyle.Fill; this.dv.Dock = System.Windows.Forms.DockStyle.Fill;
this.dv.Location = new System.Drawing.Point(0, 165); this.dv.Location = new System.Drawing.Point(0, 117);
this.dv.Name = "dv"; this.dv.Name = "dv";
this.dv.RowTemplate.Height = 23; this.dv.RowTemplate.Height = 23;
this.dv.Size = new System.Drawing.Size(1105, 431); this.dv.Size = new System.Drawing.Size(1105, 479);
this.dv.TabIndex = 1; this.dv.TabIndex = 1;
// //
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "idx";
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
this.dataGridViewTextBoxColumn1.HeaderText = "idx";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
this.dataGridViewTextBoxColumn1.Width = 47;
//
// ing
//
this.ing.DataPropertyName = "ing";
this.ing.HeaderText = "잉여";
this.ing.Name = "ing";
//
// except
//
this.except.DataPropertyName = "except";
this.except.HeaderText = "제외";
this.except.Name = "except";
this.except.Width = 49;
//
// plant
//
this.plant.DataPropertyName = "plant";
this.plant.HeaderText = "plant";
this.plant.Name = "plant";
//
// grp2
//
this.grp2.DataPropertyName = "grp2";
this.grp2.HeaderText = "Cate";
this.grp2.Name = "grp2";
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.DataPropertyName = "asset";
this.dataGridViewTextBoxColumn3.HeaderText = "asset";
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
this.dataGridViewTextBoxColumn3.Width = 61;
//
// flag
//
this.flag.DataPropertyName = "flag";
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.flag.DefaultCellStyle = dataGridViewCellStyle2;
this.flag.HeaderText = "flag";
this.flag.Name = "flag";
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.DataPropertyName = "grp";
this.dataGridViewTextBoxColumn4.HeaderText = "grp";
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
this.dataGridViewTextBoxColumn4.Width = 48;
//
// type
//
this.type.DataPropertyName = "type";
this.type.HeaderText = "type";
this.type.Name = "type";
this.type.Width = 54;
//
// dataGridViewTextBoxColumn8
//
this.dataGridViewTextBoxColumn8.DataPropertyName = "manu";
this.dataGridViewTextBoxColumn8.HeaderText = "manu";
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
this.dataGridViewTextBoxColumn8.Width = 62;
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.DataPropertyName = "model";
this.dataGridViewTextBoxColumn5.HeaderText = "model";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
this.dataGridViewTextBoxColumn5.Width = 65;
//
// dataGridViewTextBoxColumn6
//
this.dataGridViewTextBoxColumn6.DataPropertyName = "linecode";
this.dataGridViewTextBoxColumn6.HeaderText = "linecode";
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
this.dataGridViewTextBoxColumn6.Width = 78;
//
// lineT
//
this.lineT.DataPropertyName = "lineT";
this.lineT.HeaderText = "Team";
this.lineT.Name = "lineT";
//
// lineP
//
this.lineP.DataPropertyName = "lineP";
this.lineP.HeaderText = "Part";
this.lineP.Name = "lineP";
//
// dvc_param
//
this.dvc_param.DataPropertyName = "param1";
this.dvc_param.HeaderText = "Wafer Size";
this.dvc_param.Name = "dvc_param";
//
// dataGridViewTextBoxColumn7
//
this.dataGridViewTextBoxColumn7.DataPropertyName = "serial";
this.dataGridViewTextBoxColumn7.HeaderText = "serial";
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
this.dataGridViewTextBoxColumn7.Width = 61;
//
// primary
//
this.primary.DataPropertyName = "primary";
this.primary.HeaderText = "primary";
this.primary.Name = "primary";
this.primary.Width = 54;
//
// memo
//
this.memo.DataPropertyName = "memo";
this.memo.HeaderText = "memo";
this.memo.Name = "memo";
this.memo.Width = 66;
//
// cm1 // cm1
// //
this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
@@ -499,26 +370,26 @@
// label1 // label1
// //
this.label1.AutoSize = true; this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(40, 38); this.label1.Location = new System.Drawing.Point(232, 62);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(25, 12); this.label1.Size = new System.Drawing.Size(76, 12);
this.label1.TabIndex = 0; this.label1.TabIndex = 0;
this.label1.Text = "Grp"; this.label1.Text = "Team && Part";
// //
// cmbGrp // cbTeamPart
// //
this.cmbGrp.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.cbTeamPart.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this.cmbGrp.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.cbTeamPart.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
this.cmbGrp.FormattingEnabled = true; this.cbTeamPart.FormattingEnabled = true;
this.cmbGrp.Location = new System.Drawing.Point(72, 35); this.cbTeamPart.Location = new System.Drawing.Point(314, 58);
this.cmbGrp.Name = "cmbGrp"; this.cbTeamPart.Name = "cbTeamPart";
this.cmbGrp.Size = new System.Drawing.Size(142, 20); this.cbTeamPart.Size = new System.Drawing.Size(142, 20);
this.cmbGrp.TabIndex = 1; this.cbTeamPart.TabIndex = 1;
// //
// label2 // label2
// //
this.label2.AutoSize = true; this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(8, 61); this.label2.Location = new System.Drawing.Point(15, 36);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(57, 12); this.label2.Size = new System.Drawing.Size(57, 12);
this.label2.TabIndex = 2; this.label2.TabIndex = 2;
@@ -529,7 +400,7 @@
this.cmbLine.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.cmbLine.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this.cmbLine.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.cmbLine.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
this.cmbLine.FormattingEnabled = true; this.cmbLine.FormattingEnabled = true;
this.cmbLine.Location = new System.Drawing.Point(72, 58); this.cmbLine.Location = new System.Drawing.Point(79, 32);
this.cmbLine.Name = "cmbLine"; this.cmbLine.Name = "cmbLine";
this.cmbLine.Size = new System.Drawing.Size(142, 20); this.cmbLine.Size = new System.Drawing.Size(142, 20);
this.cmbLine.TabIndex = 3; this.cmbLine.TabIndex = 3;
@@ -537,18 +408,18 @@
// label3 // label3
// //
this.label3.AutoSize = true; this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(28, 84); this.label3.Location = new System.Drawing.Point(32, 61);
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(37, 12); this.label3.Size = new System.Drawing.Size(40, 12);
this.label3.TabIndex = 4; this.label3.TabIndex = 4;
this.label3.Text = "Manu"; this.label3.Text = "Maker";
// //
// cmbManu // cmbManu
// //
this.cmbManu.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.cmbManu.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this.cmbManu.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.cmbManu.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
this.cmbManu.FormattingEnabled = true; this.cmbManu.FormattingEnabled = true;
this.cmbManu.Location = new System.Drawing.Point(72, 81); this.cmbManu.Location = new System.Drawing.Point(79, 57);
this.cmbManu.Name = "cmbManu"; this.cmbManu.Name = "cmbManu";
this.cmbManu.Size = new System.Drawing.Size(142, 20); this.cmbManu.Size = new System.Drawing.Size(142, 20);
this.cmbManu.TabIndex = 5; this.cmbManu.TabIndex = 5;
@@ -556,18 +427,18 @@
// label4 // label4
// //
this.label4.AutoSize = true; this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(31, 107); this.label4.Location = new System.Drawing.Point(255, 13);
this.label4.Name = "label4"; this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(34, 12); this.label4.Size = new System.Drawing.Size(52, 12);
this.label4.TabIndex = 6; this.label4.TabIndex = 6;
this.label4.Text = "Type"; this.label4.Text = "Process";
// //
// cmbType // cmbType
// //
this.cmbType.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.cmbType.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this.cmbType.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.cmbType.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
this.cmbType.FormattingEnabled = true; this.cmbType.FormattingEnabled = true;
this.cmbType.Location = new System.Drawing.Point(72, 104); this.cmbType.Location = new System.Drawing.Point(314, 9);
this.cmbType.Name = "cmbType"; this.cmbType.Name = "cmbType";
this.cmbType.Size = new System.Drawing.Size(142, 20); this.cmbType.Size = new System.Drawing.Size(142, 20);
this.cmbType.TabIndex = 7; this.cmbType.TabIndex = 7;
@@ -575,15 +446,15 @@
// label5 // label5
// //
this.label5.AutoSize = true; this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(21, 15); this.label5.Location = new System.Drawing.Point(27, 12);
this.label5.Name = "label5"; this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(44, 12); this.label5.Size = new System.Drawing.Size(45, 12);
this.label5.TabIndex = 8; this.label5.TabIndex = 8;
this.label5.Text = "search"; this.label5.Text = "Search";
// //
// tbSearch // tbSearch
// //
this.tbSearch.Location = new System.Drawing.Point(72, 11); this.tbSearch.Location = new System.Drawing.Point(79, 8);
this.tbSearch.Name = "tbSearch"; this.tbSearch.Name = "tbSearch";
this.tbSearch.Size = new System.Drawing.Size(142, 21); this.tbSearch.Size = new System.Drawing.Size(142, 21);
this.tbSearch.TabIndex = 9; this.tbSearch.TabIndex = 9;
@@ -593,12 +464,12 @@
this.groupBox1.Controls.Add(this.radexpy); this.groupBox1.Controls.Add(this.radexpy);
this.groupBox1.Controls.Add(this.radexpa); this.groupBox1.Controls.Add(this.radexpa);
this.groupBox1.Controls.Add(this.radexpn); this.groupBox1.Controls.Add(this.radexpn);
this.groupBox1.Location = new System.Drawing.Point(237, 73); this.groupBox1.Location = new System.Drawing.Point(469, 15);
this.groupBox1.Name = "groupBox1"; this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(186, 48); this.groupBox1.Size = new System.Drawing.Size(186, 48);
this.groupBox1.TabIndex = 13; this.groupBox1.TabIndex = 13;
this.groupBox1.TabStop = false; this.groupBox1.TabStop = false;
this.groupBox1.Text = "except"; this.groupBox1.Text = "제외";
// //
// radexpy // radexpy
// //
@@ -636,9 +507,8 @@
// //
// panel1 // panel1
// //
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200)))));
this.panel1.Controls.Add(this.groupBox2); this.panel1.Controls.Add(this.groupBox2);
this.panel1.Controls.Add(this.cmbCate);
this.panel1.Controls.Add(this.cmbGrp2);
this.panel1.Controls.Add(this.cmbPlant); this.panel1.Controls.Add(this.cmbPlant);
this.panel1.Controls.Add(this.label6); this.panel1.Controls.Add(this.label6);
this.panel1.Controls.Add(this.groupBox1); this.panel1.Controls.Add(this.groupBox1);
@@ -650,12 +520,12 @@
this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.cmbLine); this.panel1.Controls.Add(this.cmbLine);
this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.cmbGrp); this.panel1.Controls.Add(this.cbTeamPart);
this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.label1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 30); this.panel1.Location = new System.Drawing.Point(0, 30);
this.panel1.Name = "panel1"; this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1105, 135); this.panel1.Size = new System.Drawing.Size(1105, 87);
this.panel1.TabIndex = 2; this.panel1.TabIndex = 2;
this.panel1.Visible = false; this.panel1.Visible = false;
// //
@@ -664,12 +534,13 @@
this.groupBox2.Controls.Add(this.radioButton1); this.groupBox2.Controls.Add(this.radioButton1);
this.groupBox2.Controls.Add(this.radioButton2); this.groupBox2.Controls.Add(this.radioButton2);
this.groupBox2.Controls.Add(this.radioButton3); this.groupBox2.Controls.Add(this.radioButton3);
this.groupBox2.Location = new System.Drawing.Point(431, 73); this.groupBox2.Location = new System.Drawing.Point(665, 15);
this.groupBox2.Name = "groupBox2"; this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(186, 48); this.groupBox2.Size = new System.Drawing.Size(186, 48);
this.groupBox2.TabIndex = 14; this.groupBox2.TabIndex = 14;
this.groupBox2.TabStop = false; this.groupBox2.TabStop = false;
this.groupBox2.Text = "잉여"; this.groupBox2.Text = "잉여";
this.groupBox2.Enter += new System.EventHandler(this.groupBox2_Enter);
// //
// radioButton1 // radioButton1
// //
@@ -703,31 +574,12 @@
this.radioButton3.Text = "No"; this.radioButton3.Text = "No";
this.radioButton3.UseVisualStyleBackColor = true; this.radioButton3.UseVisualStyleBackColor = true;
// //
// cmbCate
//
this.cmbCate.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this.cmbCate.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
this.cmbCate.FormattingEnabled = true;
this.cmbCate.Location = new System.Drawing.Point(301, 39);
this.cmbCate.Name = "cmbCate";
this.cmbCate.Size = new System.Drawing.Size(142, 20);
this.cmbCate.TabIndex = 17;
//
// cmbGrp2
//
this.cmbGrp2.AutoSize = true;
this.cmbGrp2.Location = new System.Drawing.Point(237, 43);
this.cmbGrp2.Name = "cmbGrp2";
this.cmbGrp2.Size = new System.Drawing.Size(56, 12);
this.cmbGrp2.TabIndex = 16;
this.cmbGrp2.Text = "Category";
//
// cmbPlant // cmbPlant
// //
this.cmbPlant.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.cmbPlant.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this.cmbPlant.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.cmbPlant.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
this.cmbPlant.FormattingEnabled = true; this.cmbPlant.FormattingEnabled = true;
this.cmbPlant.Location = new System.Drawing.Point(301, 16); this.cmbPlant.Location = new System.Drawing.Point(314, 33);
this.cmbPlant.Name = "cmbPlant"; this.cmbPlant.Name = "cmbPlant";
this.cmbPlant.Size = new System.Drawing.Size(142, 20); this.cmbPlant.Size = new System.Drawing.Size(142, 20);
this.cmbPlant.TabIndex = 15; this.cmbPlant.TabIndex = 15;
@@ -735,7 +587,7 @@
// label6 // label6
// //
this.label6.AutoSize = true; this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(237, 20); this.label6.Location = new System.Drawing.Point(275, 37);
this.label6.Name = "label6"; this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(33, 12); this.label6.Size = new System.Drawing.Size(33, 12);
this.label6.TabIndex = 14; this.label6.TabIndex = 14;
@@ -750,7 +602,7 @@
this.toolStripButton2, this.toolStripButton2,
this.toolStripButton4, this.toolStripButton4,
this.toolStripSeparator2, this.toolStripSeparator2,
this.toolStripButton6, this.btRefresh,
this.cmbDate, this.cmbDate,
this.toolStripLabel2, this.toolStripLabel2,
this.toolStripDropDownButton1, this.toolStripDropDownButton1,
@@ -818,15 +670,15 @@
this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 30); this.toolStripSeparator2.Size = new System.Drawing.Size(6, 30);
// //
// toolStripButton6 // btRefresh
// //
this.toolStripButton6.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.btRefresh.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image"))); this.btRefresh.Image = ((System.Drawing.Image)(resources.GetObject("btRefresh.Image")));
this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta; this.btRefresh.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton6.Name = "toolStripButton6"; this.btRefresh.Name = "btRefresh";
this.toolStripButton6.Size = new System.Drawing.Size(82, 27); this.btRefresh.Size = new System.Drawing.Size(82, 27);
this.toolStripButton6.Text = "Data View"; this.btRefresh.Text = "Data View";
this.toolStripButton6.Click += new System.EventHandler(this.toolStripButton6_Click); this.btRefresh.Click += new System.EventHandler(this.toolStripButton6_Click);
// //
// cmbDate // cmbDate
// //
@@ -931,6 +783,129 @@
this.bsAll.DataMember = "EETGW_Equipment"; this.bsAll.DataMember = "EETGW_Equipment";
this.bsAll.DataSource = this.dsEQ; this.bsAll.DataSource = this.dsEQ;
// //
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "idx";
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle3;
this.dataGridViewTextBoxColumn1.HeaderText = "idx";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
this.dataGridViewTextBoxColumn1.Width = 47;
//
// ing
//
this.ing.DataPropertyName = "ing";
this.ing.HeaderText = "잉여";
this.ing.Name = "ing";
//
// except
//
this.except.DataPropertyName = "except";
this.except.HeaderText = "제외";
this.except.Name = "except";
this.except.Width = 49;
//
// plant
//
this.plant.DataPropertyName = "plant";
this.plant.HeaderText = "plant";
this.plant.Name = "plant";
this.plant.Width = 50;
//
// flag
//
this.flag.DataPropertyName = "flag";
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.flag.DefaultCellStyle = dataGridViewCellStyle4;
this.flag.HeaderText = "flag";
this.flag.Name = "flag";
//
// type
//
this.type.DataPropertyName = "type";
this.type.HeaderText = "Process";
this.type.Name = "type";
this.type.Width = 120;
//
// dataGridViewTextBoxColumn8
//
this.dataGridViewTextBoxColumn8.DataPropertyName = "manu";
this.dataGridViewTextBoxColumn8.HeaderText = "Maker";
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
this.dataGridViewTextBoxColumn8.Width = 120;
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.DataPropertyName = "model";
this.dataGridViewTextBoxColumn5.HeaderText = "model";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
this.dataGridViewTextBoxColumn5.Width = 120;
//
// dataGridViewTextBoxColumn6
//
this.dataGridViewTextBoxColumn6.DataPropertyName = "linecode";
this.dataGridViewTextBoxColumn6.HeaderText = "linecode";
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
this.dataGridViewTextBoxColumn6.Width = 70;
//
// lineT
//
this.lineT.DataPropertyName = "lineT";
this.lineT.HeaderText = "Team";
this.lineT.Name = "lineT";
this.lineT.Width = 50;
//
// lineP
//
this.lineP.DataPropertyName = "lineP";
this.lineP.HeaderText = "Part";
this.lineP.Name = "lineP";
this.lineP.Width = 50;
//
// dvc_param
//
this.dvc_param.DataPropertyName = "param1";
this.dvc_param.HeaderText = "Wafer Size";
this.dvc_param.Name = "dvc_param";
this.dvc_param.Width = 50;
//
// dataGridViewTextBoxColumn7
//
this.dataGridViewTextBoxColumn7.DataPropertyName = "serial";
this.dataGridViewTextBoxColumn7.HeaderText = "serial";
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
this.dataGridViewTextBoxColumn7.Width = 61;
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.DataPropertyName = "grp";
this.dataGridViewTextBoxColumn4.HeaderText = "grp";
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
this.dataGridViewTextBoxColumn4.Width = 48;
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.DataPropertyName = "asset";
this.dataGridViewTextBoxColumn3.HeaderText = "asset";
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
this.dataGridViewTextBoxColumn3.Width = 61;
//
// primary
//
this.primary.DataPropertyName = "primary";
this.primary.HeaderText = "primary";
this.primary.Name = "primary";
this.primary.Width = 54;
//
// memo
//
this.memo.DataPropertyName = "memo";
this.memo.HeaderText = "memo";
this.memo.Name = "memo";
this.memo.Width = 66;
//
// fEquipment // fEquipment
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
@@ -988,7 +963,7 @@
private dsEQ dsEQ; private dsEQ dsEQ;
private dsEQTableAdapters.EquipmentBTableAdapter taB; private dsEQTableAdapters.EquipmentBTableAdapter taB;
private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label1;
private System.Windows.Forms.ComboBox cmbGrp; private System.Windows.Forms.ComboBox cbTeamPart;
private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label2;
private System.Windows.Forms.ComboBox cmbLine; private System.Windows.Forms.ComboBox cmbLine;
private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label3;
@@ -1015,7 +990,7 @@
private System.Windows.Forms.ToolStripButton toolStripButton4; private System.Windows.Forms.ToolStripButton toolStripButton4;
private System.Windows.Forms.ToolStripButton toolStripButton5; private System.Windows.Forms.ToolStripButton toolStripButton5;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripButton toolStripButton6; private System.Windows.Forms.ToolStripButton btRefresh;
private System.Windows.Forms.ToolStripComboBox cmbDate; private System.Windows.Forms.ToolStripComboBox cmbDate;
private System.Windows.Forms.ToolStripLabel toolStripLabel2; private System.Windows.Forms.ToolStripLabel toolStripLabel2;
private System.Windows.Forms.ToolStripButton toolStripDropDownButton1; private System.Windows.Forms.ToolStripButton toolStripDropDownButton1;
@@ -1033,18 +1008,19 @@
private System.Windows.Forms.ToolStripProgressBar prb1; private System.Windows.Forms.ToolStripProgressBar prb1;
private System.Windows.Forms.BindingSource bsOther; private System.Windows.Forms.BindingSource bsOther;
private dsEQTableAdapters.EETGW_EquipmentOtherTableAdapter taOther; private dsEQTableAdapters.EETGW_EquipmentOtherTableAdapter taOther;
private System.Windows.Forms.ComboBox cmbCate;
private System.Windows.Forms.Label cmbGrp2;
private System.Windows.Forms.ComboBox cmbPlant; private System.Windows.Forms.ComboBox cmbPlant;
private System.Windows.Forms.Label label6; private System.Windows.Forms.Label label6;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.RadioButton radioButton1;
private System.Windows.Forms.RadioButton radioButton2;
private System.Windows.Forms.RadioButton radioButton3;
private dsEQTableAdapters.EETGW_EquipmentTableAdapter taAll;
private System.Windows.Forms.BindingSource bsAll;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewCheckBoxColumn ing; private System.Windows.Forms.DataGridViewCheckBoxColumn ing;
private System.Windows.Forms.DataGridViewCheckBoxColumn except; private System.Windows.Forms.DataGridViewCheckBoxColumn except;
private System.Windows.Forms.DataGridViewTextBoxColumn plant; private System.Windows.Forms.DataGridViewTextBoxColumn plant;
private System.Windows.Forms.DataGridViewTextBoxColumn grp2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn flag; private System.Windows.Forms.DataGridViewTextBoxColumn flag;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn type; private System.Windows.Forms.DataGridViewTextBoxColumn type;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
@@ -1053,13 +1029,9 @@
private System.Windows.Forms.DataGridViewTextBoxColumn lineP; private System.Windows.Forms.DataGridViewTextBoxColumn lineP;
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_param; private System.Windows.Forms.DataGridViewTextBoxColumn dvc_param;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewCheckBoxColumn primary; private System.Windows.Forms.DataGridViewCheckBoxColumn primary;
private System.Windows.Forms.DataGridViewTextBoxColumn memo; private System.Windows.Forms.DataGridViewTextBoxColumn memo;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.RadioButton radioButton1;
private System.Windows.Forms.RadioButton radioButton2;
private System.Windows.Forms.RadioButton radioButton3;
private dsEQTableAdapters.EETGW_EquipmentTableAdapter taAll;
private System.Windows.Forms.BindingSource bsAll;
} }
} }

View File

@@ -17,48 +17,56 @@ namespace FEQ0000
public enum eTabletype public enum eTabletype
{ {
ALL, ALL,
MOLD, //MOLD,
FOL, //FOL,
BUMP, //BUMP,
ING, //ING,
OTHER //OTHER
} }
string tableName = string.Empty; string tableName = string.Empty;
eTabletype dataType = eTabletype.FOL; eTabletype dataType = eTabletype.ALL;
public fEquipment(eTabletype type_) public fEquipment(eTabletype type_)
{ {
InitializeComponent(); InitializeComponent();
dataType = type_; dataType = type_;
if (dataType == eTabletype.MOLD)
{
tableName = "EquipmentME"; this.tbSearch.KeyDown += (s1, e1) => {
this.dsEQ.EquipmentME.TableNewRow += Equipment_TableNewRow; if(e1.KeyCode == Keys.Enter)
dvc_param.Visible = false; {
} btRefresh.PerformClick();
else if (dataType == eTabletype.FOL) }
{ };
//if (dataType == eTabletype.MOLD)
//{
tableName = "EquipmentF"; // tableName = "EquipmentME";
this.dsEQ.EquipmentF.TableNewRow += Equipment_TableNewRow; // this.dsEQ.EquipmentME.TableNewRow += Equipment_TableNewRow;
dvc_param.Visible = false; // dvc_param.Visible = false;
} //}
else if (dataType == eTabletype.ING) //else if (dataType == eTabletype.FOL)
{ //{
tableName = "EETGW_EquipmentIng"; // tableName = "EquipmentF";
this.dsEQ.EETGW_EquipmentIng.TableNewRow += Equipment_TableNewRow; // this.dsEQ.EquipmentF.TableNewRow += Equipment_TableNewRow;
dvc_param.Visible = false; // dvc_param.Visible = false;
} //}
else if (dataType == eTabletype.OTHER) //else if (dataType == eTabletype.ING)
{ //{
tableName = "EETGW_EquipmentOther"; // tableName = "EETGW_EquipmentIng";
this.dsEQ.EETGW_EquipmentOther.TableNewRow += Equipment_TableNewRow; // this.dsEQ.EETGW_EquipmentIng.TableNewRow += Equipment_TableNewRow;
dvc_param.Visible = false; // dvc_param.Visible = false;
} //}
else if (dataType == eTabletype.ALL) //else if (dataType == eTabletype.OTHER)
//{
// tableName = "EETGW_EquipmentOther";
// this.dsEQ.EETGW_EquipmentOther.TableNewRow += Equipment_TableNewRow;
// dvc_param.Visible = false;
//}
//else
if (dataType == eTabletype.ALL)
{ {
tableName = "EETGW_Equipment"; tableName = "EETGW_Equipment";
@@ -89,11 +97,7 @@ namespace FEQ0000
var taDateList = new dsEQTableAdapters.EqDateListTableAdapter(); var taDateList = new dsEQTableAdapters.EqDateListTableAdapter();
DataTable dtList = null; DataTable dtList = null;
if (dataType == eTabletype.BUMP) dtList = taDateList.GetDateListB(); if (dataType == eTabletype.ALL) dtList = taDateList.GetDateListAll();
else if (dataType == eTabletype.FOL) dtList = taDateList.GetDateListF();
else if (dataType == eTabletype.ING) dtList = taDateList.GetDateListIng();
else if (dataType == eTabletype.OTHER) dtList = taDateList.GetDateListOther();
else if (dataType == eTabletype.ALL) dtList = taDateList.GetDateListAll();
else dtList = taDateList.GetDateListME(); else dtList = taDateList.GetDateListME();
this.cmbDate.Items.Clear(); this.cmbDate.Items.Clear();
@@ -118,33 +122,33 @@ namespace FEQ0000
RefreshDate(); RefreshDate();
//목록을 가져온다. //목록을 가져온다.
var grpList = DatabaseManager.getEQGroupLiist("grp", this.tableName); var tlList = DatabaseManager.getEQGroupLiist("linet +'-' + linep ", this.tableName);
var lcList = DatabaseManager.getEQGroupLiist("linecode", this.tableName); var lcList = DatabaseManager.getEQGroupLiist("linecode", this.tableName);
var manuList = DatabaseManager.getEQGroupLiist("manu", this.tableName); var manuList = DatabaseManager.getEQGroupLiist("manu", this.tableName);
var typeList = DatabaseManager.getEQGroupLiist("type", this.tableName); var typeList = DatabaseManager.getEQGroupLiist("type", this.tableName);
var plantList = DatabaseManager.getEQGroupLiist("plant", this.tableName); var plantList = DatabaseManager.getEQGroupLiist("plant", this.tableName);
var grp2List = DatabaseManager.getEQGroupLiist("grp2", this.tableName); //var grp2List = DatabaseManager.getEQGroupLiist("grp2", this.tableName);
cmbGrp.Items.Add("-- All --"); cbTeamPart.Items.Add("-- All --");
cmbLine.Items.Add("-- All --"); cmbLine.Items.Add("-- All --");
cmbManu.Items.Add("-- All --"); cmbManu.Items.Add("-- All --");
cmbType.Items.Add("-- All --"); cmbType.Items.Add("-- All --");
cmbPlant.Items.Add("-- All --"); cmbPlant.Items.Add("-- All --");
cmbCate.Items.Add("-- All --"); // cmbCate.Items.Add("-- All --");
foreach (var item in grpList) this.cmbGrp.Items.Add(item); foreach (var item in tlList) this.cbTeamPart.Items.Add(item);
foreach (var item in lcList) this.cmbLine.Items.Add(item); foreach (var item in lcList) this.cmbLine.Items.Add(item);
foreach (var item in manuList) this.cmbManu.Items.Add(item); foreach (var item in manuList) this.cmbManu.Items.Add(item);
foreach (var item in typeList) this.cmbType.Items.Add(item); foreach (var item in typeList) this.cmbType.Items.Add(item);
foreach (var item in plantList) this.cmbPlant.Items.Add(item); foreach (var item in plantList) this.cmbPlant.Items.Add(item);
foreach (var item in grp2List) this.cmbCate.Items.Add(item); // foreach (var item in grp2List) this.cmbCate.Items.Add(item);
if (this.cmbGrp.Items.Count > 0) cmbGrp.SelectedIndex = 0; if (this.cbTeamPart.Items.Count > 0) cbTeamPart.SelectedIndex = 0;
if (this.cmbLine.Items.Count > 0) cmbLine.SelectedIndex = 0; if (this.cmbLine.Items.Count > 0) cmbLine.SelectedIndex = 0;
if (this.cmbManu.Items.Count > 0) cmbManu.SelectedIndex = 0; if (this.cmbManu.Items.Count > 0) cmbManu.SelectedIndex = 0;
if (this.cmbType.Items.Count > 0) cmbType.SelectedIndex = 0; if (this.cmbType.Items.Count > 0) cmbType.SelectedIndex = 0;
if (this.cmbPlant.Items.Count > 0) cmbPlant.SelectedIndex = 0; if (this.cmbPlant.Items.Count > 0) cmbPlant.SelectedIndex = 0;
if (this.cmbCate.Items.Count > 0) cmbCate.SelectedIndex = 0; //if (this.cmbCate.Items.Count > 0) cmbCate.SelectedIndex = 0;
//if (this.dataType == eTabletype.ING) //if (this.dataType == eTabletype.ING)
// dvc_param.HeaderText = "RCS Flag"; // dvc_param.HeaderText = "RCS Flag";
@@ -164,31 +168,7 @@ namespace FEQ0000
try try
{ {
if (dataType == eTabletype.BUMP) taAll.Update(this.dsEQ.EETGW_Equipment);
{
this.taB.Update(this.dsEQ.EquipmentB);
}
else if (dataType == eTabletype.MOLD)
{
this.taME.Update(this.dsEQ.EquipmentME);
}
else if (dataType == eTabletype.ING)
{
this.taIng.Update(this.dsEQ.EETGW_EquipmentIng);
}
else if (dataType == eTabletype.OTHER)
{
this.taOther.Update(this.dsEQ.EETGW_EquipmentOther);
}
else if (dataType == eTabletype.ALL)
{
taAll.Update(this.dsEQ.EETGW_Equipment);
}
else
{
this.taF.Update(this.dsEQ.EquipmentF);
}
this.dsEQ.AcceptChanges(); this.dsEQ.AcceptChanges();
} }
catch (Exception ex) catch (Exception ex)
@@ -212,12 +192,7 @@ namespace FEQ0000
try try
{ {
DataRow[] dRows = null; DataRow[] dRows = null;
if (dataType == eTabletype.BUMP) dRows = this.dsEQ.EquipmentB.Select(filter); dRows = this.dsEQ.EETGW_Equipment.Select(filter);
else if (dataType == eTabletype.MOLD) dRows = this.dsEQ.EquipmentME.Select(filter);
else if (dataType == eTabletype.ING) dRows = this.dsEQ.EETGW_EquipmentIng.Select(filter);
else if (dataType == eTabletype.OTHER) dRows = this.dsEQ.EETGW_EquipmentOther.Select(filter);
else if (dataType == eTabletype.ALL) dRows = this.dsEQ.EETGW_Equipment.Select(filter);
else dRows = this.dsEQ.EquipmentF.Select(filter);
int cnt = 0; int cnt = 0;
foreach (DataRow dr in dRows) foreach (DataRow dr in dRows)
@@ -256,12 +231,7 @@ namespace FEQ0000
} }
try try
{ {
if (dataType == eTabletype.MOLD) this.bsME.Filter = filter; this.bsAll.Filter = filter;
else if (dataType == eTabletype.BUMP) this.bsB.Filter = filter;
else if (dataType == eTabletype.ING) this.bsIng.Filter = filter;
else if (dataType == eTabletype.OTHER) this.bsOther.Filter = filter;
else if (dataType == eTabletype.ALL) this.bsAll.Filter = filter;
else this.bsF.Filter = filter;
if (key.isEmpty()) this.tbFilter.BackColor = Color.White; if (key.isEmpty()) this.tbFilter.BackColor = Color.White;
else this.tbFilter.BackColor = Color.Lime; else this.tbFilter.BackColor = Color.Lime;
@@ -284,21 +254,13 @@ namespace FEQ0000
private void toolStripButton4_Click(object sender, EventArgs e) private void toolStripButton4_Click(object sender, EventArgs e)
{ {
if(this.dataType == eTabletype.ALL) if (this.dsEQ.EETGW_Equipment.Count < 1)
{ {
if(this.dsEQ.EETGW_Equipment.Count < 1) FCOMMON.Util.MsgE("자료가 없습니다. 자료를 조회하고 시도하세요");
{ return;
FCOMMON.Util.MsgE("자료가 없습니다. 자료를 조회하고 시도하세요");
return;
}
var f = new rpt_equipmentAll(this.dsEQ.EETGW_Equipment,this.grp2name);
f.Show();
}
else
{
var f = new rpt_equipmentB(dataType, this.cmbDate.Text);
f.Show();
} }
var f = new rpt_equipmentAll(this.dsEQ.EETGW_Equipment, "Equipment");
f.Show();
} }
@@ -314,7 +276,7 @@ namespace FEQ0000
RefreshDate(); RefreshDate();
} }
string grp2name = string.Empty; //string grp2name = string.Empty;
private void toolStripButton6_Click(object sender, EventArgs e) private void toolStripButton6_Click(object sender, EventArgs e)
{ {
if (cmbDate.SelectedIndex < 0) if (cmbDate.SelectedIndex < 0)
@@ -324,16 +286,16 @@ namespace FEQ0000
} }
this.grp2name = this.cmbCate.Text; // this.grp2name = this.cmbCate.Text;
//select query //select query
string newSQL = "select * from {0}"; string newSQL = "select * from {0}";
string newWhere = "pdate = '{1}'"; string newWhere = "pdate = '{1}'";
if (cmbGrp.SelectedIndex != 0 && !cmbGrp.Text.isEmpty()) if (cbTeamPart.SelectedIndex != 0 && !cbTeamPart.Text.isEmpty())
{ {
if (!newWhere.isEmpty()) newWhere += " and "; if (!newWhere.isEmpty()) newWhere += " and ";
newWhere += "grp='" + cmbGrp.Text + "'"; newWhere += "linet +'-' + linep ='" + cbTeamPart.Text + "'";
} }
if (this.cmbManu.SelectedIndex != 0 && !cmbManu.Text.isEmpty()) if (this.cmbManu.SelectedIndex != 0 && !cmbManu.Text.isEmpty())
{ {
@@ -353,18 +315,14 @@ namespace FEQ0000
if (!this.tbSearch.Text.isEmpty()) if (!this.tbSearch.Text.isEmpty())
{ {
if (!newWhere.isEmpty()) newWhere += " and "; if (!newWhere.isEmpty()) newWhere += " and ";
newWhere += string.Format("(asset like '%{0}%' or model like '%{0}%' or serial like '%{0}%')", tbSearch.Text); newWhere += string.Format("(asset like '%{0}%' or type like '%{0}%' or manu like '%{0}%' or model like '%{0}%' or linet like '%{0}%' or linep like '%{0}%' or linecode like '%{0}%' or serial like '%{0}%')", tbSearch.Text);
} }
if (this.cmbPlant.SelectedIndex > 0 && !this.cmbPlant.Text.isEmpty()) if (this.cmbPlant.SelectedIndex > 0 && !this.cmbPlant.Text.isEmpty())
{ {
if (!newWhere.isEmpty()) newWhere += " and "; if (!newWhere.isEmpty()) newWhere += " and ";
newWhere += "[plant]='" + cmbPlant.Text + "'"; newWhere += "[plant]='" + cmbPlant.Text + "'";
} }
if (this.cmbCate.SelectedIndex > 0 && !this.cmbCate.Text.isEmpty())
{
if (!newWhere.isEmpty()) newWhere += " and ";
newWhere += "[grp2]='" + cmbCate.Text + "'";
}
if (radexpn.Checked) if (radexpn.Checked)
{ {
if (!newWhere.isEmpty()) newWhere += " and "; if (!newWhere.isEmpty()) newWhere += " and ";
@@ -391,84 +349,23 @@ namespace FEQ0000
CommandText = string.Format(CommandText, "EETGW_Equipment", this.cmbDate.Text);
switch (dataType) var cmd = new System.Data.SqlClient.SqlCommand(CommandText, this.taAll.Connection);
{ var da = new System.Data.SqlClient.SqlDataAdapter(cmd);
case eTabletype.MOLD: dsEQ.EETGW_Equipment.Clear();
//select command da.Fill(this.dsEQ.EETGW_Equipment);
if (this.taME.Adapter.SelectCommand == null) dsEQ.EETGW_Equipment.AcceptChanges();
this.taME.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand();
this.taME.Adapter.SelectCommand.CommandText = string.Format(CommandText, "equipmentME", this.cmbDate.Text);
this.dsEQ.EquipmentME.Clear();
taME.Fill(this.dsEQ.EquipmentME, this.cmbDate.Text);
this.dsEQ.EquipmentME.AcceptChanges();
dv.DataSource = bsME;
bn.BindingSource = bsME;
break;
case eTabletype.BUMP:
//select command
if (this.taB.Adapter.SelectCommand == null)
this.taB.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand();
this.taB.Adapter.SelectCommand.CommandText = string.Format(CommandText, "equipmentB", this.cmbDate.Text);
this.dsEQ.EquipmentB.Clear();
taB.Fill(this.dsEQ.EquipmentB, this.cmbDate.Text);
this.dsEQ.EquipmentB.AcceptChanges();
dv.DataSource = bsB;
bn.BindingSource = bsB;
break;
case eTabletype.FOL:
//select command
if (this.taF.Adapter.SelectCommand == null)
this.taF.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand();
this.taF.Adapter.SelectCommand.CommandText = string.Format(CommandText, "equipmentF",this.cmbDate.Text);
this.dsEQ.EquipmentF.Clear();
taF.Fill(this.dsEQ.EquipmentF, this.cmbDate.Text);
this.dsEQ.EquipmentF.AcceptChanges();
dv.DataSource = bsF;
bn.BindingSource = bsF;
break;
case eTabletype.ING:
//select command
if (this.taIng.Adapter.SelectCommand == null)
this.taIng.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand();
this.taIng.Adapter.SelectCommand.CommandText = string.Format(CommandText, "EETGW_EquipmentIng", this.cmbDate.Text);
this.dsEQ.EETGW_EquipmentIng.Clear();
taIng.Fill(this.dsEQ.EETGW_EquipmentIng, this.cmbDate.Text);
this.dsEQ.EETGW_EquipmentIng.AcceptChanges();
dv.DataSource = bsIng;
bn.BindingSource = bsIng;
break;
case eTabletype.ALL:
CommandText = string.Format(CommandText, "EETGW_Equipment", this.cmbDate.Text);
var cmd = new System.Data.SqlClient.SqlCommand(CommandText, this.taAll.Connection);
var da = new System.Data.SqlClient.SqlDataAdapter(cmd);
dsEQ.EETGW_Equipment.Clear();
da.Fill(this.dsEQ.EETGW_Equipment);
dsEQ.EETGW_Equipment.AcceptChanges();
////select command ////select command
//if (this.taAll.Adapter.SelectCommand == null) //if (this.taAll.Adapter.SelectCommand == null)
// this.taAll.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand(); // this.taAll.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand();
//this.taAll.Adapter.SelectCommand.CommandText = string.Format(CommandText, "EETGW_Equipment"); //this.taAll.Adapter.SelectCommand.CommandText = string.Format(CommandText, "EETGW_Equipment");
//this.dsEQ.EETGW_Equipment.Clear(); //this.dsEQ.EETGW_Equipment.Clear();
//taAll.Fill(this.dsEQ.EETGW_Equipment, this.cmbDate.Text); //taAll.Fill(this.dsEQ.EETGW_Equipment, this.cmbDate.Text);
//this.dsEQ.EETGW_Equipment.AcceptChanges(); //this.dsEQ.EETGW_Equipment.AcceptChanges();
dv.DataSource = bsAll; dv.DataSource = bsAll;
bn.BindingSource = bsAll; bn.BindingSource = bsAll;
break;
case eTabletype.OTHER:
//select command
if (this.taOther.Adapter.SelectCommand == null)
this.taOther.Adapter.SelectCommand = new System.Data.SqlClient.SqlCommand();
this.taOther.Adapter.SelectCommand.CommandText = string.Format(CommandText, "EETGW_Equipment");
this.dsEQ.EETGW_EquipmentOther.Clear();
taOther.Fill(this.dsEQ.EETGW_EquipmentOther, this.cmbDate.Text);
this.dsEQ.EETGW_EquipmentOther.AcceptChanges();
dv.DataSource = bsOther;
bn.BindingSource = bsOther;
break;
}
} }
@@ -484,7 +381,7 @@ namespace FEQ0000
private void applyToolStripMenuItem_Click(object sender, EventArgs e) private void applyToolStripMenuItem_Click(object sender, EventArgs e)
{ {
var f = new EQFilterApply(this.dataType == eTabletype.ING ? "I" : "E"); var f = new EQFilterApply("E");
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{ {
var dlg = FCOMMON.Util.MsgQ("매크로를 적용 하시겠습니까?"); var dlg = FCOMMON.Util.MsgQ("매크로를 적용 하시겠습니까?");
@@ -506,8 +403,8 @@ namespace FEQ0000
private void toolStripButton7_Click(object sender, EventArgs e) private void toolStripButton7_Click(object sender, EventArgs e)
{ {
var eqdiv = this.dataType == eTabletype.ING ? "I" : "E"; //var eqdiv = this.dataType == eTabletype.ING ? "I" : "E";
var f = new EQfilterManager(eqdiv); var f = new EQfilterManager("E");
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{ {
var filter = f.filter; var filter = f.filter;
@@ -581,142 +478,37 @@ namespace FEQ0000
var ucnt = 0; var ucnt = 0;
var taLIne = new dsEQTableAdapters.LineCodeTableAdapter(); var taLIne = new dsEQTableAdapters.LineCodeTableAdapter();
var dtLineCode = taLIne.GetData(); var dtLineCode = taLIne.GetData();
if (dataType == eTabletype.MOLD)
this.prb1.Maximum = this.dsEQ.EETGW_Equipment.Count;
foreach (dsEQ.EETGW_EquipmentRow dr in this.dsEQ.EETGW_Equipment)
{ {
this.prb1.Maximum = this.dsEQ.EquipmentME.Count; if (this.prb1.Value < this.prb1.Maximum) this.prb1.Value += 1;
foreach (dsEQ.EquipmentMERow dr in this.dsEQ.EquipmentME) if (dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached) continue;
var linedata = dtLineCode.Where(t => t.code == dr.linecode).FirstOrDefault();
if (linedata != null)
{ {
if (this.prb1.Value < this.prb1.Maximum) this.prb1.Value += 1; if (dr.grp2 != linedata.grp2 || dr.lineP != linedata.part || dr.lineT != linedata.team || dr.plant != linedata.plant)
if (dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached) continue;
var linedata = dtLineCode.Where(t => t.code == dr.linecode).FirstOrDefault();
if (linedata != null)
{ {
if (dr.grp2 != linedata.grp2 || dr.lineP != linedata.part || dr.lineT != linedata.team || dr.plant != linedata.plant) dr.lineP = linedata.part;
{ dr.lineT = linedata.team;
dr.lineP = linedata.part; dr.plant = linedata.plant;
dr.lineT = linedata.team; dr.grp2 = linedata.grp2;
dr.plant = linedata.plant; dr.EndEdit();
dr.grp2 = linedata.grp2; ucnt += 1;
dr.EndEdit();
ucnt += 1;
}
}
}
}
else if (dataType == eTabletype.FOL)
{
this.prb1.Maximum = this.dsEQ.EquipmentF.Count;
foreach (dsEQ.EquipmentFRow dr in this.dsEQ.EquipmentF)
{
if (this.prb1.Value < this.prb1.Maximum) this.prb1.Value += 1;
if (dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached) continue;
var linedata = dtLineCode.Where(t => t.code == dr.linecode).FirstOrDefault();
if (linedata != null)
{
if (dr.grp2 != linedata.grp2 || dr.lineP != linedata.part || dr.lineT != linedata.team || dr.plant != linedata.plant)
{
dr.lineP = linedata.part;
dr.lineT = linedata.team;
dr.plant = linedata.plant;
dr.grp2 = linedata.grp2;
dr.EndEdit();
ucnt += 1;
}
}
}
}
else if (dataType == eTabletype.ING)
{
this.prb1.Maximum = this.dsEQ.EETGW_EquipmentIng.Count;
foreach (dsEQ.EETGW_EquipmentIngRow dr in this.dsEQ.EETGW_EquipmentIng)
{
if (this.prb1.Value < this.prb1.Maximum) this.prb1.Value += 1;
if (dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached) continue;
var linedata = dtLineCode.Where(t => t.code == dr.linecode).FirstOrDefault();
if (linedata != null)
{
if (dr.grp2 != linedata.grp2 || dr.lineP != linedata.part || dr.lineT != linedata.team || dr.plant != linedata.plant)
{
dr.lineP = linedata.part;
dr.lineT = linedata.team;
dr.plant = linedata.plant;
dr.grp2 = linedata.grp2;
dr.EndEdit();
ucnt += 1;
}
}
}
}
else if (dataType == eTabletype.OTHER)
{
this.prb1.Maximum = this.dsEQ.EETGW_EquipmentOther.Count;
foreach (dsEQ.EETGW_EquipmentOtherRow dr in this.dsEQ.EETGW_EquipmentOther)
{
if (this.prb1.Value < this.prb1.Maximum) this.prb1.Value += 1;
if (dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached) continue;
var linedata = dtLineCode.Where(t => t.code == dr.linecode).FirstOrDefault();
if (linedata != null)
{
if (dr.grp2 != linedata.grp2 || dr.lineP != linedata.part || dr.lineT != linedata.team || dr.plant != linedata.plant)
{
dr.lineP = linedata.part;
dr.lineT = linedata.team;
dr.plant = linedata.plant;
dr.grp2 = linedata.grp2;
dr.EndEdit();
ucnt += 1;
}
}
}
}
else if (dataType == eTabletype.ALL)
{
this.prb1.Maximum = this.dsEQ.EETGW_Equipment.Count;
foreach (dsEQ.EETGW_EquipmentRow dr in this.dsEQ.EETGW_Equipment)
{
if (this.prb1.Value < this.prb1.Maximum) this.prb1.Value += 1;
if (dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached) continue;
var linedata = dtLineCode.Where(t => t.code == dr.linecode).FirstOrDefault();
if (linedata != null)
{
if (dr.grp2 != linedata.grp2 || dr.lineP != linedata.part || dr.lineT != linedata.team || dr.plant != linedata.plant)
{
dr.lineP = linedata.part;
dr.lineT = linedata.team;
dr.plant = linedata.plant;
dr.grp2 = linedata.grp2;
dr.EndEdit();
ucnt += 1;
}
}
}
}
else
{
this.prb1.Maximum = this.dsEQ.EquipmentB.Count;
foreach (dsEQ.EquipmentBRow dr in this.dsEQ.EquipmentB)
{
if (this.prb1.Value < this.prb1.Maximum) this.prb1.Value += 1;
if (dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached) continue;
var linedata = dtLineCode.Where(t => t.code == dr.linecode).FirstOrDefault();
if (linedata != null)
{
if (dr.grp2 != linedata.grp2 || dr.lineP != linedata.part || dr.lineT != linedata.team || dr.plant != linedata.plant)
{
dr.lineP = linedata.part;
dr.lineT = linedata.team;
dr.plant = linedata.plant;
dr.grp2 = linedata.grp2;
dr.EndEdit();
ucnt += 1;
}
} }
} }
} }
FCOMMON.Util.MsgI($"{ucnt} 건의 자료가 변경 되었습니다. 적용하려면 '저장' 버튼을 누르세요"); FCOMMON.Util.MsgI($"{ucnt} 건의 자료가 변경 되었습니다. 적용하려면 '저장' 버튼을 누르세요");
} }
private void groupBox2_Enter(object sender, EventArgs e)
{
}
} }
} }

View File

@@ -228,6 +228,9 @@
TgDQASA1MVpwzwAAAABJRU5ErkJggg== TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<metadata name="dsEQ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>147, 17</value>
</metadata>
<metadata name="ing.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="ing.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
@@ -237,9 +240,6 @@
<metadata name="plant.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="plant.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="grp2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="flag.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="flag.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
@@ -274,17 +274,6 @@
IAxiQ4WJB6MGDJQBgfU7xcKa9lwvmXPtZcmCGy/aN7/5D8IgNkgMJAdSA1WOHfjXrxdI6jt5uHPru//d IAxiQ4WJB6MGDJQBgfU7xcKa9lwvmXPtZcmCGy/aN7/5D8IgNkgMJAdSA1WOHfjXrxdI6jt5uHPru//d
2z+AMYgNEgPJQZXhB6Hlu/mToYaANfefPAQSg0oTBwIq1gmnTjyzP3XCyf0h9TuEoMKkAZBGgpqj2vb7 2z+AMYgNEgPJQZXhB6Hlu/mToYaANfefPAQSg0oTBwIq1gmnTjyzP3XCyf0h9TuEoMKkAZBGgpqj2vb7
xHQcbCUHg/QypE44tQQWWKRikF6G2K4juSAGOTi260guAHNTC7nWY2FZAAAAAElFTkSuQmCC xHQcbCUHg/QypE44tQQWWKRikF6G2K4juSAGOTi260guAHNTC7nWY2FZAAAAAElFTkSuQmCC
</value>
</data>
<data name="toolStripButton7.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE5SURBVDhPnZJLS8NAFIVHf2dbzGRt9zXFQCqYuqmKuLOi
laaCRJ0UqjvtqjVNVuoPiKAVRJc+KIy515nSmIexBw5c5tzvDAND0sQ5WRicFPSBXVyFWRznEwB+V7Ue
b9cnYL+rWLlLdF1f9NjS8fiuPuGvLQ6GGc4gE2vJQtiJwrMlrqN0Uksg8M9pZ3y/EYOloQR2Ys/BNzPV
yoKlYWfEaHtaAsPIoe08sDSWhAyWDO2i9hSYXzLsX9b5Wq2Mc6up8aP9Ks41o4yZ3HsOdj5vTksrxD2L
Flz1TG6IgoM9jR82fwoMY5lfX5jRArtUwWd4jDbeHhrvMvzLsAsMwlIeUzdfgt2PJGDWibCU59CtrBLI
4CKxnqy0EoTDTKxl63fJv2ApnynbAM4Fg+CTDO1C1Q3/yfTXxUTIN1uh6VOm+F1TAAAAAElFTkSuQmCC
</value> </value>
</data> </data>
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -294,11 +283,11 @@
s9wremanoeO0rt072re8/d+x+e3/uO5j7VAtCFDaOU+1vHtOeUXfXCWoEApI6DneBTMgofNoJ1QYASq6 s9wremanoeO0rt072re8/d+x+e3/uO5j7VAtCFDaOU+1vHtOeUXfXCWoEApI6DneBTMgofNoJ1QYASq6
Z+dBmVgBQS9Uds9NhjKxgg37L5nsPXv33P5zd8+u3XPRCCqMAHUTF5Qv2namZNG200AaE28+dO3Uw9ef Z+dBmVgBQS9Uds9NhjKxgg37L5nsPXv33P5zd8+u3XPRCCqMAHUTF5Qv2namZNG200AaE28+dO3Uw9ef
/oPwjhM3ZzPEtu0WTuk/tbNo3rVrCV3Hl7TNXrvy////jFDzMMDmo1dCjlx//ByEtxy+GcQQ23N4YufW /oPwjhM3ZzPEtu0WTuk/tbNo3rVrCV3Hl7TNXrvy////jFDzMMDmo1dCjlx//ByEtxy+GcQQ23N4YufW
d/+7t3/4X7/u5p+iCVsPQdXiBMv2HBdftPOCGJgT23MMzYBtR8ASeIBv5UbxwPqdUANAXug7uStv9uWb d/+7t3/4X7/u+p+iCVsPQdXiBMv2HBdftPOCGJgT23MMzYBtR8ASeIBv5UbxwPqdUANAXug7uStv9uWb
IC+0zli9rr6+ngksiQVEdxwNKZh/42nx7CtPYjsOB0GFEWDG6gPllV2zy0BpARtO7913CuRaEE7qPzEb IC+0zli9rr6+ngksiQVEdxwNKZh/42nx7CtPYjsOB0GFEWDG6gPllV2zy0BpARtO7913CuRaEE7qPzEb
qg0Blmw9kwplYgWxnftNMqacvpA+9cz56M49mNG4aMfpHCgTK1i16grb5sNX+4C4F8SGCiPA4u2n1Bdv qg0Blmw9kwplYgWxnftNMqacvpA+9cz56M49mNG4aMfpHCgTK1i16grb5sNX+4C4F8SGCiPA4u2n1Bdv
O527ePtpSagQCthy/HrnvRcf/oPw1mPXMfMCCMzZcIR34fYz7ou2nwlFxxsPXd0IMwBkGFQL8QDVC1fY O527ePtpSagQCthy/HrnvRcf/oPw1mPXMfMCCMzZcIR34fYz7ou2nwlFxxsPXd0IMwBkGFQL8QDVC1fY
AP72Lw00N2hvAAAAAElFTkSuQmCC APaQLwl0R0q7AAAAAElFTkSuQmCC
</value> </value>
</data> </data>
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -313,17 +302,17 @@
GBaNWcvqk2DqGRgYGADjf2uwh5UJoAAAAABJRU5ErkJggg== GBaNWcvqk2DqGRgYGADjf2uwh5UJoAAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<data name="toolStripButton6.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="btRefresh.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGlSURBVDhPlZNNSwJBHIctKiJ6vQR9gujUV+i7BNGlU0S3 YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGlSURBVDhPlZNNSwJBHIctKiJ6vQR9gujUV/C7BNGlU0S3
BqQwMzVf2m1ba8s1s7TNXTe1VhPFl6ISDT0VdOmFMusSUWRNuzFSq0vWA7/L/P7PMMMwqlpoqO0Bs2sX BqQwMzVN17bVtlw1S9vcdVNzNSt8KXrBSk8FQVHR+yWiyJp2YyQ3l7QHfpf5/Z9hhmEU5VCTK0qTZw0z
M9MBh9kZ1Gsxby+qfkeDrXVZPWF/MHf7nC1CKCVz/wHZk7OiuBEJAGhAo9WIZT3uFsLpu9KXWJlI/uZ9 USGnyR3WaTB/J6r+Ro252sy+WDCcvXk5fIBQTOb+EzL7Jw/CRgQAoAaNliKU1VYvHzu4zX+LvxM/vvyY
zhnA0Hg1Bgc3nLy4elOSy+FPLgpqcr0PKXJINs4oST+TKbxD45p/FilyVoKHESWpMthWmEKKnCUuySsJ dIcwNF6K3sn2pc4u3uXkQrj9szsVsdCFFCkEk6DlpOJk7j6gwRWcQIqUufBOXE76HWw5RiJFip1NcXJC
P5MRY3btWZEiR2/3q4+uXxTFcoT8+ZMGdw8gRc6IiW4nPcKDkihFep15l8CgcTkAUM06itnB91Il3Bt7 cTJCTJ6IGSlSdI6gavfqVVYshM+dPqutXiVSpPQbqWbCxz/KiWLE17F4eBqNSwGArNeS9Kolks5b/VtP
PL55lcmJ3GVpfiMUGp8mOpDyDbBaW/WrbHSVj33M2NzuIYJosawHJ2x8YmeJi6cW2Cijd/gHVRDWIeUb e9dvEjmZPc9bFqPRoTG8BSk/ALO5UTfPbJLsxue4zevtxfGGqYXwsI1LrtrZRHqa2aR1zmCPAsIqpPwA
YKQ6jXZun41noW7Z4xPlRlTVZhSzd5to7oBLnMJZihEA2GxCVW0mDXSPhfal+VQOisePjGltbaj6G1rS DGSrwcGuM4lDqJ31BQS5FlXlGcAc7UaK3WaTR3CCpHkAlupQVZ4RPdUxRQUOuHQWCsePD2psTaiqDA3h
s8gf5KF0AukDoeW/o8bt/VOEi5CugZb+gUr1CRb3l19ObxlcAAAAAElFTkSuQmCC m+G2c1A8gfiB0HLlqKyO7lHcg4vXQEv/QKH4AvQCl0+zwKvQAAAAAElFTkSuQmCC
</value> </value>
</data> </data>
<data name="toolStripDropDownButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripDropDownButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -349,6 +338,17 @@
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg== TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<data name="toolStripButton7.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE4SURBVDhPnZJLS8NAFIVHf2dbzGRt95piIPURV1WR7mzR
SlNBok4K6k5dtabJKr8gaqEguvRBYcy9zpTGPIweOHCZc78zDAzJEudkYXBa0gd2eQ1mcVxMAPh91XoM
NqZgv69YhUt0XV/02NLJONia8pcOB8MMZ5CJtXQh7MTh+RLXUXqZJRD4F7Q3DswELA0lsJN4Dr6ZqVYe
LA07I0a7sxIYRg7tFoGlsSRisGRol7WncPNThnfX23y9XsW509L4cbuGc92oYib3JuH+x/1ZZZW45/GC
m0uTG6Lg8EDjR63vAsNY5rdXZrzArqzgMzxGG68PjTcZ/mbYBQZhKY+pO89h8z0NmHcqLOU5dDevBDK4
SKynK6sE4SgTa/n6WfInWMpnyh6A/4JB8EmGdqnmRv9k9usSIuQLjcrpDAPKoXQAAAAASUVORK5CYII=
</value> </value>
</data> </data>
<metadata name="taB.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="taB.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">

View File

@@ -13,37 +13,17 @@ namespace FEQ0000
{ {
DataTable dt = null; DataTable dt = null;
DataTable dtExcel = new DataTable(); DataTable dtExcel = new DataTable();
fEquipment.eTabletype imptype = fEquipment.eTabletype.MOLD; // fEquipment.eTabletype imptype = fEquipment.eTabletype.MOLD;
public fImpEquipment(fEquipment.eTabletype type_) public fImpEquipment(fEquipment.eTabletype type_)
{ {
InitializeComponent(); InitializeComponent();
this.FormClosed += __Closed; this.FormClosed += __Closed;
imptype = type_; dt = new dsEQ.EETGW_EquipmentDataTable();
switch (imptype)
{
case fEquipment.eTabletype.FOL:
dt = new dsEQ.EquipmentFDataTable();
break;
case fEquipment.eTabletype.MOLD:
dt = new dsEQ.EquipmentMEDataTable();
break;
case fEquipment.eTabletype.BUMP:
dt = new dsEQ.EquipmentBDataTable();
break;
case fEquipment.eTabletype.ING:
dt = new dsEQ.EETGW_EquipmentIngDataTable();
break;
case fEquipment.eTabletype.OTHER:
dt = new dsEQ.EETGW_EquipmentOtherDataTable();
break;
}
} }
private void __Load(object sender, EventArgs e) private void __Load(object sender, EventArgs e)
{ {
this.Text = string.Format("Data Import({0})", this.imptype); this.Text = string.Format("Data Import({0})", "ALL");
var form = this as Form; var form = this as Form;
FCOMMON.Util.SetFormStatus(ref form, this.Name, true); FCOMMON.Util.SetFormStatus(ref form, this.Name, true);
this.Show(); this.Show();
@@ -274,29 +254,8 @@ namespace FEQ0000
dlg = FCOMMON.Util.MsgQ("기존에 등록된 자료를 삭제할까요?\n자료를 추가하려면 아니오를 클릭하세요"); dlg = FCOMMON.Util.MsgQ("기존에 등록된 자료를 삭제할까요?\n자료를 추가하려면 아니오를 클릭하세요");
if (dlg == DialogResult.Yes) if (dlg == DialogResult.Yes)
{ {
switch (imptype) var taE = new dsEQTableAdapters.EETGW_EquipmentTableAdapter();
{ taE.DeleteData(dateStr);
case fEquipment.eTabletype.MOLD:
var taE = new dsEQTableAdapters.EquipmentMETableAdapter();
taE.DeleteData(dateStr);
break;
case fEquipment.eTabletype.BUMP:
var taB = new dsEQTableAdapters.EquipmentBTableAdapter();
taB.DeleteData(dateStr);
break;
case fEquipment.eTabletype.FOL:
var taF = new dsEQTableAdapters.EquipmentFTableAdapter();
taF.DeleteData(dateStr);
break;
case fEquipment.eTabletype.ING:
var taI = new dsEQTableAdapters.EETGW_EquipmentIngTableAdapter();
taI.DeleteData(dateStr);
break;
case fEquipment.eTabletype.OTHER:
var taO = new dsEQTableAdapters.EETGW_EquipmentOtherTableAdapter();
taO.DeleteData(dateStr);
break;
}
} }
//12,13 //12,13
@@ -384,7 +343,7 @@ namespace FEQ0000
newdr["memo"] = string.Empty; newdr["memo"] = string.Empty;
newdr["flag"] = rcsflag; //rcs flag 210325 newdr["flag"] = rcsflag; //rcs flag 210325
if (imptype == fEquipment.eTabletype.BUMP) newdr["param1"] = "8\""; if (grp2.ToUpper() == "BUMP") newdr["param1"] = "8\"";
else newdr["param1"] = string.Empty; else newdr["param1"] = string.Empty;
dt.Rows.Add(newdr); dt.Rows.Add(newdr);
} }
@@ -392,34 +351,11 @@ namespace FEQ0000
taLine.Update(lineTd); taLine.Update(lineTd);
lineTd.AcceptChanges(); lineTd.AcceptChanges();
switch (imptype) var taO = new dsEQTableAdapters.EETGW_EquipmentTableAdapter();
{ //taI.DeleteData(dateStr);
case fEquipment.eTabletype.MOLD: taO.Update((dsEQ.EETGW_EquipmentDataTable)dt);
var taE = new dsEQTableAdapters.EquipmentMETableAdapter();
//taE.DeleteData(dateStr);
taE.Update((dsEQ.EquipmentMEDataTable)dt);
break;
case fEquipment.eTabletype.BUMP:
var taB = new dsEQTableAdapters.EquipmentBTableAdapter();
//taB.DeleteData(dateStr);
taB.Update((dsEQ.EquipmentBDataTable)dt);
break;
case fEquipment.eTabletype.FOL:
var taF = new dsEQTableAdapters.EquipmentFTableAdapter();
//taF.DeleteData(dateStr);
taF.Update((dsEQ.EquipmentFDataTable)dt);
break;
case fEquipment.eTabletype.ING:
var taI = new dsEQTableAdapters.EETGW_EquipmentIngTableAdapter();
//taI.DeleteData(dateStr);
taI.Update((dsEQ.EETGW_EquipmentIngDataTable)dt);
break;
case fEquipment.eTabletype.OTHER:
var taO = new dsEQTableAdapters.EETGW_EquipmentOtherTableAdapter();
//taI.DeleteData(dateStr);
taO.Update((dsEQ.EETGW_EquipmentOtherDataTable)dt);
break;
}
dt.AcceptChanges(); dt.AcceptChanges();
FCOMMON.Util.MsgI("Save OK"); FCOMMON.Util.MsgI("Save OK");
} }

View File

@@ -49,7 +49,7 @@
this.rpv1.LocalReport.ReportEmbeddedResource = "FEQ0000.ReportB.rdlc"; this.rpv1.LocalReport.ReportEmbeddedResource = "FEQ0000.ReportB.rdlc";
this.rpv1.Location = new System.Drawing.Point(0, 0); this.rpv1.Location = new System.Drawing.Point(0, 0);
this.rpv1.Name = "rpv1"; this.rpv1.Name = "rpv1";
this.rpv1.Size = new System.Drawing.Size(676, 487); this.rpv1.Size = new System.Drawing.Size(905, 545);
this.rpv1.TabIndex = 0; this.rpv1.TabIndex = 0;
// //
// dsEQ // dsEQ
@@ -81,13 +81,13 @@
// //
this.taSum.ClearBeforeFill = true; this.taSum.ClearBeforeFill = true;
// //
// rpt_equipmentB // rpt_equipmentAll
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(676, 487); this.ClientSize = new System.Drawing.Size(905, 545);
this.Controls.Add(this.rpv1); this.Controls.Add(this.rpv1);
this.Name = "rpt_equipmentB"; this.Name = "rpt_equipmentAll";
this.Text = "Equipment Report (Bump)"; this.Text = "Equipment Report (Bump)";
this.Load += new System.EventHandler(this.rpt_equipment_Load); this.Load += new System.EventHandler(this.rpt_equipment_Load);
((System.ComponentModel.ISupportInitialize)(this.dsEQ)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsEQ)).EndInit();

View File

@@ -39,9 +39,6 @@ namespace FEQ0000
var grpMod = gItemM.GroupBy(t => t.model); var grpMod = gItemM.GroupBy(t => t.model);
foreach (var gItemMod in grpMod) foreach (var gItemMod in grpMod)
{ {
var grpLine = gItemMod.GroupBy(t => t.lineT + "-" + t.lineP); var grpLine = gItemMod.GroupBy(t => t.lineT + "-" + t.lineP);
foreach (var gItemLine in grpLine) foreach (var gItemLine in grpLine)
{ {
@@ -84,7 +81,7 @@ namespace FEQ0000
Microsoft.Reporting.WinForms.ReportDataSource DsEQ = new Microsoft.Reporting.WinForms.ReportDataSource(); Microsoft.Reporting.WinForms.ReportDataSource DsEQ = new Microsoft.Reporting.WinForms.ReportDataSource();
DsEQ.Name = "DataSet1"; DsEQ.Name = "DataSet1";
this.rpv1.LocalReport.ReportEmbeddedResource = "FEQ0000.Equipment.ReportA.rdlc"; this.rpv1.LocalReport.ReportEmbeddedResource = "FEQ0000.Equipment.ReportB.rdlc";
DsEQ.Value = dtSum; DsEQ.Value = dtSum;
this.rpv1.LocalReport.DataSources.Add(DsEQ); this.rpv1.LocalReport.DataSources.Add(DsEQ);

View File

@@ -156,12 +156,6 @@
<Compile Include="Equipment\EQfilterManager.Designer.cs"> <Compile Include="Equipment\EQfilterManager.Designer.cs">
<DependentUpon>EQfilterManager.cs</DependentUpon> <DependentUpon>EQfilterManager.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="Equipment\fEquipmentSummary.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Equipment\fEquipmentSummary.Designer.cs">
<DependentUpon>fEquipmentSummary.cs</DependentUpon>
</Compile>
<Compile Include="Equipment\fEquipment.cs"> <Compile Include="Equipment\fEquipment.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@@ -180,21 +174,9 @@
<Compile Include="Equipment\rpt_equipmentAll.Designer.cs"> <Compile Include="Equipment\rpt_equipmentAll.Designer.cs">
<DependentUpon>rpt_equipmentAll.cs</DependentUpon> <DependentUpon>rpt_equipmentAll.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="Equipment\rpt_equipmentSum.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Equipment\rpt_equipmentSum.Designer.cs">
<DependentUpon>rpt_equipmentSum.cs</DependentUpon>
</Compile>
<Compile Include="MethodExtentions.cs" /> <Compile Include="MethodExtentions.cs" />
<Compile Include="Program.cs" /> <Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Equipment\rpt_equipmentB.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Equipment\rpt_equipmentB.Designer.cs">
<DependentUpon>rpt_equipmentB.cs</DependentUpon>
</Compile>
<Compile Include="Purchase\fPurchaseNRList.cs"> <Compile Include="Purchase\fPurchaseNRList.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@@ -268,24 +250,15 @@
<EmbeddedResource Include="Equipment\EQfilterManager.resx"> <EmbeddedResource Include="Equipment\EQfilterManager.resx">
<DependentUpon>EQfilterManager.cs</DependentUpon> <DependentUpon>EQfilterManager.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Equipment\fEquipmentSummary.resx">
<DependentUpon>fEquipmentSummary.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Equipment\fEquipment.resx"> <EmbeddedResource Include="Equipment\fEquipment.resx">
<DependentUpon>fEquipment.cs</DependentUpon> <DependentUpon>fEquipment.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Equipment\fImpEquipment.resx"> <EmbeddedResource Include="Equipment\fImpEquipment.resx">
<DependentUpon>fImpEquipment.cs</DependentUpon> <DependentUpon>fImpEquipment.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Equipment\ReportA.rdlc" />
<EmbeddedResource Include="Equipment\ReportO.rdlc" />
<EmbeddedResource Include="Equipment\ReportI.rdlc" />
<EmbeddedResource Include="Equipment\rpt_equipmentAll.resx"> <EmbeddedResource Include="Equipment\rpt_equipmentAll.resx">
<DependentUpon>rpt_equipmentAll.cs</DependentUpon> <DependentUpon>rpt_equipmentAll.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Equipment\rpt_equipmentSum.resx">
<DependentUpon>rpt_equipmentSum.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\licenses.licx" /> <EmbeddedResource Include="Properties\licenses.licx" />
<EmbeddedResource Include="Properties\Resources.resx"> <EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator> <Generator>ResXFileCodeGenerator</Generator>
@@ -298,11 +271,6 @@
<DesignTime>True</DesignTime> <DesignTime>True</DesignTime>
</Compile> </Compile>
<EmbeddedResource Include="Equipment\ReportB.rdlc" /> <EmbeddedResource Include="Equipment\ReportB.rdlc" />
<EmbeddedResource Include="Equipment\ReportE.rdlc" />
<EmbeddedResource Include="Equipment\ReportF.rdlc" />
<EmbeddedResource Include="Equipment\rpt_equipmentB.resx">
<DependentUpon>rpt_equipmentB.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Purchase\fPurchaseNRList.resx"> <EmbeddedResource Include="Purchase\fPurchaseNRList.resx">
<DependentUpon>fPurchaseNRList.cs</DependentUpon> <DependentUpon>fPurchaseNRList.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>