JsonWorker.cs 701 B

123456789101112131415161718192021222324252627
  1. using System.Collections.Generic;
  2. namespace JsonWorkerData
  3. {
  4. public class Data
  5. {
  6. public string worker { get; set; }
  7. public long time { get; set; }
  8. public long lastSeen { get; set; }
  9. public long reportedHashrate { get; set; }
  10. public double currentHashrate { get; set; }
  11. public int validShares { get; set; }
  12. public int invalidShares { get; set; }
  13. public int staleShares { get; set; }
  14. public double averageHashrate { get; set; }
  15. }
  16. }
  17. namespace EthermineBotTelegramCore
  18. {
  19. public class JsonWorker
  20. {
  21. public string status { get; set; }
  22. public List<JsonWorkerData.Data> data { get; set; }
  23. }
  24. }