diff --git a/GMW/SterrTaglioIN.aspx b/GMW/SterrTaglioIN.aspx index 838af0f8..c875bd06 100644 --- a/GMW/SterrTaglioIN.aspx +++ b/GMW/SterrTaglioIN.aspx @@ -1,5 +1,39 @@ -<%@ Page Title="Sterr Taglio IN" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimpleFull.Master" AutoEventWireup="true" CodeBehind="SterrTaglioIN.aspx.cs" Inherits="GMW.SterrTaglioIN" EnableEventValidation="false" %> -<%@ Register src="WebUserControls/mod_SterrTagIN.ascx" tagname="mod_SterrTagIN" tagprefix="uc1" %> - - +<%@ Page Title="Sterr Taglio IN" Language="C#" MasterPageFile="~/FullPage.Master" AutoEventWireup="true" CodeBehind="SterrTaglioIN.aspx.cs" Inherits="GMW.SterrTaglioIN" EnableEventValidation="false" %> + +<%@ Register Src="WebUserControls/mod_selLineaNtDt.ascx" TagName="mod_selLineaNtDt" TagPrefix="uc1" %> +<%@ Register Src="WebUserControls/mod_storicoAzioniOperatore.ascx" TagName="mod_storicoAzioniOperatore" TagPrefix="uc2" %> +<%@ Register Src="WebUserControls/mod_SterrTagIN.ascx" TagName="mod_SterrTagIN" TagPrefix="uc3" %> + + + + + + + + +
+ +
+
+ +
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+
+
diff --git a/GMW/SterrTaglioIN.aspx.cs b/GMW/SterrTaglioIN.aspx.cs index 0a0dc351..fd420194 100644 --- a/GMW/SterrTaglioIN.aspx.cs +++ b/GMW/SterrTaglioIN.aspx.cs @@ -4,6 +4,8 @@ using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; +using SteamWare; +using GMW_data; namespace GMW { @@ -11,6 +13,118 @@ namespace GMW { protected void Page_Load(object sender, EventArgs e) { + if (!Page.IsPostBack) + { + updatePrinterPostazione(); + // fix css... + Postazione.CssClass = "stileAttesa"; + // imposto pos abilitata x cancellazione + mod_storicoAzioniOperatore1.IdxPosizione2del = memLayer.ML.confReadInt("IdxPosizioneSterrati"); + // pulisco dir temp dai file dei cartellini stampati + reportPrinter.obj.pulisciDir(); + } + // update vari... + doUpdate(); + mod_storicoAzioniOperatore1.eh_stampa += new EventHandler(mod_storicoAzioniOperatore1_eh_stampa); + mod_SterrTagIN1.doUpdate(); + mod_SterrTagIN1.eh_reqUpdate += mod_PostRX_NT1_eh_reqUpdate; + mod_selLineaNtDt1.eh_lineSelected += mod_selLineaNtDt1_eh_doRefresh; + mod_selLineaNtDt1.eh_showHideStorico += mod_selLineaNtDt1_eh_showHideStorico; + } + /// + /// Handles the showHideStorico event of the mod_selLineaNtDt1_eh control. + /// + /// The source of the event. + /// The instance containing the event data. + private void mod_selLineaNtDt1_eh_showHideStorico(object sender, EventArgs e) + { + fixStorico(); + } + /// + /// Handles the doRefresh event of the mod_selLineaNtDt1_eh control. + /// + /// The source of the event. + /// The instance containing the event data. + private void mod_selLineaNtDt1_eh_doRefresh(object sender, EventArgs e) + { + doUpdate(); + mod_SterrTagIN1.doUpdate(); + } + /// + /// richiesta update del controllo SAO + /// + /// + /// + void mod_PostRX_NT1_eh_reqUpdate(object sender, EventArgs e) + { + doUpdate(); + } + /// + /// aggiorna messaggi e css + /// + private void updateMessCss() + { + lblWarning.Text = Postazione.warningText; + lblMessaggi.Text = Postazione.messaggiText; + pnlAll.CssClass = Postazione.CssClass; + } + /// + /// richiesta (ri)stampa UDC + /// + /// + /// + void mod_storicoAzioniOperatore1_eh_stampa(object sender, EventArgs e) + { + mod_SterrTagIN1.ristampa(); + } + /// + /// sistemo visualizzazione pannelli + /// + private void fixPanels() + { + // default: moduli NON visibili SE non ho linea indicata.. + bool enableBtn = false; + if (Postazione.currCodCella != "") enableBtn = true; + mod_SterrTagIN1.Visible = enableBtn; + fixStorico(); + } + /// + /// wrapper traduzione + /// + /// + /// + public string traduci(object lemma) + { + return user_std.UtSn.Traduci(lemma.ToString()); + } + /// + /// toggle controllo storico + /// + private void fixStorico() + { + pnlSAO.Visible = Postazione.showStorico; + } + /// + /// update generale controlli + /// + private void doUpdate() + { + updateMessCss(); + fixPanels(); + mod_storicoAzioniOperatore1.doUpdate(); + } + /// + /// calcola postazione corrente (ip, name, printer) + /// + private void updatePrinterPostazione() + { + Postazione.IP = Request.UserHostName; + Postazione.setupPrinter(); + // mostro warning se postazione non configurata... + if (Postazione.printer == "n.d.") + { + lblWarning.Text = traduci("lblWarnPostNonConf"); + } } } } \ No newline at end of file diff --git a/GMW/SterrTaglioIN.aspx.designer.cs b/GMW/SterrTaglioIN.aspx.designer.cs index fa35e5c0..6ad385c1 100644 --- a/GMW/SterrTaglioIN.aspx.designer.cs +++ b/GMW/SterrTaglioIN.aspx.designer.cs @@ -12,6 +12,60 @@ namespace GMW { public partial class SterrTaglioIN { + /// + /// mod_selLineaNtDt1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_selLineaNtDt mod_selLineaNtDt1; + + /// + /// pnlAll control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlAll; + + /// + /// pnlSAO control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlSAO; + + /// + /// mod_storicoAzioniOperatore1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_storicoAzioniOperatore mod_storicoAzioniOperatore1; + + /// + /// lblMessaggi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblMessaggi; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + /// /// mod_SterrTagIN1 control. /// diff --git a/GMW/WebUserControls/mod_SterrTagIN.ascx b/GMW/WebUserControls/mod_SterrTagIN.ascx index 9d2efff6..ea4ceb55 100644 --- a/GMW/WebUserControls/mod_SterrTagIN.ascx +++ b/GMW/WebUserControls/mod_SterrTagIN.ascx @@ -1,76 +1,37 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_SterrTagIN.ascx.cs" Inherits="GMW.WebUserControls.mod_SterrTagIN" %> -<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> -<%@ Register Src="mod_storicoAzioniOperatore.ascx" TagName="mod_storicoAzioniOperatore" TagPrefix="uc1" %> + <% if (false) { %> - + + <% } %> - -
-
-
-
- -
- - -
-
- -
-   -
-
- -
- -
-
-
- -
-
- -
-
-
-
-
- -
-
- -
- - - - - - -
-
-
- -
-
- -   - -
-
- -
- -
+ +
+
+   +
+
+
+
-
-
+ +   + +
+
+ +
+
+
+
+
+
+ <%: traduci("UDC") %>
-
-
+
@@ -139,15 +100,7 @@ -
-
-
-
- -
- -
- +
diff --git a/GMW/WebUserControls/mod_SterrTagIN.ascx.cs b/GMW/WebUserControls/mod_SterrTagIN.ascx.cs index 6278e823..43bcda1a 100644 --- a/GMW/WebUserControls/mod_SterrTagIN.ascx.cs +++ b/GMW/WebUserControls/mod_SterrTagIN.ascx.cs @@ -13,6 +13,7 @@ namespace GMW.WebUserControls public partial class mod_SterrTagIN : System.Web.UI.UserControl { public event EventHandler eh_nuovaRicerca; + public event EventHandler eh_reqUpdate; /// /// stringa UID univoca /// @@ -33,20 +34,9 @@ namespace GMW.WebUserControls if (!Page.IsPostBack) { fixRicercaUdc(); - calcolaPostazione(); traduciObj(); - storicoVisibile = false; - fixStorico(); - // imposto pos abilitata x cancellazione - mod_storicoAzioniOperatore1.IdxPosizione2del = memLayer.ML.confReadInt("IdxPosizioneSterrati"); - // se c'è imposto linea da sessione - if (currCodLinea != "") - { - checkSelDDL(currCodLinea, false); - } } doChecks(); - mod_storicoAzioniOperatore1.eh_stampa += new EventHandler(mod_storicoAzioniOperatore1_eh_stampa); } /// /// verifica se si debab mostrare un campo ricerca UDC attivo... @@ -63,9 +53,9 @@ namespace GMW.WebUserControls /// /// /// - void mod_storicoAzioniOperatore1_eh_stampa(object sender, EventArgs e) + public void ristampa() { - MagClass.magazzino.stampaUdc(udcReq, postazione_printer, tipoCartellino.cartSterr, Request.UserHostName); + MagClass.magazzino.stampaUdc(udcReq, Postazione.printer, tipoCartellino.cartSterr, Request.UserHostName); // registro ri-stampa UDC DateTime adesso = DateTime.Now; // calcolo particolare... @@ -80,7 +70,7 @@ namespace GMW.WebUserControls { logger.lg.scriviLog(string.Format("Errore recupero particolare UDC Sterrato IN {0}", udcReq), tipoLog.EXCEPTION); } - MagClass.magazzino.taSAO.insertQuery(adesso, MagClass.magazzino.CodSoggCurrUser, postazione_name, postazione_IP, udcReq, particolare, "stampaUDC", "Ri-Stampato UDC Sterrato IN"); + MagClass.magazzino.taSAO.insertQuery(adesso, MagClass.magazzino.CodSoggCurrUser, Postazione.name, Postazione.IP, udcReq, particolare, "stampaUDC", "Ri-Stampato UDC Sterrato IN"); } /// /// udc da stampare @@ -104,13 +94,7 @@ namespace GMW.WebUserControls /// private void traduciObj() { - // labels - lblPostazione.Text = string.Format("{2}: {0} ({1})", postazione_name, postazione_IP, traduci("postazione")); - lblPrinter.Text = string.Format("{1}: {0}", postazione_printer, traduci("stampante")); - lblCurrentPage.Text = traduci(PagCorrente); btnCerca.Text = traduci("btnSearch"); - // fix storico - fixStorico(); } /// /// restituisce il nome della pagina corrente @@ -141,75 +125,6 @@ namespace GMW.WebUserControls return user_std.UtSn.Traduci(lemma.ToString()); } /// - /// calcola postazione corrente (ip, name, printer) - /// - private void calcolaPostazione() - { - postazione_IP = Request.UserHostName; - postazione_name = dnsUtils.DetermineCompName(postazione_IP); - // cerco stampante x postazione - postazione_printer = "n.d."; - try - { - DS_Applicazione.ElencoPostazioniDataTable tabPost = DataProxy.obj.taElPost.getByCod(postazione_name); - if (tabPost.Rows.Count > 0) - { - postazione_printer = tabPost[0].stampante; - } - else - { - tabPost = DataProxy.obj.taElPost.getByCod("default"); - postazione_printer = tabPost[0].stampante; - } - } - catch - { } - // mostro warning se postazione non configurata... - lblWarning.Visible = (postazione_printer == "n.d."); - } - /// - /// indica name della postazione corrente - /// - protected string postazione_name - { - get - { - return memLayer.ML.StringSessionObj("postazione_name"); - } - set - { - memLayer.ML.setSessionVal("postazione_name", value); - } - } - /// - /// indica ip della postazione corrente - /// - protected string postazione_IP - { - get - { - return memLayer.ML.StringSessionObj("postazione_IP"); - } - set - { - memLayer.ML.setSessionVal("postazione_IP", value); - } - } - /// - /// indica stampante associata alla postazione corrente - /// - protected string postazione_printer - { - get - { - return memLayer.ML.StringSessionObj("postazione_printer"); - } - set - { - memLayer.ML.setSessionVal("postazione_printer", value); - } - } - /// /// indica se i caratteri vadano forzati a maiuscoli /// public bool forceUppercase @@ -277,25 +192,15 @@ namespace GMW.WebUserControls { if (barcodeIn != "") { - lblMessaggi.Text = string.Format("Barcode digitato: {0}", barcodeIn); + Postazione.messaggiText = string.Format("Barcode digitato: {0}", barcodeIn); switch (tipoBCode) { - case tipoCodiceBarcode.Comando: - // verifico se il comando sia di tipo "seleziona linea" - string cmdSelLine = memLayer.ML.confReadString("cmdSelLine"); - pnlAll.CssClass = "stileComandoOk"; - if (barcodeIn.StartsWith(cmdSelLine)) - { - // allora provo ad impostare la linea! - checkSelDDL(barcodeIn.Replace(cmdSelLine, ""), true); - } - break; case tipoCodiceBarcode.UDC: // se linea non selezionata ERRORE!!! - if (ddlLinea.SelectedValue == "W1000") + if (Postazione.currCodLinea == "W1000") { - lblMessaggi.Text += " - Attenzione, IMPOSTARE LINEA!"; - pnlAll.CssClass = "stileComandoKo"; + Postazione.messaggiText += " - Attenzione, IMPOSTARE LINEA!"; + Postazione.CssClass = "stileComandoKo"; } else { @@ -314,10 +219,10 @@ namespace GMW.WebUserControls catch { } // controllo se UDC non sia già stato spostato in posizione... ds magazzino, posiz udc corrente, get By udc - if (idxCellaCurr == idxCella) + if (idxCellaCurr == Postazione.currIdxCella) { - lblMessaggi.Text += " - Attenzione, UDC già caricato!"; - pnlAll.CssClass = "stileComandoKo"; + Postazione.messaggiText += " - Attenzione, UDC già caricato!"; + Postazione.CssClass = "stileComandoKo"; } else { @@ -342,43 +247,42 @@ namespace GMW.WebUserControls } DateTime adesso = DateTime.Now; // se ho cod cella sposto! - MagClass.magazzino.spostaUDC(memLayer.ML.StringSessionObj("CodCS"), barcodeIn, idxCella, memLayer.ML.confReadBool("spostaUdcResettaLdp"), Request.UserHostName); + MagClass.magazzino.spostaUDC(memLayer.ML.StringSessionObj("CodCS"), barcodeIn, Postazione.currIdxCella, memLayer.ML.confReadBool("spostaUdcResettaLdp"), Request.UserHostName); // registro sposstamento UDC - MagClass.magazzino.taSAO.insertQuery(adesso, codSogg, postazione_name, postazione_IP, barcodeIn, particolare, "spostaUDC", string.Format("Caricato UDC Fusi su linea {2}, qta: {0} {1} ", qta, noteTrim, currCodLinea)); - pnlAll.CssClass = "stileComandoOk"; + MagClass.magazzino.taSAO.insertQuery(adesso, codSogg, Postazione.name, Postazione.IP, barcodeIn, particolare, "spostaUDC", string.Format("Caricato UDC Fusi su linea {2}, qta: {0} {1} ", qta, noteTrim, Postazione.currCodLinea)); + Postazione.CssClass = "stileComandoOk"; } } else { // udc NON corretto, mostro errore... - lblMessaggi.Text += " - Attenzione, UDC NON VALIDO!"; - pnlAll.CssClass = "stileComandoKo"; + Postazione.messaggiText += " - Attenzione, UDC NON VALIDO!"; + Postazione.CssClass = "stileComandoKo"; } } } break; default: - lblMessaggi.Text += " - codice non riconosciuto!"; - pnlAll.CssClass = "stileComandoND"; + Postazione.messaggiText += " - codice non riconosciuto!"; + Postazione.CssClass = "stileComandoND"; break; } barcodeIn = ""; } else { - lblMessaggi.Text = traduci("AttesaBCode"); - pnlAll.CssClass = "stileAttesa"; + Postazione.messaggiText = traduci("AttesaBCode"); + Postazione.CssClass = "stileAttesa"; } doUpdate(); } /// /// aggiorna tabella + focus a barcode /// - private void doUpdate() + public void doUpdate() { grView.DataBind(); - mod_storicoAzioniOperatore1.doUpdate(); txtBarcode.Focus(); } /// @@ -389,14 +293,7 @@ namespace GMW.WebUserControls public bool httpLog(string _testoPre) { bool answ = false; - string postazione_IP = ""; - try - { - postazione_IP = string.Format(" | {0} | ", Request.UserHostName); - } - catch - { } - logger.lg.scriviLog(postazione_IP + _testoPre); + logger.lg.scriviLog(Postazione.IP + _testoPre); return answ; } /// @@ -407,14 +304,7 @@ namespace GMW.WebUserControls public bool httpLog(string testoLog, tipoLog tipo) { bool answ = false; - string postazione_IP = ""; - try - { - postazione_IP = string.Format(" | {0} | ", Request.UserHostName); - } - catch - { } - logger.lg.scriviLog(postazione_IP + testoLog, tipo); + logger.lg.scriviLog(Postazione.IP + testoLog, tipo); return answ; } /// @@ -426,45 +316,6 @@ namespace GMW.WebUserControls doChecks(); } /// - /// toggle controllo storico - /// - private void fixStorico() - { - pnlSAO.Visible = storicoVisibile; - if (storicoVisibile) - { - btnShowHideStorico.Text = traduci("btnHideStorico"); - } - else - { - btnShowHideStorico.Text = traduci("btnShowStorico"); - } - } - /// - /// imposto visibilità pannelo storico - /// - protected bool storicoVisibile - { - get - { - return memLayer.ML.BoolSessionObj(string.Format("showHist_{0}", this.ID)); - } - set - { - memLayer.ML.setSessionVal(string.Format("showHist_{0}", this.ID), value); - } - } - /// - /// gestisco evento show/hide storico - /// - /// - /// - protected void btnShowHideStorico_Click(object sender, EventArgs e) - { - storicoVisibile = !storicoVisibile; - fixStorico(); - } - /// /// passo alla modalità OUT /// /// @@ -474,107 +325,6 @@ namespace GMW.WebUserControls Response.Redirect("SterrTaglioOUT.aspx"); } /// - /// selezione di una linea da elenco DropDownList - /// - /// - /// - protected void ddlLinea_SelectedIndexChanged(object sender, EventArgs e) - { - checkSelDDL(ddlLinea.SelectedValue, true); - } - /// - /// tenta di selezionare la linea indicata - /// - /// - private void checkSelDDL(string codLinea, bool doSave) - { - //...aggiorno ddl - try - { - ddlLinea.SelectedValue = codLinea; - pnlAll.CssClass = "stileAttesa"; - } - catch - { - // mostro errore - lblMessaggi.Text = string.Format("Errore selezione linea: codice {0} non trovato!", codLinea); - pnlAll.CssClass = "stileComandoKo"; - } - if (doSave) - { - currCodLinea = codLinea; - } - // salvo codice cella! - try - { - codCella = MagClass.magazzino.taAL.getByKey(currCodLinea)[0].CodCella; - idxCella = MagClass.magazzino.taCelle.getByCodCella(codCella)[0].IdxCella; - } - catch - { - codCella = ""; - idxCella = 0; - } - doUpdate(); - } - /// - /// CODICE cella associata alla linea corrente - /// - protected string codCella - { - get - { - string answ = ""; - if (memLayer.ML.isInSessionObject("codCella")) - { - answ = memLayer.ML.StringSessionObj("codCella"); - } - return answ; - } - set - { - memLayer.ML.setSessionVal("codCella", value); - } - } - /// - /// IDX cella associata alla linea corrente - /// - protected int idxCella - { - get - { - int answ = 0; - if (memLayer.ML.isInSessionObject("IdxCellaLineaST_IN")) - { - answ = memLayer.ML.IntSessionObj("IdxCellaLineaST_IN"); - } - return answ; - } - set - { - memLayer.ML.setSessionVal("IdxCellaLineaST_IN", value); - } - } - /// - /// codice della linea corrente - /// - protected string currCodLinea - { - get - { - string answ = ""; - if (memLayer.ML.isInSessionObject(string.Format("LineaIn-{0}", uid))) - { - answ = memLayer.ML.StringSessionObj(string.Format("LineaIn-{0}", uid)); - } - return answ; - } - set - { - memLayer.ML.setSessionVal(string.Format("LineaIn-{0}", uid), value); - } - } - /// /// cambiato valore in ricerca /// /// diff --git a/GMW/WebUserControls/mod_SterrTagIN.ascx.designer.cs b/GMW/WebUserControls/mod_SterrTagIN.ascx.designer.cs index 0aa1e451..4566bc5a 100644 --- a/GMW/WebUserControls/mod_SterrTagIN.ascx.designer.cs +++ b/GMW/WebUserControls/mod_SterrTagIN.ascx.designer.cs @@ -13,121 +13,22 @@ namespace GMW.WebUserControls { public partial class mod_SterrTagIN { /// - /// pnlAll control. + /// BundleReference1 control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.Panel pnlAll; + protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference1; /// - /// lblPostazione control. + /// BundleReference2 control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.Label lblPostazione; - - /// - /// btnRefresh control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Button btnRefresh; - - /// - /// btnShowHideStorico control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Button btnShowHideStorico; - - /// - /// lblPrinter control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Label lblPrinter; - - /// - /// lblCurrentPage control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Label lblCurrentPage; - - /// - /// hlMenu control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.HyperLink hlMenu; - - /// - /// pnlSAO control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Panel pnlSAO; - - /// - /// mod_storicoAzioniOperatore1 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::GMW.WebUserControls.mod_storicoAzioniOperatore mod_storicoAzioniOperatore1; - - /// - /// btnIn control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Button btnIn; - - /// - /// btnOut control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Button btnOut; - - /// - /// ddlLinea control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.DropDownList ddlLinea; - - /// - /// odsLinea control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.ObjectDataSource odsLinea; + protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference2; /// /// lblParticolareAttivo control. @@ -157,22 +58,22 @@ namespace GMW.WebUserControls { protected global::System.Web.UI.WebControls.Label lblDisegno; /// - /// lblMessaggi control. + /// lblBarcode control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.Label lblMessaggi; + protected global::System.Web.UI.WebControls.Label lblBarcode; /// - /// lblWarning control. + /// txtBarcode control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.Label lblWarning; + protected global::System.Web.UI.WebControls.TextBox txtBarcode; /// /// txtCerca control. @@ -218,23 +119,5 @@ namespace GMW.WebUserControls { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblNumRec; - - /// - /// lblBarcode control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Label lblBarcode; - - /// - /// txtBarcode control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.TextBox txtBarcode; } } diff --git a/GMW/WebUserControls/mod_animeMult.ascx.cs b/GMW/WebUserControls/mod_animeMult.ascx.cs index 9839f3dd..230347e7 100644 --- a/GMW/WebUserControls/mod_animeMult.ascx.cs +++ b/GMW/WebUserControls/mod_animeMult.ascx.cs @@ -49,7 +49,7 @@ namespace GMW.WebUserControls /// /// /// - void mod_storicoAzioniOperatore1_eh_stampa(object sender, EventArgs e) + public void ristampa() { MagClass.magazzino.stampaUdc(udcReq, Postazione.printer, tipoCartellino.cartAnime, Request.UserHostName); // registro ri-stampa UDC diff --git a/GMW/animeMult.aspx.cs b/GMW/animeMult.aspx.cs index b639386d..6968c0be 100644 --- a/GMW/animeMult.aspx.cs +++ b/GMW/animeMult.aspx.cs @@ -26,10 +26,8 @@ namespace GMW // update vari... doUpdate(); mod_storicoAzioniOperatore1.eh_stampa += new EventHandler(mod_storicoAzioniOperatore1_eh_stampa); -#if false mod_animeMult1.doUpdate(); mod_animeMult1.eh_reqUpdate += mod_PostRX_NT1_eh_reqUpdate; -#endif mod_selLineaNtDt1.eh_lineSelected += mod_selLineaNtDt1_eh_doRefresh; mod_selLineaNtDt1.eh_showHideStorico += mod_selLineaNtDt1_eh_showHideStorico; } @@ -50,9 +48,7 @@ namespace GMW private void mod_selLineaNtDt1_eh_doRefresh(object sender, EventArgs e) { doUpdate(); -#if false mod_animeMult1.doUpdate(); -#endif } /// /// richiesta update del controllo SAO @@ -79,9 +75,7 @@ namespace GMW /// void mod_storicoAzioniOperatore1_eh_stampa(object sender, EventArgs e) { -#if false mod_animeMult1.ristampa(); -#endif } /// /// sistemo visualizzazione pannelli @@ -90,9 +84,7 @@ namespace GMW { // default: moduli visibili (non serve linea).. bool enableBtn = true; -#if false mod_animeMult1.Visible = enableBtn; -#endif fixStorico(); } /// diff --git a/GMW/bin/GMW.dll b/GMW/bin/GMW.dll index e4b057f1..d391eafb 100644 Binary files a/GMW/bin/GMW.dll and b/GMW/bin/GMW.dll differ