将以往的代码复制到代码库
This commit is contained in:
28
Future.Contract/Interfaces/IOutputChannel.cs
Normal file
28
Future.Contract/Interfaces/IOutputChannel.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Future.Contract
|
||||
{
|
||||
/// <summary>
|
||||
/// 输出扩展通道接口,用于指令序列实时输入输出;可以用于态势感知视图
|
||||
/// </summary>
|
||||
public interface IOutputChannel
|
||||
{
|
||||
/// <summary>
|
||||
/// 向管道写入消息
|
||||
/// </summary>
|
||||
/// <param name="message"></param>
|
||||
void WriteInstructResult(InstructResult message);
|
||||
/// <summary>
|
||||
/// 消息计数
|
||||
/// </summary>
|
||||
int OutputMessageCount { get; }
|
||||
/// <summary>
|
||||
/// 重置管道状态等工作记录,准备开始新一轮的工作
|
||||
/// </summary>
|
||||
void Reset();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user