|
|
@@ -111,6 +111,7 @@ namespace FryPot_DosingSystem.ViewModel |
|
|
|
goto prop; |
|
|
|
} |
|
|
|
MessageLog.GetInstance.ShowUserLog($"配方【{RecipeName}】新建成功"); |
|
|
|
NoticeDemoViewModel.OpenMsg(EnumPromptType.Success, App.MainWindow, "提示", $"新建配方【{RecipeName}】成功"); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
@@ -134,6 +135,7 @@ namespace FryPot_DosingSystem.ViewModel |
|
|
|
bom.UpdateTime = DateTime.Now.ToShortDateString(); |
|
|
|
Json<RecipeManage>.Save(); |
|
|
|
MessageLog.GetInstance.ShowUserLog($"配方【{RecipeName}】修改成功"); |
|
|
|
NoticeDemoViewModel.OpenMsg(EnumPromptType.Success, App.MainWindow, "提示", $"修改配方【{RecipeName}】成功"); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
@@ -163,6 +165,7 @@ namespace FryPot_DosingSystem.ViewModel |
|
|
|
goto prop; |
|
|
|
} |
|
|
|
MessageLog.GetInstance.ShowUserLog("另存配方成功"); |
|
|
|
NoticeDemoViewModel.OpenMsg(EnumPromptType.Success, App.MainWindow, "提示", $"另存配方【{RecipeName}】成功"); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|