Fix x gestione differenziata intervalli finestra ammissibilità x postazioni W24 (Finiti IN/OUT singoli) da postazione W25 (multipli)

This commit is contained in:
Samuele E. Locatelli
2016-09-08 17:27:49 +02:00
parent a1ab4aeba6
commit eb919fddb0
16 changed files with 29 additions and 11 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+5
View File
@@ -7,6 +7,8 @@ namespace GMW
{
public partial class POST_FinitiMult_OUT : System.Web.UI.Page
{
protected string minTimeKey = "minTimeW25";
protected string maxTimeKey = "maxTimeW25";
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
@@ -16,6 +18,9 @@ namespace GMW
Postazione.CssClass = "stileAttesa";
// imposto pos abilitata x cancellazione
mod_storicoAzioniOperatore1.IdxPosizione2del = memLayer.ML.confReadInt("IdxPosizioneFiniti");
// imposto tempi MIN/MAX attraversamento
mod_PostFinMultOUT.minTime = memLayer.ML.CRI(minTimeKey);
mod_PostFinMultOUT.maxTime = memLayer.ML.CRI(maxTimeKey);
// pulisco dir temp dai file dei cartellini stampati
reportPrinter.obj.pulisciDir();
}
+5
View File
@@ -7,6 +7,8 @@ namespace GMW
{
public partial class POST_Finiti_OUT : System.Web.UI.Page
{
protected string minTimeKey = "minTimeW24";
protected string maxTimeKey = "maxTimeW24";
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
@@ -16,6 +18,9 @@ namespace GMW
Postazione.CssClass = "stileAttesa";
// imposto pos abilitata x cancellazione
mod_storicoAzioniOperatore1.IdxPosizione2del = memLayer.ML.confReadInt("IdxPosizioneFiniti");
// imposto tempi MIN/MAX attraversamento
mod_PostFinMultOUT.minTime = memLayer.ML.CRI(minTimeKey);
mod_PostFinMultOUT.maxTime = memLayer.ML.CRI(maxTimeKey);
// pulisco dir temp dai file dei cartellini stampati
reportPrinter.obj.pulisciDir();
}
+4 -2
View File
@@ -186,8 +186,10 @@
<add key="CodBloccoTrattati" value="W21" />
<!--Gestione multiselezione automatica UDC x linee multiple-->
<add key="num4Cell" value="2" />
<add key="minTimeW25" value="120" />
<add key="maxTimeW25" value="10080" />
<add key="minTimeW24" value="-10080" />
<add key="maxTimeW24" value="-120" />
<add key="minTimeW25" value="-10080" />
<add key="maxTimeW25" value="-120" />
<!--setup celle per LDP-->
<add key="cellaLPA" value="LPA010101" />
<add key="cellaLPX" value="LPX010101" />
+10 -3
View File
@@ -470,8 +470,8 @@ namespace GMW.WebUserControls
lblUdcParent.Text = traduci("UdcParentEffett");
// salvo tutti i valori dei parametri attuali e cambio ods x grView...
minDt = DateTime.Now.AddMinutes(-memLayer.ML.CRI("maxTimeW25"));
maxDt = DateTime.Now.AddMinutes(-memLayer.ML.CRI("minTimeW25"));
minDt = DateTime.Now.AddMinutes(minTime);
maxDt = DateTime.Now.AddMinutes(maxTime);
num4Cell = memLayer.ML.CRI("num4Cell");
// modifico per mostrare selezione degli UDC associabili a SX (non troppo vecchi ne nuovi, con num max x ogni linea)
@@ -487,7 +487,14 @@ namespace GMW.WebUserControls
}
}
/// <summary>
/// Valore negativo di minuti da sottrarre ad ADESSO x valore MASSIMO finestra dataOra ammissibile
/// </summary>
public int maxTime { get; set; }
/// <summary>
/// Valore negativo di minuti da sottrarre ad ADESSO x valore MINIMO finestra dataOra ammissibile
/// </summary>
public int minTime { get; set; }
/// <summary>
/// imposto i dati dal particolare corrente
/// </summary>
+1 -4
View File
@@ -23,10 +23,7 @@
<br />
<div class="row">
<div class="col-sm-12">
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
OnSelectedIndexChanged="grView_SelectedIndexChanged" OnDataBound="grView_DataBound"
DataKeyNames="IdxCella" DataSourceID="ods" OnPageIndexChanged="grView_PageIndexChanged"
OnSorted="grView_Sorted" OnRowEditing="grView_RowEditing" OnRowUpdated="grView_RowUpdated" OnRowCancelingEdit="grView_RowCancelingEdit">
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" OnSelectedIndexChanged="grView_SelectedIndexChanged" OnDataBound="grView_DataBound" DataKeyNames="IdxCella" DataSourceID="ods" OnPageIndexChanged="grView_PageIndexChanged" OnSorted="grView_Sorted" OnRowEditing="grView_RowEditing" OnRowUpdated="grView_RowUpdated" OnRowCancelingEdit="grView_RowCancelingEdit">
<RowStyle CssClass="ctrRowStyle" />
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
<EditRowStyle CssClass="ctrEditRowStyle" />
BIN
View File
Binary file not shown.
+4 -2
View File
@@ -186,8 +186,10 @@
<add key="CodBloccoTrattati" value="W21" />
<!--Gestione multiselezione automatica UDC x linee multiple-->
<add key="num4Cell" value="2" />
<add key="minTimeW25" value="120" />
<add key="maxTimeW25" value="10080" />
<add key="minTimeW24" value="-10080" />
<add key="maxTimeW24" value="-120" />
<add key="minTimeW25" value="-10080" />
<add key="maxTimeW25" value="-120" />
<!--setup celle per LDP-->
<add key="cellaLPA" value="LPA010101" />
<add key="cellaLPX" value="LPX010101" />
Binary file not shown.
Binary file not shown.
Binary file not shown.