MES对接

This commit is contained in:
a88359121
2025-07-28 11:12:06 +08:00
parent 3b8de36d39
commit c45e3622af
13 changed files with 41 additions and 41 deletions
+4 -4
View File
@@ -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;
}