LargeScreenViewModel.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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.LGS
  7. {
  8. public class LargeScreenViewModel : BaseViewModel
  9. {
  10. public string C_ID { get; set; }
  11. public string C_Name { get; set; }
  12. public string C_ImageURL { get; set; }
  13. public string C_Description { get; set; }
  14. public string C_AddressURL { get; set; }
  15. public string C_LargeScreenTemplateCode { get; set; }
  16. public string C_StoreCode { get; set; }
  17. public string C_StoreName { get; set; }
  18. public string C_Remark { get; set; }
  19. public string C_CreateBy { get; set; }
  20. public DateTime D_CreateOn { get; set; }
  21. public string C_Creator { get; set; }
  22. public string C_LastUpdatedBy { get; set; }
  23. public DateTime? D_LastUpdatedOn { get; set; }
  24. public string C_Modifier { get; set; }
  25. public string C_Status { get; set; }
  26. }
  27. public class LargeScreenImageModel
  28. {
  29. public string Id { get; set; }
  30. public string base64Image { get; set; }
  31. }
  32. #region 大屏数据接口实体
  33. //设备维修、维保、点检 每天统计【3、4、总数】
  34. public class DevOpsRepairISPDaysStatistics
  35. {
  36. public string SpecificDay { get; set; }
  37. public decimal DevOpsNormal { get; set; }
  38. public decimal DevOpsAbnormal { get; set; }
  39. public long? DevOpsTotal { get; set; }
  40. public decimal RepairOrderNormal { get; set; }
  41. public decimal RepairOrderAbnormal { get; set; }
  42. public long? RepairOrderTotal { get; set; }
  43. public decimal ISPNormal { get; set; }
  44. public decimal ISPAbnormal { get; set; }
  45. public long? ISPTotal { get; set; }
  46. }
  47. //设备维修、维保、点检 每天状态统计
  48. public class DaysStatusStatistics
  49. {
  50. public string SpecificDay { get; set; }
  51. public decimal Status1 { get; set; }
  52. public decimal Status2 { get; set; }
  53. public decimal Status3 { get; set; }
  54. public decimal Status4 { get; set; }
  55. public decimal Status5 { get; set; }
  56. public decimal Status6 { get; set; }
  57. public decimal Status7 { get; set; }
  58. public long? StatusTotal { get; set; }
  59. }
  60. public class LargeScreenInterfaceBar
  61. {
  62. public string name { get; set; }
  63. public string type { get; set; }
  64. public List<string> data { get; set; }
  65. }
  66. public class LargeScreenInterfaceStackBar
  67. {
  68. public string name { get; set; }
  69. public string type { get; set; }
  70. public string stack { get; set; }
  71. public LabelStackBarModel label { get; set; }
  72. public List<string> data { get; set; }
  73. }
  74. public class LabelStackBarModel
  75. {
  76. public bool show { get; set; }
  77. }
  78. public class LargeScreenInterfaceLine
  79. {
  80. public string name { get; set; }
  81. public string type { get; set; }
  82. public string stack { get; set; }
  83. public List<string> data { get; set; }
  84. }
  85. public class LargeScreenInterfacePie
  86. {
  87. public string value { get; set; }
  88. public string name { get; set; }
  89. }
  90. #endregion
  91. }