You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
1.9 KiB
C#

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;
/// <summary>
/// 设定值
/// </summary>
public string SetValue
{
get { return _setValue; }
set
{
if (value != null)
this.label2.Text = value.ToString();
}
}
private float _factValue;
/// <summary>
/// 实际值
/// </summary>
public float FactValue
{
get { return _factValue; }
set
{
if (value != null)
this.label3.Text = value.ToString();
}
}
private string _errorValue;
/// <summary>
/// 误差值
/// </summary>
public string ErrorValue
{
get { return _errorValue; }
set
{
if (value != null)
this.label4.Text = value.ToString();
}
}
private string _jarNo;
/// <summary>
/// 罐号
/// </summary>
public string JarNo
{
get { return _jarNo; }
set
{
if (value != null)
this.label1.Text = value.ToString();
}
}
private bool _isShow;
/// <summary>
/// 是否显示
/// </summary>
public bool IsShow
{
get { return _isShow; }
set {
_isShow = value;
this.Visible = _isShow;
}
}
}
}