From 6d7cb9206f5a3cdff229d2ea2bde33ec97efa64e Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Wed, 16 Jan 2019 19:28:23 +0100 Subject: [PATCH] Fix force ricalcolo x tempo e NON per macchina ceh NON VA... --- Jenkinsfile | 2 +- MP-TAB/Web.config | 424 +++++++++--------- MP-TAB/WebUserControls/mod_ODL.ascx.cs | 3 +- MP-TAB/WebUserControls/mod_confProd.ascx.cs | 3 +- .../WebUserControls/mod_dettaglioProd.ascx.cs | 3 +- .../WebUserControls/mod_dichiarazione.ascx.cs | 5 +- 6 files changed, 222 insertions(+), 218 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8bce6a13..b319edb6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,7 +18,7 @@ pipeline { /* calcolo numero versione... diverso x branch MASTER/DEVELOP */ script { - withEnv(['NEXT_BUILD_NUMBER=1147']) { + withEnv(['NEXT_BUILD_NUMBER=1150']) { // env.versionNumber = VersionNumber(versionNumberString : '6.6.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true) env.versionNumber = VersionNumber(versionNumberString : '6.6.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') env.APP_NAME = 'MAPO' diff --git a/MP-TAB/Web.config b/MP-TAB/Web.config index de039513..e762e7e3 100644 --- a/MP-TAB/Web.config +++ b/MP-TAB/Web.config @@ -65,218 +65,218 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MP-TAB/WebUserControls/mod_ODL.ascx.cs b/MP-TAB/WebUserControls/mod_ODL.ascx.cs index 3589c1e4..167e0277 100644 --- a/MP-TAB/WebUserControls/mod_ODL.ascx.cs +++ b/MP-TAB/WebUserControls/mod_ODL.ascx.cs @@ -524,7 +524,8 @@ namespace MoonProTablet.WebUserControls inCmd2 = controllerMapo.scriviRigaEventoBarcode(idxMaccParent, idxEvento, CodArticolo, "", DataLayer.MatrOpr, rigaStato.pallet); } // chiamo refresh MSE - DataLayer.obj.taMSE.forceRefreshMacchina(idxMaccCurr); + //DataLayer.obj.taMSE.forceRefreshMacchina(idxMaccCurr); + DataLayer.obj.taMSE.forceRecalc(0); // invalido la cache di selData selData.mng.invalidateCache(); lblOut.Text = userMsg; diff --git a/MP-TAB/WebUserControls/mod_confProd.ascx.cs b/MP-TAB/WebUserControls/mod_confProd.ascx.cs index e40e5638..ed2d27df 100644 --- a/MP-TAB/WebUserControls/mod_confProd.ascx.cs +++ b/MP-TAB/WebUserControls/mod_confProd.ascx.cs @@ -395,7 +395,8 @@ namespace MoonProTablet.WebUserControls confermaPerGiorni(); } // refresh tabella dati tablet... - DataLayer.obj.taMSE.forceRefreshMacchina(idxMacchina); + //DataLayer.obj.taMSE.forceRefreshMacchina(idxMacchina); + DataLayer.obj.taMSE.forceRecalc(0); // mostro output lblOut.Text = string.Format("Confermata la produzione per {0} pezzi! (+{1} pz scarto) alle {2:yyyy-MM-dd HH:mm:ss}", numPzConfermati, numPzScarto2Rec, dtReqUpdate); // cambio button conferma... diff --git a/MP-TAB/WebUserControls/mod_dettaglioProd.ascx.cs b/MP-TAB/WebUserControls/mod_dettaglioProd.ascx.cs index eff057a6..5eb0af75 100644 --- a/MP-TAB/WebUserControls/mod_dettaglioProd.ascx.cs +++ b/MP-TAB/WebUserControls/mod_dettaglioProd.ascx.cs @@ -30,7 +30,8 @@ namespace MoonProTablet.WebUserControls private void popolaLabels() { // forzo ricalcolo - DataLayer.obj.taMSE.forceRefreshMacchina(idxMacchina); + //DataLayer.obj.taMSE.forceRefreshMacchina(idxMacchina); + DataLayer.obj.taMSE.forceRecalc(0); // leggo riga... DS_ProdTempi.MappaStatoExplRow rigaDati = DataLayer.obj.taMSE.getByIdxMacchina(idxMacchina)[0]; diff --git a/MP-TAB/WebUserControls/mod_dichiarazione.ascx.cs b/MP-TAB/WebUserControls/mod_dichiarazione.ascx.cs index 802db630..26a78b9c 100644 --- a/MP-TAB/WebUserControls/mod_dichiarazione.ascx.cs +++ b/MP-TAB/WebUserControls/mod_dichiarazione.ascx.cs @@ -129,8 +129,9 @@ namespace MoonProTablet.WebUserControls } // refresh fermate repLI.DataBind(); - // faccio refresh SOLO macchina corrente - DataLayer.obj.taMSE.forceRefreshMacchina(idxMacchina); + // faccio refresh DI TUTTO; x singola macchina NON VA - 2019.01.16 + //DataLayer.obj.taMSE.forceRefreshMacchina(idxMacchina); + DataLayer.obj.taMSE.forceRecalc(0); // sollevo evento! if (eh_newVal != null) {