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

45 lines
1.2 KiB
C#

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;
[AllowAnonymous]
[Route("PBL/bigscreen")]
public class BigScreenController : BaseController
{
private readonly IBigScreenService _BigScreenService;
public BigScreenController(IBigScreenService _BigScreenService)
{
this._BigScreenService = _BigScreenService;
}
//TODO 综合查询料架情况
[HttpGet("SearchBigScreenInformation")]
public IActionResult SearchBigScreenInformation()
{
var response = _BigScreenService.SearchBigScreenInformation();
return SUCCESS(response);
}
//TODO 查询料架灯 亮和灭 情况
[HttpGet("searchShelfLightInfomation")]
public IActionResult SearchShelfLightInfomation()
{
var response = _BigScreenService.SearchShelfLightInfomation();
return SUCCESS(response);
}
//TODO 查询补料 情况
[HttpGet("searchfeedingMaterial")]
public IActionResult SearchfeedingMaterialInfomation()
{
var response= _BigScreenService.SearchfeedingMaterialInfomation();
return SUCCESS(response);
}
}