|
|
@@ -41,6 +41,7 @@ using MECF.Framework.Common.CommonData;
|
|
|
using System.ServiceModel;
|
|
|
using FabConnect.SecsGemInterface.Application.Objects.ObjectService;
|
|
|
using DocumentFormat.OpenXml.Packaging;
|
|
|
+using System.Runtime.Remoting.Metadata.W3cXsd2001;
|
|
|
|
|
|
namespace FurnaceRT.Equipments.PMs
|
|
|
{
|
|
|
@@ -458,14 +459,6 @@ namespace FurnaceRT.Equipments.PMs
|
|
|
InitScheduleMaintenanceSubscribe();
|
|
|
}
|
|
|
|
|
|
- public void FDCSubscribe()
|
|
|
- {
|
|
|
-
|
|
|
- DATA.Subscribe($"ProcessRecipeStepName", "");
|
|
|
- DATA.Subscribe($"SubRecipeStepName", "");
|
|
|
- DATA.Subscribe($"SubRecipeStepNumber", "");
|
|
|
-
|
|
|
- }
|
|
|
private void InitStats()
|
|
|
{
|
|
|
_statTubeCleanNumber = new StatsData($"{Module}.Tube Clean Number", "Tube clean number", 0);
|
|
|
@@ -1743,7 +1736,41 @@ namespace FurnaceRT.Equipments.PMs
|
|
|
|
|
|
|
|
|
}
|
|
|
+ #region
|
|
|
+ private string _processRecipeStepName = "";
|
|
|
+ private string _subRecipeStepName = "";
|
|
|
+ private string _subRecipeStepNumber = "";
|
|
|
+ public void SetFDCRecipeStepName(bool isSub, string stepName, string stepNo = "")
|
|
|
+ {
|
|
|
+ if (isSub)
|
|
|
+ {
|
|
|
+ _subRecipeStepName = stepName;
|
|
|
+ _subRecipeStepNumber = stepNo;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ _processRecipeStepName = stepName;
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ public void ResetFDCRecipeStepName()
|
|
|
+ {
|
|
|
+
|
|
|
+ _subRecipeStepName = "";
|
|
|
+ _subRecipeStepNumber = "";
|
|
|
+ _processRecipeStepName = "";
|
|
|
+
|
|
|
+ }
|
|
|
|
|
|
+ public void FDCSubscribe()
|
|
|
+ {
|
|
|
+
|
|
|
+ DATA.Subscribe($"ProcessRecipeStepName", () => _processRecipeStepName);
|
|
|
+ DATA.Subscribe($"SubRecipeStepName", () => _subRecipeStepName);
|
|
|
+ DATA.Subscribe($"SubRecipeStepNumber", () => _subRecipeStepNumber);
|
|
|
+
|
|
|
+ }
|
|
|
+ #endregion
|
|
|
}
|
|
|
#endregion
|
|
|
}
|