v_3.5.901: fix selezione cella in finiti/ finitiSC con salvataggio in sessione
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -25,28 +25,9 @@ namespace GMW.WebUserControls
|
||||
IdxPosizioneIn = memLayer.ML.CRI("IdxPosizioneTrattati");
|
||||
IdxPosizioneOut = memLayer.ML.CRI("IdxPosizioneFiniti");
|
||||
IdxPosizioneOutTempName = "IdxPosizioneFinTemp";
|
||||
sVarIdxCella = "IdxCellaLineaFiniti";
|
||||
IdxPosizioneOutTemp = memLayer.ML.CRI(IdxPosizioneOutTempName);
|
||||
tipoCartCurr = tipoCartellino.cartFiniti;
|
||||
idxCellaSx = Postazione.currIdxCella;
|
||||
}
|
||||
/// <summary>
|
||||
/// IDX cella associata alla linea corrente
|
||||
/// </summary>
|
||||
protected int idxCellaSx
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
if (memLayer.ML.isInSessionObject("IdxCellaLineaFiniti"))
|
||||
{
|
||||
answ = memLayer.ML.IntSessionObj("IdxCellaLineaFiniti");
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("IdxCellaLineaFiniti", value);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Codice AL target
|
||||
|
||||
@@ -25,28 +25,9 @@ namespace GMW.WebUserControls
|
||||
IdxPosizioneIn = memLayer.ML.CRI("IdxPosizioneFiniti");
|
||||
IdxPosizioneOut = memLayer.ML.CRI("IdxPosizioneFiniti");
|
||||
IdxPosizioneOutTempName = "IdxPosizioneFinLavTemp";
|
||||
sVarIdxCella = "IdxCellaLineaFinitiSC";
|
||||
IdxPosizioneOutTemp = memLayer.ML.CRI(IdxPosizioneOutTempName);
|
||||
tipoCartCurr = tipoCartellino.cartFiniti;
|
||||
idxCellaSx = Postazione.currIdxCella;
|
||||
}
|
||||
/// <summary>
|
||||
/// IDX cella associata alla linea corrente
|
||||
/// </summary>
|
||||
protected int idxCellaSx
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
if (memLayer.ML.isInSessionObject("IdxCellaLineaFinitiSC"))
|
||||
{
|
||||
answ = memLayer.ML.IntSessionObj("IdxCellaLineaFinitiSC");
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("IdxCellaLineaFinitiSC", value);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Codice AL target
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -39,6 +39,10 @@ namespace GMW_data
|
||||
/// </summary>
|
||||
public string flusso_TR = "";
|
||||
/// <summary>
|
||||
/// nome var in sessione x IdxCella
|
||||
/// </summary>
|
||||
public string sVarIdxCella = "";
|
||||
/// <summary>
|
||||
/// dati x verifica CodSoggetto / matricola
|
||||
/// </summary>
|
||||
public string preCodSogg = memLayer.ML.CRS("prefCodSogg");
|
||||
@@ -113,15 +117,15 @@ namespace GMW_data
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
if (memLayer.ML.isInSessionObject(string.Format("IdxCella_{0}", uid)))
|
||||
if (memLayer.ML.isInSessionObject(sVarIdxCella))
|
||||
{
|
||||
answ = memLayer.ML.IntSessionObj(string.Format("IdxCella_{0}", uid));
|
||||
answ = memLayer.ML.IntSessionObj(sVarIdxCella);
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal(string.Format("IdxCella_{0}", uid), value);
|
||||
memLayer.ML.setSessionVal(sVarIdxCella, value);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
|
||||
+2
-2
@@ -5,7 +5,7 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("3.5.900.2434")]
|
||||
[assembly: AssemblyFileVersion("3.5.900.2434")]
|
||||
[assembly: AssemblyVersion("3.5.901.2434")]
|
||||
[assembly: AssemblyFileVersion("3.5.901.2434")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2007-2016")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("3.5.900.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("3.5.900.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyVersion("3.5.901.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("3.5.901.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2007-<#= DateTime.Now.Year #>")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
<#+
|
||||
|
||||
Reference in New Issue
Block a user