using JiShe.CollectBus.IotSystems.Protocols; using JiShe.CollectBus.Protocol.Models; using JiShe.CollectBus.Protocol.T37612012; using Microsoft.Extensions.Logging; using TouchSocket.Sockets; namespace JiShe.CollectBus.Protocol.Test { public class TestProtocolPlugin : T37612012ProtocolPlugin { private readonly ILogger _logger; /// /// Initializes a new instance of the class. /// /// The service provider. public TestProtocolPlugin(IServiceProvider serviceProvider, ILogger logger, ITcpService tcpService) : base(serviceProvider, logger, tcpService) { } public override ProtocolInfo Info => new(nameof(TestProtocolPlugin), "Test", "TCP", "Test协议", "DTS1980-TEST"); public override Task AnalyzeAsync(ITcpSessionClient client, string messageReceived, Action? receivedAction = null) { throw new NotImplementedException(); } public override Task BuildAsync(ProtocolBuildRequest request) { throw new NotImplementedException(); } } }