|
|
@@ -787,12 +787,21 @@ namespace PCLCommunication
|
|
|
this.lblUsercode.Text = INIUtil.Read("iBOSS.MES", "UserCode", ConnSetting.INI_PATH_UserCode);
|
|
|
ConnSetting.MESInfo.UserCode = this.lblUsercode.Text;
|
|
|
}
|
|
|
+ //string se_result = SmartDeviceProxy.Instance.Invoke<string>(
|
|
|
+ // p => p.CheckSecurityCodeByBarcode(
|
|
|
+ // ConnSetting.MESInfo.AccountCode,
|
|
|
+ // ConnSetting.MESInfo.UserCode,
|
|
|
+ // barcode,
|
|
|
+ // se_code
|
|
|
+ // ));
|
|
|
+
|
|
|
string se_result = SmartDeviceProxy.Instance.Invoke<string>(
|
|
|
- p => p.CheckSecurityCodeByBarcode(
|
|
|
+ p => p.UpdateSecurityCodeByBarcode(
|
|
|
ConnSetting.MESInfo.AccountCode,
|
|
|
ConnSetting.MESInfo.UserCode,
|
|
|
barcode,
|
|
|
- se_code
|
|
|
+ se_code,
|
|
|
+ ConnSetting.MESInfo.Procedures[0]
|
|
|
));
|
|
|
|
|
|
// 返回状态(成功、失败)
|