- Radar Graph 추가
- Graph 클릭 이벤트 추가
This commit is contained in:
25
MainForm.cs
25
MainForm.cs
@@ -30,7 +30,7 @@ namespace friction
|
||||
m_MaterialPanel = new PanelMaterial(this);
|
||||
m_ResultPanel = new PanelResult(this);
|
||||
m_AnalysisPanel = new PanelAnalysis(this);
|
||||
m_RadarGraphPanel = new PanelRadarGraph(this);
|
||||
m_RadarGraphPanel = new PanelRadarGraph(this, m_DataHandler);
|
||||
m_TrendGraphPanel = new PanelTrendGraph(this, m_DataHandler);
|
||||
|
||||
Theme.Apply(this);
|
||||
@@ -138,6 +138,7 @@ namespace friction
|
||||
private void radarGraphToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
OpenPanel(m_RadarGraphPanel);
|
||||
m_RadarGraphPanel.UpdateGraph();
|
||||
}
|
||||
|
||||
private void trendGraphToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
@@ -171,6 +172,7 @@ namespace friction
|
||||
private void toolStripButtonRadarGraph_Click(object sender, EventArgs e)
|
||||
{
|
||||
OpenPanel(m_RadarGraphPanel);
|
||||
m_RadarGraphPanel.UpdateGraph();
|
||||
}
|
||||
|
||||
private void toolStripButtonTrendGraph_Click(object sender, EventArgs e)
|
||||
@@ -187,6 +189,9 @@ namespace friction
|
||||
{
|
||||
trendGraphToolStripMenuItem.Enabled = toolStripButtonTrendGraph.Enabled = false;
|
||||
radarGraphToolStripMenuItem.Enabled = toolStripButtonRadarGraph.Enabled = true;
|
||||
|
||||
if (m_RadarGraphPanel.Visible == true)
|
||||
m_RadarGraphPanel.UpdateGraph();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -201,6 +206,24 @@ namespace friction
|
||||
m_AnalysisPanel.UpdateData(m_DataHandler);
|
||||
}
|
||||
|
||||
public void OnRadarSelectTable(string strTable)
|
||||
{
|
||||
if (m_AnalysisPanel != null)
|
||||
m_AnalysisPanel.SelectRow(strTable);
|
||||
}
|
||||
|
||||
public void OnTrendSelectByHumidity(string strSpring, string strTable, float fHumidity, float fRPN)
|
||||
{
|
||||
if (m_ResultPanel != null)
|
||||
m_ResultPanel.SelectRowByHumidity(strSpring, strTable, fHumidity, fRPN);
|
||||
}
|
||||
|
||||
public void OnTrendSelectByTemperature(string strSpring, string strTable, float fTemperature, float fRPN)
|
||||
{
|
||||
if (m_ResultPanel != null)
|
||||
m_ResultPanel.SelectRowByTemperature(strSpring, strTable, fTemperature, fRPN);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user