38 lines
1014 B
C#
38 lines
1014 B
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("searchShelfLightInfomation")]
|
|
public IActionResult SearchShelfLightInfomation()
|
|
{
|
|
var response = _BigScreenService.SearchShelfLightInfomation();
|
|
return SUCCESS(response);
|
|
}
|
|
|
|
//TODO 查询补料 情况
|
|
[HttpGet("searchfeedingMaterial")]
|
|
public IActionResult SearchfeedingMaterialInfomation()
|
|
{
|
|
var response= _BigScreenService.SearchfeedingMaterialInfomation();
|
|
return SUCCESS(response);
|
|
}
|
|
|
|
} |