Remove GetEngineeringSpcReview Better error message EnforceCodeStyleInBuild NginxFileSystem Remove Reactors and Working Directory AppSettings Delete self contained Thunder Tests Back to .net8.0 api/v4/InfinityQS ApiExplorerSettings Wafer Counter
18 lines
689 B
C#
18 lines
689 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
using OI.Metrology.Shared.Models.Stateless;
|
|
|
|
namespace OI.Metrology.Server.ApiControllers;
|
|
|
|
[Route("api/v1/[controller]")]
|
|
public class WaferCounterController : Controller, IWaferCounterController<IActionResult>
|
|
{
|
|
|
|
private readonly IWaferCounterRepository _WaferCounterRepository;
|
|
|
|
public WaferCounterController(IWaferCounterRepository waferCounterRepository) =>
|
|
_WaferCounterRepository = waferCounterRepository;
|
|
|
|
[HttpGet("{waferSize}/last-quantity-and-slot-map")]
|
|
public IActionResult GetLastQuantityAndSlotMap(string area, string waferSize) =>
|
|
Json(_WaferCounterRepository.GetLastQuantityAndSlotMap(area, waferSize));
|
|
} |