using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Deedy.Activity { /// /// 运行状态:用于多个线程之间的状态同步 /// public enum RunningState : int { /// /// 等待中:系统不在运行状态 /// Waiting = 0, /// /// 运行中:所有指令都可以运行 /// Running = 1, /// /// 暂停中:暂停所有逻辑的执行 /// Pausing = 2, /// /// 停止中:正在停止,准备退出 /// Stoping = 3 } }