COmpletata review doppio pallett!!! installo...
This commit is contained in:
Vendored
+1
-1
@@ -17,7 +17,7 @@ pipeline {
|
||||
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=973']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=975']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '6.1.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '6.1.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.APP_NAME = 'MAPO'
|
||||
|
||||
+2
-1
@@ -94,9 +94,10 @@ namespace MoonProTablet
|
||||
private void Mod_ODL1_eh_reqUpdate(object sender, EventArgs e)
|
||||
{
|
||||
// forzo update macchina...
|
||||
DataLayer.obj.taMSE.forceRefreshMacchina(idxMacchina);
|
||||
//DataLayer.obj.taMSE.forceRefreshMacchina(idxMacchina);
|
||||
DataLayer.obj.taMSE.forceRecalc(0);
|
||||
// update display!
|
||||
ddlSubMacc.DataBind();
|
||||
mod_dettMacchina1.doUpdate();
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using MapoDb;
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
@@ -522,9 +523,10 @@ namespace MoonProTablet.WebUserControls
|
||||
}
|
||||
// process evento
|
||||
int idxEvento = 2; // !!!HARD CODED
|
||||
string messaggio = String.Format("Registrata inizio attrezzaggio per ODL {0}", idxODL_curr);
|
||||
processaEvento(idxEvento, messaggio, idxODL_curr);
|
||||
lblOut.Text = messaggio;
|
||||
string evText = "Registrato inizio attrezzaggio per ODL {0}";
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.AppendLine(String.Format(evText, idxODL_curr));
|
||||
processaEvento(idxEvento, sb.ToString(), idxODL_curr);
|
||||
// se è multi CHIUDO ODL x altra tavola...
|
||||
if (isMulti)
|
||||
{
|
||||
@@ -543,11 +545,15 @@ namespace MoonProTablet.WebUserControls
|
||||
}
|
||||
if (idxOdlAltra > 0)
|
||||
{
|
||||
sb.AppendLine("---");
|
||||
DataLayer.obj.taODL.fineProd(idxOdlAltra, idxMaccAltraTav);
|
||||
messaggio = String.Format("Registrata inizio attrezzaggio per ODL {0} (setup altra tavola)", idxOdlAltra);
|
||||
processaEvento(idxEvento, messaggio, idxOdlAltra);
|
||||
lblOut.Text += messaggio;
|
||||
evText = "Registrato inizio attrezzaggio per ODL {0} (setup seconda tavola)";
|
||||
sb.AppendLine(String.Format(evText, idxOdlAltra));
|
||||
processaEvento(idxEvento, String.Format(evText, idxOdlAltra), idxOdlAltra);
|
||||
}
|
||||
lblOut.Text = sb.ToString().Replace("---", "<br/>");
|
||||
// update buttons...
|
||||
checkAll();
|
||||
}
|
||||
// resetto contapezzi redis...
|
||||
DataLayer.saveCounter(idxMacchina, "0");
|
||||
@@ -593,22 +599,25 @@ namespace MoonProTablet.WebUserControls
|
||||
// invio email!
|
||||
DataLayer.obj.sendWarnTcChangeReq(memLayer.ML.CRS("_adminEmail"));
|
||||
}
|
||||
// processo chiusura setup
|
||||
string messaggio = String.Format("Registrata inizio produzione per ODL {0}", idxODL);
|
||||
processaEvento(idxEvento, messaggio, idxODL);
|
||||
lblOut.Text = messaggio;
|
||||
// processo chiusura setup
|
||||
string evText = "Registrata inizio produzione per ODL {0}";
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.AppendLine(String.Format(evText, idxODL));
|
||||
processaEvento(idxEvento, sb.ToString(), idxODL);
|
||||
// se è multi processo chiusura setup x altra tavola...
|
||||
if (isMulti)
|
||||
{
|
||||
sb.AppendLine("---");
|
||||
int idxOdlAltra = DataLayer.obj.taODL.getByMacchina(idxMaccAltraTav)[0].IdxODL;
|
||||
messaggio = String.Format("Registrata inizio produzione per ODL {0}", idxOdlAltra);
|
||||
processaEvento(idxEvento, messaggio, idxOdlAltra);
|
||||
lblOut.Text += messaggio;
|
||||
sb.AppendLine(String.Format(evText, idxOdlAltra));
|
||||
processaEvento(idxEvento, String.Format(evText, idxOdlAltra), idxOdlAltra);
|
||||
}
|
||||
|
||||
// riporto stringa
|
||||
lblOut.Text = sb.ToString().Replace("---", "<br/>");
|
||||
// nascondo note!
|
||||
showNoteTC(false);
|
||||
|
||||
// update buttons...
|
||||
checkAll();
|
||||
// sollevo evento!
|
||||
if (eh_reqUpdate != null)
|
||||
{
|
||||
@@ -640,20 +649,23 @@ namespace MoonProTablet.WebUserControls
|
||||
{
|
||||
// processo x macchina selezionata
|
||||
DataLayer.obj.taODL.fineProd(idxODL, idxMacchina);
|
||||
string messaggio = String.Format("Registrata fine produzione per ODL {0}", idxODL);
|
||||
processaEvento(idxEvento, messaggio, idxODL);
|
||||
lblOut.Text = messaggio;
|
||||
string evText = "Registrata fine produzione per ODL {0}";
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.AppendLine(String.Format(evText, idxODL));
|
||||
processaEvento(idxEvento, sb.ToString(), idxODL);
|
||||
// se è multi processo ANCHE x altra tavola...
|
||||
if (isMulti)
|
||||
{
|
||||
sb.AppendLine("---");
|
||||
int idxOdlAltra = 0;
|
||||
string _idxOdl = DataLayer.currODL(idxMaccAltraTav, true);
|
||||
int.TryParse(_idxOdl, out idxOdlAltra);
|
||||
DataLayer.obj.taODL.fineProd(idxOdlAltra, idxMaccAltraTav);
|
||||
messaggio = String.Format("Registrata fine produzione per ODL {0}", idxOdlAltra);
|
||||
processaEvento(idxEvento, messaggio, idxOdlAltra);
|
||||
lblOut.Text += messaggio;
|
||||
sb.AppendLine(String.Format(evText, idxOdlAltra));
|
||||
processaEvento(idxEvento, String.Format(evText, idxOdlAltra), idxOdlAltra);
|
||||
}
|
||||
// riporto stringa
|
||||
lblOut.Text = sb.ToString().Replace("---", "<br/>");
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
@@ -936,11 +948,14 @@ namespace MoonProTablet.WebUserControls
|
||||
if (idxOdlAltra > 0)
|
||||
{
|
||||
DataLayer.obj.taODL.dividiDaAltraTav(idxOdlAltra, DataLayer.MatrOpr, idxMacchina);
|
||||
// messaggio utente
|
||||
string evText = "Registrata inizio attrezzaggio da split ODL {0} (come da altra tavola)";
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.AppendLine(String.Format(evText, idxOdlAltra));
|
||||
lblOut.Text = sb.ToString();
|
||||
// update button x setup da altra tavola...
|
||||
checkAll();
|
||||
}
|
||||
#if false
|
||||
// update!
|
||||
Response.Redirect("~/ODL.aspx");
|
||||
#endif
|
||||
// sollevo evento!
|
||||
if (eh_reqUpdate != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user