|
|
@@ -9,6 +9,7 @@ using MECF.Framework.Common.CommonData.Prewet;
|
|
|
using MECF.Framework.Common.CommonData.Vpw;
|
|
|
using MECF.Framework.Common.Equipment;
|
|
|
using MECF.Framework.Common.IOCore;
|
|
|
+using MECF.Framework.Common.Persistent.Reservoirs;
|
|
|
using MECF.Framework.Common.Persistent.SRD;
|
|
|
using MECF.Framework.Common.Persistent.Temperature;
|
|
|
using MECF.Framework.Common.Persistent.VpwCell;
|
|
|
@@ -180,6 +181,7 @@ namespace PunkHPX8_RT.Devices.VpwCell
|
|
|
DATA.Subscribe($"{Module}.DiwCellFlow", () => CommonData.DiwFlow, SubscriptionAttribute.FLAG.IgnoreSaveDB);
|
|
|
DATA.Subscribe($"{Module}.VacuumValve", () => CommonData.VacuumValve, SubscriptionAttribute.FLAG.IgnoreSaveDB);
|
|
|
DATA.Subscribe($"{Module}.{LOOPDO_VALUE}", ()=> { return GetLoopDOValue(); }, SubscriptionAttribute.FLAG.IgnoreSaveDB);
|
|
|
+ DATA.Subscribe($"{Module}.VpwWaferSize", ()=> { return GetLoopDOValue(); }, SubscriptionAttribute.FLAG.IgnoreSaveDB);
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 获取Loop do数值
|
|
|
@@ -279,6 +281,8 @@ namespace PunkHPX8_RT.Devices.VpwCell
|
|
|
OP.Subscribe($"{Module}.StartRotation", StartRotationAction);
|
|
|
OP.Subscribe($"{Module}.StopRotation", StopRotationAction);
|
|
|
|
|
|
+ OP.Subscribe($"{Module}.SetVpwCellWaferSize", (cmd, args) => { return SetVpwCellWaferSize(cmd, args); });
|
|
|
+
|
|
|
}
|
|
|
#endregion
|
|
|
|
|
|
@@ -472,6 +476,16 @@ namespace PunkHPX8_RT.Devices.VpwCell
|
|
|
VpwCellPersistentManager.Instance.UpdatePersistentValue(Module);
|
|
|
return true;
|
|
|
}
|
|
|
+ private bool SetVpwCellWaferSize(string cmd, object[] args)
|
|
|
+ {
|
|
|
+ string waferSize = args[0] as string;
|
|
|
+ if (_vpwCellPersistentValue != null)
|
|
|
+ {
|
|
|
+ _vpwCellPersistentValue.VpwCellWaferSize = int.Parse(waferSize);
|
|
|
+ }
|
|
|
+ VpwCellPersistentManager.Instance.UpdatePersistentValue(Module);
|
|
|
+ return true;
|
|
|
+ }
|
|
|
#endregion
|
|
|
|
|
|
#region Vent Valve
|