Browse Source

调整序列规则校验的顺序

shim 8 years ago
parent
commit
fe549d9f78
1 changed files with 1 additions and 10 deletions
  1. 1 10
      UAS-MES/FunctionCode/Make/Make_SeqProgramTransform.cs

+ 1 - 10
UAS-MES/FunctionCode/Make/Make_SeqProgramTransform.cs

@@ -66,16 +66,7 @@ namespace UAS_MES.FunctionCode.Make
                     if (step==0)
                     {
                         OperateResult.AppendText(">>序列号:" + code.Text + " , 发送请求\n", Color.Green);
-                        //判断用户是否锁定输入TSN长度,
-                        if (!checkLengthOrPre(TSNLength_checkBox, TSNLength, "长度"))
-                        {
-                            return;
-                        }
-                        //判断用户是否锁定输入TSN前缀,
-                        if (!checkLengthOrPre(TSNPre_checkBox, TSNPre, "前缀"))
-                        {
-                            return;
-                        }
+                       
                         string oMakecode = "";
                         string oMsid = "";
                         //核对工序