Browse Source

update VPW recipe issue

chenkui 6 days ago
parent
commit
3a7be5771d

+ 0 - 2
PunkHPX8_RT/Config/Station/StationPositionsCfg.xml

@@ -35,7 +35,6 @@
 			<ToleranceDefault>0.5</ToleranceDefault>
 			<Stations>
 				<Station Name="VPW1.Rotation.Home" Position="0" />				
-				<Station Name="VPW1.Rotation.ChuckPlaceOffset" Position="700" />
 				<Station Name="VPW1.Rotation.Center" Position="14400" />
 			</Stations>
 		</Axis>
@@ -45,7 +44,6 @@
 			<ToleranceDefault>0.5</ToleranceDefault>
 			<Stations>
 				<Station Name="VPW2.Rotation.Home" Position="0" />
-				<Station Name="VPW2.Rotation.ChuckPlaceOffset" Position="700" />
 				<Station Name="VPW2.Rotation.Center" Position="14400" />
 			</Stations>
 		</Axis>

+ 0 - 2
PunkHPX8_RT/Config/Station/StationPositionsCfg_Simulator.xml

@@ -36,7 +36,6 @@
 			<ToleranceDefault>0.5</ToleranceDefault>
 			<Stations>
 				<Station Name="VPW1.Rotation.Home" Position="0" />
-				<Station Name="VPW1.Rotation.ChuckPlaceOffset" Position="700" />
 				<Station Name="VPW1.Rotation.Center" Position="144000" />
 			</Stations>
 		</Axis>
@@ -46,7 +45,6 @@
 			<ToleranceDefault>0.5</ToleranceDefault>
 			<Stations>
 				<Station Name="VPW2.Rotation.Home" Position="0" />
-				<Station Name="VPW2.Rotation.ChuckPlaceOffset" Position="700" />
 				<Station Name="VPW2.Rotation.Center" Position="50" />
 			</Stations>
 		</Axis>

+ 1 - 1
PunkHPX8_RT/Devices/VpwCell/VpwRotationAxisInterLock.cs

@@ -57,7 +57,7 @@ namespace PunkHPX8_RT.Devices.VpwCell
             VpwMainDevice vpwCellDevice = DEVICE.GetDevice<VpwMainDevice>(ModuleName.VPWMain1.ToString());
             if (vpwCellDevice != null)
             {
-                if (!vpwCellDevice.CommonData.ChamberOpened||vpwCellDevice.CommonData.ChamberClosed)
+                if (!vpwCellDevice.CommonData.ChamberOpened&&vpwCellDevice.CommonData.ChamberClosed)
                 {
                     LOG.WriteLog(eEvent.ERR_AXIS, $"{Module}.{Name}", "chamber is not closed, Cannot execute GotoSavedPosition");
                     return false;

+ 27 - 26
PunkHPX8_RT/Modules/VpwCell/VpwCellEntity.cs

@@ -4,6 +4,7 @@ using Aitex.Core.RT.Fsm;
 using Aitex.Core.RT.Log;
 using Aitex.Core.RT.OperationCenter;
 using Aitex.Core.RT.RecipeCenter;
+using Aitex.Core.RT.Routine;
 using Aitex.Core.Util;
 using Aitex.Core.Utilities;
 using CyberX12_RT.Modules.VpwCell;
@@ -226,36 +227,36 @@ namespace PunkHPX8_RT.Modules.VpwMain
         {
             fsm = new StateMachine<VpwCellEntity>(Module.ToString(), (int)VPWCellState.Init, 100);
             fsm.EnableRepeatedMsg(true);
-            AnyStateTransition(VpwCellMsg.Error, NullFunc, VPWCellState.Error);
+            AnyStateTransition(VPWCellMsg.Error, NullFunc, VPWCellState.Error);
             //Initialized
-            Transition(VPWCellState.Error, VpwCellMsg.Initialize, InitializeAll, VPWCellState.Initializing);
-            Transition(VPWCellState.Init, VpwCellMsg.Initialize, InitializeAll, VPWCellState.Initializing);
-            Transition(VPWCellState.Idle, VpwCellMsg.Initialize, InitializeAll, VPWCellState.Initializing);
+            Transition(VPWCellState.Error, VPWCellMsg.Initialize, InitializeAll, VPWCellState.Initializing);
+            Transition(VPWCellState.Init, VPWCellMsg.Initialize, InitializeAll, VPWCellState.Initializing);
+            Transition(VPWCellState.Idle, VPWCellMsg.Initialize, InitializeAll, VPWCellState.Initializing);
             Transition(VPWCellState.Initializing, FSM_MSG.TIMER, InitializeAllMonitor, VPWCellState.Idle);
-            Transition(VPWCellState.Error, VpwCellMsg.EnterIdle, NullFunc, VPWCellState.Idle);
-            Transition(VPWCellState.Init, VpwCellMsg.EnterIdle, NullFunc, VPWCellState.Idle);
-            Transition(VPWCellState.Idle, VpwCellMsg.EnterIdle, NullFunc, VPWCellState.Idle);
+            Transition(VPWCellState.Error, VPWCellMsg.EnterIdle, NullFunc, VPWCellState.Idle);
+            Transition(VPWCellState.Init, VPWCellMsg.EnterIdle, NullFunc, VPWCellState.Idle);
+            Transition(VPWCellState.Idle, VPWCellMsg.EnterIdle, NullFunc, VPWCellState.Idle);
             //Enter Init
-            Transition(VPWCellState.Idle, VpwCellMsg.Init, NullFunc, VPWCellState.Init);
+            Transition(VPWCellState.Idle, VPWCellMsg.Init, NullFunc, VPWCellState.Init);
             //Cycle Manual Process
-            Transition(VPWCellState.Idle, VpwCellMsg.CycleProcessRecipe, CycleManualProcess, VPWCellState.CycleManualProcessing);
+            Transition(VPWCellState.Idle, VPWCellMsg.CycleProcessRecipe, CycleManualProcess, VPWCellState.CycleManualProcessing);
             Transition(VPWCellState.CycleManualProcessing, FSM_MSG.TIMER, CycleManualMonitor, VPWCellState.Idle);
             //Prepare
-            Transition(VPWCellState.Idle, VpwCellMsg.Prepare, Prepare, VPWCellState.Preparing);
+            Transition(VPWCellState.Idle, VPWCellMsg.Prepare, Prepare, VPWCellState.Preparing);
             Transition(VPWCellState.Preparing, FSM_MSG.TIMER, PrepareMonitor, VPWCellState.WaitForRunRecipe);
-            Transition(VPWCellState.WaitForRunRecipe, VpwCellMsg.RunRecipe, RunRecipe, VPWCellState.RunReciping);
+            Transition(VPWCellState.WaitForRunRecipe, VPWCellMsg.RunRecipe, RunRecipe, VPWCellState.RunReciping);
             Transition(VPWCellState.RunReciping, FSM_MSG.TIMER, RunRecipeMonitor, VPWCellState.Idle);
 
             //Retry
-            Transition(VPWCellState.Error, VpwCellMsg.Retry, NullFunc, VPWCellState.Retrying);
+            Transition(VPWCellState.Error, VPWCellMsg.Retry, NullFunc, VPWCellState.Retrying);
             Transition(VPWCellState.Retrying, FSM_MSG.TIMER, VpwCellRetry, VPWCellState.Retrying);
-            Transition(VPWCellState.Retrying, VpwCellMsg.Prepare, RetryPrepare, VPWCellState.Preparing);
-            Transition(VPWCellState.Retrying, VpwCellMsg.RunRecipe, RetryRunRecipe, VPWCellState.RunReciping);
+            Transition(VPWCellState.Retrying, VPWCellMsg.Prepare, RetryPrepare, VPWCellState.Preparing);
+            Transition(VPWCellState.Retrying, VPWCellMsg.RunRecipe, RetryRunRecipe, VPWCellState.RunReciping);
 
 
             EnumLoop<VPWCellState>.ForEach((item) => { fsm.MapState((int)item, item.ToString()); });
 
-            EnumLoop<VpwCellMsg>.ForEach((item) => { fsm.MapMessage((int)item, item.ToString()); });
+            EnumLoop<VPWCellMsg>.ForEach((item) => { fsm.MapMessage((int)item, item.ToString()); });
         }
         /// <summary>
         /// 初始化数据
@@ -295,8 +296,8 @@ namespace PunkHPX8_RT.Modules.VpwMain
         /// </summary>
         private void InitializeOperation()
         {
-            OP.Subscribe($"{Module}.InitializeAll", (cmd, args) => { return CheckToPostMessage<VPWCellState, VpwCellMsg>(eEvent.ERR_VPW, Module.ToString(), (int)VpwCellMsg.Initialize); });
-            OP.Subscribe($"{Module}.Prepare", (cmd, args) => { return CheckToPostMessage<VPWCellState, VpwCellMsg>(eEvent.ERR_VPW, Module.ToString(), (int)VpwCellMsg.Prepare); });
+            OP.Subscribe($"{Module}.InitializeAll", (cmd, args) => { return CheckToPostMessage<VPWCellState, VPWCellMsg>(eEvent.ERR_VPW, Module.ToString(), (int)VPWCellMsg.Initialize); });
+            OP.Subscribe($"{Module}.Prepare", (cmd, args) => { return CheckToPostMessage<VPWCellState, VPWCellMsg>(eEvent.ERR_VPW, Module.ToString(), (int)VPWCellMsg.Prepare); });
             OP.Subscribe($"{Module}.CycleManualProcessRecipe", (cmd, args) =>
             {
                 VpwRecipe recipe = RecipeFileManager.Instance.LoadGenericityRecipe<VpwRecipe>(args[0].ToString());
@@ -311,7 +312,7 @@ namespace PunkHPX8_RT.Modules.VpwMain
                 {
                     objects[i] = args[i];
                 }
-                return CheckToPostMessage<VPWCellState, VpwCellMsg>(eEvent.ERR_PREWET, Module.ToString(), (int)VpwCellMsg.CycleProcessRecipe, objects);
+                return CheckToPostMessage<VPWCellState, VPWCellMsg>(eEvent.ERR_PREWET, Module.ToString(), (int)VPWCellMsg.CycleProcessRecipe, objects);
             });
         }
 
@@ -338,7 +339,7 @@ namespace PunkHPX8_RT.Modules.VpwMain
                 }
             }
             VpwMainEntity vpwMainEntity = Singleton<RouteManager>.Instance.GetModule<VpwMainEntity>(ModuleName.VPWMain1.ToString());
-            if (vpwMainEntity.IsBusy)
+            if (vpwMainEntity!=null&&vpwMainEntity.IsBusy)
             {
                 LOG.WriteLog(eEvent.ERR_VPW, Module.ToString(), $"VPWMain is busy,cannot initialize");
                 return false;
@@ -355,7 +356,7 @@ namespace PunkHPX8_RT.Modules.VpwMain
             RState ret = _homeRoutine.Monitor();
             if (ret == RState.Failed || ret == RState.Timeout)
             {
-                PostMsg(VpwCellMsg.Error);
+                PostMsg(VPWCellMsg.Error);
                 return false;
             }
 
@@ -384,10 +385,10 @@ namespace PunkHPX8_RT.Modules.VpwMain
             RState ret = _prepareRoutine.Monitor();
             if (ret == RState.Failed || ret == RState.Timeout)
             {
-                AlarmList alarmList = new AlarmList(Module.ToString(), ((VPWCellState)fsm.State).ToString(), (int)VpwCellMsg.Prepare,
+                AlarmList alarmList = new AlarmList(Module.ToString(), ((VPWCellState)fsm.State).ToString(), (int)VPWCellMsg.Prepare,
                         _prepareRoutine.ErrorMsg, _prepareRoutine.ErrorStep, (int)AlarmType.Error);
                 AlarmListManager.Instance.AddAlarm(alarmList);
-                PostMsg(VpwCellMsg.Error);
+                PostMsg(VPWCellMsg.Error);
                 return false;
             }
 
@@ -428,10 +429,10 @@ namespace PunkHPX8_RT.Modules.VpwMain
             RState ret = _recipeRoutine.Monitor();
             if (ret == RState.Failed || ret == RState.Timeout)
             {
-                AlarmList alarmList = new AlarmList(Module.ToString(), ((VPWCellState)fsm.State).ToString(), (int)VpwCellMsg.RunRecipe,
+                AlarmList alarmList = new AlarmList(Module.ToString(), ((VPWCellState)fsm.State).ToString(), (int)VPWCellMsg.RunRecipe,
                         _recipeRoutine.ErrorMsg, _recipeRoutine.ErrorStep, (int)AlarmType.Error);
                 AlarmListManager.Instance.AddAlarm(alarmList);
-                PostMsg(VpwCellMsg.Error);
+                PostMsg(VPWCellMsg.Error);
                 return false;
             }
 
@@ -483,7 +484,7 @@ namespace PunkHPX8_RT.Modules.VpwMain
             _currentStateMachine = _cycleManualProcessRoutine.CurrentStateMachine;
             if (state == RState.Failed || state == RState.Timeout)
             {
-                PostMsg(VpwCellMsg.Error);
+                PostMsg(VPWCellMsg.Error);
                 _currentStateMachine = "Error";
                 _currentStatus = "Error";
 
@@ -523,7 +524,7 @@ namespace PunkHPX8_RT.Modules.VpwMain
             AlarmList alarmList = AlarmListManager.Instance.GetAlarmListByModule(Module.ToString());
             if (alarmList != null)
             {
-                CheckToPostMessage<VPWCellState, VpwCellMsg>(eEvent.WARN_VPW, Module.ToString(), alarmList.ModuleCmd,
+                CheckToPostMessage<VPWCellState, VPWCellMsg>(eEvent.WARN_VPW, Module.ToString(), alarmList.ModuleCmd,
                     alarmList.ModuleStep);
             }
             return false;

+ 1 - 1
PunkHPX8_RT/Modules/VpwCell/VpwCellMsg.cs

@@ -6,7 +6,7 @@ using System.Threading.Tasks;
 
 namespace PunkHPX8_RT.Modules.VpwCell
 {
-    public enum VpwCellMsg
+    public enum VPWCellMsg
     {
         Error,
         Initialize,

+ 0 - 38
PunkHPX8_RT/Modules/VpwCell/VpwManualPrepareRoutine.cs

@@ -28,8 +28,6 @@ namespace PunkHPX8_RT.Modules.VpwCell
             Purge,
             PurgeDelay,
             WaitPurge,
-            RotationPositionOffset,
-            WaitRotation,
             CloseDrip,
             Delay,
             WaitWafer,
@@ -92,8 +90,6 @@ namespace PunkHPX8_RT.Modules.VpwCell
                 .RunIf(PrepareStep.Purge,_recipe.PurgeEnable,Purge,_delay_1ms)
                 .DelayIf(PrepareStep.PurgeDelay, _recipe.PurgeEnable, 500)
                 .WaitWithStopConditionIf(PrepareStep.WaitPurge,_recipe.PurgeEnable,CheckPurgeStatus,CheckPurgeStopStatus)
-                .Run(PrepareStep.RotationPositionOffset,RotationPositionOffset,_delay_1ms)
-                .WaitWithStopCondition(PrepareStep.WaitRotation,CheckRotationStatus,CheckRotationStopStatus)
                 .Run(PrepareStep.CloseDrip,()=>_vpwCellDevice.FlowDripOff(),_delay_1ms)
                 .Delay(PrepareStep.Delay,_putDownAfterDripClose)
                 .Wait(PrepareStep.WaitWafer,CheckWaferExsit,_waitForWaferTime)
@@ -145,40 +141,6 @@ namespace PunkHPX8_RT.Modules.VpwCell
             return _vpwMainEntity.IsError;
         }
         /// <summary>
-        /// Position运行至offset
-        /// </summary>
-        /// <returns></returns>
-        private bool RotationPositionOffset()
-        {
-            bool result= _rotationAxis.PositionStation("ChuckPlaceOffset");
-            if (!result)
-            {
-                NotifyError(eEvent.ERR_VPW, "rotation start position to ChuckPlaceOffset failed", -1);
-            }
-            return result;
-        }
-        /// <summary>
-        /// 检验电机是否完成运动
-        /// </summary>
-        /// <returns></returns>
-        private bool CheckRotationStatus()
-        {
-            return _rotationAxis.Status == RState.End;
-        }
-        /// <summary>
-        /// 检验电机运动是否出现异常
-        /// </summary>
-        /// <returns></returns>
-        private bool CheckRotationStopStatus()
-        {
-            bool result= _rotationAxis.Status == RState.Failed;
-            if (result)
-            {
-                NotifyError(eEvent.ERR_VPW, "rotation position to ChuckPlaceOffset failed", -1);
-            }
-            return result;
-        }
-        /// <summary>
         /// 检验是否存在Wafer
         /// </summary>
         /// <returns></returns>

+ 8 - 18
PunkHPX8_RT/Modules/VpwCell/VpwPrepareRoutine.cs

@@ -40,10 +40,6 @@ namespace PunkHPX8_RT.Modules.VpwCell
         /// </summary>
         private VpwRecipe _recipe;
         /// <summary>
-        /// 电机
-        /// </summary>
-        private JetAxisBase _rotationAxis;
-        /// <summary>
         /// 设备
         /// </summary>
         private VpwCellDevice _vpwCellDevice;
@@ -86,7 +82,7 @@ namespace PunkHPX8_RT.Modules.VpwCell
         {
             Runner.Run(PrepareStep.CheckPreCondition,CheckPreCondition,_delay_1ms)
                 .RunIf(PrepareStep.Purge,_recipe.PurgeEnable,Purge,_delay_1ms)
-                .Delay(PrepareStep.PurgeDelay,500)
+                .DelayIf(PrepareStep.PurgeDelay,_recipe.PurgeEnable, 500)
                 .WaitWithStopConditionIf(PrepareStep.WaitPurge,_recipe.PurgeEnable,CheckPurgeStatus,CheckPurgeStopStatus)
                 .Run(PrepareStep.RotationPositionOffset,RotationPositionOffset,_delay_1ms)
                 .WaitWithStopCondition(PrepareStep.WaitRotation,CheckRotationStatus,CheckRotationStopStatus)
@@ -142,10 +138,10 @@ namespace PunkHPX8_RT.Modules.VpwCell
         /// <returns></returns>
         private bool RotationPositionOffset()
         {
-            bool result= _rotationAxis.PositionStation("ChuckPlaceOffset");
+            bool result = _vpwCellDevice.HomeRotation();
             if (!result)
             {
-                NotifyError(eEvent.ERR_VPW, "rotation start position to ChuckPlaceOffset failed", -1);
+                NotifyError(eEvent.ERR_VPW, "rotation start home failed", -1);
             }
             return result;
         }
@@ -155,7 +151,7 @@ namespace PunkHPX8_RT.Modules.VpwCell
         /// <returns></returns>
         private bool CheckRotationStatus()
         {
-            return _rotationAxis.Status == RState.End;
+            return _vpwCellDevice.CheckHomeEndStatus();
         }
         /// <summary>
         /// 检验电机运动是否出现异常
@@ -163,10 +159,10 @@ namespace PunkHPX8_RT.Modules.VpwCell
         /// <returns></returns>
         private bool CheckRotationStopStatus()
         {
-            bool result= _rotationAxis.Status == RState.Failed;
+            bool result = _vpwCellDevice.CheckRotationStopStatus();
             if (result)
             {
-                NotifyError(eEvent.ERR_VPW, "rotation position to ChuckPlaceOffset failed", -1);
+                NotifyError(eEvent.ERR_VPW, "rotation home failed", -1);
             }
             return result;
         }
@@ -178,7 +174,6 @@ namespace PunkHPX8_RT.Modules.VpwCell
         public RState Start(params object[] objs)
         {
             _recipe=(VpwRecipe)objs[0];
-            _rotationAxis = DEVICE.GetDevice<JetAxisBase>($"{Module}.Rotation");
             _vpwCellDevice = DEVICE.GetDevice<VpwCellDevice>(Module);
             _mainDevice = DEVICE.GetDevice<VpwMainDevice>(ModuleName.VPWMain1.ToString());
             _putDownAfterDripClose = SC.GetValue<int>($"{Module}.PutDownAfterDripClose");
@@ -192,17 +187,12 @@ namespace PunkHPX8_RT.Modules.VpwCell
         /// <returns></returns>
         private bool CheckPreCondition()
         {
-            if (!_rotationAxis.IsSwitchOn)
+            if (!_vpwCellDevice.CheckRotationSwitchOn())
             {
                 NotifyError(eEvent.ERR_VPW,"rotaion is not switch on",-1);
                 return false;
             }
-            if (!_rotationAxis.IsHomed)
-            {
-                NotifyError(eEvent.ERR_VPW, "rotaion is not homed", -1);
-                return false;
-            }
-            return false;
+            return true;
         }
 
         /// <summary>

+ 0 - 26
PunkHPX8_RT/Modules/VpwCell/VpwSpinOffRoutine.cs

@@ -164,32 +164,6 @@ namespace PunkHPX8_RT.Modules.VpwCell
         /// <returns></returns>
         private bool CheckDisable()
         {
-            double flow = _vpwCellDevice.CommonData.DiwFlow;
-            double lowError = _recipe.VentPrewetFlowSetPoint * (1 - (double)_recipe.VentPrewetFlowErrorPercent / 100);
-            double upError = _recipe.VentPrewetFlowSetPoint * (1 + (double)_recipe.VentPrewetFlowErrorPercent / 100);
-            double lowWarn = _recipe.VentPrewetFlowSetPoint * (1 - (double)_recipe.VentPrewetFlowWarningPercent / 100);
-            double upWarn = _recipe.VentPrewetFlowSetPoint * (1 + (double)_recipe.VentPrewetFlowWarningPercent / 100);
-            if (flow<lowError)
-            {
-                NotifyError(eEvent.ERR_VPW, $"{Module} cell flow {flow} is less than {lowError} ", 0);
-                Abort();
-                return true;
-            }
-            if (flow > upError)
-            {
-                NotifyError(eEvent.ERR_VPW, $"{Module} cell flow {flow} is up than {upError} ", 0);
-                Abort();
-                return true;
-            }
-            if ((flow <= upError && flow >= upWarn) || (flow >= lowError && flow <= lowWarn))
-            {
-                string str = $"{Module} cell flow {flow} is in warning";
-                if (AlarmListManager.Instance.AddWarn(Module, $"{Module} cell flow", str))
-                {
-                    LOG.WriteLog(eEvent.WARN_VPW, Module, str);
-                }
-            }
-
             bool isSimulatorMode = SC.GetValue<bool>("System.IsSimulatorMode");
             if (!isSimulatorMode)
             {

+ 3 - 3
PunkHPX8_RT/Modules/VpwMain/VPWHomeRoutine.cs

@@ -498,7 +498,7 @@ namespace PunkHPX8_RT.Modules.VpwMain
                 VpwMainEntity vpwMainEntity = Singleton<RouteManager>.Instance.GetModule<VpwMainEntity>(ModuleName.VPWMain1.ToString());
                 if (_totalFlowOk)
                 {
-                    vpwMainEntity.CheckToPostMessage<VPWMainState, VPWMainMsg>(eEvent.INFO_VPWMAIN, ModuleName.VPWMain1.ToString(), (int)VpwCellMsg.EnterIdle);
+                    vpwMainEntity.CheckToPostMessage<VPWMainState, VPWMainMsg>(eEvent.INFO_VPWMAIN, ModuleName.VPWMain1.ToString(), (int)VPWCellMsg.EnterIdle);
                 }
                 else
                 {
@@ -532,11 +532,11 @@ namespace PunkHPX8_RT.Modules.VpwMain
                 VpwCellEntity vpwCellEntity = Singleton<RouteManager>.Instance.GetModule<VpwCellEntity>(item.Module);
                 if (_cellFlowOk[item.Module])
                 {
-                    vpwCellEntity.CheckToPostMessage<VPWCellState, VpwCellMsg>(eEvent.INFO_VPW, item.Module, (int)VpwCellMsg.EnterIdle);
+                    vpwCellEntity.CheckToPostMessage<VPWCellState, VPWCellMsg>(eEvent.INFO_VPW, item.Module, (int)VPWCellMsg.EnterIdle);
                 }
                 else//则cell流量是不ok,则post error msg
                 {
-                    vpwCellEntity.PostMsg((int)VpwCellMsg.Error);
+                    vpwCellEntity.PostMsg((int)VPWCellMsg.Error);
                     LOG.WriteLog(eEvent.ERR_VPW, item.Module, $"cell flow {_cellFlows[item.Module]} is less than {_cellFlowStartLimit}");
                 }
             }

+ 1 - 0
PunkHPX8_RT/Modules/VpwMain/VpwMainEntity.cs

@@ -11,6 +11,7 @@ using MECF.Framework.Common.Persistent.VpwMain;
 using MECF.Framework.Common.ToolLayout;
 using PunkHPX8_Core;
 using PunkHPX8_RT.Devices.VpwCell;
+using PunkHPX8_RT.Modules.VpwCell;
 using PunkHPX8_RT.Modules.VpwCelMain;
 using System;
 using System.Collections.Generic;

+ 1 - 1
PunkHPX8_RT/Modules/VpwMain/VpwPurgeRoutine.cs

@@ -488,7 +488,7 @@ namespace PunkHPX8_RT.Modules.VpwMain
                 VpwCellEntity vpwCellEntity = Singleton<RouteManager>.Instance.GetModule<VpwCellEntity>(item.Module);
                 if (!_cellFlowOk[item.Module])
                 {
-                    vpwCellEntity.PostMsg((int)VpwCellMsg.Error);
+                    vpwCellEntity.PostMsg((int)VPWCellMsg.Error);
                     LOG.WriteLog(eEvent.ERR_VPW, item.Module, $"cell flow {_cellFlows[item.Module]} is less than {_cellFlowStartLimit}");
                 }
             }

+ 1 - 1
PunkHPX8_RT/PunkHPX8_RT.csproj

@@ -325,7 +325,7 @@
     <Compile Include="Modules\VpwCell\VpwManualRecipeRoutine.cs" />
     <Compile Include="Modules\VpwMain\VpwPurgeRoutine.cs" />
     <Compile Include="Modules\VpwMain\VpwSimpleHomeRoutine.cs" />
-    <Compile Include="Modules\VpwCell\VpwCellMsg.cs" />
+    <Compile Include="Modules\VpwCell\VPWCellMsg.cs" />
     <Compile Include="Modules\VpwMain\VPWHomeRoutine.cs" />
     <Compile Include="Modules\VpwMain\VpwMainEntity.cs" />
     <Compile Include="Modules\VpwMain\VPWMsg.cs" />