章政 8 лет назад
Родитель
Сommit
56d7ac5dcc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      UAS-MES/FunctionCode/SystemSetting/SystemSetting_ScaleTest.cs

+ 1 - 1
UAS-MES/FunctionCode/SystemSetting/SystemSetting_ScaleTest.cs

@@ -76,7 +76,7 @@ namespace UAS_MES.SystemSetting
                         {
                             try
                             {
-                                Weight.Text = Regex.Replace(serialPort1.ReadLine(), "\\D+", "");
+                                Weight.Text = serialPort1.ReadLine();
                             }
                             catch (Exception)
                             {