From 59d330799dfbe0345eb54f46ad758bb6711d7872 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 3 Dec 2018 19:08:10 +0100 Subject: [PATCH] Inserito gestione PAUSA --- C-TRACK/App_Readme/ToDo.txt | 14 +++++++++----- C-TRACK/barcode.aspx.cs | 6 ++++++ 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/C-TRACK/App_Readme/ToDo.txt b/C-TRACK/App_Readme/ToDo.txt index bd3c3a4..6c8037e 100644 --- a/C-TRACK/App_Readme/ToDo.txt +++ b/C-TRACK/App_Readme/ToDo.txt @@ -1,7 +1,11 @@ -- 2018.12.03 - EletScal -1) ingrandire testo commessa (SOPRATUTTO) e nome -2) inserire in elenco TASK, SOLO PER CONCLUSE; l TEMPO TOTALE sommato (1 colonna) e tempo a pezzi (1 colonna) -3) inserire button "pausa 0pz" ovvero imposta zero e SALVA la fase con 0 pz e tempo cumulato - - +OK 1) ingrandire testo commessa (SOPRATUTTO) e nome: + - a dx postazione + utente + - a sx ARTICOLO (NEW) + - in centro COMMESSA +2) inserire in elenco TASK: TEMPO TOTALE sommato (1 colonna) e tempo a pezzi (1 colonna) ed inoltre il tempo delle RIPARAZIONI +OK 3) inserire button "pausa 0pz" ovvero imposta zero e SALVA la fase con 0 pz e tempo cumulato +OK 4) certificato?!? +5) nascondere BOTTOM tab (reload) +6) Riparazioni --> fare un CALCOLO A SE (somma tempi...) --> qualificare tempo separatamente diff --git a/C-TRACK/barcode.aspx.cs b/C-TRACK/barcode.aspx.cs index 19e082a..e30ed49 100644 --- a/C-TRACK/barcode.aspx.cs +++ b/C-TRACK/barcode.aspx.cs @@ -572,6 +572,12 @@ namespace C_TRACK CurrNumTask = mod_barcode1.comandoRegistrato.valore; Response.Redirect("~/barcode"); } + else if (mod_barcode1.comandoRegistrato.prevCmdIn == "PAUSE") + { + // registro chiusura con qta 0 (pausa) + dataLayer.man.taTR.updateQuery(idxRecCurr, DateTime.Now, 0); + Response.Redirect("~/barcode"); + } else if (mod_barcode1.comandoRegistrato.prevCmdIn == "CLOSE") { // registro chiusura con la qta indicata