浏览代码

临时提交

master
taoye 2 年前
父节点
当前提交
0f020ea13e
共有 7 个文件被更改,包括 16 次插入7 次删除
  1. +3
    -0
      BPASmartClient.CustomResource/Pages/ViewModel/AlarmViewModel.cs
  2. +1
    -1
      BPASmartClient.CustomResource/Pages/ViewModel/MainViewModel.cs
  3. +0
    -1
      FryPot_DosingSystem/App.xaml.cs
  4. +0
    -1
      FryPot_DosingSystem/Control/DosingLogicControl.cs
  5. +3
    -2
      FryPot_DosingSystem/Model/AlarmInfo.cs
  6. +8
    -1
      FryPot_DosingSystem/View/RecipeManageView.xaml.cs
  7. +1
    -1
      FryPot_DosingSystem/ViewModel/RecipeSetViewModel.cs

+ 3
- 0
BPASmartClient.CustomResource/Pages/ViewModel/AlarmViewModel.cs 查看文件

@@ -65,6 +65,9 @@ namespace BPASmartClient.CustomResource.Pages.ViewModel
return;
}
});

//AlarmInfos = AlarmHelper<AlarmInfo>.Alarms;

}

private void GetHistoryAlarm()


+ 1
- 1
BPASmartClient.CustomResource/Pages/ViewModel/MainViewModel.cs 查看文件

@@ -45,7 +45,7 @@ namespace BPASmartClient.CustomResource.Pages.ViewModel

private void DoNavChanged(object obj)
{
ActionManage.GetInstance.Send("RecipeIsChange");

if (obj != null && obj is SubMenumodel menumodel)
{


+ 0
- 1
FryPot_DosingSystem/App.xaml.cs 查看文件

@@ -16,7 +16,6 @@ using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using AlarmInfo = BPASmartClient.CustomResource.Pages.Model.AlarmInfo;

namespace FryPot_DosingSystem
{


+ 0
- 1
FryPot_DosingSystem/Control/DosingLogicControl.cs 查看文件

@@ -1568,7 +1568,6 @@ namespace FryPot_DosingSystem.Control
FryPotMonitorManage.GetInstance.fryFive.OilCapacity = globalVar.fryPotFive.OilCapacity;
FryPotMonitorManage.GetInstance.fryFive.TotalOilCapactiy += globalVar.fryPotFive.OilCapacity;
}

//炒锅状态实时显示
FryPotStatusDisplay();
RollerLineStatusDisplay();


BPASmartClient.CustomResource/Pages/Model/AlarmInfo.cs → FryPot_DosingSystem/Model/AlarmInfo.cs 查看文件

@@ -1,10 +1,11 @@
using System;
using BPASmartClient.CustomResource.Pages.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPASmartClient.CustomResource.Pages.Model
namespace FryPot_DosingSystem.Model
{
public class AlarmInfo
{

+ 8
- 1
FryPot_DosingSystem/View/RecipeManageView.xaml.cs 查看文件

@@ -1,4 +1,5 @@
using System;
using BPASmartClient.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -23,6 +24,12 @@ namespace FryPot_DosingSystem.View
public RecipeManageView()
{
InitializeComponent();
this.Unloaded += RecipeManageView_Unloaded;
}

private void RecipeManageView_Unloaded(object sender, RoutedEventArgs e)
{
ActionManage.GetInstance.Send("RecipeIsChange");
}
}
}

+ 1
- 1
FryPot_DosingSystem/ViewModel/RecipeSetViewModel.cs 查看文件

@@ -54,7 +54,7 @@ namespace FryPot_DosingSystem.ViewModel
int count = recipeModels.Count;
bool sign = false;
ActionManage.GetInstance.CancelRegister("RecipeIsChange");
ActionManage.GetInstance.Register(new Action(() =>
ActionManage.GetInstance.RegisterAsync(new Action(() =>
{
if (!sign)
{


正在加载...
取消
保存