|
@@ -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)
|
|
|
{
|