DevCmdViewModel.cs 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Ropin.Inspection.Model.ViewModel.DEV
  7. {
  8. //命令
  9. public class DevCmdViewModel : BaseViewModel
  10. {
  11. public string C_ID { get; set; }
  12. public string C_Name { get; set; }
  13. public string C_Number { get; set; }
  14. public string C_Description { get; set; }
  15. public string C_Type { get; set; }
  16. public string C_TypeName { get; set; }
  17. public string C_OrgCode { get; set; }
  18. public string C_OrgName { get; set; }
  19. public ulong B_RollBack { get; set; }
  20. public string C_Remark { get; set; }
  21. public string C_CreateBy { get; set; }
  22. public DateTime D_CreateOn { get; set; }
  23. public string C_Creator { get; set; }
  24. public string C_LastUpdatedBy { get; set; }
  25. public DateTime? D_LastUpdatedOn { get; set; }
  26. public string C_Modifier { get; set; }
  27. public string C_Status { get; set; } = "1";
  28. }
  29. //指令
  30. public class DevInstructionViewModel : BaseViewModel
  31. {
  32. public string C_ID { get; set; }
  33. public string C_Name { get; set; }
  34. public string C_Number { get; set; }
  35. public string C_Protocol { get; set; }
  36. public string C_ProtocolName { get; set; }
  37. public string C_Params { get; set; }
  38. public string C_BoxCode { get; set; }
  39. public string C_BoxName { get; set; }
  40. public string C_Remark { get; set; }
  41. public string C_CreateBy { get; set; }
  42. public DateTime D_CreateOn { get; set; }
  43. public string C_Creator { get; set; }
  44. public string C_LastUpdatedBy { get; set; }
  45. public DateTime? D_LastUpdatedOn { get; set; }
  46. public string C_Modifier { get; set; }
  47. public string C_Status { get; set; } = "1";
  48. public string C_CmdCode { get; set; }
  49. public int? I_ExeOrder { get; set; }
  50. }
  51. //命令-指令
  52. public class DevCmdInstructionViewModel : BaseViewModel
  53. {
  54. public string C_ID { get; set; }
  55. public string C_CmdCode { get; set; }
  56. public string C_CmdName { get; set; }
  57. public string C_Instruction { get; set; }
  58. public string C_InstructionName { get; set; }
  59. public int I_ExeOrder { get; set; }
  60. public string C_Remark { get; set; }
  61. public string C_CreateBy { get; set; }
  62. public DateTime D_CreateOn { get; set; }
  63. public string C_Creator { get; set; }
  64. }
  65. //指令-信息
  66. public class DevInstructionInfo
  67. {
  68. public string C_CmdCode { get; set; }
  69. public int? I_ExeOrder { get; set; }
  70. public string C_ID { get; set; }
  71. public string C_Name { get; set; }
  72. public string C_Number { get; set; }
  73. public string C_Protocol { get; set; }
  74. public string C_ProtocolName { get; set; }
  75. public string C_Params { get; set; }
  76. public string C_BoxCode { get; set; }
  77. public string C_BoxName { get; set; }
  78. public string C_Remark { get; set; }
  79. }
  80. //
  81. public class SendComRabbitMQParam
  82. {
  83. public string EveId { get; set; }
  84. public string BoxId { get; set; }
  85. public string cmdId { get; set; }
  86. public string pms { get; set; }
  87. public string protocol { get; set; }
  88. public int? sort { get; set; }
  89. }
  90. }