Example #1
0
 void Draw(UITH _v)
 {
     if (_v == null)
     {
         label3.Text = null;
         label4.Text = null;
         label6.Text = null;
         label8.Text = null;
         prstat(null);
     }
     else
     {
         label3.Text = _v.I.ToString("F2");
         label4.Text = _v.U.ToString("F2");
         label6.Text = _v.R.ToString("F2");
         label8.Text = _v.Ts.ToString(@"hh\:mm\:ss");
         prstat(_v.error);
     }
 }
Example #2
0
 public UITH(UITH _src)
     : base(_src)
 {
     OverHeat = _src.OverHeat;
 }