Enum.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.IO;
  7. using System.ComponentModel;
  8. namespace HXX.Scanner.Biz
  9. {
  10. /// <summary>
  11. /// 扫描模式
  12. /// </summary>
  13. public enum ScanType
  14. {
  15. [Description("正式扫描")]
  16. Formal = 0,
  17. [Description("网页端测试")]
  18. Test_From_Web = 1,
  19. [Description("网页端测试 第三方")]
  20. Test_3rd_Party = 2,
  21. [Description("扫描模板")]
  22. ScanTemplate = 3,
  23. [Description("界面测试 单页")]
  24. Test_Panel_1_Side = 11,
  25. [Description("界面测试 双页")]
  26. Test_Panel_2_Sides = 12,
  27. }
  28. /// <summary>
  29. /// 纸张规格
  30. /// </summary>
  31. public enum PaperSize
  32. {
  33. [Description("A3")]
  34. A3 = 0,
  35. [Description("A4")]
  36. A4 = 1,
  37. [Description("8开")]
  38. K8 = 2,
  39. [Description("16开")]
  40. K16 = 11,
  41. }
  42. //public enum Custom_Environment
  43. //{
  44. // [Description("测试环境")]
  45. // Test = 1,
  46. // [Description("正式环境")]
  47. // Product = 2,
  48. //}
  49. /// <summary>
  50. /// 普通上传,重传
  51. /// </summary>
  52. public enum upload_type_enum
  53. {
  54. normal = 1,
  55. reUpload = 2,
  56. }
  57. }