Files

70 lines
1.4 KiB
C#

using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace UserControlClass
{
public partial class UCMeasureTask : UserControl
{
public UCMeasureTask()
{
InitializeComponent();
}
[Description(" 库位编号")]
public string labStorageIDText
{
get { return labSID.Text; }
set { labSID.Text = value; }
}
[Description("料库类型")]
public string labStorageTypeText
{
get { return labStorageType.Text; }
set { labStorageType.Text = value; }
}
[Description("工件类型")]
public string llabWTypeText
{
get { return labWType.Text; }
set { labWType.Text = value; }
}
[Description("工件编号")]
public string labWIDText
{
get { return labWID.Text; }
set { labWID.Text = value; }
}
[Description("下料状态")]
public string labUnloadStatusText
{
get { return labUnloadStatus.Text; }
set { labUnloadStatus.Text = value; }
}
[Description("测量结果")]
public string labMeasureResultText
{
get { return labMeasureResult.Text; }
set { labMeasureResult.Text = value; }
}
[Description(" 下料状态颜色")]
public Color labStorageStutusColor
{
get { return labUnloadMColor.BackColor; }
set { labUnloadMColor.BackColor = value; }
}
[Description(" 测量结果图片")]
public Image pbResultImage
{
get { return pbResult.Image; }
set { pbResult.Image = value; }
}
}
}