modifica log interfaccia utente e file...
This commit is contained in:
@@ -521,13 +521,17 @@ namespace MoonProTablet.WebUserControls
|
||||
}
|
||||
// process evento
|
||||
int idxEvento = 2; // !!!HARD CODED
|
||||
processaEvento(idxEvento, String.Format("Registrata inizio attrezzaggio per ODL {0}", idxODL_curr), idxODL_curr);
|
||||
string messaggio = String.Format("Registrata inizio attrezzaggio per ODL {0}", idxODL_curr);
|
||||
processaEvento(idxEvento, messaggio, idxODL_curr);
|
||||
lblOut.Text = messaggio;
|
||||
// se è multi CHIUDO ODL x altra tavola...
|
||||
if (isMulti)
|
||||
{
|
||||
int idxOdlAltra = DataLayer.obj.taODL.getByMacchina(idxMaccAltraTav)[0].IdxODL;
|
||||
DataLayer.obj.taODL.fineProd(idxOdlAltra, idxMaccAltraTav);
|
||||
processaEvento(idxEvento, String.Format("Registrata fine produzione per ODL {0} (setup prima tavola)", idxOdlAltra), idxOdlAltra);
|
||||
messaggio = String.Format("Registrata inizio attrezzaggio per ODL {0} (setup altra tavola)", idxOdlAltra);
|
||||
processaEvento(idxEvento, messaggio, idxOdlAltra);
|
||||
lblOut.Text += messaggio;
|
||||
}
|
||||
// resetto contapezzi redis...
|
||||
DataLayer.saveCounter(idxMacchina, "0");
|
||||
@@ -573,13 +577,17 @@ namespace MoonProTablet.WebUserControls
|
||||
// invio email!
|
||||
DataLayer.obj.sendWarnTcChangeReq(memLayer.ML.CRS("_adminEmail"));
|
||||
}
|
||||
// processo chiusura setup
|
||||
processaEvento(idxEvento, String.Format("Registrata inizio produzione per ODL {0}", idxODL), idxODL);
|
||||
// processo chiusura setup
|
||||
string messaggio = String.Format("Registrata inizio produzione per ODL {0}", idxODL);
|
||||
processaEvento(idxEvento, messaggio, idxODL);
|
||||
lblOut.Text = messaggio;
|
||||
// se è multi processo chiusura setup x altra tavola...
|
||||
if (isMulti)
|
||||
{
|
||||
int idxOdlAltra = DataLayer.obj.taODL.getByMacchina(idxMaccAltraTav)[0].IdxODL;
|
||||
processaEvento(idxEvento, String.Format("Registrata inizio produzione per ODL {0}", idxOdlAltra), idxOdlAltra);
|
||||
messaggio = String.Format("Registrata inizio produzione per ODL {0}", idxOdlAltra);
|
||||
processaEvento(idxEvento, messaggio, idxOdlAltra);
|
||||
lblOut.Text += messaggio;
|
||||
}
|
||||
|
||||
// nascondo note!
|
||||
@@ -590,7 +598,9 @@ namespace MoonProTablet.WebUserControls
|
||||
{
|
||||
eh_reqUpdate(this, new EventArgs());
|
||||
}
|
||||
Response.Redirect("~/ODL.aspx");
|
||||
#if false
|
||||
Response.Redirect("~/ODL.aspx");
|
||||
#endif
|
||||
}
|
||||
/// <summary>
|
||||
/// fine prod
|
||||
@@ -614,7 +624,9 @@ namespace MoonProTablet.WebUserControls
|
||||
{
|
||||
// processo x macchina selezionata
|
||||
DataLayer.obj.taODL.fineProd(idxODL, idxMacchina);
|
||||
processaEvento(idxEvento, String.Format("Registrata fine produzione per ODL {0}", idxODL), idxODL);
|
||||
string messaggio = String.Format("Registrata fine produzione per ODL {0}", idxODL);
|
||||
processaEvento(idxEvento, messaggio, idxODL);
|
||||
lblOut.Text = messaggio;
|
||||
// se è multi processo ANCHE x altra tavola...
|
||||
if (isMulti)
|
||||
{
|
||||
@@ -622,7 +634,9 @@ namespace MoonProTablet.WebUserControls
|
||||
string _idxOdl = DataLayer.currODL(idxMaccAltraTav, true);
|
||||
int.TryParse(_idxOdl, out idxOdlAltra);
|
||||
DataLayer.obj.taODL.fineProd(idxOdlAltra, idxMaccAltraTav);
|
||||
processaEvento(idxEvento, String.Format("Registrata fine produzione per ODL {0}", idxOdlAltra), idxOdlAltra);
|
||||
messaggio = String.Format("Registrata fine produzione per ODL {0}", idxOdlAltra);
|
||||
processaEvento(idxEvento, messaggio, idxOdlAltra);
|
||||
lblOut.Text += messaggio;
|
||||
}
|
||||
}
|
||||
catch (Exception exc)
|
||||
|
||||
Reference in New Issue
Block a user