public TestResultEnum SetResultValue(double Value, LimitDefDouble Limit) { m_Result = TestResultEnum.NotTested; m_Value = Value; m_Result = Limit.Compare(m_Value); m_TestTime = DateTime.Now; SetUnit(Limit.GetLimit().m_Unit); return(m_Result); }
public void SetData(LimitDefDouble Limit) { txtName.Text = Limit.GetName(); txtLower.Text = Limit.GetLimit().m_LowerLimit.ToString(); txtUpper.Text = Limit.GetLimit().m_UpperLimit.ToString(); }