2024-11-06 16:14:12 +08:00
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
using DOAN.Admin.WebApi.Filters;
|
|
|
|
|
using DOAN.Infrastructure;
|
|
|
|
|
using DOAN.Service.MES.Console_.IService;
|
|
|
|
|
|
|
|
|
|
namespace DOAN.Admin.WebApi.Controllers.MES.Console_;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 控制台 显示概览信息
|
|
|
|
|
/// </summary>
|
2024-11-06 18:32:46 +08:00
|
|
|
[Route("mes/Console")]
|
|
|
|
|
[AllowAnonymous]
|
2024-11-06 16:14:12 +08:00
|
|
|
public class ConsoleController : BaseController
|
|
|
|
|
{
|
|
|
|
|
IConsoleService consoleService=null;
|
|
|
|
|
|
|
|
|
|
ConsoleController(IConsoleService consoleService)
|
|
|
|
|
{
|
|
|
|
|
this.consoleService=consoleService;
|
|
|
|
|
}
|
2024-11-06 18:32:46 +08:00
|
|
|
|
|
|
|
|
//TODO 获取色块看板信息
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取色块看板信息 模块1
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpGet("get_moudel01")]
|
|
|
|
|
public IActionResult GetColorBlockKanbanInformation()
|
|
|
|
|
{
|
|
|
|
|
var response = consoleService.GetColorBlockKanbanInformation();
|
|
|
|
|
return SUCCESS(response);
|
|
|
|
|
|
|
|
|
|
}
|
2024-11-06 16:14:12 +08:00
|
|
|
}
|