CodeMaid:
- reord codice
This commit is contained in:
@@ -149,6 +149,23 @@ namespace MoonProTablet.WebUserControls
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime inizioOdl
|
||||
{
|
||||
get
|
||||
{
|
||||
DateTime answ = DateTime.Now.AddYears(-1);
|
||||
if (idxOdl > 0)
|
||||
{
|
||||
var odlDetail = getCurrOdlRow();
|
||||
if (odlDetail != null)
|
||||
{
|
||||
answ = odlDetail.DataInizio;
|
||||
}
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
public string keyRichiesta
|
||||
{
|
||||
get
|
||||
@@ -170,36 +187,6 @@ namespace MoonProTablet.WebUserControls
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
public DateTime inizioOdl
|
||||
{
|
||||
get
|
||||
{
|
||||
DateTime answ = DateTime.Now.AddYears(-1);
|
||||
if (idxOdl > 0)
|
||||
{
|
||||
var odlDetail = getCurrOdlRow();
|
||||
if (odlDetail != null)
|
||||
{
|
||||
answ = odlDetail.DataInizio;
|
||||
}
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
public DS_ProdTempi.ODLRow getCurrOdlRow()
|
||||
{
|
||||
DS_ProdTempi.ODLRow answ = null;
|
||||
if (idxOdl > 0)
|
||||
{
|
||||
DS_ProdTempi.ODLDataTable odlDetail = DataLayerObj.currODLRowTab(idxMacchina);
|
||||
if (odlDetail != null && odlDetail.Rows.Count > 0)
|
||||
{
|
||||
answ = odlDetail[0];
|
||||
}
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Num giorni configurati x selezione ODL in scadenza
|
||||
@@ -291,6 +278,20 @@ namespace MoonProTablet.WebUserControls
|
||||
return answ;
|
||||
}
|
||||
|
||||
public DS_ProdTempi.ODLRow getCurrOdlRow()
|
||||
{
|
||||
DS_ProdTempi.ODLRow answ = null;
|
||||
if (idxOdl > 0)
|
||||
{
|
||||
DS_ProdTempi.ODLDataTable odlDetail = DataLayerObj.currODLRowTab(idxMacchina);
|
||||
if (odlDetail != null && odlDetail.Rows.Count > 0)
|
||||
{
|
||||
answ = odlDetail[0];
|
||||
}
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// url completo immagine icona
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user