QueryClientsRequest.cs 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Text;
  3. namespace NTMiner.Core.MinerServer {
  4. public class QueryClientsRequest : IPagingRequest, ISignableData {
  5. public QueryClientsRequest() {
  6. this.SortField = ClientDataSortField.MinerName;
  7. }
  8. public int PageIndex { get; set; }
  9. public int PageSize { get; set; }
  10. public Guid? GroupId { get; set; }
  11. public Guid? WorkId { get; set; }
  12. public string MinerIp { get; set; }
  13. public string MinerName { get; set; }
  14. public MineStatus MineState { get; set; }
  15. public string Coin { get; set; }
  16. public string Pool { get; set; }
  17. public string Wallet { get; set; }
  18. public string Version { get; set; }
  19. public string Kernel { get; set; }
  20. public GpuType GpuType { get; set; }
  21. public string GpuName { get; set; }
  22. public string GpuDriver { get; set; }
  23. public SortDirection SortDirection { get; set; }
  24. public ClientDataSortField SortField { get; set; }
  25. public StringBuilder GetSignData() {
  26. return this.GetActionIdSign("5BB1CE8C-995E-47D6-AF1A-A8303E53E296");
  27. }
  28. }
  29. }