36 lines
914 B
C#
36 lines
914 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
using DOAN.Admin.WebApi.Filters;
|
|
using DOAN.Infrastructure;
|
|
using DOAN.Service.MES.Console_.IService;
|
|
|
|
namespace DOAN.Admin.WebApi.Controllers;
|
|
|
|
/// <summary>
|
|
/// 控制台 显示概览信息
|
|
/// </summary>
|
|
[Route("mes/Console")]
|
|
[AllowAnonymous]
|
|
public class ConsoleController : BaseController
|
|
{
|
|
private readonly IConsoleService consoleService;
|
|
|
|
public ConsoleController(IConsoleService consoleService)
|
|
{
|
|
this.consoleService=consoleService;
|
|
}
|
|
|
|
//TODO 获取色块看板信息
|
|
/// <summary>
|
|
/// 获取色块看板信息 模块1
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
[HttpGet("get_moudel01")]
|
|
public IActionResult GetColorBlockKanbanInformation()
|
|
{
|
|
var response = consoleService.GetColorBlockKanbanInformation();
|
|
return SUCCESS(response);
|
|
|
|
}
|
|
//TODO 线 物料需求数 / 物料备料数
|
|
|
|
} |