You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.1KB

  1. using GpsCardGatewayPosition.Model.Config;
  2. using GpsCardGatewayPosition.Model.IoT;
  3. using GpsCardGatewayPosition.Service.MqProducer.Model;
  4. using GpsCardGatewayPosition.Service.Resolver.Interface;
  5. using Microsoft.Extensions.Logging;
  6. using Microsoft.Extensions.Options;
  7. using Newtonsoft.Json.Linq;
  8. using System;
  9. using System.Collections.Generic;
  10. using System.Linq;
  11. using System.Text;
  12. using System.Threading.Tasks;
  13. namespace GpsCardGatewayPosition.Service.Resolver.Factory
  14. {
  15. public class PropertyResolverFactory : IResolverFactory
  16. {
  17. private readonly ILogger<PropertyResolverFactory> _logger;
  18. private readonly AppsettingsConfig _configAppsettings;
  19. public PropertyResolverFactory(ILogger<PropertyResolverFactory> logger, IOptions<AppsettingsConfig> optConfigAppsettings)
  20. {
  21. _logger = logger;
  22. _configAppsettings = optConfigAppsettings.Value;
  23. }
  24. public PackageMsgModel ParseAndWrap(JObject msg)
  25. {
  26. throw new NotImplementedException();
  27. }
  28. public void Resolver(MessageModel msg)
  29. {
  30. throw new NotImplementedException();
  31. }
  32. }
  33. }