Pulizia DB

Eliminato UDC e al suo posto Cartellino.cs

git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@29 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
samuele
2010-04-28 15:59:53 +00:00
parent 769544ab92
commit 18bcdcc31b
5 changed files with 185 additions and 4 deletions
+1 -1
View File
@@ -83,7 +83,7 @@
<Compile Include="Type\Prodotto.cs" />
<Compile Include="Type\StatiProdotto.cs" />
<Compile Include="Type\TipoDichiarazione.cs" />
<Compile Include="Type\UDC.cs" />
<Compile Include="Type\Cartellino.cs" />
<Compile Include="WS\bilance.asmx.cs">
<DependentUpon>bilance.asmx</DependentUpon>
<SubType>Component</SubType>
+181
View File
@@ -0,0 +1,181 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using GMW_data;
namespace GMW.Type
{
/// <summary>
/// classe che rappresenta l'intero UDC
/// </summary>
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;
}
/// <summary>
/// Codice UDC
/// </summary>
public string UDC { get; set; }
/// <summary>
/// Codice company
/// </summary>
public string CodCS { get; set; }
/// <summary>
/// Codice Cliente
/// </summary>
public string CodCliente { get; set; }
/// <summary>
/// Ragione sociale cliente
/// </summary>
public string RagSociale { get; set; }
/// <summary>
/// Particolare
/// </summary>
public string Particolare { get; set; }
/// <summary>
/// Descrizione particolare
/// </summary>
public string DescParticolare { get; set; }
/// <summary>
/// Disegno Grezzo
/// </summary>
public string DisegnoGrezzo { get; set; }
/// <summary>
/// Esponente
/// </summary>
public string Esponente { get; set; }
/// <summary>
/// Codice impianto
/// </summary>
public string CodImpianto { get; set; }
/// <summary>
/// Descrizione impianto
/// </summary>
public string DescImpianto { get; set; }
/// <summary>
/// Codice Stampo
/// </summary>
public string CodStampo { get; set; }
/// <summary>
/// Figura
/// </summary>
public string Figura { get; set; }
/// <summary>
/// Data fusione
/// </summary>
public DateTime DataFus { get; set; }
/// <summary>
/// Turno Fusione
/// </summary>
public int TurnoFus { get; set; }
/// <summary>
/// CodiceImballo associato all'UDC
/// </summary>
public string CodImballo { get; set; }
/// <summary>
/// Codice operatore della dichiarazione
/// </summary>
public string CodSoggetto { get; set; }
/// <summary>
/// Numero contenitore (PROGRESSIVO)
/// </summary>
public int NumCont { get; set; }
/// <summary>
/// Tara dell'UDC
/// </summary>
public double Tara { get; set; }
/// <summary>
/// Quantità associata all'UDC
/// </summary>
public decimal Qta { get; set; }
/// <summary>
/// Codice Stato pezzo (sabbiato, smaterozzato, ...)
/// </summary>
public string CodStato { get; set; }
/// <summary>
/// Codice Posizione associato all'UDC
/// </summary>
public int IdxPosizione { get; set; }
/// <summary>
/// Peso totale rilevato
/// </summary>
public double PesoTot { get; set; }
/// <summary>
/// Peso totale rilevato
/// </summary>
public double PesoCad { get; set; }
/// <summary>
/// Data di creazione dell'UDC
/// </summary>
public DateTime CreateDate { get; set; }
/// <summary>
/// Data ultima modifica UDC
/// </summary>
public DateTime ModDate { get; set; }
/// <summary>
/// inizializza a partire da una riga statoOdpUdc
/// </summary>
/// <param name="riga"></param>
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;
}
}
}
+3 -3
View File
@@ -334,6 +334,8 @@ namespace GMW.WS
{ }
return answ;
}
#endif
/// <summary>
/// Annulla un dato UDC (se permesso)
/// </summary>
@@ -374,10 +376,8 @@ namespace GMW.WS
}
return answ;
}
#endif
#endregion
#endregion
#if false
#region area stampe
Binary file not shown.
Binary file not shown.