36 lines
902 B
C#
36 lines
902 B
C#
using JiShe.CollectBus.Protocol.Contracts.Abstracts;
|
|
using JiShe.CollectBus.Protocol.Contracts.DependencyInjection;
|
|
using Microsoft.Extensions.Caching.Distributed;
|
|
|
|
namespace JiShe.CollectBus.Protocol
|
|
{
|
|
public class StandardProtocolPlugin : BaseProtocolPlugin, IStandardProtocolPlugin,ISingletonDependency
|
|
{
|
|
public StandardProtocolPlugin(IDistributedCache cache) : base(cache)
|
|
{
|
|
}
|
|
|
|
public override Contracts.Models.Protocol Get()
|
|
{
|
|
return new Contracts.Models.Protocol("Standard", "376.1", "TCP","376.1协议","DTS1980");
|
|
}
|
|
|
|
public void Load()
|
|
{
|
|
base.Load();
|
|
}
|
|
|
|
public override void Received()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public override void Send()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
|
|
}
|
|
}
|