|
@@ -327,7 +327,22 @@ namespace Venus_RT.Modules.PMs
|
|
|
WaferManager.Instance.SubscribeLocation(ModuleName.PMA, 1);
|
|
|
WaferManager.Instance.SubscribeLocation(ModuleName.LLA, 1);
|
|
|
}
|
|
|
-
|
|
|
+ protected override bool Init()
|
|
|
+ {
|
|
|
+ DATA.Subscribe($"{Module}.FsmState", () => ((PMState)fsm.State).ToString());
|
|
|
+
|
|
|
+ OP.Subscribe($"{Module}.{RtOperation.LeakCheck}", (cmd, args) => CheckToPostMessage((int)MSG.LeakCheck, args));
|
|
|
+ OP.Subscribe($"{Module}.Home", (cmd, args) => CheckToPostMessage((int)MSG.Home));
|
|
|
+ OP.Subscribe($"{Module}.{RtOperation.StartPump}", (cmd, args) => CheckToPostMessage((int)MSG.LaunchPump));
|
|
|
+ OP.Subscribe($"{Module}.{RtOperation.StartTurboPump}", (cmd, args) => CheckToPostMessage((int)MSG.LaunchTurboPump));
|
|
|
+ OP.Subscribe($"{Module}.{RtOperation.Pump}", (cmd, args) => CheckToPostMessage((int)MSG.Pump));
|
|
|
+ OP.Subscribe($"{Module}.{RtOperation.Purge}", (cmd, args) => CheckToPostMessage((int)MSG.CyclePurge));
|
|
|
+ OP.Subscribe($"{Module}.{RtOperation.RfPower}", (cmd, args) => CheckToPostMessage((int)MSG.RfPower));
|
|
|
+ OP.Subscribe($"{Module}.{RtOperation.Vent}", (cmd, args) => CheckToPostMessage((int)MSG.Vent));
|
|
|
+ OP.Subscribe($"{Module}.{RtOperation.VentLoadLock}", (cmd, args) => CheckToPostMessage((int)MSG.VentLoadLock));
|
|
|
+
|
|
|
+ return true;
|
|
|
+ }
|
|
|
private bool FnIdle(object[] objs)
|
|
|
{
|
|
|
Running = false;
|