選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

37 行
1.7 KiB

  1. using JT808.DotNetty.Dtos;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Threading.Tasks;
  6. using WebApiClient;
  7. using WebApiClient.Attributes;
  8. namespace JT808.DotNetty.Dashbord.Internal
  9. {
  10. public interface IJT808DotNettyWebApi : IHttpApi
  11. {
  12. [HttpPost]
  13. ITask<JT808ResultDto<bool>> UnificationSend([Uri]string uri, [FormContent]JT808UnificationSendRequestDto jT808UnificationSendRequestDto);
  14. [HttpGet]
  15. ITask<JT808ResultDto<List<JT808SessionInfoDto>>> SessionGetAll([Uri]string uri);
  16. [HttpPost]
  17. ITask<JT808ResultDto<bool>> SessionRemoveByChannelId([Uri]string uri,[FormContent]string channelId);
  18. [HttpPost]
  19. ITask<JT808ResultDto<bool>> SessionRemoveByTerminalPhoneNo([Uri]string uri, [FormContent]string terminalPhoneNo);
  20. [HttpPost]
  21. ITask<JT808ResultDto<bool>> SourcePackageAdd([Uri]string uri, [FormContent]JT808IPAddressDto jT808IPAddressDto);
  22. [HttpPost]
  23. ITask<JT808ResultDto<bool>> SourcePackageRemove([Uri]string uri, [FormContent]JT808IPAddressDto jT808IPAddressDto);
  24. [HttpGet]
  25. ITask<JT808ResultDto<List<JT808SourcePackageChannelInfoDto>>> SourcePackageGetAll([Uri]string uri);
  26. [HttpPost]
  27. ITask<JT808ResultDto<bool>> TransmitAdd([Uri]string uri, [FormContent]JT808IPAddressDto jT808IPAddressDto);
  28. [HttpPost]
  29. ITask<JT808ResultDto<bool>> TransmitRemove([Uri]string uri, [FormContent]JT808IPAddressDto jT808IPAddressDto);
  30. [HttpGet]
  31. ITask<JT808ResultDto<List<string>>> TransmitGetAll([Uri]string uri);
  32. [HttpGet]
  33. ITask<JT808ResultDto<JT808AtomicCounterDto>> GetAtomicCounter([Uri]string uri);
  34. }
  35. }