NmCgMd5Io.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace QM.KJGH.CGGL.Model.NMCghj
  7. {
  8. /// <summary>
  9. /// MD5请求参数
  10. /// </summary>
  11. public class NmCgMd5Io
  12. {
  13. /**
  14. * 成果包名称
  15. */
  16. public string fileName { set; get; }
  17. /**
  18. * 分片大小
  19. */
  20. public long fileSize { set; get; }
  21. /**
  22. * zip压缩包的md5值
  23. */
  24. public string fileMd5 { set; get; }
  25. /**
  26. * 总分片数量, 单位取值:1-n
  27. */
  28. public int totalSliceNum { set; get; }
  29. /**
  30. * 当前分片所属顺序 单位取值: 0-(totalSliceNum-1)
  31. */
  32. public int curSliceOrder { set; get; }
  33. /**
  34. * 是否重置分片到0 (用于上传一半后, 又从0开始)
  35. */
  36. public bool resetSliceOrder2Zero { set; get; } = true;
  37. /**
  38. * 流程主键(补正流程需要)
  39. */
  40. public string instId { set; get; }
  41. }
  42. }