Update struttura x nuova versione db "in fieri"...
git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@24 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
@@ -77,6 +77,7 @@
|
||||
<Compile Include="Type\Articolo.cs" />
|
||||
<Compile Include="Type\ArtInProd.cs" />
|
||||
<Compile Include="Type\Bilancia.cs" />
|
||||
<Compile Include="Type\CompanySito.cs" />
|
||||
<Compile Include="Type\elenchi.cs" />
|
||||
<Compile Include="Type\Impianto.cs" />
|
||||
<Compile Include="Type\Prodotto.cs" />
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using GMW_data;
|
||||
|
||||
namespace GMW.Type
|
||||
{
|
||||
public class CompanySito
|
||||
{
|
||||
public CompanySito()
|
||||
{
|
||||
}
|
||||
|
||||
public CompanySito(DS_Applicazione.AnagCompanySitoRow riga)
|
||||
{
|
||||
CodCS = riga.CodCS;
|
||||
CodCompany = riga.CodCompany;
|
||||
DescCompany = riga.DescCompany;
|
||||
CodSito = riga.CodSito;
|
||||
DescSito = riga.DescSito;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Codice Company-Sito
|
||||
/// </summary>
|
||||
public string CodCS { get; set; }
|
||||
/// <summary>
|
||||
/// Codice Company
|
||||
/// </summary>
|
||||
public string CodCompany { get; set; }
|
||||
/// <summary>
|
||||
/// Descrizione Company
|
||||
/// </summary>
|
||||
public string DescCompany { get; set; }
|
||||
/// <summary>
|
||||
/// Codice Sito
|
||||
/// </summary>
|
||||
public string CodSito { get; set; }
|
||||
/// <summary>
|
||||
/// Descrizione Sito
|
||||
/// </summary>
|
||||
public string DescSito { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// inizializza a partire da una riga COmpanySito
|
||||
/// </summary>
|
||||
/// <param name="riga"></param>
|
||||
public void setFromTabRow(DS_Applicazione.AnagCompanySitoRow riga)
|
||||
{
|
||||
CodCS = riga.CodCS;
|
||||
CodCompany = riga.CodCompany;
|
||||
DescCompany = riga.DescCompany;
|
||||
CodSito = riga.CodSito;
|
||||
DescSito = riga.DescSito;
|
||||
}
|
||||
}
|
||||
}
|
||||
+17
-11
@@ -14,9 +14,10 @@ namespace GMW.Type
|
||||
public Impianto(DS_Applicazione.AnagImpiantiRow riga)
|
||||
{
|
||||
CodImpianto = riga.CodImpianto;
|
||||
DescrImpianto = riga.DescrImpianto;
|
||||
CodCompany = riga.CodCompany;
|
||||
CodSito = riga.CodSito;
|
||||
DescImpianto = riga.DescImpianto;
|
||||
CodCS = riga.CodCS;
|
||||
Campionatura = riga.Campionatura;
|
||||
TipoLinea = riga.TipoLinea;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -26,15 +27,19 @@ namespace GMW.Type
|
||||
/// <summary>
|
||||
/// Descrizione impianto
|
||||
/// </summary>
|
||||
public string DescrImpianto { get; set; }
|
||||
public string DescImpianto { get; set; }
|
||||
/// <summary>
|
||||
/// Codice COmpany
|
||||
/// Codice CompanySito
|
||||
/// </summary>
|
||||
public string CodCompany { get; set; }
|
||||
public string CodCS { get; set; }
|
||||
/// <summary>
|
||||
/// Codice sito
|
||||
/// Campionatura
|
||||
/// </summary>
|
||||
public string CodSito { get; set; }
|
||||
public string Campionatura { get; set; }
|
||||
/// <summary>
|
||||
/// Tipo di linea
|
||||
/// </summary>
|
||||
public string TipoLinea { get; set; }
|
||||
/// <summary>
|
||||
/// inizializza a partire da una riga impianto tipizzata
|
||||
/// </summary>
|
||||
@@ -42,9 +47,10 @@ namespace GMW.Type
|
||||
public void setFromTabRow(DS_Applicazione.AnagImpiantiRow riga)
|
||||
{
|
||||
CodImpianto = riga.CodImpianto;
|
||||
DescrImpianto = riga.DescrImpianto;
|
||||
CodCompany = riga.CodCompany;
|
||||
CodSito= riga.CodSito;
|
||||
DescImpianto = riga.DescImpianto;
|
||||
CodCS = riga.CodCS;
|
||||
Campionatura = riga.Campionatura;
|
||||
TipoLinea = riga.TipoLinea;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+2
-2
@@ -14,7 +14,7 @@ namespace GMW.Type
|
||||
public UDC()
|
||||
{
|
||||
}
|
||||
public UDC(DS_Applicazione.TabStatoOdpUdcRow riga)
|
||||
public UDC(DS_Applicazione.TabCartelliniRow riga)
|
||||
{
|
||||
CodCompany = riga.CodCompany;
|
||||
ODP = riga.ODP;
|
||||
@@ -97,7 +97,7 @@ namespace GMW.Type
|
||||
/// inizializza a partire da una riga statoOdpUdc
|
||||
/// </summary>
|
||||
/// <param name="riga"></param>
|
||||
public void setFromTabRow(DS_Applicazione.TabStatoOdpUdcRow riga)
|
||||
public void setFromTabRow(DS_Applicazione.TabCartelliniRow riga)
|
||||
{
|
||||
CodCompany = riga.CodCompany;
|
||||
ODP = riga.ODP;
|
||||
|
||||
@@ -80,6 +80,41 @@ namespace GMW.Type
|
||||
|
||||
#endregion
|
||||
|
||||
#region area Company Sito
|
||||
|
||||
|
||||
protected CompanySito[] _elencoCompanySito;
|
||||
|
||||
/// <summary>
|
||||
/// legge una tab di tipo AnagArticoli e la converte ad un array di tipo Articolo[]
|
||||
/// </summary>
|
||||
/// <param name="tabArticoli"></param>
|
||||
public void caricaCompanySito(DS_Applicazione.AnagCompanySitoDataTable tabCS)
|
||||
{
|
||||
// conto quanti elementi ha la tab x inizializzare l'array...
|
||||
int numRighe = tabCS.Rows.Count;
|
||||
_elencoCompanySito = new CompanySito[numRighe];
|
||||
// prendo un obj impianto da valorizzare di volta in volta...
|
||||
CompanySito obj;
|
||||
for (int i = 0; i < numRighe; i++)
|
||||
{
|
||||
obj = new CompanySito(tabCS[i]);
|
||||
_elencoCompanySito[i] = obj;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Elenco Company/Sito
|
||||
/// </summary>
|
||||
public CompanySito[] elencoCompanySito
|
||||
{
|
||||
get
|
||||
{
|
||||
return _elencoCompanySito;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region area articoli
|
||||
|
||||
|
||||
|
||||
@@ -36,7 +36,16 @@ namespace GMW.WS
|
||||
|
||||
#region area anagrafiche
|
||||
|
||||
/// <summary>
|
||||
/// Elenco anagrafico combinazioni company/sito
|
||||
/// </summary>
|
||||
[WebMethod(Description = "Elenco anagrafico combinazioni company/sito")]
|
||||
public GMW.Type.CompanySito[] ElencoCompanySito()
|
||||
{
|
||||
|
||||
gestEl.caricaCompanySito(DataProxy.obj.taAnagCS.GetData());
|
||||
return gestEl.elencoCompanySito;
|
||||
}
|
||||
/// <summary>
|
||||
/// fornisce l'anagrafica articoli
|
||||
/// </summary>
|
||||
@@ -79,10 +88,12 @@ namespace GMW.WS
|
||||
/// <summary>
|
||||
/// Elenco anagrafica impianti dati codice company e sito (no dataset)
|
||||
/// </summary>
|
||||
/// <param name="CodCS">Codice company/sito</param>
|
||||
/// <returns></returns>
|
||||
[WebMethod(Description = "Elenco anagrafica impianti dati codice company e sito (no dataset)")]
|
||||
public GMW.Type.Impianto[] ElencoImpiantiByCompanySito(string CodCompany, string CodSito)
|
||||
public GMW.Type.Impianto[] ElencoImpiantiByCompanySito(string CodCS)
|
||||
{
|
||||
gestEl.caricaImpianti(DataProxy.obj.taAnagImp.getByCompanySito(CodCompany, CodSito));
|
||||
gestEl.caricaImpianti(DataProxy.obj.taAnagImp.stp_getByCodCS(CodCS));
|
||||
return gestEl.elencoImpianti;
|
||||
}
|
||||
|
||||
@@ -132,7 +143,7 @@ namespace GMW.WS
|
||||
double answ = 0;
|
||||
try
|
||||
{
|
||||
answ = DataProxy.obj.taStatoOdpUdc.stp_getStatoByUdc(UDC)[0].Tara;
|
||||
answ = DataProxy.obj.taCartellini.stp_getStatoByUdc(UDC)[0].Tara;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
@@ -239,7 +250,7 @@ namespace GMW.WS
|
||||
CodSito = DataProxy.obj.taAnagBil.GetData()[0].CodSito;
|
||||
}
|
||||
// inserico riga generando il codice
|
||||
DS_Applicazione.TabStatoOdpUdcDataTable tabUdc = DataProxy.obj.taStatoOdpUdc.stp_insNewOdpUdc(CodCompany, CodSito, CodBilancia, string.Format("{0:yy}", DateTime.Now), "ND", Tara, CodImballo, CodTipoDichiarazione, CodOperatore, "UDC_TARA"); // ATTENZIONE: "UDC_TARA" è "hard coded" nel db... !!!
|
||||
DS_Applicazione.TabCartelliniDataTable tabUdc = DataProxy.obj.taCartellini.stp_insNew(CodCompany, CodSito, CodBilancia, string.Format("{0:yy}", DateTime.Now), Tara, CodImballo, CodTipoDichiarazione, CodOperatore, "UDC_TARA"); // ATTENZIONE: "UDC_TARA" è "hard coded" nel db... !!!
|
||||
// leggo la riga
|
||||
try
|
||||
{
|
||||
@@ -291,7 +302,7 @@ namespace GMW.WS
|
||||
}
|
||||
int IdxStato = 20; // hard coded: è la postazione POST fusione di ambivere!!!
|
||||
// faccio update!
|
||||
DS_Applicazione.TabStatoOdpUdcDataTable tabUdc = DataProxy.obj.taStatoOdpUdc.stp_insNewOdpUdcFull(CodCompany, CodSito, CodBilancia, string.Format("{0:yy}", DateTime.Now), "ND", Tara, IdxStato, CodImballo, CodTipoDichiarazione, CodOperatore, "UDC_PESA", qta, PesoTot, PesoCad, Particolare, CodStatoProd, CodStampo, Figura, FiguraIncisa); // ATTENZIONE: "UDC_PESA" è "hard coded" nel db... !!!
|
||||
DS_Applicazione.TabCartelliniDataTable tabUdc = DataProxy.obj.taCartellini.stp_insNewFull(CodCompany, CodSito, CodBilancia, string.Format("{0:yy}", DateTime.Now), Tara, IdxStato, CodImballo, CodTipoDichiarazione, CodOperatore, "UDC_PESA", qta, PesoTot, PesoCad, Particolare, CodStatoProd, CodStampo, Figura, FiguraIncisa); // ATTENZIONE: "UDC_PESA" è "hard coded" nel db... !!!
|
||||
// leggo la riga
|
||||
try
|
||||
{
|
||||
@@ -315,7 +326,7 @@ namespace GMW.WS
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
GMW_data.DataProxy.obj.taStatoOdpUdc.stp_annullaUDC(UDC_req);
|
||||
GMW_data.DataProxy.obj.taCartellini.stp_annullaUDC(UDC_req);
|
||||
answ = true;
|
||||
}
|
||||
catch
|
||||
@@ -338,7 +349,7 @@ namespace GMW.WS
|
||||
string passkeyOk = memLayer.ML.confReadString("passkey");
|
||||
if (passkeyOk == passkey)
|
||||
{
|
||||
GMW_data.DataProxy.obj.taStatoOdpUdc.stp_sbloccaUdc(UDC_req);
|
||||
GMW_data.DataProxy.obj.taCartellini.stp_sbloccaUdc(UDC_req);
|
||||
answ = true;
|
||||
}
|
||||
return answ;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Generated
+4280
-6161
File diff suppressed because it is too large
Load Diff
+569
-756
File diff suppressed because it is too large
Load Diff
@@ -4,74 +4,24 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="147" ViewPortY="-45" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:AnagImpianti" ZOrder="28" X="830" Y="90" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:AnagCompany" ZOrder="24" X="591" Y="335" Height="115" Width="230" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagSiti" ZOrder="27" X="884" Y="337" Height="134" Width="194" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:AnagBilance" ZOrder="19" X="1169" Y="336" Height="191" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:AnagOdp" ZOrder="22" X="147" Y="278" Height="248" Width="199" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:AnagStati" ZOrder="20" X="867" Y="533" Height="115" Width="201" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagTipoDichiaraz" ZOrder="3" X="1110" Y="696" Height="115" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagStatiProdotto" ZOrder="18" X="99" Y="722" Height="115" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagImballi" ZOrder="17" X="118" Y="575" Height="134" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagArticoli" ZOrder="16" X="168" Y="43" Height="153" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:Impianti2Articoli" ZOrder="15" X="489" Y="35" Height="248" Width="271" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:v_ArtInProd" ZOrder="12" X="1155" Y="0" Height="267" Width="271" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:TabStatoOdpUdc" ZOrder="2" X="467" Y="529" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:StoricoEventi" ZOrder="6" X="855" Y="777" Height="305" Width="221" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:RelazUDC" ZOrder="1" X="0" Y="0" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" />
|
||||
<Shape ID="DesignTable:AnagBilance" ZOrder="20" X="1169" Y="336" Height="191" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:AnagStati" ZOrder="21" X="867" Y="533" Height="115" Width="201" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagTipoDichiaraz" ZOrder="11" X="1110" Y="696" Height="115" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagStatiProdotto" ZOrder="19" X="99" Y="722" Height="115" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagImballi" ZOrder="18" X="118" Y="575" Height="134" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagArticoli" ZOrder="17" X="168" Y="43" Height="153" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:Impianti2Articoli" ZOrder="16" X="489" Y="35" Height="248" Width="271" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:v_ArtInProd" ZOrder="14" X="1187" Y="608" Height="267" Width="271" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:StoricoEventi" ZOrder="13" X="855" Y="777" Height="305" Width="221" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:RelazUDC" ZOrder="10" X="0" Y="0" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" />
|
||||
<Shape ID="DesignTable:AnagImpianti" ZOrder="7" X="853" Y="19" Height="191" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:AnagCompanySito" ZOrder="6" X="1156" Y="-8" Height="172" Width="253" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:TabCartellini" ZOrder="1" X="439" Y="494" Height="400" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_AnagImpianti_AnagSiti" ZOrder="26" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>963</X>
|
||||
<Y>337</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>963</X>
|
||||
<Y>262</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_AnagSiti_AnagCompany" ZOrder="25" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>821</X>
|
||||
<Y>393</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>884</X>
|
||||
<Y>393</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_AnagBilance_AnagSiti" ZOrder="23" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1078</X>
|
||||
<Y>411</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>1169</X>
|
||||
<Y>411</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_AnagOdp_AnagCompany" ZOrder="21" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>591</X>
|
||||
<Y>354</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>346</X>
|
||||
<Y>354</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Impianti2Articoli_AnagArticoli1" ZOrder="14" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Impianti2Articoli_AnagArticoli1" ZOrder="15" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>385</X>
|
||||
@@ -83,91 +33,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Impianti2Articoli_AnagImpianti" ZOrder="13" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>830</X>
|
||||
<Y>133</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>760</X>
|
||||
<Y>133</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_TabStatoOdpUdc_AnagArticoli" ZOrder="11" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>368</X>
|
||||
<Y>196</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>368</X>
|
||||
<Y>546</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>467</X>
|
||||
<Y>546</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_TabStatoOdpUdc_AnagImballi" ZOrder="10" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>360</X>
|
||||
<Y>588</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>467</X>
|
||||
<Y>588</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_TabStatoOdpUdc_AnagOdp" ZOrder="9" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>329</X>
|
||||
<Y>526</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>329</X>
|
||||
<Y>554</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>467</X>
|
||||
<Y>554</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_TabStatoOdpUdc_AnagStati" ZOrder="8" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>867</X>
|
||||
<Y>574</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>767</X>
|
||||
<Y>574</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_TabStatoOdpUdc_AnagStatiProdotto" ZOrder="7" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>321</X>
|
||||
<Y>722</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>321</X>
|
||||
<Y>602</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>467</X>
|
||||
<Y>602</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_StoricoEventi_AnagTipoDichiaraz" ZOrder="5" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_StoricoEventi_AnagTipoDichiaraz" ZOrder="12" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1185</X>
|
||||
@@ -183,15 +49,79 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_StoricoEventi_TabStatoOdpUdc" ZOrder="4" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Impianti2Articoli_AnagImpianti" ZOrder="9" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>767</X>
|
||||
<Y>797</Y>
|
||||
<X>853</X>
|
||||
<Y>64</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>855</X>
|
||||
<Y>797</Y>
|
||||
<X>760</X>
|
||||
<Y>64</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_AnagImpianti_AnagCompanySito" ZOrder="8" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1156</X>
|
||||
<Y>27</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>1077</X>
|
||||
<Y>27</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_TabStatoOdpUdc_AnagArticoli1" ZOrder="5" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>360</X>
|
||||
<Y>196</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>360</X>
|
||||
<Y>511</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>439</X>
|
||||
<Y>511</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_TabStatoOdpUdc_AnagImballi1" ZOrder="3" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>360</X>
|
||||
<Y>627</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>439</X>
|
||||
<Y>627</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_TabStatoOdpUdc_AnagStati1" ZOrder="4" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>867</X>
|
||||
<Y>590</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>739</X>
|
||||
<Y>590</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_TabStatoOdpUdc_AnagStatiProdotto1" ZOrder="2" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>353</X>
|
||||
<Y>768</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>439</X>
|
||||
<Y>768</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
|
||||
@@ -17,12 +17,13 @@ namespace GMW_data
|
||||
public DS_ApplicazioneTableAdapters.AnagImpiantiTableAdapter taAnagImp;
|
||||
public DS_ApplicazioneTableAdapters.AnagBilanceTableAdapter taAnagBil;
|
||||
public DS_ApplicazioneTableAdapters.Impianti2ArticoliTableAdapter taImp2Art;
|
||||
public DS_ApplicazioneTableAdapters.TabStatoOdpUdcTableAdapter taStatoOdpUdc;
|
||||
public DS_ApplicazioneTableAdapters.TabCartelliniTableAdapter taCartellini;
|
||||
public DS_ApplicazioneTableAdapters.AnagTipoDichiarazTableAdapter taTipoDich;
|
||||
public DS_ApplicazioneTableAdapters.AnagStatiProdottoTableAdapter taStatiProd;
|
||||
public DS_ApplicazioneTableAdapters.AnagImballiTableAdapter taAnagImballi;
|
||||
public DS_ApplicazioneTableAdapters.v_ArtInProdTableAdapter taArtInProd;
|
||||
public DS_ApplicazioneTableAdapters.RelazUDCTableAdapter taRelazUDC;
|
||||
public DS_ApplicazioneTableAdapters.AnagCompanySitoTableAdapter taAnagCS;
|
||||
|
||||
/// <summary>
|
||||
/// init dei table adapters
|
||||
@@ -34,11 +35,12 @@ namespace GMW_data
|
||||
taAnagBil = new GMW_data.DS_ApplicazioneTableAdapters.AnagBilanceTableAdapter();
|
||||
taTipoDich = new GMW_data.DS_ApplicazioneTableAdapters.AnagTipoDichiarazTableAdapter();
|
||||
taImp2Art = new GMW_data.DS_ApplicazioneTableAdapters.Impianti2ArticoliTableAdapter();
|
||||
taStatoOdpUdc = new GMW_data.DS_ApplicazioneTableAdapters.TabStatoOdpUdcTableAdapter();
|
||||
taCartellini = new GMW_data.DS_ApplicazioneTableAdapters.TabCartelliniTableAdapter();
|
||||
taStatiProd = new GMW_data.DS_ApplicazioneTableAdapters.AnagStatiProdottoTableAdapter();
|
||||
taAnagImballi = new GMW_data.DS_ApplicazioneTableAdapters.AnagImballiTableAdapter();
|
||||
taArtInProd = new GMW_data.DS_ApplicazioneTableAdapters.v_ArtInProdTableAdapter();
|
||||
taRelazUDC = new GMW_data.DS_ApplicazioneTableAdapters.RelazUDCTableAdapter();
|
||||
taAnagCS = new GMW_data.DS_ApplicazioneTableAdapters.AnagCompanySitoTableAdapter();
|
||||
}
|
||||
/// <summary>
|
||||
/// effettua setup dei connection strings da web.config delal singola applicazione
|
||||
@@ -50,12 +52,13 @@ namespace GMW_data
|
||||
taAnagImp.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taAnagBil.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taImp2Art.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taStatoOdpUdc.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taCartellini.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taTipoDich.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taStatiProd.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taAnagImballi.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taArtInProd.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taRelazUDC.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taAnagCS.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -50,10 +50,10 @@ public class reportExporter
|
||||
switch (tipoReport)
|
||||
{
|
||||
//case reportRichiesto.CartellinoPesa:
|
||||
// tab = (DataTable)GMW_data.DataProxy.obj.taStatoOdpUdc.getByUdc(UDC);
|
||||
// tab = (DataTable)GMW_data.DataProxy.obj.taCartellini.getByUdc(UDC);
|
||||
// break;
|
||||
case reportRichiesto.CartellinoTara:
|
||||
tab = (DataTable)GMW_data.DataProxy.obj.taStatoOdpUdc.stp_getStatoByUdc(UDC);
|
||||
tab = (DataTable)GMW_data.DataProxy.obj.taCartellini.stp_getStatoByUdc(UDC);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
@@ -109,7 +109,7 @@ public class reportPrinter
|
||||
// tab = (DataTable)GMW_data.DataProxy.obj.taStatoOdpUdc.getByUdc(UDC);
|
||||
// break;
|
||||
case reportRichiesto.CartellinoTara:
|
||||
tab = (DataTable)GMW_data.DataProxy.obj.taStatoOdpUdc.stp_getStatoByUdc(UDC);
|
||||
tab = (DataTable)GMW_data.DataProxy.obj.taCartellini.stp_getStatoByUdc(UDC);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user