- 재질 check 기능 수정
- 리포트 맵 부분 수정
This commit is contained in:
@@ -85,6 +85,7 @@ namespace friction
|
||||
dgvAnalysis.Columns.Add("chHumi", "Rel. Humidity");
|
||||
dgvAnalysis.Columns.Add("chVel", "Velocity");
|
||||
|
||||
List<string> uncheckedTables = Config.GetInstance().GetTableUnchecked();
|
||||
foreach (string strTable in data.GetTableList())
|
||||
{
|
||||
DataHandler.CalcResult result = data.GetCalc(strSpring, strTable);
|
||||
@@ -128,6 +129,8 @@ namespace friction
|
||||
dgvAnalysis.Rows[iIdx].Cells[6].Style.BackColor = GetDependancyColor(result.m_fDiffByHumid, result.m_iCnt);
|
||||
dgvAnalysis.Rows[iIdx].Cells[7].Style.BackColor = GetDependancyColor(result.m_fDiffByVel, result.m_iCnt);
|
||||
}
|
||||
|
||||
dgvAnalysis.Rows[iIdx].Visible = (uncheckedTables.Contains(strTable) == false);
|
||||
}
|
||||
|
||||
m_CurSpring = strSpring;
|
||||
@@ -166,6 +169,15 @@ namespace friction
|
||||
return dt;
|
||||
}
|
||||
|
||||
public void TableCheckChanged(string strItem, bool bChecked)
|
||||
{
|
||||
foreach (DataGridViewRow row in dgvAnalysis.Rows)
|
||||
{
|
||||
if((string)row.Cells[0].Value == strItem)
|
||||
row.Visible = bChecked;
|
||||
}
|
||||
}
|
||||
|
||||
private void dgvAnalysis_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if(dgvAnalysis.Columns[e.ColumnIndex].HeaderText == "Table")
|
||||
|
||||
Reference in New Issue
Block a user