using JT808.DotNetty.Dtos; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using WebApiClient; using WebApiClient.Attributes; namespace JT808.DotNetty.Dashbord.Internal { public interface IJT808DotNettyWebApi : IHttpApi { [HttpPost] ITask> UnificationSend([Uri]string uri, [FormContent]JT808UnificationSendRequestDto jT808UnificationSendRequestDto); [HttpGet] ITask>> SessionGetAll([Uri]string uri); [HttpPost] ITask> SessionRemoveByChannelId([Uri]string uri,[FormContent]string channelId); [HttpPost] ITask> SessionRemoveByTerminalPhoneNo([Uri]string uri, [FormContent]string terminalPhoneNo); [HttpPost] ITask> SourcePackageAdd([Uri]string uri, [FormContent]JT808IPAddressDto jT808IPAddressDto); [HttpPost] ITask> SourcePackageRemove([Uri]string uri, [FormContent]JT808IPAddressDto jT808IPAddressDto); [HttpGet] ITask>> SourcePackageGetAll([Uri]string uri); [HttpPost] ITask> TransmitAdd([Uri]string uri, [FormContent]JT808IPAddressDto jT808IPAddressDto); [HttpPost] ITask> TransmitRemove([Uri]string uri, [FormContent]JT808IPAddressDto jT808IPAddressDto); [HttpGet] ITask>> TransmitGetAll([Uri]string uri); [HttpGet] ITask> GetAtomicCounter([Uri]string uri); } }