public ucReportSettingsControl getReportSettings(string itemID) { ucReportSettingsControl theResult = new ucReportSettingsControl(); //if (itemID == SafetyMenu.miCheckListReport_SAFCheckListReport_MinewareSystemsSafety.ItemID) //{ // theResult = new Reports.CheckListReport.CheckListReportUserControl(); //} //else //{ //if (itemID == SafetyMenu.miAuditsAuthorizationReport_SAFDailyManagement_MinewareSystemsSafety.ItemID) //{ // theResult = new Reports.AuditsAuthorizationReport.ucAuditsAuthorizationReport(); //} if (itemID == SafetyMenu.miGenericReport_SAFGenericRep_MinewareSystemsSafety.ItemID) { theResult = new Reports.GenericReport.ucGenericReport(); } //if (itemID == SafetyMenu.miWorkplacesAuditedNotAudited_SAFWPAudit_MinewareSystemsSafety.ItemID) //{ // theResult = new Reports.WorkplaceNotAudited.ucWorkplaceNotAudited(); //} if (itemID == SafetyMenu.miActionManagerReport_SAFActionManagerReport_MinewareSystemsSafety.ItemID) { theResult = new Reports.ActionManagerReport.ucActionManagerReport(); } //} return(theResult); }
public ucReportSettingsControl getReportSettings(string itemID) { ucReportSettingsControl theResult = new ucReportSettingsControl(); if (TProductionGlobal.WPASMenuStructure.miPlanningProtocolReport_HPASPlanningProtocolReport_MinewareSystemsHarmonyPAS.ItemID == itemID) { theResult = new ucPlanningProtocolReport(); } if (TProductionGlobal.WPASMenuStructure.miMeasuringList_HPASReportsMeasuringList_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.MeasuringListReport.ucMeasuringListReport()); } if (TProductionGlobal.WPASMenuStructure.miPlanVsBook_HPASReportsPlanVsBook_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.PlannedVsBooked.ucPlannedVsBooked()); } if (TProductionGlobal.WPASMenuStructure.miGradeReport_HPASReportsGradeReport_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.GradeReport.ucGradeReport()); } //if (TProductionGlobal.WPASMenuStructure.miPlanningReportNewStyle_HPASReportsPlanningReportNewStyle_MinewareSystemsHarmonyPAS.ItemID == itemID) //{ // return new Reports.PlanningReportNewStyle.ucPlanningReportNewStyle(); //} if (TProductionGlobal.WPASMenuStructure.miPlathond_HPASReportWallRoom_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.PlathondWallChartReport.PlathondWallChartReportUserControl()); } if (TProductionGlobal.WPASMenuStructure.miBonusReport_HPASReportBonus_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.BonusReport.ucBonusReport()); } //if (TProductionGlobal.WPASMenuStructure.miCourseBlankReport_HPASReportCourseBlank_MinewareSystemsHarmonyPAS.ItemID == itemID) //{ // return new Reports.CourseBlankSampleReport.ucCourseBlankSampleReport(); //} //if (TProductionGlobal.WPASMenuStructure.miStandardSRMReport_HPASReportStandardCRM_MinewareSystemsHarmonyPAS.ItemID == itemID) //{ // return new Reports.StandardCRMReport.ucStandardCRMReport(); //} if (TProductionGlobal.WPASMenuStructure.miTopPanelsReport_HPASReportTopPanels_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.TopPanelsReport.ucTopPanelsReport()); } if (TProductionGlobal.WPASMenuStructure.miTonnage_HPASReportTonnage_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.TonnageReport.ucTonnageReport()); } if (TProductionGlobal.WPASMenuStructure.miProductionAnalysis_HPASReportProductionAnalysis_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.ProductionAnalysisReport.ucProductionAnalysisReport()); } if (TProductionGlobal.WPASMenuStructure.miMODaily_HPASReportMODaily_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.MODaily.ucMODailyProduction()); } if (TProductionGlobal.WPASMenuStructure.miCrewRanking_HPASReportCrewRanking_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.CrewRanking.ucCrewRanking()); } if (TProductionGlobal.WPASMenuStructure.miProblemAnalysis_HPASReportProblemAnalysis_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.Problem_Analysis_Report.ucProblemAnalysisReport()); } //if (TProductionGlobal.WPASMenuStructure.miPlanningReportNewStyle_HPASReportsPlanningReportNewStyle_MinewareSystemsHarmonyPAS.ItemID == itemID) //{ // return new Reports.PlanningReportNewStyle.ucPlanningReportNewStyle(); //} if (TProductionGlobal.WPASMenuStructure.miSICReport_HPASReportSICReport_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.SICReport.ucSICReport()); } if (TProductionGlobal.WPASMenuStructure.miProblemHistoryPareto_HPASReportLostBlastReport_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.ProblemsReport.ucProblemsReport()); } ///New Graph Problems if (TProductionGlobal.WPASMenuStructure.miProblemHistoryGraph_HPASReportProblemHistGraph_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.ProblemHistoryGraph.ucProblemsReport()); } if (TProductionGlobal.WPASMenuStructure.miSurveyReport_HPASReportSurveyReport_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.SurveyReport.ucSurveyReport()); } if (TProductionGlobal.WPASMenuStructure.miPlanningReport_HPASReportsPlanningReport_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.PlanningReport.ucPlanningReport()); } if (TProductionGlobal.WPASMenuStructure.miGenericReport_HPASReportGenericReport_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.GenericReport.ucGenericReport()); } if (TProductionGlobal.WPASMenuStructure.miRevisedPlanningAuditReport_HPASRevisedAuditReport_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.RevisedPlanning_Audit_Report.ucRevisedPlanningAuditReport()); } if (TProductionGlobal.WPASMenuStructure.miWorstPerformers_HPASReportWorstPerformers_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.WorstPerformers.ucWorstPerformerss()); } ///NEW /// if (TProductionGlobal.WPASMenuStructure.miMODailyDetail_HPASReportMODailyDetail_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.MODailyDetail.ucMODailyProduction()); } if (TProductionGlobal.WPASMenuStructure.mi6ShiftRecon_HPASReport6ShiftRecon_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports._6ShiftRecon.ucRecon()); } if (TProductionGlobal.WPASMenuStructure.miPlanningReportStyle2_HPASReportsPlanningReport2_MinewareSystemsHarmonyPAS.ItemID == itemID) { return(new Reports.PlanningReportNewStyle.ucPlanningReportNewStyle()); } return(theResult); }