diff --git a/WebDoorCreator.API/Controllers/QueueController.cs b/WebDoorCreator.API/Controllers/QueueController.cs index 5359197..4818d43 100644 --- a/WebDoorCreator.API/Controllers/QueueController.cs +++ b/WebDoorCreator.API/Controllers/QueueController.cs @@ -21,30 +21,6 @@ namespace WebDoorCreator.API.Controllers #endregion Public Constructors -#if false - /// - /// Lunghezza coda in attesa - /// - /// - [HttpGet("ActPendingLenght")] - public async Task ActPendingLenght() - { - long numQueue = await QDataServ.NumRequestPending(); - return numQueue; - } - - /// - /// Lunghezza coda in fase di processing - /// - /// - [HttpGet("ActProcessingLenght")] - public async Task ActProcessingLenght() - { - long numQueue = await QDataServ.NumRequestProcessing(); - return numQueue; - } -#endif - #region Public Methods /// @@ -68,37 +44,13 @@ namespace WebDoorCreator.API.Controllers /// /// Risultati elaborazioni in formato CalcResultDTO /// - [HttpPost("SaveProcessingResult")] - public async Task SaveProcessingResult(List calcResults) + [HttpPost("SaveProcResult")] + public async Task SaveProcResult(List calcResults) { bool answ = await QDataServ.SaveProcessingResult(calcResults); return answ; } -#if false - /// - /// Elenco richieste in stato pending - /// - /// - [HttpGet("ShowPending")] - public async Task?> ShowPending() - { - var actQueue = await QDataServ.RequestPending(); - return actQueue; - } - - /// - /// Elenco richeiste in stato processing - /// - /// - [HttpGet("ShowProcessing")] - public async Task> ShowProcessing() - { - var actQueue = await QDataServ.RequestProcessing(); - return actQueue; - } -#endif - /// /// Elenco richieste raggruppate x stato /// @@ -121,7 +73,7 @@ namespace WebDoorCreator.API.Controllers /// - verranno messi nella coda FIFO processing /// /// - [HttpGet("TakeProcessingItems")] + [HttpGet("TakeNextItems")] public async Task> TakeProcessingItems(int numItems) { var actQueue = await QDataServ.TakeProcessingItems(numItems); diff --git a/WebDoorCreator.UI/temp/Conf.yaml b/WebDoorCreator.UI/temp/Conf.yaml index 1a0ecf8..2e9e962 100644 --- a/WebDoorCreator.UI/temp/Conf.yaml +++ b/WebDoorCreator.UI/temp/Conf.yaml @@ -3,7 +3,7 @@ #Door1 code: 0015943 -date: 2023-04-19T14:05:03.5064525+02:00 +date: 2023-04-19T14:59:00.2592242+02:00 material: wood measures: millimiters order: @@ -41,12 +41,17 @@ version: 2 edge_pulls: - template: Generic\EdgePull230B position: 45 -flush_pulls: - - template: Generic\Circle - position: 35 - back_set: 5 - depth: 1 - face: secure +flush_bolts: + - template: Corner\8501 + type: corner + side: top + position: 5 + offset_WS: 0.0 + - template: Corner\8501 + type: corner + side: top + position: 5 + offset_WS: 0.0 locks: - template: Generic\DocMyTest5Bore position: 45.875