28 lines
846 B
C#
28 lines
846 B
C#
using JiShe.CollectBus.Protocol.Contracts.Abstracts;
|
|
using JiShe.CollectBus.Protocol.Contracts.Attributes;
|
|
using JiShe.CollectBus.Protocol.Contracts.DependencyInjection;
|
|
using JiShe.CollectBus.Protocol.Contracts.Models;
|
|
using Microsoft.Extensions.Caching.Distributed;
|
|
|
|
namespace JiShe.CollectBus.Protocol.Test
|
|
{
|
|
[ProtocolName("StandardProtocol")]
|
|
public class TestProtocolPlugin(IDistributedCache cache) : BaseProtocolPlugin(cache), ISingletonDependency
|
|
{
|
|
public override ProtocolInfo Get()
|
|
{
|
|
return new ProtocolInfo("Test", "376.1", "TCP", "376.1协议", "DTSU1980");
|
|
}
|
|
|
|
public override void Received()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public override void Send()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|