ResponseResult.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using static System.Windows.Forms.VisualStyles.VisualStyleElement;
  7. namespace Aitex.Core.MES.YZQZ
  8. {
  9. public enum ResultStatus
  10. {
  11. Success = 200,
  12. Abnormal = 201,
  13. NotSmpData = 202,
  14. NotFtData = 203,
  15. NotLastOneFtData = 204,
  16. ParameterError = 205,
  17. GearPositionError = 207,
  18. ProductTypeError = 208,
  19. VfExceedRuleRange = 209,
  20. WldExceedRuleRange = 210,
  21. LopExceedRuleRange = 211,
  22. NotProberData = 212,
  23. UploadTimeMoreThanSixHour = 213,
  24. NonactiveStatus = 214,
  25. VerificationChip = 215,
  26. StatusError = 216,
  27. NotFormulaData = 217,
  28. NotComponentData = 218,
  29. NotEdcParameter = 219,
  30. NotSystemDataSet = 220,
  31. NotSorterAfterData = 221,
  32. ExceedScrapingFactor = 222
  33. }
  34. public class ResponseRecipe
  35. {
  36. public string LotId { get; set; }
  37. public string DeviceName { get; set; }
  38. public string RecipeName { get; set; }
  39. public int ComponentQty { get; set; }
  40. public string Operation { get; set; }
  41. }
  42. public class ResponseResult
  43. {
  44. public string Message { get; set; }
  45. public int Status { get; set; }
  46. public List<ResponseRecipe> Data { get; set; }
  47. }
  48. }