fix controllo doppia MP
This commit is contained in:
@@ -71,7 +71,6 @@ namespace MoonProTablet.WebUserControls
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public int dataNum
|
||||
{
|
||||
get
|
||||
@@ -85,6 +84,21 @@ namespace MoonProTablet.WebUserControls
|
||||
hfNum.Value = $"{value}";
|
||||
}
|
||||
}
|
||||
|
||||
public int dataOggetto
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
int.TryParse(hfOggetto.Value, out answ);
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfOggetto.Value = $"{value}";
|
||||
}
|
||||
}
|
||||
|
||||
public int idxST
|
||||
{
|
||||
get
|
||||
@@ -237,7 +251,7 @@ namespace MoonProTablet.WebUserControls
|
||||
answ = (currDeroga != null);
|
||||
if (answ)
|
||||
{
|
||||
answ = (currDeroga.CanForce && currDeroga.Num == dataNum && currDeroga.CodGruppo == dataGroup && currDeroga.CodTipo == dataType);
|
||||
answ = (currDeroga.CanForce && currDeroga.Num == dataNum && currDeroga.CodGruppo == dataGroup && currDeroga.CodTipo == dataType && currDeroga.Oggetto == dataOggetto);
|
||||
}
|
||||
}
|
||||
catch
|
||||
@@ -289,6 +303,7 @@ namespace MoonProTablet.WebUserControls
|
||||
{
|
||||
CanForce = enableForceParamSchedaTecnica,
|
||||
Num = dataNum,
|
||||
Oggetto = dataOggetto,
|
||||
CodTipo = dataType,
|
||||
CodGruppo = dataGroup,
|
||||
IdxST = idxST
|
||||
|
||||
Reference in New Issue
Block a user