示例#1
0
 void eRelativeBalanceWeightChange(WeightValue wv)
 {
     try
     {
         //display ingredient relative value
         ctrl2ValuesDisplay1.LblValue2.Text = wv.FormatKg();
     }
     catch (Exception ex)
     {
         SimpleLogger.Logger.Log("eRelativeBalanceWeightChange", ex);
         throw;
     }
 }
示例#2
0
 void eTargetWeightChange(WeightValue wv)
 {
     try
     {
         //display target value
         ctrl2ValuesDisplay1.LblValue1.Text = wv.FormatKg();
     }
     catch (Exception ex)
     {
         SimpleLogger.Logger.Log("eTargetWeightChange", ex);
         throw;
     }
 }
示例#3
0
 void eNewWeightChange(WeightValue wv)
 {
     //this.lblNewValue.Text = wv.FormatKg();
     ctrl2ValuesDisplay1.LblValue2.Text = wv.FormatKg();
 }
示例#4
0
 void eOldWeightChange(WeightValue wv)
 {
     //this.lblOldValue.Text = wv.FormatKg();
     ctrl2ValuesDisplay1.LblValue1.Text = wv.FormatKg();
 }
示例#5
0
 void eTargetWeightChange(WeightValue wv)
 {
     //display target value
     ctrl2ValuesDisplay1.LblValue1.Text = wv.FormatKg();
 }
示例#6
0
 void SetBalanceValueDisplayed()
 {
     //Set balance value
     ctrl2ValuesDisplay1.LblValue2.Text = _relativeBalanceWeight.FormatKg();
 }
示例#7
0
        void eWeightChange(WeightValue wv)
        {
            string strWeight = wv.FormatKg() + Environment.NewLine;
//			this.InvokeIfRequired( c => { c.textBox1.Text += strWeight; } );
        }