using Microsoft.AspNetCore.Mvc; using DOAN.Admin.WebApi.Filters; using DOAN.Service.MES.bigScreen.IService; using DOAN.Infrastructure; using DOAN.Model.MES.bigscreen.Dto; using DOAN.Model.mes.echarts; namespace DOAN.WebApi.Controllers.MES.BigScreen { /// /// 生产大屏2 version 2 /// [AllowAnonymous] [Route("mes/bigscreen/product2")] public class Product2Controller : BaseController { private readonly IProduct2BigScreenService productBigScreenService; public Product2Controller(IProduct2BigScreenService _product2BigScreenService) { productBigScreenService = _product2BigScreenService; } /// /// 数字牌 /// /// [HttpGet("getMoudle01")] public IActionResult GetMoudle01() { var response = productBigScreenService.GetMoudle01(); return SUCCESS(response); } /// /// 班组进度统计 /// /// [HttpGet("getMoudle02")] public IActionResult GetMoudle02() { var response = productBigScreenService.GetMoudle02(); return SUCCESS(response); } /// /// 昨天 班组报工数 和计划数对比 /// /// [HttpGet("getMoudle03")] public IActionResult GetMoudle03() { var response = productBigScreenService.GetMoudle03(); return SUCCESS(response); } /// /// 昨天 班组报工数 和计划数对比 折线图 不完成TOP /// /// [HttpGet("getMoudle09")] public IActionResult GetMoudle09() { var response = productBigScreenService.GetMoudle09(); return SUCCESS(response); } /// /// 上周 班组报工数 和计划数对比 /// /// [HttpGet("getMoudle04")] public IActionResult GetMoudle04() { var response = productBigScreenService.GetMoudle04(); return SUCCESS(response); } /// /// 上周 班组报工数 和计划数对比 折线图 不完成TOP /// /// [HttpGet("getMoudle10")] public IActionResult GetMoudle10() { var response = productBigScreenService.GetMoudle10(); return SUCCESS(response); } /// /// 今天异常工单 /// /// [HttpGet("getMoudle05")] public IActionResult GetMoudle05() { var response = productBigScreenService.GetMoudle05(); return SUCCESS(response); } /// /// 本月 工单达成率 /// /// [HttpGet("getMoudle06")] public IActionResult GetMoudle06() { var response = productBigScreenService.GetMoudle06(); return SUCCESS(response); } /// /// 本月 生产产品 top10 /// /// [HttpGet("getMoudle07")] public IActionResult GetMoudle07() { var response = productBigScreenService.GetMoudle07(); return SUCCESS(response); } /// /// 本月 报工不满原因 top10 /// /// [HttpGet("getMoudle77")] public IActionResult GetMoudle77() { var response = productBigScreenService.GetMoudle77(); return SUCCESS(response); } [HttpGet("getMoudle08")] public IActionResult GetMoudle08() { var response = productBigScreenService.GetMoudle08(); return SUCCESS(response); } } }