소스 검색

MES接口修改

Hcsy 7 년 전
부모
커밋
92bbb82c0f
2개의 변경된 파일8개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 0
      .gitignore
  2. 7 3
      MES接口/LogicHandler.cs

+ 1 - 0
.gitignore

@@ -213,3 +213,4 @@ ModelManifest.xml
 *.rar
 /MES接口/MES接口.csproj
 /UAS-出货标签管理.zip
+/UAS-MES/Tool/MES_Interface.dll

+ 7 - 3
MES接口/LogicHandler.cs

@@ -25,12 +25,16 @@ namespace MES_Interface
         /// <param name="iSourceCode"></param>
         /// <param name="oErrMessage"></param>
         /// <returns></returns>
-        public bool CheckCurrentStep(string iSnCode, string iMakeCode, string iSourceCode, string iUserCode, out string oErrMessage)
+        public bool CheckCurrentStep(string iSnCode, string iMakeCode, string iSourceCode, string iUserCode,out string oMSID,out string oMacode, out string oErrMessage)
         {
             oErrMessage = "";
-            string[] param = new string[] { iSnCode, iMakeCode, iSourceCode, iUserCode, oErrMessage };
+            oMSID = "";
+            oMacode = "";
+            string[] param = new string[] { iMakeCode, iSourceCode, iSnCode, iUserCode, oMSID,oMacode,oErrMessage };
             dh.CallProcedure("CS_CHECKSTEPSNANDMACODE", ref param);
-            oErrMessage = param[4];
+            oMSID = param[4];
+            oMacode = param[5];
+            oErrMessage = param[6];
             if (oErrMessage == "" || oErrMessage == null || oErrMessage == "null")
                 return true;
             else