Files
sy_hx_pbl_backend/DOAN.Admin.WebApi/Controllers/PBL/BigScreenController.cs

45 lines
1.2 KiB
C#
Raw Normal View History

2024-11-01 15:44:37 +08:00
using Microsoft.AspNetCore.Mvc;
using DOAN.Model.PBL.Dto;
using DOAN.Model.PBL;
using DOAN.Service.PBL.IService;
using DOAN.Admin.WebApi.Filters;
namespace DOAN.Admin.WebApi.Controllers.PBL;
2024-11-04 10:15:34 +08:00
[AllowAnonymous]
2024-11-01 15:44:37 +08:00
[Route("PBL/bigscreen")]
public class BigScreenController : BaseController
{
2024-11-01 17:00:01 +08:00
private readonly IBigScreenService _BigScreenService;
public BigScreenController(IBigScreenService _BigScreenService)
{
this._BigScreenService = _BigScreenService;
}
//TODO 综合查询料架情况
[HttpGet("SearchBigScreenInformation")]
public IActionResult SearchBigScreenInformation()
{
var response = _BigScreenService.SearchBigScreenInformation();
return SUCCESS(response);
}
2024-11-01 17:00:01 +08:00
//TODO 查询料架灯 亮和灭 情况
2024-11-01 17:02:19 +08:00
[HttpGet("searchShelfLightInfomation")]
2024-11-01 17:00:01 +08:00
public IActionResult SearchShelfLightInfomation()
{
var response = _BigScreenService.SearchShelfLightInfomation();
return SUCCESS(response);
}
2024-11-04 10:15:34 +08:00
//TODO 查询补料 情况
[HttpGet("searchfeedingMaterial")]
public IActionResult SearchfeedingMaterialInfomation()
{
var response= _BigScreenService.SearchfeedingMaterialInfomation();
return SUCCESS(response);
}
2024-11-01 15:44:37 +08:00
}