31 lines
1.0 KiB
C#
Raw Normal View History

2025-04-27 09:16:37 +08:00
using JiShe.CollectBus.Protocol.Interfaces;
2025-04-24 19:31:28 +08:00
using Microsoft.Extensions.Logging;
using TouchSocket.Core;
2025-04-24 19:31:28 +08:00
2025-04-27 09:16:37 +08:00
namespace JiShe.CollectBus.Protocol.T37612012.Appendix
2025-04-24 19:31:28 +08:00
{
/// <summary>
/// 费率数 k≤63
/// </summary>
public class Appendix_04000204 : IAnalysisStrategy<List<string>>
2025-04-24 19:31:28 +08:00
{
private readonly ILogger<Appendix_04000204> _logger;
private readonly AnalysisStrategyContext _analysisStrategyContext;
public Appendix_04000204(ILogger<Appendix_04000204> logger, AnalysisStrategyContext analysisStrategyContext)
{
_logger = logger;
_analysisStrategyContext = analysisStrategyContext;
}
public async Task<bool> ExecuteAsync(List<string> data, Action<dynamic>? result = null)
2025-04-24 19:31:28 +08:00
{
return await _analysisStrategyContext.ExecuteAsync<List<string>>(nameof(Appendix_04000201), data, (values) =>
{
values[0] = "费率数";
result?.Invoke(values);
});
2025-04-24 19:31:28 +08:00
}
}
}