123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- using Aitex.Core.RT.Routine;
- using MECF.Framework.Common.Routine;
- using PunkHPX8_Core;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace PunkHPX8_RT.Modules.VpwCell
- {
- public class VpwManualRecipeRoutine : RoutineBase, IRoutine
- {
- /// <summary>
- /// 构造函数
- /// </summary>
- /// <param name="module"></param>
- public VpwManualRecipeRoutine(string module) : base(module)
- {
- }
- /// <summary>
- /// 中止
- /// </summary>
- public void Abort()
- {
- Runner.Stop("Manual stop");
- }
- /// <summary>
- /// 监控
- /// </summary>
- /// <returns></returns>
- public RState Monitor()
- {
- return Runner.Status;
- }
- /// <summary>
- /// 启动
- /// </summary>
- /// <param name="objs"></param>
- /// <returns></returns>
- public RState Start(params object[] objs)
- {
- return Runner.Start(Module, "start run recipe");
- }
- }
- }
|