|
@@ -10,7 +10,6 @@ using System.Collections;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Windows.Forms;
|
|
|
-using System.Windows.Media;
|
|
|
using static OTSDataType.otsdataconst;
|
|
|
|
|
|
namespace OTSIncAReportApp
|
|
@@ -80,7 +79,6 @@ namespace OTSIncAReportApp
|
|
|
if(itemVal!=null)
|
|
|
sampleData.itemVal = itemVal;
|
|
|
m_CurrentConditions.Add(ID, sampleData);
|
|
|
- //return sampleData;
|
|
|
}
|
|
|
public List<string> GetSampleListName()
|
|
|
{
|
|
@@ -199,7 +197,6 @@ namespace OTSIncAReportApp
|
|
|
//数据表类型
|
|
|
List<string> list2 = new List<string>() { surveyResults, sampleMeasurementInformation, granularComponent, particleSizeDistribution, averageElementComposition };
|
|
|
ResultFile resultinfo = m_rstDataMgr.ResultFilesList[m_rstDataMgr.GetWorkingResultId()];
|
|
|
- //var Systype = ((Dictionary<string, object>)((Dictionary<string, object>)((Dictionary<string, object>)(Dictionary<string, object>)resultinfo.ResultInfo["Sample"])["Members"])["MsrParams"])["SysType"].ToString();
|
|
|
var Systype = RptConfigFile.GetRptConfig().Systype;
|
|
|
|
|
|
if (Systype == OTS_SysType_ID.IncA)
|
|
@@ -236,9 +233,6 @@ namespace OTSIncAReportApp
|
|
|
//颗粒列表数据类型
|
|
|
List<string> list_PARTICE_LIST = new List<string>() { analyticalParticle, otherParticles, MergeParticles, allParticles };
|
|
|
AddGridData(OTS_REPORT_PROP_GRID_ITEMS.PARTICE_LIST, dataSourceType, OTS_ITEM_TYPES.COMBO, false, "data source type", list_PARTICE_LIST[0], list_PARTICE_LIST, 0);
|
|
|
-
|
|
|
- //List<string> list_InitialRatingLevel = new List<string>() { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", };
|
|
|
- //AddGridData(OTS_REPORT_PROP_GRID_ITEMS.PARTICE_LIST, dataSourceType, OTS_ITEM_TYPES.COMBO, false, "InitialRatingLevel", list_InitialRatingLevel[0], list_InitialRatingLevel, 0);
|
|
|
}
|
|
|
#region 属性Grid相关方法
|
|
|
public void ShowsTheDefaultPic()
|
|
@@ -371,8 +365,6 @@ namespace OTSIncAReportApp
|
|
|
|
|
|
}
|
|
|
m_conditionData = data;
|
|
|
- //SMeasureInfo = data;
|
|
|
-
|
|
|
return true;
|
|
|
}
|
|
|
/// <summary>
|
|
@@ -658,10 +650,6 @@ namespace OTSIncAReportApp
|
|
|
{
|
|
|
m_ReportApp.im_Control_DrawDistrbutionImageAndBSE.DrawDistrbutionImageAndBSE_ByQuery(m_conditionData);
|
|
|
}
|
|
|
- //if (m_ReportApp.im_ParticlesGridDevidePage != null)
|
|
|
- //{
|
|
|
- // m_ReportApp.im_Control_DrawDistrbutionImageAndBSE.DisplayParticleByParticlelist(m_ReportApp.im_ParticlesGridDevidePage.GetParticleslist_select());
|
|
|
- //}
|
|
|
}
|
|
|
else if (m_ReportApp.im_Control_DrawDistrbutionImageAndBSE == null)
|
|
|
{
|
|
@@ -673,10 +661,7 @@ namespace OTSIncAReportApp
|
|
|
m_ReportApp.m_SImageWindow.Controls.Add(m_ReportApp.im_Control_DrawDistrbutionImageAndBSE);
|
|
|
m_ReportApp.m_SImageWindow.Activate();
|
|
|
m_ReportApp.im_Control_DrawDistrbutionImageAndBSE.DrawDistrbutionImageAndBSE_ByQuery(m_conditionData);
|
|
|
- //if (m_ReportApp.im_ParticlesGridDevidePage != null)
|
|
|
- //{
|
|
|
- // m_ReportApp.im_Control_DrawDistrbutionImageAndBSE.DisplayParticleByParticlelist(m_ReportApp.im_ParticlesGridDevidePage.GetParticleslist_select());
|
|
|
- //}
|
|
|
+
|
|
|
m_ReportApp.im_Control_DrawDistrbutionImageAndBSE.FullGraphMatch();
|
|
|
}
|
|
|
|
|
@@ -714,12 +699,6 @@ namespace OTSIncAReportApp
|
|
|
//判断当前点击测量结果中的数据源名,是否与已经加载的排序图显示的数据源名相同
|
|
|
if (m_fileName == m_ReportApp.im_Control_DrawDistrbutionSortImage.ShowSourceName)
|
|
|
{
|
|
|
- ////相同,加载计算条件
|
|
|
- //if (m_ReportApp.im_ParticlesGridDevidePage != null)
|
|
|
- //{
|
|
|
- // m_ReportApp.im_Control_DrawDistrbutionSortImage.SetSelectParticle(m_ReportApp.im_ParticlesGridDevidePage.GetParticleslist_select());
|
|
|
- //}
|
|
|
-
|
|
|
ConditionItem itm =m_CurrentConditions[OTS_REPORT_PROP_GRID_ITEMS.IMAGE_TYPE];
|
|
|
//切换BSE和分类,两种影像的显示方式
|
|
|
if ((int)itm.itemVal == (int)DISTRIBUTION_IMAGE_SHOW_MODE.BSE)
|
|
@@ -743,10 +722,6 @@ namespace OTSIncAReportApp
|
|
|
m_ReportApp.m_SImageWindow.Controls.Add(m_ReportApp.im_Control_DrawDistrbutionSortImage);
|
|
|
m_ReportApp.m_SImageWindow.Activate();
|
|
|
m_ReportApp.im_Control_DrawDistrbutionSortImage.GetDistrbutionSortimage_ByQuery(m_CurrentConditions);
|
|
|
- //if (m_ReportApp.im_ParticlesGridDevidePage != null)
|
|
|
- //{
|
|
|
- // m_ReportApp.im_Control_DrawDistrbutionSortImage.SetSelectParticle(m_ReportApp.im_ParticlesGridDevidePage.GetParticleslist_select());
|
|
|
- //}
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -935,7 +910,6 @@ namespace OTSIncAReportApp
|
|
|
}
|
|
|
|
|
|
OTSCLRINTERFACE.CPropParamClr clr_prop4 = m_ReportApp.m_rstDataMgr.m_ReportMgr.GetPropertyParamTable();
|
|
|
- //List<string> datasourcelist4 = m_ReportApp.m_conditionChoose.m_conditionData.GetComboDownListByItemName(OTS_REPORT_PROP_GRID_ITEMS.DATA_SOURCE);
|
|
|
List<string> datasourcelist4 = new List<string>();
|
|
|
datasourcelist4.Add(m_ReportApp.m_conditionChoose.m_conditionData.GetComboDownListByItemName(OTS_REPORT_PROP_GRID_ITEMS.DATA_SOURCE)[index4]);
|
|
|
clr_prop4.SetDataSourceList(datasourcelist4);
|
|
@@ -1105,10 +1079,5 @@ namespace OTSIncAReportApp
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
-
|
|
|
- private void frmReportConditionChoose_Load(object sender, EventArgs e)
|
|
|
- {
|
|
|
-
|
|
|
- }
|
|
|
}
|
|
|
}
|