|
@@ -47,8 +47,9 @@ namespace OTSIncAReportApp.OTSTemplateDesigner
|
|
|
public void criterion_out(GBReport GB_Report, OTSReport_Export in_export,int Index,DataTable dev_internationalLanguage,bool gb_1,bool gb_2,bool AmericanStandard,bool GermanStandard)
|
|
|
{
|
|
|
//首页信息
|
|
|
+
|
|
|
GB_Report = new GBReport(in_export);
|
|
|
- GB_Report.setResultGrid(m_otsreport_export.m_mbszclass);
|
|
|
+
|
|
|
GB_Report.International_language(dev_internationalLanguage);
|
|
|
|
|
|
|
|
@@ -58,9 +59,19 @@ namespace OTSIncAReportApp.OTSTemplateDesigner
|
|
|
string resultfile = m_otsreport_export.m_ReportApp.m_rstDataMgr.ResultFilesList[i].FilePath.ToString() + "\\" + m_otsreport_export.m_ReportApp.m_rstDataMgr.ResultFilesList[i].FileName_real.ToString();
|
|
|
m_otsreport_export.m_ReportApp.m_rstDataMgr.m_ReportMgr.AddASmplMsrResultMgr(resultfile, anothername);
|
|
|
}
|
|
|
- OTSCLRINTERFACE.CPropParamClr clr_prop = m_otsreport_export.m_ReportApp.m_rstDataMgr.m_ReportMgr.GetPropertyParamTable();
|
|
|
+
|
|
|
List<string> datasourcelist = m_otsreport_export.m_ReportApp.m_conditionChoose.m_conditionData.GetComboDownListByItemName(OTS_REPORT_PROP_GRID_ITEMS.DATA_SOURCE);
|
|
|
|
|
|
+ OTSCLRINTERFACE.CPropParamClr clr_prop = m_otsreport_export.m_ReportApp.m_rstDataMgr.m_ReportMgr.GetPropertyParamTable();
|
|
|
+ clr_prop.SetDataSourceList(datasourcelist);
|
|
|
+ clr_prop.SetDataSourceId(Index);//
|
|
|
+ clr_prop.SetCalTableType((int)CALCULATE_TABLE_TYPE.GB_Method1);
|
|
|
+ clr_prop.SetType((int)DisplayPicutureType.AnalyzeDataTable);//table
|
|
|
+
|
|
|
+ var tbl = m_otsreport_export.m_ReportApp.m_rstDataMgr.m_ReportMgr.GetAllGBFields(clr_prop);
|
|
|
+ GB_Report.setResultGrid(m_otsreport_export.m_mbszclass, tbl);
|
|
|
+
|
|
|
+
|
|
|
if (gb_1)
|
|
|
{
|
|
|
List<DataTable> GB1 = InsertReportTemplateTable_ChineseStandardABCDDS(clr_prop, datasourcelist, Index, (int)CALCULATE_TABLE_TYPE.GB_Method1);
|