完善端子扫码
This commit is contained in:
1 parent
1670395816
commit
bd70f38e1a
2 files changed
+39
-10
No files matched your search
@@ -90,11 +90,22 @@ namespace WindowsFormsApp1
|
||||
端子1校验.Text = "校验OK";
|
||||
}));
|
||||
//继续调用接口
|
||||
|
||||
this.Invoke(new Action(() =>
|
||||
var result2 = ApiClient.CallFunctionByName("nowinterface.code", null, new otherdata() { JS_SN = barcode });
|
||||
if (result2.Success)
|
||||
{
|
||||
button1.Visible = false;
|
||||
}));
|
||||
this.Invoke(new Action(() =>
|
||||
{
|
||||
端子1结果.Text = "绑定OK";
|
||||
button1.Visible = false;
|
||||
}));
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Invoke(new Action(() =>
|
||||
{
|
||||
端子1结果.Text = "绑定NG";
|
||||
}));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user