MES对接
This commit is contained in:
@@ -18,8 +18,8 @@ namespace LargeSquareOne
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.cmb_SelectType.Items.Add("卷芯进站");
|
||||
this.cmb_SelectType.Items.Add("卷芯出站");
|
||||
this.cmb_SelectType.Items.Add("外观检测进站");
|
||||
this.cmb_SelectType.Items.Add("外观检测出站");
|
||||
this.cmb_SelectType.SelectedIndex = 0;
|
||||
|
||||
this.dtp_Start.Value = DateTime.Now.AddHours(-2.0f);
|
||||
@@ -40,11 +40,11 @@ namespace LargeSquareOne
|
||||
private void btn_Query_Click(object sender, EventArgs e)
|
||||
{
|
||||
string str = this.cmb_SelectType.Text;
|
||||
if (string.Compare(str, "卷芯进站") == 0)
|
||||
if (string.Compare(str, "外观检测进站") == 0)
|
||||
{
|
||||
this.cmb_SelectType.SelectedIndex = 0;
|
||||
}
|
||||
else if (string.Compare(str, "卷芯出站") == 0)
|
||||
else if (string.Compare(str, "外观检测出站") == 0)
|
||||
{
|
||||
this.cmb_SelectType.SelectedIndex = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user