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.
 
 
 

24 line
577 B

  1. using JT808.Protocol;
  2. using System;
  3. using System.Collections.Concurrent;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace JT808.Gateway.NBIotSimpleClient.Services
  9. {
  10. /// <summary>
  11. /// 接收平台下发的数据包
  12. /// </summary>
  13. public class ReceviePackageService
  14. {
  15. public BlockingCollection<JT808Package> BlockingCollection { get; }
  16. public ReceviePackageService()
  17. {
  18. BlockingCollection = new BlockingCollection<JT808Package>(999999);
  19. }
  20. }
  21. }