diff --git a/GMW/Post_SterrTaglio.aspx.cs b/GMW/Post_SterrTaglio.aspx.cs index 169eeebe..98e6aea2 100644 --- a/GMW/Post_SterrTaglio.aspx.cs +++ b/GMW/Post_SterrTaglio.aspx.cs @@ -5,122 +5,122 @@ using System.Web.UI; namespace GMW { - public partial class Post_SterrTaglio : System.Web.UI.Page + public partial class Post_SterrTaglio : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) { - 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.cdvi("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_sterrTaglio.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_sterrTaglio.doResetData(); - mod_sterrTaglio.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_sterrTaglio.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_sterrTaglio.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"); - } - } + if (!Page.IsPostBack) + { + updatePrinterPostazione(); + // fix css... + Postazione.CssClass = "stileAttesa"; + // imposto pos abilitata x cancellazione + mod_storicoAzioniOperatore1.IdxPosizione2del = memLayer.ML.cdvi("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_sterrTaglio.eh_ucev += Mod_finiti_eh_ucev; + 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_sterrTaglio.doResetData(); + mod_sterrTaglio.doUpdate(); + } + /// + /// richiesta update del controllo SAO + /// + /// + /// + void Mod_finiti_eh_ucev(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_sterrTaglio.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_sterrTaglio.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/WebUserControls/mod_finiti.ascx.cs b/GMW/WebUserControls/mod_finiti.ascx.cs index b08b28b0..325f1b58 100644 --- a/GMW/WebUserControls/mod_finiti.ascx.cs +++ b/GMW/WebUserControls/mod_finiti.ascx.cs @@ -5,298 +5,298 @@ using System.Web.UI.WebControls; namespace GMW.WebUserControls { - public partial class mod_finiti : GMW_data.UserControlBCodeMan + public partial class mod_finiti : GMW_data.UserControlBCodeMan + { + /// + /// Imposta variabili specifiche classe + /// + public override void setupVariabili() { - /// - /// Imposta variabili specifiche classe - /// - public override void setupVariabili() - { - flusso = "FI"; - statoUDC = "Fin"; - eventoUDC = "UDC_FINWIP"; - eventoUDC_qta = "UDC_QTY"; - codLineaKo = "W2100"; - tipoUdcLinea = "Finito"; - IdxPosizioneIn = memLayer.ML.cdvi("IdxPosizioneTrattati"); - IdxPosizioneOut = memLayer.ML.cdvi("IdxPosizioneFiniti"); - IdxPosizioneOutTempName = "IdxPosizioneFinTemp"; - sVarIdxCella = "IdxCellaLineaFiniti"; - IdxPosizioneOutTemp = memLayer.ML.cdvi(IdxPosizioneOutTempName); - tipoCartCurr = tipoCartellino.cartFiniti; - enableBCodeParticolare = false; - } - /// - /// Codice AL target - /// - public override string destAL - { - get - { - return lblAL.Text.Trim(); - } - set - { - lblAL.Text = value; - } - } - /// - /// controlla particolare selezionato - /// - public override void checkParticolare() - { - if (currParticolare != "") - { - lblParticolareAttivo.Text = string.Format("Particolare selezionato {0}", currParticolare); - // aggiungo descrizione del particolare - string descr = ""; - string disegno = ""; - getDescrDisegnoParticolare(currParticolare, ref descr, ref disegno); - lblDescrAttivo.Text = descr; - lblDisegno.Text = disegno; - } - else - { - lblParticolareAttivo.Text = "..."; - lblDescrAttivo.Text = ""; - lblDisegno.Text = ""; - } - } - /// - /// sistemo labels oggetti - /// - public override void traduciObj() - { - base.traduciObj(); - // buttons - btnEmptyNote.Text = traduci("btnEmptyNote"); - } - /// - /// num pezzi dell'ultimo UDC del particolare generato - /// - public override int pezziUdc - { - get - { - int answ = base.pezziUdc; - if (answ == 0) - { - answ = memLayer.ML.cdvi("QtaImballoFiniti"); - } - return answ; - } - } - /// - /// valore barcode - /// - public override string barcodeIn - { - get - { - return txtBarcode.Text.Trim(); - } - set - { - txtBarcode.Text = value; - } - } - /// - /// qta pezzi TOTALE - /// - public override int qta - { - get - { - int qta = 0; - try - { - qta = Convert.ToInt32(txtQta.Text.Trim()); - } - catch - { } - return qta; - } - set - { - txtQta.Text = value.ToString(); - } - } - /// - /// Note utente effettive - /// - public override string campoNote - { - get - { - return txtNote.Text.Trim(); - } - - set - { - txtNote.Text = value; - } - } - /// - /// IMposta e legge imballo selezionato - /// - public override string imballoSel - { - get - { - return ddlImballi.SelectedValue; - } - set - { - ddlImballi.SelectedValue = value; - } - } - /// - /// crea eventualmente UDC per particolare in AL di destinazione e restituisce codice UDC - /// - /// Forza lo spostamento a idxCella corrente... - /// indica se si debba creare UDC in uscita se mancasse... - public override string checkCreaUDC(bool forceMove, bool createUdcOut) - { - string udcDest = base.checkCreaUDC(forceMove, createUdcOut); - grViewDest.DataBind(); - return udcDest; - } - /// - /// aggiorna tabella + focus a barcode - /// - public override void doUpdate() - { - base.doUpdate(); - grView.DataBind(); - grViewDest.DataBind(); - txtBarcode.Focus(); - // raise dell'evento - raiseEvent(ucEvType.ReqUpdateParent); - } - /// - /// controllo l'abilitazione alla stampa UDC: - /// - particolare ok - /// - qta > 0 - /// - udc da consumo totale/parziale - /// altrimenti disabilito btn stampa - /// - public override void checkStampa() - { - bool stampaOk = false; - //controllo siano inseriti valori qta - if (qta > 0 && grViewDest.SelectedIndex >= 0) - { - // controllo ci siano particolare - if (currParticolare != "") - { - stampaOk = true; - txtNote.Focus(); - } - } - divNote.Visible = stampaOk; - } - /// - /// Gestione reset - /// - public override void doResetData() - { - grViewDest.SelectedIndex = -1; - base.doResetData(); - } - /// - /// traduce gli header delle colonne - /// - /// - /// - protected void grView_DataBound(object sender, EventArgs e) - { - if (grView.Rows.Count > 0) - { - LinkButton lb; - // aggiorno gli headers - foreach (TableCell cella in grView.HeaderRow.Cells) - { - try - { - lb = (LinkButton)cella.Controls[0]; - lb.Text = traduci(lb.Text); - } - catch - { } - } - int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); - lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); - } - else - { - lblNumRec.Text = ""; - } - } - /// - /// evento selezione grView destinazione: ricarico dati! - /// - /// - /// - protected void grViewDest_SelectedIndexChanged(object sender, EventArgs e) - { - // ricarico dati dell'UDC come particolare e quantità... - currUDC = grViewDest.SelectedDataKey["UDC"].ToString(); - if (MagClass.magazzino.checkUDC(currUDC)) - { - currParticolare = DataProxy.obj.taCartellini.stp_getByUdc(currUDC)[0].Particolare; - qta = Convert.ToInt32(DataProxy.obj.taCartellini.stp_getByUdc(currUDC)[0].Qta); - selezionaImballo(); - } - Postazione.messaggiText = traduci("partSelected"); - Postazione.warningText = ""; - Postazione.CssClass = "stileComandoOk"; - doChecks(); - doUpdate(); - // fisso focus su note! - txtNote.Focus(); - } - /// - /// sistema modalità input - /// - public override void setVisibility() - { - bool showBtn = false; - // ora controllo btn quantità - if (grViewDest.SelectedIndex >= 0) - { - showBtn = true; - } - divQta.Visible = showBtn; - } - /// - /// reset della selezione - /// - /// - /// - public override void btnReset_Click(object sender, EventArgs e) - { - grViewDest.SelectedIndex = -1; - base.btnReset_Click(sender, e); - } - /// - /// gestione specifica update qta - /// - public override void aggiornaQta() - { - base.aggiornaQta(); - grViewDest.SelectedIndex = -1; - setVisibility(); - doUpdate(); - } - /// - /// qui la selezione è x scaricare... - /// - /// - /// - protected void grView_SelectedIndexChanged(object sender, EventArgs e) - { - consumaUdc(grView.SelectedValue.ToString()); - doUpdate(); - } + flusso = "FI"; + statoUDC = "Fin"; + eventoUDC = "UDC_FINWIP"; + eventoUDC_qta = "UDC_QTY"; + codLineaKo = "W2100"; + tipoUdcLinea = "Finito"; + IdxPosizioneIn = memLayer.ML.cdvi("IdxPosizioneTrattati"); + IdxPosizioneOut = memLayer.ML.cdvi("IdxPosizioneFiniti"); + IdxPosizioneOutTempName = "IdxPosizioneFinTemp"; + sVarIdxCella = "IdxCellaLineaFiniti"; + IdxPosizioneOutTemp = memLayer.ML.cdvi(IdxPosizioneOutTempName); + tipoCartCurr = tipoCartellino.cartFiniti; + enableBCodeParticolare = false; } + /// + /// Codice AL target + /// + public override string destAL + { + get + { + return lblAL.Text.Trim(); + } + set + { + lblAL.Text = value; + } + } + /// + /// controlla particolare selezionato + /// + public override void checkParticolare() + { + if (currParticolare != "") + { + lblParticolareAttivo.Text = string.Format("Particolare selezionato {0}", currParticolare); + // aggiungo descrizione del particolare + string descr = ""; + string disegno = ""; + getDescrDisegnoParticolare(currParticolare, ref descr, ref disegno); + lblDescrAttivo.Text = descr; + lblDisegno.Text = disegno; + } + else + { + lblParticolareAttivo.Text = "..."; + lblDescrAttivo.Text = ""; + lblDisegno.Text = ""; + } + } + /// + /// sistemo labels oggetti + /// + public override void traduciObj() + { + base.traduciObj(); + // buttons + btnEmptyNote.Text = traduci("btnEmptyNote"); + } + /// + /// num pezzi dell'ultimo UDC del particolare generato + /// + public override int pezziUdc + { + get + { + int answ = base.pezziUdc; + if (answ == 0) + { + answ = memLayer.ML.cdvi("QtaImballoFiniti"); + } + return answ; + } + } + /// + /// valore barcode + /// + public override string barcodeIn + { + get + { + return txtBarcode.Text.Trim(); + } + set + { + txtBarcode.Text = value; + } + } + /// + /// qta pezzi TOTALE + /// + public override int qta + { + get + { + int qta = 0; + try + { + qta = Convert.ToInt32(txtQta.Text.Trim()); + } + catch + { } + return qta; + } + set + { + txtQta.Text = value.ToString(); + } + } + /// + /// Note utente effettive + /// + public override string campoNote + { + get + { + return txtNote.Text.Trim(); + } + + set + { + txtNote.Text = value; + } + } + /// + /// IMposta e legge imballo selezionato + /// + public override string imballoSel + { + get + { + return ddlImballi.SelectedValue; + } + set + { + ddlImballi.SelectedValue = value; + } + } + /// + /// crea eventualmente UDC per particolare in AL di destinazione e restituisce codice UDC + /// + /// Forza lo spostamento a idxCella corrente... + /// indica se si debba creare UDC in uscita se mancasse... + public override string checkCreaUDC(bool forceMove, bool createUdcOut) + { + string udcDest = base.checkCreaUDC(forceMove, createUdcOut); + grViewDest.DataBind(); + return udcDest; + } + /// + /// aggiorna tabella + focus a barcode + /// + public override void doUpdate() + { + base.doUpdate(); + grView.DataBind(); + grViewDest.DataBind(); + txtBarcode.Focus(); + // raise dell'evento + raiseEvent(ucEvType.ReqUpdateParent); + } + /// + /// controllo l'abilitazione alla stampa UDC: + /// - particolare ok + /// - qta > 0 + /// - udc da consumo totale/parziale + /// altrimenti disabilito btn stampa + /// + public override void checkStampa() + { + bool stampaOk = false; + //controllo siano inseriti valori qta + if (qta > 0 && grViewDest.SelectedIndex >= 0) + { + // controllo ci siano particolare + if (currParticolare != "") + { + stampaOk = true; + txtNote.Focus(); + } + } + divNote.Visible = stampaOk; + } + /// + /// Gestione reset + /// + public override void doResetData() + { + grViewDest.SelectedIndex = -1; + base.doResetData(); + } + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + /// + /// evento selezione grView destinazione: ricarico dati! + /// + /// + /// + protected void grViewDest_SelectedIndexChanged(object sender, EventArgs e) + { + // ricarico dati dell'UDC come particolare e quantità... + currUDC = grViewDest.SelectedDataKey["UDC"].ToString(); + if (MagClass.magazzino.checkUDC(currUDC)) + { + currParticolare = DataProxy.obj.taCartellini.stp_getByUdc(currUDC)[0].Particolare; + qta = Convert.ToInt32(DataProxy.obj.taCartellini.stp_getByUdc(currUDC)[0].Qta); + selezionaImballo(); + } + Postazione.messaggiText = traduci("partSelected"); + Postazione.warningText = ""; + Postazione.CssClass = "stileComandoOk"; + doChecks(); + doUpdate(); + // fisso focus su note! + txtNote.Focus(); + } + /// + /// sistema modalità input + /// + public override void setVisibility() + { + bool showBtn = false; + // ora controllo btn quantità + if (grViewDest.SelectedIndex >= 0) + { + showBtn = true; + } + divQta.Visible = showBtn; + } + /// + /// reset della selezione + /// + /// + /// + public override void btnReset_Click(object sender, EventArgs e) + { + grViewDest.SelectedIndex = -1; + base.btnReset_Click(sender, e); + } + /// + /// gestione specifica update qta + /// + public override void aggiornaQta() + { + base.aggiornaQta(); + grViewDest.SelectedIndex = -1; + setVisibility(); + doUpdate(); + } + /// + /// qui la selezione è x scaricare... + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + consumaUdc(grView.SelectedValue.ToString()); + doUpdate(); + } + } } \ No newline at end of file diff --git a/GMW/WebUserControls/mod_sterrTaglio.ascx b/GMW/WebUserControls/mod_sterrTaglio.ascx index 4e2aed88..9f18fa70 100644 --- a/GMW/WebUserControls/mod_sterrTaglio.ascx +++ b/GMW/WebUserControls/mod_sterrTaglio.ascx @@ -1,7 +1,7 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_sterrTaglio.ascx.cs" Inherits="GMW.WebUserControls.mod_sterrTaglio" %> <% if (false) - { %> + { %> <% } %> @@ -9,179 +9,179 @@
-
-
-
- - <%: traduci("UDC") %> -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
+
+
+
+ + <%: traduci("UDC") %> +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
-
-
- -
-
- -
- -
-
- -
- -
-
-
- <%: traduci("Note") %> -
-
- - -
-
- <%: traduci("btnStampaUdc") %> -
-
+
+
+
+
-
-
-
- <%: traduci("Destinazione") %> (AL) -
-
-
- -
-
- - - - - - - - - - - - - - - - <%: traduci("Reset") %> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
+
+ +
+ +
+
+ +
+ +
+
+
+ <%: traduci("Note") %> +
+
+ + +
+
+ <%: traduci("btnStampaUdc") %> +
+
+
+
+
+
+ <%: traduci("Destinazione") %> (AL) +
+
+
+ +
+
+ + + + + + + + + + + + + + + + <%: traduci("Reset") %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
-
-
-
- <%: traduci("lblCesta") %> -
-
- -
-
-
-
- <%: traduci("Qta") %> -
-
- - <%: traduci("updateQty") %> -
-
+
+
+ <%: traduci("lblCesta") %> +
+
+ +
+
+
+
+ <%: traduci("Qta") %> +
+
+ + <%: traduci("updateQty") %> +
+
+
diff --git a/GMW/WebUserControls/mod_sterrTaglio.ascx.cs b/GMW/WebUserControls/mod_sterrTaglio.ascx.cs index 63f3e171..0c43f463 100644 --- a/GMW/WebUserControls/mod_sterrTaglio.ascx.cs +++ b/GMW/WebUserControls/mod_sterrTaglio.ascx.cs @@ -6,95 +6,40 @@ using System.Web.UI.WebControls; namespace GMW.WebUserControls { - public partial class mod_sterrTaglio : System.Web.UI.UserControl + public partial class mod_sterrTaglio : GMW_data.UserControlBCodeMan { /// - /// flusso associato (hard coded) a sterrati + /// Imposta variabili specifiche classe /// - protected string flusso = "ST"; - /// - /// stato associato (hard coded) a sterrati - /// - protected string statoUDC = "Sterr"; - /// - /// tipo di evento associato alla creazione dell'UDC - /// - protected string eventoUDC = "UDC_STTA"; - /// - /// tipo di evento associato alla modifica qta dell'UDC - /// - protected string eventoUDC_qta = "UDC_QTY"; - /// - /// dati x verifica CodSoggetto / matricola - /// - protected string preCodSogg = memLayer.ML.AppConf["prefCodSogg"]; - public event EventHandler eh_reqUpdate; - /// - /// stringa UID univoca - /// - public string uid + public override void setupVariabili() { - get - { - return this.UniqueID.Replace("$", "_").Replace("-", "_"); - } - } - /// - /// caricamento pagina - /// - /// - /// - protected void Page_Load(object sender, EventArgs e) - { - if (!Page.IsPostBack) - { - qta = 0; - // imposto destAL - destAL = AlByCella; - traduciObj(); - idxCella = Postazione.currIdxCella; - checkNumKeyIn(); - } - setVisibility(); - doChecks(); - } - /// - /// verifico se ci sia in sessione un input da NumKeyb e nel caso lometto in barcodeIn e processo... - /// - private void checkNumKeyIn() - { - if (memLayer.ML.isInSessionObject("numKeyIn")) - { - barcodeIn = memLayer.ML.StringSessionObj("numKeyIn"); - // svuoto valore in sessione... - memLayer.ML.emptySessionVal("numKeyIn"); - // controllo barcode... - checkBarcode(); - } - } - /// - /// IDX cella associata alla linea corrente - /// - protected int idxCella - { - get - { - int answ = 0; - if (memLayer.ML.isInSessionObject("IdxCellaLineaST")) - { - answ = memLayer.ML.IntSessionObj("IdxCellaLineaST"); - } - return answ; - } - set - { - memLayer.ML.setSessionVal("IdxCellaLineaST", value); - } + /// + /// flusso associato (hard coded) a sterrati + /// + flusso = "ST"; + /// + /// stato associato (hard coded) a sterrati + /// + statoUDC = "Sterr"; + eventoUDC = "UDC_STTA"; + eventoUDC_qta = "UDC_QTY"; + codLineaKo = "W1000"; + tipoUdcLinea = "Sterratura"; +#if true + IdxPosizioneIn = memLayer.ML.cdvi("IdxPosizioneSterrati"); +#endif + IdxPosizioneOut = memLayer.ML.cdvi("IdxPosizioneSterratiTemp"); + IdxPosizioneOutTempName = "IdxPosizioneSterratiTemp"; + sVarIdxCella = "IdxCellaLineaST"; + IdxPosizioneOutTemp = memLayer.ML.cdvi(IdxPosizioneOutTempName); + tipoCartCurr = tipoCartellino.cartSterr; + enableBCodeParticolare = false; } + /// /// Codice AL associato alla cella corrente... /// - protected string AlByCella + public override string AlByCella { get { @@ -119,7 +64,7 @@ namespace GMW.WebUserControls /// /// Codice AL target /// - protected string destAL + public override string destAL { get { @@ -131,51 +76,9 @@ namespace GMW.WebUserControls } } /// - /// richiesta (ri)stampa UDC - /// - /// - /// - public void ristampa() - { - bool fatto = false; - // registro ri-stampa UDC - DateTime adesso = DateTime.Now; - // calcolo particolare... - DS_magazzino.ElencoCartelliniRow rigaUDC; - string particolare = ""; - try - { - rigaUDC = MagClass.magazzino.taCartellini.getByUdc(udcReq)[0]; - particolare = rigaUDC.Particolare; - fatto = MagClass.magazzino.ristampaUdc(udcReq, Postazione.printer, Request.UserHostName); - } - catch - { - logger.lg.scriviLog(string.Format("Errore recupero particolare UDC Sterratura {0}", udcReq), tipoLog.EXCEPTION); - } -#if false - if (false) MagClass.magazzino.taSAO.insertQuery(adesso, MagClass.magazzino.CodSoggCurrUser, Postazione.name, Postazione.IP, udcReq, particolare, "stampaUDC", "Ri-Stampato UDC Sterratura"); -#endif - // raise dell'evento - if (eh_reqUpdate != null) - { - eh_reqUpdate(this, new EventArgs()); - } - } - /// - /// udc da stampare - /// - protected string udcReq - { - get - { - return memLayer.ML.StringSessionObj("udcSelSAO"); - } - } - /// /// controlla particolare selezionato /// - private void checkParticolare() + public override void checkParticolare() { if (currParticolare != "") { @@ -202,18 +105,9 @@ namespace GMW.WebUserControls } } /// - /// effettua controlli visibilità - /// - private void doChecks() - { - checkBarcode(); - checkStampa(); - checkParticolare(); - } - /// /// sistemo labels oggetti /// - private void traduciObj() + public override void traduciObj() { //txtBox txtQta.Text = memLayer.ML.cdv("QtaImballoSterr"); @@ -221,152 +115,9 @@ namespace GMW.WebUserControls btnEmptyNote.Text = traduci("btnEmptyNote"); } /// - /// restituisce il nome della pagina corrente - /// - protected string PagCorrente - { - get - { - string answ = ""; - Uri MyUrl = Request.Url; - string delimStr = "/"; - char[] delimiter = delimStr.ToCharArray(); - string[] finalUrl = MyUrl.LocalPath.ToString().Split(delimiter); - int n = finalUrl.Length; - answ = finalUrl[n - 1].ToString(); - DataLayer_AnagGen.PermessiRow riga = (DataLayer_AnagGen.PermessiRow)user_std.UtSn.permessi.Select(string.Format("URL = '{0}'", answ))[0]; - answ = riga.NOME; - return answ; - } - } - /// - /// wrapper traduzione - /// - /// - /// - public string traduci(object lemma) - { - return user_std.UtSn.Traduci(lemma.ToString()); - } - /// - /// indica il codice articolo correntemente selezionato - /// - protected string currParticolare - { - get - { - return memLayer.ML.StringSessionObj(string.Format("currParticolare_{0}", uid)); - } - set - { - memLayer.ML.setSessionVal(string.Format("currParticolare_{0}", uid), value, memLayer.ML.confReadBool("keepParticolareSel")); - } - } - /// - /// indica UDC correntemente selezionato - /// - protected string currUDC - { - get - { - return memLayer.ML.StringSessionObj(string.Format("UDC_{0}", uid)); - } - set - { - memLayer.ML.setSessionVal(string.Format("UDC_{0}", uid), value, memLayer.ML.confReadBool("keepParticolareSel")); - } - } - /// - /// indica se i caratteri vadano forzati a maiuscoli - /// - public bool forceUppercase - { - get - { - return memLayer.ML.confReadBool("forceUppercase"); - } - } - /// - /// num pezzi dell'ultimo UDC del particolare generato - /// - public int pezziUdc - { - get - { - int answ = 0; - try - { - answ = (int)MagClass.magazzino.taCartellini.getLastByParticolareStato(memLayer.ML.StringSessionObj("CodCS"), currParticolare, statoUDC, false)[0].Qta; - } - catch - { } - return answ; - } - } - /// - /// decodifica il tipo barcode acquisito - /// - public tipoCodiceBarcode tipoBCode - { - get - { - tipoCodiceBarcode answ = tipoCodiceBarcode.ND; - int trovati = 0; - int matricola = -1; - // provo a convertire in intero barcode x verifica eventuale matricola... - try - { - matricola = Convert.ToInt32(barcodeIn); - } - catch - { } - // controllo non si tratti di un comando... - string preCmd = memLayer.ML.AppConf["prefComandi"]; - if (barcodeIn.StartsWith(preCmd)) - { - answ = tipoCodiceBarcode.Comando; - } - else if ((TermClass.Ter.riconosciBarcode(barcodeIn) == tipoCodiceBarcode.Particolare)) // è un particolare... - { - answ = tipoCodiceBarcode.Particolare; - } - else if (barcodeIn.StartsWith(preCodSogg)) - { - // cerco cod soggetto... - if (DataProxy.obj.taTrascSogg.getByKey(barcodeIn, 0).Rows.Count == 1) - { - answ = tipoCodiceBarcode.Operatore; - } - } - else if (matricola >= 0) - { - if (DataProxy.obj.taTrascSogg.getByKey("", matricola).Rows.Count == 1) - { - answ = tipoCodiceBarcode.Operatore; - } - } - else - { - try - { - // cerco tra gitterbox (UDC)... - trovati = MagClass.magazzino.taCartellini.getByUdc(barcodeIn).Rows.Count; - if (trovati > 0) - { - answ = tipoCodiceBarcode.UDC; - } - } - catch - { - } - } - return answ; - } - } - /// /// valore barcode /// - public string barcodeIn + public override string barcodeIn { get { @@ -380,7 +131,7 @@ namespace GMW.WebUserControls /// /// qta pezzi TOTALE /// - public int qta + public override int qta { get { @@ -399,15 +150,30 @@ namespace GMW.WebUserControls } } /// + /// Note utente effettive + /// + public override string campoNote + { + get + { + return txtNote.Text.Trim(); + } + + set + { + txtNote.Text = value; + } + } + /// /// controlla se ci sia un barcode /// - private void checkBarcode() + public override void checkBarcode() { if (barcodeIn != "") { Postazione.messaggiText = string.Format("Barcode digitato: {0}", barcodeIn); Postazione.warningText = ""; - switch (tipoBCode) + switch (MagClass.tipoBCode_L3(barcodeIn)) { case tipoCodiceBarcode.UDC: // effettuo controlli che destAL siano disponibili... @@ -466,7 +232,7 @@ namespace GMW.WebUserControls else { // controllo SE esista già UDC in AL dest... altrimenti CREO!!! - udcDest = checkCreaUDC(); + udcDest = checkCreaUDC(true, true); // verifico che NON SIA GIA' associato... bool udcGiaAssociato = false; @@ -487,7 +253,7 @@ namespace GMW.WebUserControls Postazione.messaggiText += " - Attenzione, UDC già caricato!"; Postazione.CssClass = "stileComandoKo"; // controllo SE esista già UDC in AL dest... altrimenti CREO!!! - checkCreaUDC(); + checkCreaUDC(true, true); } else { @@ -608,35 +374,14 @@ namespace GMW.WebUserControls } barcodeIn = ""; } -#if false - else - { - Postazione.messaggiText = traduci("AttesaBCode"); - Postazione.CssClass = "stileAttesa"; - } -#endif txtBarcode.Focus(); } - /// - /// effettua consumo UDC - /// - /// - private void consumaUdc(string oldUdc) - { - // se è consumabile (IdxPosizione > 0)... - if (MagClass.magazzino.udcMpIsConsumabile(oldUdc)) - { - // consumo UDC - MagClass.magazzino.scaricaUdcMpWip(oldUdc, Request.UserHostName); - } - } - /// /// crea eventualmente UDC per particolare in AL di destinazione e restituisce codice UDC /// - /// - /// - private string checkCreaUDC() + /// Forza lo spostamento a idxCella corrente... + /// indica se si debba creare UDC in uscita se mancasse... + public override string checkCreaUDC(bool forceMove, bool createUdcOut) { string udcDest = ""; DateTime adesso = DateTime.Now; @@ -677,24 +422,17 @@ namespace GMW.WebUserControls grViewDest.DataBind(); return udcDest; } - /// /// aggiorna tabella + focus a barcode /// - public void doUpdate() + public override void doUpdate() { - idxCella = Postazione.currIdxCella; - destAL = AlByCella; - setVisibility(); - checkStampa(); + base.doUpdate(); grView.DataBind(); grViewDest.DataBind(); txtBarcode.Focus(); // raise dell'evento - if (eh_reqUpdate != null) - { - eh_reqUpdate(this, new EventArgs()); - } + raiseEvent(ucEvType.ReqUpdateParent); } /// /// controllo l'abilitazione alla stampa UDC: @@ -703,7 +441,7 @@ namespace GMW.WebUserControls /// - udc da consumo totale/parziale /// altrimenti disabilito btn stampa /// - private void checkStampa() + public override void checkStampa() { bool stampaOk = false; //controllo siano inseriti valori qta @@ -726,7 +464,7 @@ namespace GMW.WebUserControls /// /// /// - protected void btnStampa_Click(object sender, EventArgs e) + public override void btnStampa_Click(object sender, EventArgs e) { bool needsRedirect = false; string[] stringSeparators = new string[] { "#" }; @@ -806,7 +544,7 @@ namespace GMW.WebUserControls { // controllo SE esista già UDC in AL dest... altrimenti CREO!!! string udcDest = ""; - udcDest = checkCreaUDC(); + udcDest = checkCreaUDC(true,true); // associo UDC con quello di destinazione MagClass.magazzino.associaUdcParent(udcDest, udcParent, true); // registro creazione nuovo UDC @@ -834,15 +572,13 @@ namespace GMW.WebUserControls } doUpdate(); // raise dell'evento - if (eh_reqUpdate != null) - { - eh_reqUpdate(this, new EventArgs()); - } + raiseEvent(ucEvType.ReqUpdateParent); if (needsRedirect) { Response.Redirect(user_std.pagCorrente); } } +#if false /// /// effettua il consumo di tutti gli UDC inviati come array di stringhe /// @@ -867,7 +603,7 @@ namespace GMW.WebUserControls } } } - } + } /// ///associa nuovo UDC ad elenco UDC /// @@ -907,55 +643,16 @@ namespace GMW.WebUserControls } return answ; } - /// - /// wrapper per log con salvataggio dell'IP del chiamante - /// - /// - /// - public bool httpLog(string _testoPre) - { - bool answ = false; - logger.lg.scriviLog(Postazione.IP + _testoPre); - return answ; - } - /// - /// wrapper per log con salvataggio dell'IP del chiamante - /// - /// - /// - public bool httpLog(string testoLog, tipoLog tipo) - { - bool answ = false; - logger.lg.scriviLog(Postazione.IP + testoLog, tipo); - return answ; - } +#endif + /// /// effettua reset dati /// - public void doResetData() + public override void doResetData() { - // resetto i dati QtaTot e particolare... - qta = 0; - currParticolare = ""; txtQta.Text = ""; grViewDest.SelectedIndex = -1; - doChecks(); - } - /// - /// svuoto le note - /// - /// - /// - protected void btnEmptyNote_Click(object sender, EventArgs e) - { - txtNote.Text = ""; - Postazione.messaggiText = traduci("AttesaBCode"); - Postazione.CssClass = "stileAttesa"; - // raise dell'evento - if (eh_reqUpdate != null) - { - eh_reqUpdate(this, new EventArgs()); - } + base.doResetData(); } /// /// passo alla modalità IN @@ -966,49 +663,6 @@ namespace GMW.WebUserControls { Response.Redirect("SterrTaglioIN.aspx"); } - - /// - /// effettua refresh (su db) del blocco postazione - /// - /// - private void refreshBloccoPost(string codLinea) - { - // resetto usi linee precedenti.. - MagClass.magazzino.taAL.resetPost(Postazione.name); - // se la linea non è "base" = "Sel linea", finisce x "0" - if (codLinea.Substring(codLinea.Length - 1) != "0") - { - // salvo su DB che sto occupando linea... - MagClass.magazzino.taAL.updatePost(codLinea, Postazione.name); - } - } - - protected void grView_PageIndexChanged(object sender, EventArgs e) - { - // fix dell'ODS - checkFixOds(); - } - protected void grView_Sorted(object sender, EventArgs e) - { - // fix dell'ODS - checkFixOds(); - } - /// - /// aggiorno ods al binding.. - /// - /// - /// - protected void ods_DataBinding(object sender, EventArgs e) - { - // fix dell'ODS - checkFixOds(); - } - /// - /// verifica se attivo filtro company e imposta ods di conseguenza... - /// - private void checkFixOds() - { - } /// /// traduce gli header delle colonne /// @@ -1063,7 +717,7 @@ namespace GMW.WebUserControls /// /// sistema modalità input /// - private void setVisibility() + public override void setVisibility() { bool showBtn = false; // ora controllo btn quantità @@ -1078,30 +732,18 @@ namespace GMW.WebUserControls /// /// /// - protected void btnReset_Click(object sender, EventArgs e) + public override void btnReset_Click(object sender, EventArgs e) { grViewDest.SelectedIndex = -1; - qta = 0; - currUDC = ""; - currParticolare = ""; - setVisibility(); - doUpdate(); - } - /// - /// update Qty x UDC selezionato... - /// - /// - /// - protected void lbtUpdQty_Click(object sender, EventArgs e) - { - aggiornaQta(); + base.btnReset_Click(sender, e); } - private void aggiornaQta() + /// + /// gestione specifica update qta + /// + public override void aggiornaQta() { - MagClass.magazzino.taCartellini.updateQty(currUDC, MagClass.magazzino.CodSoggCurrUser, "U", eventoUDC_qta, qta); - currUDC = ""; - currParticolare = ""; + base.aggiornaQta(); grViewDest.SelectedIndex = -1; setVisibility(); doUpdate(); @@ -1130,26 +772,7 @@ namespace GMW.WebUserControls txtCesta.Text = txtCesta.Text.ToUpper().Trim().PadLeft(4, '0').Substring(0, 4); doUpdate(); } - /// - /// fornisce in output la corretta classe css x icona - /// - /// - /// - public string cssGlyphByQty(object _qta) - { - string answ = "fa fa-pencil"; - int qtaUDC = 0; - try - { - qtaUDC = Convert.ToInt32(_qta); - } - catch { } - if (qtaUDC > 0) - { - answ = "fa fa-print"; - } - return answ; - } + /// /// qui la selezione è x scaricare... /// @@ -1160,30 +783,5 @@ namespace GMW.WebUserControls consumaUdc(grView.SelectedValue.ToString()); doUpdate(); } - /// - /// determina se sia possibile cancellare un record, se qta > 0 - /// - /// - /// - public bool canDelete(object _qta) - { - bool answ = false; - try - { - answ = Convert.ToInt32(_qta) == 0; - } - catch - { } - return answ; - } - /// - /// evento cambio qta - /// - /// - /// - protected void txtQta_TextChanged(object sender, EventArgs e) - { - aggiornaQta(); - } } } \ No newline at end of file diff --git a/GMW/WebUserControls/mod_sterrTaglio.ascx.designer.cs b/GMW/WebUserControls/mod_sterrTaglio.ascx.designer.cs index fcb87d9f..bf59079a 100644 --- a/GMW/WebUserControls/mod_sterrTaglio.ascx.designer.cs +++ b/GMW/WebUserControls/mod_sterrTaglio.ascx.designer.cs @@ -1,204 +1,212 @@ //------------------------------------------------------------------------------ -// -// This code was generated by a tool. +// +// Codice generato da uno strumento. // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// //------------------------------------------------------------------------------ -namespace GMW.WebUserControls -{ - - +namespace GMW.WebUserControls { + + public partial class mod_sterrTaglio { /// - /// BundleReference1 control. + /// Controllo BundleReference1. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference1; /// - /// BundleReference2 control. + /// Controllo BundleReference2. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference2; /// - /// grView control. + /// Controllo lblUdcParent. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblUdcParent; + + /// + /// Controllo grView. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.GridView grView; /// - /// ods control. + /// Controllo ods. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.ObjectDataSource ods; /// - /// lblNumRec control. + /// Controllo lblNumRec. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.Label lblNumRec; /// - /// lblParticolareAttivo control. + /// Controllo lblParticolareAttivo. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.Label lblParticolareAttivo; /// - /// lblDescrAttivo control. + /// Controllo lblDescrAttivo. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.Label lblDescrAttivo; /// - /// lblDisegno control. + /// Controllo lblDisegno. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.Label lblDisegno; /// - /// lblBarcode control. + /// Controllo lblBarcode. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.Label lblBarcode; /// - /// txtBarcode control. + /// Controllo txtBarcode. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.TextBox txtBarcode; /// - /// divNote control. + /// Controllo divNote. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl divNote; /// - /// txtNote control. + /// Controllo txtNote. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.TextBox txtNote; /// - /// btnEmptyNote control. + /// Controllo btnEmptyNote. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.Button btnEmptyNote; /// - /// lbtStampaUDC control. + /// Controllo lbtStampaUDC. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.LinkButton lbtStampaUDC; /// - /// lblAL control. + /// Controllo lblAL. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.Label lblAL; /// - /// grViewDest control. + /// Controllo grViewDest. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.GridView grViewDest; /// - /// odsDest control. + /// Controllo odsDest. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.ObjectDataSource odsDest; /// - /// txtCesta control. + /// Controllo txtCesta. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.TextBox txtCesta; /// - /// divQta control. + /// Controllo divQta. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl divQta; /// - /// txtQta control. + /// Controllo txtQta. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.TextBox txtQta; /// - /// lbtUpdQty control. + /// Controllo lbtUpdQty. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.LinkButton lbtUpdQty; }