| | |
| | | { |
| | | switch (gnsy.ToLower()) |
| | | { |
| | | case "eam_sourceruningstatus": |
| | | EAM_SourceRuningStatus oEAM_SourceRuningStatus = new EAM_SourceRuningStatus(); |
| | | oEAM_SourceRuningStatus.MdiParent = oMain; |
| | | oEAM_SourceRuningStatus.ModCaption = gnmc; |
| | | oEAM_SourceRuningStatus.Show(); |
| | | oMainForm.AddTabPage(oEAM_SourceRuningStatus); |
| | | break; |
| | | case "mes_stationoutbilllist_baofei": |
| | | MES_StationOutBillList_BaoFei oMES_StationOutBillList_BaoFei = new MES_StationOutBillList_BaoFei(); |
| | | oMES_StationOutBillList_BaoFei.MdiParent = oMain; |
| | | oMES_StationOutBillList_BaoFei.ModCaption = gnmc; |
| | | oMES_StationOutBillList_BaoFei.Show(); |
| | | oMainForm.AddTabPage(oMES_StationOutBillList_BaoFei); |
| | | break; |
| | | case "mes_stationoutbilllist_geli": |
| | | MES_StationOutBillList_GeLi oMES_StationOutBillList_GeLi = new MES_StationOutBillList_GeLi(); |
| | | oMES_StationOutBillList_GeLi.MdiParent = oMain; |
| | | oMES_StationOutBillList_GeLi.ModCaption = gnmc; |
| | | oMES_StationOutBillList_GeLi.Show(); |
| | | oMainForm.AddTabPage(oMES_StationOutBillList_GeLi); |
| | | break; |
| | | case "mes_stationoutbilllist_bad": |
| | | MES_StationOutBillList_Bad oMES_StationOutBillList_Bad = new MES_StationOutBillList_Bad(); |
| | | oMES_StationOutBillList_Bad.MdiParent = oMain; |
| | |
| | | oSc_ProdWIPTotalReport.Show(); |
| | | oMainForm.AddTabPage(oSc_ProdWIPTotalReport); |
| | | break; |
| | | case "mes_wipprocreport_wip": |
| | | MES_WIPProcReport_WIP oMES_WIPProcReport_WIP = new MES_WIPProcReport_WIP(); |
| | | oMES_WIPProcReport_WIP.MdiParent = oMain; |
| | | oMES_WIPProcReport_WIP.ModCaption = gnmc; |
| | | oMES_WIPProcReport_WIP.Show(); |
| | | oMainForm.AddTabPage(oMES_WIPProcReport_WIP); |
| | | break; |
| | | case "mes_wipprocreport": |
| | | MES_WIPProcReport oMES_WIPProcReport = new MES_WIPProcReport(); |
| | | oMES_WIPProcReport.MdiParent = oMain; |