Browse Source

代码更新

master
pengliangyang 2 years ago
parent
commit
1587376fc3
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      DosingSystem/BPASmartClient.DosingSystem.csproj
  2. +1
    -1
      DosingSystem/ViewModel/RecipeControlViewModel.cs

+ 1
- 1
DosingSystem/BPASmartClient.DosingSystem.csproj View File

@@ -16,7 +16,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="BPA.Helper" Version="1.0.19" />
<PackageReference Include="BPA.Helper" Version="1.0.20" />
<PackageReference Include="BPA.Message" Version="1.0.46" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>


+ 1
- 1
DosingSystem/ViewModel/RecipeControlViewModel.cs View File

@@ -48,7 +48,7 @@ namespace BPASmartClient.DosingSystem.ViewModel
MessageNotify.GetInstance.ShowUserLog($"下发工单 {Recipes.ElementAt(index).RecipeName}");
RecipeNames.Enqueue(deviceName);
var res = Recipes.FirstOrDefault(p => p.RecipeName == deviceName);
UserTreeWait.Add(new RecipeModel { RecipeName = deviceName, RawMaterials = res.RawMaterials });
UserTreeWait.Add(new RecipeModel {SerialNum= UserTreeWait.Count + 1, RecipeName = deviceName, RawMaterials = res.RawMaterials });
}
NoticeDemoViewModel.OpenMsg(EnumPromptType.Success, App.MainWindow, "提示", $"配方下发成功!");
MessageNotify.GetInstance.ShowUserLog($"下发工单 {Guid.NewGuid().ToString()}");


Loading…
Cancel
Save