将以往的代码复制到代码库
This commit is contained in:
24
Future.Contract/Channels/AccessPoint.cs
Normal file
24
Future.Contract/Channels/AccessPoint.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.Design;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Future.Contract
|
||||
{
|
||||
/// <summary>
|
||||
/// 扩展通道:为外部扩展通道提供基本功能支持
|
||||
/// </summary>
|
||||
public abstract class AccessPoint : FutureObject, IOutputChannel
|
||||
{
|
||||
public int OutputMessageCount {get; protected set;}
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
this.OutputMessageCount = 0;
|
||||
}
|
||||
|
||||
public abstract void WriteInstructResult(InstructResult result);
|
||||
}
|
||||
}
|
||||
16
Future.Contract/Channels/CommChannel.cs
Normal file
16
Future.Contract/Channels/CommChannel.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Future.Contract
|
||||
{
|
||||
/// <summary>
|
||||
/// 通信信道
|
||||
/// </summary>
|
||||
public class CommChannel
|
||||
{
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
15
Future.Contract/Channels/CommProtocol.cs
Normal file
15
Future.Contract/Channels/CommProtocol.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Future.Contract
|
||||
{
|
||||
/// <summary>
|
||||
/// 通信协议
|
||||
/// </summary>
|
||||
class CommProtocol
|
||||
{
|
||||
}
|
||||
}
|
||||
15
Future.Contract/Channels/SignalProtocol.cs
Normal file
15
Future.Contract/Channels/SignalProtocol.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Future.Contract
|
||||
{
|
||||
/// <summary>
|
||||
/// 信令协议
|
||||
/// </summary>
|
||||
public class SignalProtocol
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user