ソースを参照

临时提交

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; return;
} }
}); });

//AlarmInfos = AlarmHelper<AlarmInfo>.Alarms;

} }


private void GetHistoryAlarm() 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) private void DoNavChanged(object obj)
{ {
ActionManage.GetInstance.Send("RecipeIsChange");


if (obj != null && obj is SubMenumodel menumodel) 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.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Windows; using System.Windows;
using AlarmInfo = BPASmartClient.CustomResource.Pages.Model.AlarmInfo;


namespace FryPot_DosingSystem 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.OilCapacity = globalVar.fryPotFive.OilCapacity;
FryPotMonitorManage.GetInstance.fryFive.TotalOilCapactiy += globalVar.fryPotFive.OilCapacity; FryPotMonitorManage.GetInstance.fryFive.TotalOilCapactiy += globalVar.fryPotFive.OilCapacity;
} }

//炒锅状态实时显示 //炒锅状态实时显示
FryPotStatusDisplay(); FryPotStatusDisplay();
RollerLineStatusDisplay(); 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.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;


namespace BPASmartClient.CustomResource.Pages.Model
namespace FryPot_DosingSystem.Model
{ {
public class AlarmInfo 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.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
@@ -23,6 +24,12 @@ namespace FryPot_DosingSystem.View
public RecipeManageView() public RecipeManageView()
{ {
InitializeComponent(); 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; int count = recipeModels.Count;
bool sign = false; bool sign = false;
ActionManage.GetInstance.CancelRegister("RecipeIsChange"); ActionManage.GetInstance.CancelRegister("RecipeIsChange");
ActionManage.GetInstance.Register(new Action(() =>
ActionManage.GetInstance.RegisterAsync(new Action(() =>
{ {
if (!sign) if (!sign)
{ {


読み込み中…
キャンセル
保存