callm пре 4 дана
родитељ
комит
33e9f99cf2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      UAS_MES_JH/FunctionCode/Make/Make_ColorBoxWeigh.cs

+ 1 - 1
UAS_MES_JH/FunctionCode/Make/Make_ColorBoxWeigh.cs

@@ -200,7 +200,7 @@ namespace UAS_MES_NEW.Make
                             //    WeightChange = true;
                             //}
                             //重量信息若需要检测则必须符合检测要求才更新
-                            double ActualWeight = double.Parse(weight.Text == "" ? "0" : weight.Text.Replace("kg", "").Trim());
+                            double ActualWeight = double.Parse(weight.Text == "" ? "0" : weight.Text.ToLower().Replace("kg", "").Trim());
                             if (PR_CHECKCOLORBOXW != "0")
                             {
                                 if (MinWeight == 0 || MaxWeight == 0)