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.

21 lines
599 B

  1. using JT809.GrpcProtos;
  2. using JT809.KafkaService;
  3. using JT809.PubSub.Abstractions;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Text;
  7. namespace JT809.KafkaServiceTest
  8. {
  9. public class ConsumerTestService
  10. {
  11. public IJT808ConsumerOfT<byte[]> SameConsumer { get; }
  12. public IJT808ConsumerOfT<JT809GpsPosition> GpsConsumer { get; }
  13. public ConsumerTestService(IJT808ConsumerOfT<byte[]> sameConsumer, IJT808ConsumerOfT<JT809GpsPosition> gpsConsumer)
  14. {
  15. SameConsumer = sameConsumer;
  16. GpsConsumer = gpsConsumer;
  17. }
  18. }
  19. }