Fix gestione reset e forzatura parametri
This commit is contained in:
@@ -72,7 +72,7 @@ namespace MoonProTablet.WebUserControls
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private void checkInputData()
|
||||
public void checkInputData()
|
||||
{
|
||||
bool showInput = false;
|
||||
try
|
||||
|
||||
@@ -49,14 +49,20 @@ namespace MoonProTablet.WebUserControls
|
||||
DS_applicazione.StatoMacchineRow rigaStato = null;
|
||||
try
|
||||
{
|
||||
string idxMacc = "";
|
||||
// se è multi controllo parent...
|
||||
if (isMulti)
|
||||
{
|
||||
rigaStato = selData.mng.rigaStato(idxMaccParent);
|
||||
idxMacc = idxMaccParent;
|
||||
}
|
||||
else
|
||||
{
|
||||
rigaStato = selData.mng.rigaStato(idxMacchinaFix);
|
||||
idxMacc = !string.IsNullOrEmpty(idxMacchinaFix) ? idxMacchinaFix : idxMacchina;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(idxMacc))
|
||||
{
|
||||
rigaStato = selData.mng.rigaStato(idxMacc);
|
||||
}
|
||||
if (rigaStato != null)
|
||||
{
|
||||
@@ -67,6 +73,7 @@ namespace MoonProTablet.WebUserControls
|
||||
{ }
|
||||
}
|
||||
lbtClearOdl.Visible = inAttr;
|
||||
cmp_ST_objCheck.checkInputData();
|
||||
}
|
||||
|
||||
private void cmp_ST_objCheck_eh_doUpdate(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user