2025-04-11 17:12:29 +08:00
|
|
|
|
using JiShe.CollectBus.Common.Enums;
|
|
|
|
|
|
using JiShe.CollectBus.Common.Extensions;
|
|
|
|
|
|
using JiShe.CollectBus.Common.Models;
|
|
|
|
|
|
using JiShe.CollectBus.IotSystems.MessageReceiveds;
|
|
|
|
|
|
using JiShe.CollectBus.IotSystems.Protocols;
|
|
|
|
|
|
using JiShe.CollectBus.Protocol.Contracts.Abstracts;
|
2025-04-22 21:01:28 +08:00
|
|
|
|
using NUglify.JavaScript.Syntax;
|
2025-04-11 17:12:29 +08:00
|
|
|
|
|
|
|
|
|
|
namespace JiShe.CollectBus.Protocol.Test
|
|
|
|
|
|
{
|
|
|
|
|
|
public class TestProtocolPlugin : BaseProtocolPlugin
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Initializes a new instance of the <see cref="TestProtocolPlugin"/> class.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="serviceProvider">The service provider.</param>
|
|
|
|
|
|
public TestProtocolPlugin(IServiceProvider serviceProvider) : base(serviceProvider)
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public sealed override ProtocolInfo Info => new(nameof(TestProtocolPlugin), "Test", "TCP", "Test协议", "DTS1980-Test");
|
|
|
|
|
|
|
2025-04-22 21:01:28 +08:00
|
|
|
|
public override Task<T> AnalyzeAsync<T>(MessageReceived messageReceived, Action<byte[]>? sendAction = null)
|
2025-04-11 17:12:29 +08:00
|
|
|
|
{
|
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|