- Material Pair에 layout 적용

- Trend Graph에 Force, Velocity 추가
This commit is contained in:
2017-06-23 14:59:08 +09:00
parent 244eab56a6
commit bc27de2ea5
12 changed files with 488 additions and 188 deletions

View File

@@ -40,6 +40,8 @@ namespace friction
{
public float HUMIDITY;
public float TEMPERATURE;
public float FORCE;
public float VELOCITY;
public float RPN;
override public string ToString()
@@ -207,7 +209,7 @@ namespace friction
return result;
}
public List<TREND_CHART> GetHumidityChart(string strSpring, string strTable)
public List<TREND_CHART> GetTrendChart(string strSpring, string strTable)
{
string strQuery = string.Format("[{0}]='{1}' and [{2}]='{3}'", Config.COLUMN_NAME.SPRING, strSpring, Config.COLUMN_NAME.TABLE, strTable);
DataRow[] rows = m_Data.Select(strQuery);
@@ -219,6 +221,8 @@ namespace friction
{
HUMIDITY = (float)r[Config.COLUMN_NAME.HUMIDITY],
TEMPERATURE = (float)r[Config.COLUMN_NAME.TEMP],
FORCE = (float)r[Config.COLUMN_NAME.FORCE],
VELOCITY = (float)r[Config.COLUMN_NAME.VELOCITY],
RPN = (float)r[Config.COLUMN_NAME.RPN],
});
}
@@ -226,7 +230,6 @@ namespace friction
return result;
}
#region calculation
float CalcDependency(DataRow[] rows, string strColumn)
{