| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 | 
							- using MECF.Framework.Common.Equipment;
 
- using System;
 
- using System.Collections.Generic;
 
- using System.Linq;
 
- using System.Text;
 
- namespace Aitex.Core.RT.Fsm
 
- {
 
-     public interface IEntity
 
-     {
 
-         bool Initialize();
 
-         void Terminate();
 
-         void PostMsg<T>(T msg, params object[] args) where T : struct;
 
-         bool Check(int msg, out string reason, params object[] args);
 
-     }
 
-     public interface IModuleEntity: IEntity
 
-     {
 
-         ModuleName Module { get; }
 
-         bool IsInit { get; }
 
-         bool IsBusy { get; }
 
-         bool IsIdle { get; }
 
-         bool IsError { get; }
 
-         bool IsDisable { get; }
 
-         bool IsAuto { get; }
 
-         int TimeToReady { get; }
 
-         /// <summary>
 
-         /// 是否为工程模式
 
-         /// </summary>
 
-         bool IsEngineering { get; }
 
-         /// <summary>
 
-         /// 是否为产品模式
 
-         /// </summary>
 
-         bool IsProduction { get; }
 
-         int Invoke(string function, params object[] args);
 
-         bool CheckAcked(int msg);
 
-     }
 
- }
 
 
  |