using JiShe.CollectBus.Protocol.Interfaces;
using JiShe.CollectBus.Protocol.T37612012.AnalysisData.AFN_00H;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JiShe.CollectBus.Protocol.Test
{
    public class TestServer: IAnalysisStrategy<string>
    {
        private readonly ILogger<TestServer> _logger;
        public TestServer (ILogger<TestServer> logger)
        {
            _logger= logger;
        }

        public Task<bool> ExecuteAsync(string input, Action<dynamic>? result = null)
        {
            _logger.LogWarning("测试插件动态加载");
           return Task.FromResult(true);
        }

    }
}
