v767: fix visualizzazione celle occupate SENZA UDC (non erano mostrate)
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -73,6 +73,7 @@ namespace GMW.WebUserControls
|
||||
// per calcolo capacità di OGNI cella
|
||||
int capa = 0;
|
||||
// carico i dati nell'array: di default tutto VUOTO, con posizione attiva...
|
||||
string currCss = "";
|
||||
for (int pos_y = 0; pos_y < numY; pos_y++)
|
||||
{
|
||||
for (int pos_x = 0; pos_x < numX; pos_x++)
|
||||
@@ -80,7 +81,18 @@ namespace GMW.WebUserControls
|
||||
// calcolo la capacità della cella...
|
||||
rigaCelle = (DS_magazzino.CelleRow)tabCelleAll.Select(string.Format("X={0} AND Y={1}", pos_x + 1, pos_y + 1))[0];
|
||||
capa = tabTipoCelle.FindByIdxTipoCella(rigaCelle.IdxTipoCella).Capienza;
|
||||
BloccoCelle[pos_x, pos_y] = new GMW_data.Type.BlockMap("-", "", "cellaLibera", rigaCelle.IdxCella, rigaCelle.CodCella, capa, 0, rigaCelle.Piena, rigaCelle.Attiva);
|
||||
// 2015.01.29 controllo se sia piena o libera...
|
||||
currCss = "cellaLibera";
|
||||
try
|
||||
{
|
||||
if (rigaCelle.Piena)
|
||||
{
|
||||
currCss = "cellaPiena";
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
BloccoCelle[pos_x, pos_y] = new GMW_data.Type.BlockMap("-", "", currCss, rigaCelle.IdxCella, rigaCelle.CodCella, capa, 0, rigaCelle.Piena, rigaCelle.Attiva);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -261,7 +273,7 @@ namespace GMW.WebUserControls
|
||||
string[] valori = SteamWare.StringSplitter.CSplitter.Split(lnk.CommandArgument.ToString(), "#", true, 2, SteamWare.StringSplitter.ComparisonMethod.Text);
|
||||
// setto i valori in sessione
|
||||
IdxCella = Convert.ToInt32(valori[0]);
|
||||
memLayer.ML.setSessionVal("IdxCellaMag", valori[0],false);
|
||||
memLayer.ML.setSessionVal("IdxCellaMag", valori[0], false);
|
||||
memLayer.ML.setSessionVal("CodCellaMag", valori[1], false);
|
||||
|
||||
// evento selezione che passa dati al modulo operazioniUdc
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2
-2
@@ -5,7 +5,7 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("2.8.766.1840")]
|
||||
[assembly: AssemblyFileVersion("2.8.766.1840")]
|
||||
[assembly: AssemblyVersion("2.8.767.1854")]
|
||||
[assembly: AssemblyFileVersion("2.8.767.1854")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2007-2015")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("2.8.766.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("2.8.766.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyVersion("2.8.767.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("2.8.767.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2007-<#= DateTime.Now.Year #>")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
<#+
|
||||
|
||||
Reference in New Issue
Block a user