コード例 #1
0
 /// <summary>
 /// 字符串显示
 /// </summary>
 /// <returns></returns>
 public override string ToString()
 {
     return(Name + ", Time: " + LastTime.ToShortTimeString()
            + ", Value: " + Value.ToString("0.000")
            + ", WindowSize: " + CurrentWindowSize
            + ", LastTimeDiffer : " + LastTimeDiffer.ToString("0")
            + ", LastValueDiffer: " + LastValueDiffer.ToString("0.000"));
 }
コード例 #2
0
 /// <summary>
 /// 字符串显示
 /// </summary>
 /// <returns></returns>
 public override string ToString()
 {
     return(Name + ", Value: " + this.Value.ToString("0.000")
            + ", WindowSize: " + CurrentWindowSize
            + ", LastValue: " + LastValue.ToString("0.000")
            + ", LastValueDiffer: " + LastValueDiffer.ToString("0.000")
            //  + ", MaxAllowedValueDiffer: " + MaxAllowedValueDiffer.ToString("0.000")
            );
 }