DeviceMonitorController.cs 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. using Microsoft.AspNetCore.Mvc;using WMS.BZWeb;
  2. using System.Collections.Generic;
  3. namespace WMS.BZWeb
  4. {
  5. [Area("DeviceMonitorManager")]
  6. public class DeviceMonitorController : MvcControllerBase
  7. {
  8. public readonly List<int> WireRodA = new List<int> { 1001 };
  9. public readonly List<int> WireRodB = new List<int> { 1001 };
  10. public readonly List<int> WireRodC = new List<int> { 1001 };
  11. public readonly List<int> WireRodD = new List<int> { 1001 };
  12. //交互点
  13. public readonly List<int> InteractionPointFirstFloor = new List<int> { 1001 };
  14. public readonly List<int> InteractionPointSecondFloor = new List<int> { 1001 };
  15. // GET: DeviceMonitorManager/DeviceMonitor
  16. public IActionResult Index()
  17. {
  18. return View();
  19. }
  20. /// <summary>
  21. /// 获取盘条库数据
  22. /// </summary>
  23. /// <returns></returns>
  24. [HttpGet]
  25. // //////[AjaxOnly]
  26. public ActionResult GetWireRods( )
  27. {
  28. return null;
  29. }
  30. /// <summary>
  31. /// 获取堆垛机详情
  32. /// </summary>
  33. /// <param name="code"></param>
  34. /// <returns></returns>
  35. [HttpGet]
  36. //////[AjaxOnly]
  37. public ActionResult GetSRMDetail(string code)
  38. {
  39. return null;
  40. }
  41. /// <summary>
  42. /// 获取库位
  43. /// </summary>
  44. /// <param name="code"></param>
  45. /// <returns></returns>
  46. [HttpGet]
  47. //////[AjaxOnly]
  48. public ActionResult GetWarehouseLocation()
  49. {
  50. return null;
  51. }
  52. /// <summary>
  53. /// 获取故障信息
  54. /// </summary>
  55. /// <param name="code"></param>
  56. /// <returns></returns>
  57. [HttpGet]
  58. //////[AjaxOnly]
  59. public ActionResult GetFaults()
  60. {
  61. return null;
  62. }
  63. /// <summary>
  64. /// 获取设备信息
  65. /// </summary>
  66. /// <param name="code"></param>
  67. /// <returns></returns>
  68. [HttpGet]
  69. //////[AjaxOnly]
  70. public ActionResult GetDeviceData(string code)
  71. {
  72. return null;
  73. }
  74. /// <summary>
  75. /// 获取区域的设备信息
  76. /// </summary>
  77. /// <param name="areaCode"></param>
  78. /// <returns></returns>
  79. [HttpGet]
  80. //////[AjaxOnly]
  81. public ActionResult GetAreaDeviceData(string areaCode)
  82. {
  83. return null;
  84. }
  85. }
  86. }