tabValori
+ {
+ get
+ {
+ return _tabValori;
+ }
+ set
+ {
+ _tabValori = value;
+ }
+ }
+ ///
+ /// evento comando registrato
+ ///
+ public event EventHandler eh_comandoRegistrato;
+ ///
+ /// comando registrato dal barcode
+ ///
+ public inputComando comandoRegistrato
+ {
+ get
+ {
+ return comando;
+ }
+ }
+ ///
+ /// scrive nella label input
+ ///
+ public string txtInput2show
+ {
+ set
+ {
+ lblInput.Text = value;
+ }
+ }
+ ///
+ /// scrive nella label valore
+ ///
+ public string txtVal2show
+ {
+ set
+ {
+ lblValore.Text = value;
+ }
+ }
+ ///
+ /// scrive nella label richiesta
+ ///
+ public string txtRich2show
+ {
+ set
+ {
+ lblRichiesta.Text = value;
+ }
+ }
+ ///
+ /// reset del controllo
+ ///
+ public void resetMe()
+ {
+ comando = new inputComando();
+ txtInput2show = "Prego inserire barcode";
+ txtVal2show = "";
+ txtRich2show = "";
+ }
+
+ #endregion
+}
diff --git a/XPS/mod_elencoBarcode.ascx b/XPS/mod_elencoBarcode.ascx
new file mode 100644
index 0000000..83ddf21
--- /dev/null
+++ b/XPS/mod_elencoBarcode.ascx
@@ -0,0 +1,39 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeFile="mod_elencoBarcode.ascx.cs"
+ Inherits="mod_elencoBarcode" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/XPS/mod_elencoBarcode.ascx.cs b/XPS/mod_elencoBarcode.ascx.cs
new file mode 100644
index 0000000..64df450
--- /dev/null
+++ b/XPS/mod_elencoBarcode.ascx.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+public partial class mod_elencoBarcode : System.Web.UI.UserControl
+{
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ ///
+ /// formatta correttamente per stampa barcode
+ ///
+ ///
+ ///
+ public string barcodeFormat(object valore)
+ {
+ return string.Format("*{0}*", valore);
+ }
+}
diff --git a/XPS/mod_elencoComm.ascx b/XPS/mod_elencoComm.ascx
index 566ed60..6dfe933 100644
--- a/XPS/mod_elencoComm.ascx
+++ b/XPS/mod_elencoComm.ascx
@@ -32,15 +32,15 @@
|
|
-
-
+ |
+
|
-
-
+
+ Brunitura
+ Fosfatazione
+
|
-
-
|
|
@@ -48,6 +48,16 @@
+
+
+
+ |
+
+ |
+
+
+
+ |
|
@@ -58,9 +68,7 @@
TargetControlID="txtDataDDT" Format="dd/MM/yyyy">
-
-
- |
+ |
|
@@ -109,6 +117,7 @@
Target="_blank" ToolTip='<%# traduci("stampaBarcode") %>' />
+
@@ -121,7 +130,7 @@
-
@@ -191,8 +200,7 @@
-
+
@@ -201,12 +209,11 @@
-
+
-
+
@@ -216,8 +223,7 @@
-
+
diff --git a/XPS/mod_elencoComm.ascx.cs b/XPS/mod_elencoComm.ascx.cs
index 99d4012..afbc111 100644
--- a/XPS/mod_elencoComm.ascx.cs
+++ b/XPS/mod_elencoComm.ascx.cs
@@ -193,6 +193,7 @@ public partial class mod_elencoComm : ApplicationUserControl
lblNumDDT.Text = traduci("lblNumDDT");
lblDataDDT.Text = traduci("lblDataDDT");
lblDescr.Text = traduci("lblDescr");
+ lblCicloEqua.Text = traduci("lblCicloEqua");
lblDataPrev.Text = traduci("updateAllObjChild");
txtDueDate.Text = DateTime.Now.AddDays(memLayer.ML.confReadint("defDayLeadTime")).ToString("dd/MM/yyyy");
btnCancel.Text = traduci("btnCancel");
@@ -248,7 +249,7 @@ public partial class mod_elencoComm : ApplicationUserControl
catch
{ }
// creazione di un nuovo set...
- taComm.sp_creaSetObj(string.Format("{0:yyMMdd}{1:00}", DateTime.Now, nextIdx), "EQUA", mf_cliNew.valore, txtDDT.Text, Convert.ToDateTime(txtDataDDT.Text), "", user_std.UtSn.utente, txtDescr.Text);
+ taComm.sp_creaSetObj(string.Format("{0:yyMMdd}{1:00}", DateTime.Now, nextIdx), "EQUA", mf_cliNew.valore, txtDDT.Text, Convert.ToDateTime(txtDataDDT.Text), ddlCiclo.SelectedValue, user_std.UtSn.utente, txtDescr.Text);
// nascondo tutto...
txtDDT.Text = "";
txtDataDDT.Text = "";