IErmcpService.cs 767 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Muchinfo.MTPClient.Data;
  6. namespace Muchinfo.MTPClient.IService
  7. {
  8. public interface IErmcpService
  9. {
  10. /// <summary>
  11. /// 获取登录ID
  12. /// </summary>
  13. /// <param name="username">可传入“登录账号”、“登录代码”和“手机号码”</param>
  14. /// <param name="successAction">成功能回调</param>
  15. /// <param name="errorAction">失败回调</param>
  16. void GetLoginId(string username, Action<string> successAction, Action<ErrorEntity> errorAction);
  17. /// <summary>
  18. /// CTP获取系统信息
  19. /// </summary>
  20. /// <returns></returns>
  21. byte[] GetSystemInfo();
  22. }
  23. }