|
@@ -1,4 +1,5 @@
|
|
|
using Aitex.Core.Common.DeviceData;
|
|
|
+using Aitex.Core.RT.IOCore;
|
|
|
using Aitex.Core.Util;
|
|
|
using Caliburn.Micro;
|
|
|
using Caliburn.Micro.Core;
|
|
@@ -31,6 +32,7 @@ using System.Threading.Tasks;
|
|
|
using System.Windows;
|
|
|
using System.Windows.Controls;
|
|
|
using System.Windows.Input;
|
|
|
+using System.Windows.Media;
|
|
|
|
|
|
namespace FurnaceUI.Views.Recipes
|
|
|
{
|
|
@@ -2778,10 +2780,17 @@ namespace FurnaceUI.Views.Recipes
|
|
|
DialogBox.ShowWarning($"{mFCData.ControlName} Out of the setting range {0}~{maxData}!");
|
|
|
((TextBoxEx)sender).ChangedColor = ((TextBoxEx)sender).NormalColor;
|
|
|
SetSetPointValue(mFCData.ControlName, $"0");
|
|
|
+
|
|
|
+
|
|
|
return;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
+ BrushConverter brushConverter = new BrushConverter();
|
|
|
+ if (setValue > 0)
|
|
|
+ {
|
|
|
+ ((TextBoxEx)sender).ChangedColor = (Brush)brushConverter.ConvertFromString("Yellow");
|
|
|
+ }
|
|
|
InvokeClient.Instance.Service.DoOperation($"PM1.{mFCData.ControlName}.SetMfcVirtualValue", $"{value};{mFCData.Rampng.Value};{mFCData.AlarmValue}");
|
|
|
}
|
|
|
break;
|
|
@@ -2798,6 +2807,7 @@ namespace FurnaceUI.Views.Recipes
|
|
|
{
|
|
|
if (double.TryParse(value, out double getValue))
|
|
|
{
|
|
|
+
|
|
|
var stepNo = 0;
|
|
|
if (!_isStandbyCheckedSelect)
|
|
|
stepNo = SelectedRecipeStep.StepNo;
|
|
@@ -2808,6 +2818,7 @@ namespace FurnaceUI.Views.Recipes
|
|
|
if (mfc != null)
|
|
|
{
|
|
|
mfc.SetValue.SetValue(value);
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
}
|