using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Mesnac.Controls.Feeding
{
public partial class RecipeInfo : UserControl
{
public RecipeInfo()
{
InitializeComponent();
}
private string _setValue;
///
/// 设定值
///
public string SetValue
{
get { return _setValue; }
set
{
if (value != null)
this.label2.Text = value.ToString();
}
}
private float _factValue;
///
/// 实际值
///
public float FactValue
{
get { return _factValue; }
set
{
if (value != null)
this.label3.Text = value.ToString();
}
}
private string _errorValue;
///
/// 误差值
///
public string ErrorValue
{
get { return _errorValue; }
set
{
if (value != null)
this.label4.Text = value.ToString();
}
}
private string _jarNo;
///
/// 罐号
///
public string JarNo
{
get { return _jarNo; }
set
{
if (value != null)
this.label1.Text = value.ToString();
}
}
private bool _isShow;
///
/// 是否显示
///
public bool IsShow
{
get { return _isShow; }
set {
_isShow = value;
this.Visible = _isShow;
}
}
}
}