diff --git a/GMW/GMW/GMW.csproj b/GMW/GMW/GMW.csproj
index 096c18b3..c8f31803 100644
--- a/GMW/GMW/GMW.csproj
+++ b/GMW/GMW/GMW.csproj
@@ -83,7 +83,7 @@
-
+
bilance.asmx
Component
diff --git a/GMW/GMW/Type/Cartellino.cs b/GMW/GMW/Type/Cartellino.cs
new file mode 100644
index 00000000..49c275f0
--- /dev/null
+++ b/GMW/GMW/Type/Cartellino.cs
@@ -0,0 +1,181 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using GMW_data;
+
+namespace GMW.Type
+{
+ ///
+ /// classe che rappresenta l'intero UDC
+ ///
+ public class Cartellino
+ {
+ public Cartellino()
+ {
+ }
+ public Cartellino(DS_Applicazione.ElencoCartelliniRow riga)
+ {
+ UDC = riga.UDC;
+ CodCS = riga.CodCS;
+ CodCliente = riga.CodCliente;
+ RagSociale = riga.RagSociale;
+ Particolare = riga.Particolare;
+ DescParticolare = riga.DescParticolare;
+ DisegnoGrezzo = riga.DisegnoGrezzo;
+ Esponente = riga.Esponente;
+ CodImpianto = riga.CodImpianto;
+ DescImpianto = riga.DescImpianto;
+ CodCliente = riga.CodCliente;
+ CodStampo = riga.CodStampo;
+ Figura = riga.Figura;
+ DataFus = riga.DataFus;
+ TurnoFus = riga.TurnoFus;
+ CodImballo = riga.CodImballo;
+ CodSoggetto = riga.CodSoggetto;
+ NumCont = riga.NumCont;
+ Tara = riga.Tara;
+ Qta = riga.Qta;
+ CodStato = riga.CodStato;
+ IdxPosizione = riga.IdxPosizione;
+ PesoTot = riga.PesoTot;
+ PesoCad = riga.PesoCad;
+ CreateDate = riga.CreateDate;
+ ModDate = riga.ModDate;
+ }
+
+ ///
+ /// Codice UDC
+ ///
+ public string UDC { get; set; }
+ ///
+ /// Codice company
+ ///
+ public string CodCS { get; set; }
+ ///
+ /// Codice Cliente
+ ///
+ public string CodCliente { get; set; }
+ ///
+ /// Ragione sociale cliente
+ ///
+ public string RagSociale { get; set; }
+ ///
+ /// Particolare
+ ///
+ public string Particolare { get; set; }
+ ///
+ /// Descrizione particolare
+ ///
+ public string DescParticolare { get; set; }
+ ///
+ /// Disegno Grezzo
+ ///
+ public string DisegnoGrezzo { get; set; }
+ ///
+ /// Esponente
+ ///
+ public string Esponente { get; set; }
+ ///
+ /// Codice impianto
+ ///
+ public string CodImpianto { get; set; }
+ ///
+ /// Descrizione impianto
+ ///
+ public string DescImpianto { get; set; }
+ ///
+ /// Codice Stampo
+ ///
+ public string CodStampo { get; set; }
+ ///
+ /// Figura
+ ///
+ public string Figura { get; set; }
+ ///
+ /// Data fusione
+ ///
+ public DateTime DataFus { get; set; }
+ ///
+ /// Turno Fusione
+ ///
+ public int TurnoFus { get; set; }
+ ///
+ /// CodiceImballo associato all'UDC
+ ///
+ public string CodImballo { get; set; }
+ ///
+ /// Codice operatore della dichiarazione
+ ///
+ public string CodSoggetto { get; set; }
+ ///
+ /// Numero contenitore (PROGRESSIVO)
+ ///
+ public int NumCont { get; set; }
+ ///
+ /// Tara dell'UDC
+ ///
+ public double Tara { get; set; }
+ ///
+ /// Quantità associata all'UDC
+ ///
+ public decimal Qta { get; set; }
+ ///
+ /// Codice Stato pezzo (sabbiato, smaterozzato, ...)
+ ///
+ public string CodStato { get; set; }
+ ///
+ /// Codice Posizione associato all'UDC
+ ///
+ public int IdxPosizione { get; set; }
+ ///
+ /// Peso totale rilevato
+ ///
+ public double PesoTot { get; set; }
+ ///
+ /// Peso totale rilevato
+ ///
+ public double PesoCad { get; set; }
+ ///
+ /// Data di creazione dell'UDC
+ ///
+ public DateTime CreateDate { get; set; }
+ ///
+ /// Data ultima modifica UDC
+ ///
+ public DateTime ModDate { get; set; }
+ ///
+ /// inizializza a partire da una riga statoOdpUdc
+ ///
+ ///
+ public void setFromTabRow(DS_Applicazione.ElencoCartelliniRow riga)
+ {
+ UDC = riga.UDC;
+ CodCS = riga.CodCS;
+ CodCliente = riga.CodCliente;
+ RagSociale = riga.RagSociale;
+ Particolare = riga.Particolare;
+ DescParticolare = riga.DescParticolare;
+ DisegnoGrezzo = riga.DisegnoGrezzo;
+ Esponente = riga.Esponente;
+ CodImpianto = riga.CodImpianto;
+ DescImpianto = riga.DescImpianto;
+ CodCliente = riga.CodCliente;
+ CodStampo = riga.CodStampo;
+ Figura = riga.Figura;
+ DataFus = riga.DataFus;
+ TurnoFus = riga.TurnoFus;
+ CodImballo = riga.CodImballo;
+ CodSoggetto = riga.CodSoggetto;
+ NumCont = riga.NumCont;
+ Tara = riga.Tara;
+ Qta = riga.Qta;
+ CodStato = riga.CodStato;
+ IdxPosizione = riga.IdxPosizione;
+ PesoTot = riga.PesoTot;
+ PesoCad = riga.PesoCad;
+ CreateDate = riga.CreateDate;
+ ModDate = riga.ModDate;
+ }
+ }
+}
diff --git a/GMW/GMW/WS/bilance.asmx.cs b/GMW/GMW/WS/bilance.asmx.cs
index a4e75fcf..f5f3e247 100644
--- a/GMW/GMW/WS/bilance.asmx.cs
+++ b/GMW/GMW/WS/bilance.asmx.cs
@@ -334,6 +334,8 @@ namespace GMW.WS
{ }
return answ;
}
+
+#endif
///
/// Annulla un dato UDC (se permesso)
///
@@ -374,10 +376,8 @@ namespace GMW.WS
}
return answ;
}
-#endif
- #endregion
-
+ #endregion
#if false
#region area stampe
diff --git a/GMW/GMW/bin/GMW.dll b/GMW/GMW/bin/GMW.dll
index b7d9b3a7..79a5a3f5 100644
Binary files a/GMW/GMW/bin/GMW.dll and b/GMW/GMW/bin/GMW.dll differ
diff --git a/GMW/GMW/obj/Debug/GMW.dll b/GMW/GMW/obj/Debug/GMW.dll
index b7d9b3a7..79a5a3f5 100644
Binary files a/GMW/GMW/obj/Debug/GMW.dll and b/GMW/GMW/obj/Debug/GMW.dll differ