wanghan 3 ay önce
ebeveyn
işleme
97ae019b05

+ 1 - 0
LogForceTestApp.Modules.MainModule/ViewModels/KBWindowViewModel.cs

@@ -376,6 +376,7 @@ namespace LogoForceTestApp.Modules.MainModule.ViewModels
                     qua3[5] = list.Q26; qua3[6] = list.Q27; qua3[7] = list.Q28; qua3[8] = list.Q29; qua3[9] = list.Q30;
                     
                     Thread.Sleep(200);
+                    Products.LoadParame();
                     var res1=Products.ProductCollection.FirstOrDefault(p => p.Name == GVariable.ProductTypeName);
                     if (res1 != null)
                     {

+ 2 - 0
LogForceTestApp.Modules.MainModule/ViewModels/MainPageViewModel.cs

@@ -2869,6 +2869,7 @@ namespace LogoForceTestApp.Modules.MainModule.ViewModels
                 {
                     //切换产品
                     int type = tcpNet.ReadInt(1000);
+                    Products.LoadParame();
                     var currentProduct = Products.ProductCollection.FirstOrDefault(p => p.NameNumber == type);
                     if (currentProduct != null)
                     {
@@ -2909,6 +2910,7 @@ namespace LogoForceTestApp.Modules.MainModule.ViewModels
         public void Change()
         {
             int type = tcpNet.ReadInt(1000);
+            Products.LoadParame();
             var currentProduct = Products.ProductCollection.FirstOrDefault(p => p.NameNumber == type);
             if (currentProduct != null)
             {