Explorar el Código

修改电子秤读数

callm hace 6 meses
padre
commit
bcc7507048
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      UAS_MES_LGDZ/FunctionCode/Make/Make_ColorBoxWeigh_ReadLine.cs

+ 1 - 1
UAS_MES_LGDZ/FunctionCode/Make/Make_ColorBoxWeigh_ReadLine.cs

@@ -266,7 +266,7 @@ namespace UAS_MES_NEW.Make
                                 Remark.AppendText(weigh.Trim() + "\n");
                                 if (weigh != "")
                                 {
-                                    weight.Text = weigh.Trim();
+                                    weight.Text = re.Match(weigh).Value;
                                 }
                                 Remark.Clear();
                             }