[성현모] 온도 그래프, 버전 셀렉트 기능 추가
This commit is contained in:
@ -301,13 +301,19 @@ namespace SystemX.Product.TRA.UIControl
|
||||
continue;
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(row.MeasValStr) == true)
|
||||
if (dtRowTestlistSpec.ItemArray[9].ToString() == "TEMPCELSIUS")
|
||||
{
|
||||
row.MeasVal = Convert.ToDecimal($"{row.Message.Split('_')[1]}");
|
||||
row.MeasValStr = $"{row.Message.Split('_')[1]}";
|
||||
row.Message = string.Empty;
|
||||
}
|
||||
else if (string.IsNullOrEmpty(row.MeasValStr) == true)
|
||||
{
|
||||
if (//!string.IsNullOrEmpty(row.MeasValStr) ||
|
||||
//!string.IsNullOrEmpty(row.Message) ||
|
||||
//!string.IsNullOrEmpty(row.Message) ||
|
||||
((row.MeasVal == 0) ||
|
||||
string.Compare(row.Result, "NONE") == 0))
|
||||
continue;
|
||||
continue;
|
||||
}
|
||||
|
||||
//string strValue = drLog[DMTestHistory.eColList.No.ToString()].ToString();
|
||||
@ -559,7 +565,7 @@ namespace SystemX.Product.TRA.UIControl
|
||||
{
|
||||
string strDim = dtRowTestlist[DMTestDetail.eColTestlist.Dim.ToString()].ToString();
|
||||
|
||||
if (NoChartDispSpec.Contains(strDim))
|
||||
if (data.MO != "TEMPCELSIUS" && NoChartDispSpec.Contains(strDim))
|
||||
return null;
|
||||
|
||||
bool bIsGlobal = (Convert.ToInt32(dtRowTestlist[DMTestDetail.eColTestlist.IsGlobal.ToString()])) > 0 ? true : false;
|
||||
@ -608,7 +614,7 @@ namespace SystemX.Product.TRA.UIControl
|
||||
|
||||
elemUnit.Result = strResult == "NG" || strResult == "ERROR" ? eResultType.NG : strResult == "OK" ? eResultType.OK : eResultType.NONE;
|
||||
|
||||
if (bOKDataOnly && elemUnit.Result != eResultType.OK)
|
||||
if (bOKDataOnly && data.MO != "TEMPCELSIUS" && elemUnit.Result != eResultType.OK)
|
||||
continue;
|
||||
|
||||
resultUnit.DataElements.Add(elemUnit);
|
||||
|
||||
@ -86,7 +86,7 @@ namespace SystemX.Product.TRA.UIControl
|
||||
DataManager = new DMTestSummary(SelectView, DBController, dtStart);
|
||||
}
|
||||
|
||||
public void ViewData(SelectedDataCollection data, DataTable DataList)
|
||||
public void ViewData(SelectedDataCollection data, DataTable DataList, int stepVersion = -1)
|
||||
{
|
||||
if (data == null)
|
||||
return;
|
||||
@ -109,7 +109,7 @@ namespace SystemX.Product.TRA.UIControl
|
||||
|
||||
try
|
||||
{
|
||||
ShowProperties(data);
|
||||
data.StepVersion = stepVersion.ToString();
|
||||
|
||||
SelectedData = data;
|
||||
DTTestLogList = DataList;
|
||||
@ -122,7 +122,12 @@ namespace SystemX.Product.TRA.UIControl
|
||||
string strGetStepVersion = dr[eColList.StepVersion.ToString()].ToString();
|
||||
int nCurStepVersion = int.MinValue;
|
||||
|
||||
if (int.TryParse(strGetStepVersion, out nCurStepVersion) == false)
|
||||
if (stepVersion > -1)
|
||||
{
|
||||
nGetStepVersion = stepVersion;
|
||||
ShowProperties(data);
|
||||
}
|
||||
else if (int.TryParse(strGetStepVersion, out nCurStepVersion) == false)
|
||||
{
|
||||
bOptionNewStepVersionBase = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user