Inserita prima versioen x postazione TT e prove meccaniche

Nuova stored di gestione passaggio ALR --> ALT
Gestione in MagClass di stored RX (old) e TT (new)
Snapshot DBGMW (dacpac)
This commit is contained in:
Samuele Locatelli
2014-03-14 12:22:28 +01:00
parent cd38b6ce70
commit a6ce80ffe3
26 changed files with 648 additions and 89 deletions
+32
View File
@@ -400,9 +400,13 @@
<Content Include="Bundle.config" />
<Content Include="ContentPage.master" />
<Content Include="MenuSxPage.master" />
<Content Include="PostProveMecc.aspx" />
<Content Include="PostTT.aspx" />
<Content Include="POST_PRE_TT.aspx" />
<Content Include="POST_PRE_TT_DT.aspx" />
<Content Include="WebUserControls\mod_dummy.ascx" />
<Content Include="WebUserControls\mod_PostProveMecc.ascx" />
<Content Include="WebUserControls\mod_PostTT.ascx" />
<Content Include="WebUserControls\mod_PostTT_Pre_DT.ascx" />
<Content Include="WebUserControls\mod_PostTT_Pre_NT.ascx" />
<Content Include="WebUserControls\mod_selLineaNtDt.ascx" />
@@ -675,6 +679,13 @@
<Compile Include="odette.aspx.designer.cs">
<DependentUpon>odette.aspx</DependentUpon>
</Compile>
<Compile Include="PostProveMecc.aspx.cs">
<DependentUpon>PostProveMecc.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="PostProveMecc.aspx.designer.cs">
<DependentUpon>PostProveMecc.aspx</DependentUpon>
</Compile>
<Compile Include="PostRX.aspx.cs">
<DependentUpon>PostRX.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -689,6 +700,13 @@
<Compile Include="PostRX_DT.aspx.designer.cs">
<DependentUpon>PostRX_DT.aspx</DependentUpon>
</Compile>
<Compile Include="PostTT.aspx.cs">
<DependentUpon>PostTT.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="PostTT.aspx.designer.cs">
<DependentUpon>PostTT.aspx</DependentUpon>
</Compile>
<Compile Include="POST_PRE_TT.aspx.cs">
<DependentUpon>POST_PRE_TT.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -1278,6 +1296,13 @@
<Compile Include="WebUserControls\mod_periodoAnalisi.ascx.designer.cs">
<DependentUpon>mod_periodoAnalisi.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_PostProveMecc.ascx.cs">
<DependentUpon>mod_PostProveMecc.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_PostProveMecc.ascx.designer.cs">
<DependentUpon>mod_PostProveMecc.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_PostRX_DT.ascx.cs">
<DependentUpon>mod_PostRX_DT.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -1292,6 +1317,13 @@
<Compile Include="WebUserControls\mod_PostRX_NT.ascx.designer.cs">
<DependentUpon>mod_PostRX_NT.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_PostTT.ascx.cs">
<DependentUpon>mod_PostTT.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_PostTT.ascx.designer.cs">
<DependentUpon>mod_PostTT.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_PostTT_Pre_DT.ascx.cs">
<DependentUpon>mod_PostTT_Pre_DT.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
+10
View File
@@ -0,0 +1,10 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/FullPage.master" AutoEventWireup="true" CodeBehind="PostProveMecc.aspx.cs" Inherits="GMW.PostProveMecc" %>
<%@ Register Src="WebUserControls/mod_PostProveMecc.ascx" TagName="mod_PostProveMecc" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
<uc1:mod_PostProveMecc ID="mod_PostProveMecc1" runat="server" />
</asp:Content>
+17
View File
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace GMW
{
public partial class PostProveMecc : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+24
View File
@@ -0,0 +1,24 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GMW {
public partial class PostProveMecc {
/// <summary>
/// mod_PostProveMecc1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GMW.WebUserControls.mod_PostProveMecc mod_PostProveMecc1;
}
}
+39
View File
@@ -0,0 +1,39 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/FullPage.master" AutoEventWireup="true" CodeBehind="PostTT.aspx.cs" Inherits="GMW.PostTT" %>
<%@ Register Src="WebUserControls/mod_selLineaNtDt.ascx" TagName="mod_selLineaNtDt" TagPrefix="uc1" %>
<%@ Register Src="WebUserControls/mod_storicoAzioniOperatore.ascx" TagName="mod_storicoAzioniOperatore" TagPrefix="uc2" %>
<%@ Register Src="WebUserControls/mod_PostTT.ascx" TagName="mod_PostTT" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
<uc1:mod_selLineaNtDt ID="mod_selLineaNtDt1" runat="server" urlNT="POST_PRE_TT" urlDT="POST_PRE_TT_DT" preCodLineNT="W70" preCodLineDT="W70" cssNormal="btn btn-inverse btn-lg" cssSelected="btn btn-primary btn-lg active" showSelNtDt="false" />
<asp:Panel runat="server" ID="pnlAll" CssClass="stileAttesa">
<div class="container-fluid">
<asp:Panel ID="pnlSAO" runat="server" ScrollBars="None" CssClass="nav sidebar ombra" BackColor="#696969">
<div style="float: left; height: 100%; min-height: 300px; min-width: 240px; margin: -15px;">
<div style="background-color: #696969; margin: 4px;">
<uc2:mod_storicoAzioniOperatore ID="mod_storicoAzioniOperatore1" runat="server" showDelete="false" />
</div>
</div>
</asp:Panel>
<div class="row">
<div class="col-xs-12">
<div class="msgBoxBarcode">
<div>
<asp:Label runat="server" ID="lblMessaggi" Text=".." Font-Size="18pt" />
</div>
<div>
<asp:Label runat="server" ID="lblWarning" Text="" Font-Size="XX-Large" ForeColor="Red" />
</div>
</div>
</div>
<div class="col-xs-12">
<uc3:mod_PostTT ID="mod_PostTT1" runat="server" />
</div>
</div>
</div>
</asp:Panel>
</asp:Content>
+141
View File
@@ -0,0 +1,141 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
using GMW_data;
namespace GMW
{
public partial class PostTT : System.Web.UI.Page
{
/// <summary>
/// caricamento pagina!
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
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.confReadInt("IdxPosizioneTT");
}
// update vari...
doUpdate();
mod_storicoAzioniOperatore1.eh_stampa += new EventHandler(mod_storicoAzioniOperatore1_eh_stampa);
#if false
mod_PostTT_Pre_NT1.doUpdate();
mod_PostTT_Pre_NT1.eh_reqUpdate += mod_PostTT_Pre_NT1_eh_reqUpdate;
#endif
mod_selLineaNtDt1.eh_lineSelected += mod_selLineaNtDt1_eh_doRefresh;
mod_selLineaNtDt1.eh_showHideStorico += mod_selLineaNtDt1_eh_showHideStorico;
}
/// <summary>
/// Handles the showHideStorico event of the mod_selLineaNtDt1_eh control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
private void mod_selLineaNtDt1_eh_showHideStorico(object sender, EventArgs e)
{
fixStorico();
}
/// <summary>
/// Handles the doRefresh event of the mod_selLineaNtDt1_eh control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
private void mod_selLineaNtDt1_eh_doRefresh(object sender, EventArgs e)
{
doUpdate();
#if false
mod_PostTT_Pre_NT1.doUpdate();
#endif
}
/// <summary>
/// richiesta update del controllo SAO
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void mod_PostTT_Pre_NT1_eh_reqUpdate(object sender, EventArgs e)
{
doUpdate();
}
/// <summary>
/// aggiorna messaggi e css
/// </summary>
private void updateMessCss()
{
lblWarning.Text = Postazione.warningText;
lblMessaggi.Text = Postazione.messaggiText;
pnlAll.CssClass = Postazione.CssClass;
}
/// <summary>
/// richiesta (ri)stampa UDC
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void mod_storicoAzioniOperatore1_eh_stampa(object sender, EventArgs e)
{
#if false
mod_PostTT_Pre_NT1.ristampa();
#endif
}
/// <summary>
/// sistemo visualizzazione pannelli
/// </summary>
private void fixPanels()
{
// default: moduli NON visibili SE non ho linea indicata..
bool enableBtn = false;
if (Postazione.currCodCella != "") enableBtn = true;
#if false
mod_PostTT_Pre_NT1.Visible = enableBtn;
#endif
fixStorico();
}
/// <summary>
/// wrapper traduzione
/// </summary>
/// <param name="lemma"></param>
/// <returns></returns>
public string traduci(object lemma)
{
return user_std.UtSn.Traduci(lemma.ToString());
}
/// <summary>
/// toggle controllo storico
/// </summary>
private void fixStorico()
{
pnlSAO.Visible = Postazione.showStorico;
}
/// <summary>
/// update generale controlli
/// </summary>
private void doUpdate()
{
updateMessCss();
fixPanels();
mod_storicoAzioniOperatore1.doUpdate();
}
/// <summary>
/// calcola postazione corrente (ip, name, printer)
/// </summary>
private void updatePrinterPostazione()
{
Postazione.IP = Request.UserHostName;
Postazione.setupPrinter();
// mostro warning se postazione non configurata...
if (Postazione.printer == "n.d.")
{
lblWarning.Text = traduci("lblWarnPostNonConf");
}
}
}
}
+78
View File
@@ -0,0 +1,78 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GMW {
public partial class PostTT {
/// <summary>
/// mod_selLineaNtDt1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GMW.WebUserControls.mod_selLineaNtDt mod_selLineaNtDt1;
/// <summary>
/// pnlAll control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Panel pnlAll;
/// <summary>
/// pnlSAO control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Panel pnlSAO;
/// <summary>
/// mod_storicoAzioniOperatore1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GMW.WebUserControls.mod_storicoAzioniOperatore mod_storicoAzioniOperatore1;
/// <summary>
/// lblMessaggi control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblMessaggi;
/// <summary>
/// lblWarning control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblWarning;
/// <summary>
/// mod_PostTT1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GMW.WebUserControls.mod_PostTT mod_PostTT1;
}
}
@@ -0,0 +1,4 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_PostProveMecc.ascx.cs" Inherits="GMW.WebUserControls.mod_PostProveMecc" %>
PROVE MECCANICHE
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace GMW.WebUserControls
{
public partial class mod_PostProveMecc : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+17
View File
@@ -0,0 +1,17 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GMW.WebUserControls
{
public partial class mod_PostProveMecc
{
}
}
+4
View File
@@ -0,0 +1,4 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_PostTT.ascx.cs" Inherits="GMW.WebUserControls.mod_PostTT" %>
POST TT
+17
View File
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace GMW.WebUserControls
{
public partial class mod_PostTT : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+17
View File
@@ -0,0 +1,17 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GMW.WebUserControls
{
public partial class mod_PostTT
{
}
}
@@ -365,5 +365,34 @@ namespace GMW.WebUserControls
// ricarico elenco postazioni...
ddlLinea.DataBind();
}
/// <summary>
/// definisce visibilità selettore linea...
/// </summary>
public bool showSelPostazione
{
get
{
return ddlLinea.Visible;
}
set
{
ddlLinea.Visible = value;
}
}
/// <summary>
/// determina visibilità selettori NT/DT
/// </summary>
public bool showSelNtDt
{
get
{
return lbtDT.Visible;
}
set
{
lbtDT.Visible = value;
lbtNT.Visible = value;
}
}
}
}
@@ -44,7 +44,7 @@ namespace GMW.WebUserControls
/// </summary>
private void setBtnState()
{
btnElimina.Visible = memLayer.ML.confReadBool("userCanDelUdc");
btnElimina.Visible = memLayer.ML.confReadBool("userCanDelUdc") && showDelete;
bool abilita = false;
string css = "btn btn-default disabled";
if (idxEvento > 0 && udcSel != "")
@@ -297,6 +297,9 @@ namespace GMW.WebUserControls
{
return user_std.UtSn.Traduci(lemma.ToString());
}
/// <summary>
/// definisce se visualizzare o meno btn elimina
/// </summary>
public bool showDelete { get; set; }
}
}
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+92 -3
View File
@@ -38030,7 +38030,7 @@ SELECT AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start,
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start, C" +
@@ -38044,7 +38044,7 @@ SELECT AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start,
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AL", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = "dbo.stp_UAL_insertNewAL";
this._commandCollection[2].CommandText = "dbo.stp_UAL_insertNewRX";
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -38061,6 +38061,18 @@ SELECT AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start,
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AL", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.InputOutput, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = "dbo.stp_UAL_insertNewTT";
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SourceAL", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoAl", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataCreaz", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AL", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.InputOutput, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -38359,7 +38371,7 @@ SELECT AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start,
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual object insertNewAL(string CodCS, string Anno, string Cesta, string PostFlux, string Flusso, string TipoAl, global::System.Nullable<global::System.DateTime> DataCreaz, string CodSoggetto, string CodDtxStart, string CodDtxEnd, string CodCella, string CodEvento, string Note, ref string AL) {
public virtual object insertNewRX(string CodCS, string Anno, string Cesta, string PostFlux, string Flusso, string TipoAl, global::System.Nullable<global::System.DateTime> DataCreaz, string CodSoggetto, string CodDtxStart, string CodDtxEnd, string CodCella, string CodEvento, string Note, ref string AL) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
if ((CodCS == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
@@ -38474,6 +38486,83 @@ SELECT AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start,
return ((object)(returnValue));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual object insertNewTT(string SourceAL, string TipoAl, global::System.Nullable<global::System.DateTime> DataCreaz, string CodSoggetto, string CodEvento, string Note, ref string AL) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
if ((SourceAL == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
else {
command.Parameters[1].Value = ((string)(SourceAL));
}
if ((TipoAl == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
command.Parameters[2].Value = ((string)(TipoAl));
}
if ((DataCreaz.HasValue == true)) {
command.Parameters[3].Value = ((System.DateTime)(DataCreaz.Value));
}
else {
command.Parameters[3].Value = global::System.DBNull.Value;
}
if ((CodSoggetto == null)) {
command.Parameters[4].Value = global::System.DBNull.Value;
}
else {
command.Parameters[4].Value = ((string)(CodSoggetto));
}
if ((CodEvento == null)) {
command.Parameters[5].Value = global::System.DBNull.Value;
}
else {
command.Parameters[5].Value = ((string)(CodEvento));
}
if ((Note == null)) {
command.Parameters[6].Value = global::System.DBNull.Value;
}
else {
command.Parameters[6].Value = ((string)(Note));
}
if ((AL == null)) {
command.Parameters[7].Value = global::System.DBNull.Value;
}
else {
command.Parameters[7].Value = ((string)(AL));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
object returnValue;
try {
returnValue = command.ExecuteScalar();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
if (((command.Parameters[7].Value == null)
|| (command.Parameters[7].Value.GetType() == typeof(global::System.DBNull)))) {
AL = null;
}
else {
AL = ((string)(command.Parameters[7].Value));
}
if (((returnValue == null)
|| (returnValue.GetType() == typeof(global::System.DBNull)))) {
return null;
}
else {
return ((object)(returnValue));
}
}
}
/// <summary>
+42 -25
View File
@@ -3591,10 +3591,10 @@ SELECT AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start,
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_UAL_insertNewAL" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorGetMethodName="insertNew" GeneratorSourceName="insertNewAL" Modifier="Public" Name="insertNewAL" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insertNewAL">
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_UAL_insertNewRX" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorGetMethodName="insertNew" GeneratorSourceName="insertNewRX" Modifier="Public" Name="insertNewRX" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insertNewRX">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_UAL_insertNewAL</CommandText>
<CommandText>dbo.stp_UAL_insertNewRX</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@CodCS" Precision="0" ProviderType="VarChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -3615,6 +3615,23 @@ SELECT AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start,
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_UAL_insertNewTT" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertNewTT" Modifier="Public" Name="insertNewTT" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertNewTT">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_UAL_insertNewTT</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@SourceAL" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@TipoAl" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataCreaz" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@CodSoggetto" Precision="0" ProviderType="VarChar" Scale="0" Size="17" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@CodEvento" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="InputOutput" ParameterName="@AL" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AL2UDCTableAdapter" GeneratorDataComponentClassName="AL2UDCTableAdapter" Name="AL2UDC" UserDataComponentName="AL2UDCTableAdapter">
@@ -4816,7 +4833,7 @@ SELECT AL, UDC, DataCreaz, CodSoggetto FROM AL2UDC WHERE (AL = @AL) AND (UDC = @
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="StoricoAzioniOperatore" msprop:Generator_TableClassName="StoricoAzioniOperatoreDataTable" msprop:Generator_TableVarName="tableStoricoAzioniOperatore" msprop:Generator_RowChangedName="StoricoAzioniOperatoreRowChanged" msprop:Generator_TablePropName="StoricoAzioniOperatore" msprop:Generator_RowDeletingName="StoricoAzioniOperatoreRowDeleting" msprop:Generator_RowChangingName="StoricoAzioniOperatoreRowChanging" msprop:Generator_RowEvHandlerName="StoricoAzioniOperatoreRowChangeEventHandler" msprop:Generator_RowDeletedName="StoricoAzioniOperatoreRowDeleted" msprop:Generator_RowClassName="StoricoAzioniOperatoreRow" msprop:Generator_UserTableName="StoricoAzioniOperatore" msprop:Generator_RowEvArgName="StoricoAzioniOperatoreRowChangeEvent">
<xs:element name="StoricoAzioniOperatore" msprop:Generator_TableClassName="StoricoAzioniOperatoreDataTable" msprop:Generator_TableVarName="tableStoricoAzioniOperatore" msprop:Generator_TablePropName="StoricoAzioniOperatore" msprop:Generator_RowDeletingName="StoricoAzioniOperatoreRowDeleting" msprop:Generator_RowChangingName="StoricoAzioniOperatoreRowChanging" msprop:Generator_RowEvHandlerName="StoricoAzioniOperatoreRowChangeEventHandler" msprop:Generator_RowDeletedName="StoricoAzioniOperatoreRowDeleted" msprop:Generator_UserTableName="StoricoAzioniOperatore" msprop:Generator_RowChangedName="StoricoAzioniOperatoreRowChanged" msprop:Generator_RowEvArgName="StoricoAzioniOperatoreRowChangeEvent" msprop:Generator_RowClassName="StoricoAzioniOperatoreRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxEvento" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxEvento" msprop:Generator_ColumnPropNameInRow="idxEvento" msprop:Generator_ColumnPropNameInTable="idxEventoColumn" msprop:Generator_UserColumnName="idxEvento" type="xs:int" />
@@ -4873,7 +4890,7 @@ SELECT AL, UDC, DataCreaz, CodSoggetto FROM AL2UDC WHERE (AL = @AL) AND (UDC = @
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_MagFifoByParticolare" msprop:Generator_TableClassName="stp_MagFifoByParticolareDataTable" msprop:Generator_TableVarName="tablestp_MagFifoByParticolare" msprop:Generator_TablePropName="stp_MagFifoByParticolare" msprop:Generator_RowDeletingName="stp_MagFifoByParticolareRowDeleting" msprop:Generator_RowChangingName="stp_MagFifoByParticolareRowChanging" msprop:Generator_RowEvHandlerName="stp_MagFifoByParticolareRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_MagFifoByParticolareRowDeleted" msprop:Generator_UserTableName="stp_MagFifoByParticolare" msprop:Generator_RowChangedName="stp_MagFifoByParticolareRowChanged" msprop:Generator_RowEvArgName="stp_MagFifoByParticolareRowChangeEvent" msprop:Generator_RowClassName="stp_MagFifoByParticolareRow">
<xs:element name="stp_MagFifoByParticolare" msprop:Generator_TableClassName="stp_MagFifoByParticolareDataTable" msprop:Generator_TableVarName="tablestp_MagFifoByParticolare" msprop:Generator_RowChangedName="stp_MagFifoByParticolareRowChanged" msprop:Generator_TablePropName="stp_MagFifoByParticolare" msprop:Generator_RowDeletingName="stp_MagFifoByParticolareRowDeleting" msprop:Generator_RowChangingName="stp_MagFifoByParticolareRowChanging" msprop:Generator_RowEvHandlerName="stp_MagFifoByParticolareRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_MagFifoByParticolareRowDeleted" msprop:Generator_RowClassName="stp_MagFifoByParticolareRow" msprop:Generator_UserTableName="stp_MagFifoByParticolare" msprop:Generator_RowEvArgName="stp_MagFifoByParticolareRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxBlocco" msprop:Generator_ColumnVarNameInTable="columnIdxBlocco" msprop:Generator_ColumnPropNameInRow="IdxBlocco" msprop:Generator_ColumnPropNameInTable="IdxBloccoColumn" msprop:Generator_UserColumnName="IdxBlocco" type="xs:int" />
@@ -4905,7 +4922,7 @@ SELECT AL, UDC, DataCreaz, CodSoggetto FROM AL2UDC WHERE (AL = @AL) AND (UDC = @
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_UDC_FifoByParticolareBlocco" msprop:Generator_TableClassName="stp_UDC_FifoByParticolareBloccoDataTable" msprop:Generator_TableVarName="tablestp_UDC_FifoByParticolareBlocco" msprop:Generator_TablePropName="stp_UDC_FifoByParticolareBlocco" msprop:Generator_RowDeletingName="stp_UDC_FifoByParticolareBloccoRowDeleting" msprop:Generator_RowChangingName="stp_UDC_FifoByParticolareBloccoRowChanging" msprop:Generator_RowEvHandlerName="stp_UDC_FifoByParticolareBloccoRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_UDC_FifoByParticolareBloccoRowDeleted" msprop:Generator_UserTableName="stp_UDC_FifoByParticolareBlocco" msprop:Generator_RowChangedName="stp_UDC_FifoByParticolareBloccoRowChanged" msprop:Generator_RowEvArgName="stp_UDC_FifoByParticolareBloccoRowChangeEvent" msprop:Generator_RowClassName="stp_UDC_FifoByParticolareBloccoRow">
<xs:element name="stp_UDC_FifoByParticolareBlocco" msprop:Generator_TableClassName="stp_UDC_FifoByParticolareBloccoDataTable" msprop:Generator_TableVarName="tablestp_UDC_FifoByParticolareBlocco" msprop:Generator_RowChangedName="stp_UDC_FifoByParticolareBloccoRowChanged" msprop:Generator_TablePropName="stp_UDC_FifoByParticolareBlocco" msprop:Generator_RowDeletingName="stp_UDC_FifoByParticolareBloccoRowDeleting" msprop:Generator_RowChangingName="stp_UDC_FifoByParticolareBloccoRowChanging" msprop:Generator_RowEvHandlerName="stp_UDC_FifoByParticolareBloccoRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_UDC_FifoByParticolareBloccoRowDeleted" msprop:Generator_RowClassName="stp_UDC_FifoByParticolareBloccoRow" msprop:Generator_UserTableName="stp_UDC_FifoByParticolareBlocco" msprop:Generator_RowEvArgName="stp_UDC_FifoByParticolareBloccoRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="UDC" msprop:Generator_ColumnVarNameInTable="columnUDC" msprop:Generator_ColumnPropNameInRow="UDC" msprop:Generator_ColumnPropNameInTable="UDCColumn" msprop:Generator_UserColumnName="UDC">
@@ -4927,7 +4944,7 @@ SELECT AL, UDC, DataCreaz, CodSoggetto FROM AL2UDC WHERE (AL = @AL) AND (UDC = @
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoPostazioni" msprop:Generator_TableClassName="ElencoPostazioniDataTable" msprop:Generator_TableVarName="tableElencoPostazioni" msprop:Generator_RowChangedName="ElencoPostazioniRowChanged" msprop:Generator_TablePropName="ElencoPostazioni" msprop:Generator_RowDeletingName="ElencoPostazioniRowDeleting" msprop:Generator_RowChangingName="ElencoPostazioniRowChanging" msprop:Generator_RowEvHandlerName="ElencoPostazioniRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoPostazioniRowDeleted" msprop:Generator_RowClassName="ElencoPostazioniRow" msprop:Generator_UserTableName="ElencoPostazioni" msprop:Generator_RowEvArgName="ElencoPostazioniRowChangeEvent">
<xs:element name="ElencoPostazioni" msprop:Generator_TableClassName="ElencoPostazioniDataTable" msprop:Generator_TableVarName="tableElencoPostazioni" msprop:Generator_TablePropName="ElencoPostazioni" msprop:Generator_RowDeletingName="ElencoPostazioniRowDeleting" msprop:Generator_RowChangingName="ElencoPostazioniRowChanging" msprop:Generator_RowEvHandlerName="ElencoPostazioniRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoPostazioniRowDeleted" msprop:Generator_UserTableName="ElencoPostazioni" msprop:Generator_RowChangedName="ElencoPostazioniRowChanged" msprop:Generator_RowEvArgName="ElencoPostazioniRowChangeEvent" msprop:Generator_RowClassName="ElencoPostazioniRow">
<xs:complexType>
<xs:sequence>
<xs:element name="codPostazione" msprop:Generator_ColumnVarNameInTable="columncodPostazione" msprop:Generator_ColumnPropNameInRow="codPostazione" msprop:Generator_ColumnPropNameInTable="codPostazioneColumn" msprop:Generator_UserColumnName="codPostazione">
@@ -4954,7 +4971,7 @@ SELECT AL, UDC, DataCreaz, CodSoggetto FROM AL2UDC WHERE (AL = @AL) AND (UDC = @
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagLinee" msprop:Generator_TableClassName="AnagLineeDataTable" msprop:Generator_TableVarName="tableAnagLinee" msprop:Generator_TablePropName="AnagLinee" msprop:Generator_RowDeletingName="AnagLineeRowDeleting" msprop:Generator_RowChangingName="AnagLineeRowChanging" msprop:Generator_RowEvHandlerName="AnagLineeRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagLineeRowDeleted" msprop:Generator_UserTableName="AnagLinee" msprop:Generator_RowChangedName="AnagLineeRowChanged" msprop:Generator_RowEvArgName="AnagLineeRowChangeEvent" msprop:Generator_RowClassName="AnagLineeRow">
<xs:element name="AnagLinee" msprop:Generator_TableClassName="AnagLineeDataTable" msprop:Generator_TableVarName="tableAnagLinee" msprop:Generator_RowChangedName="AnagLineeRowChanged" msprop:Generator_TablePropName="AnagLinee" msprop:Generator_RowDeletingName="AnagLineeRowDeleting" msprop:Generator_RowChangingName="AnagLineeRowChanging" msprop:Generator_RowEvHandlerName="AnagLineeRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagLineeRowDeleted" msprop:Generator_RowClassName="AnagLineeRow" msprop:Generator_UserTableName="AnagLinee" msprop:Generator_RowEvArgName="AnagLineeRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodLinea" msprop:Generator_ColumnVarNameInTable="columnCodLinea" msprop:Generator_ColumnPropNameInRow="CodLinea" msprop:Generator_ColumnPropNameInTable="CodLineaColumn" msprop:Generator_UserColumnName="CodLinea">
@@ -4996,14 +5013,14 @@ SELECT AL, UDC, DataCreaz, CodSoggetto FROM AL2UDC WHERE (AL = @AL) AND (UDC = @
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_ParticolareInOutOk" msprop:Generator_TableClassName="stp_ParticolareInOutOkDataTable" msprop:Generator_TableVarName="tablestp_ParticolareInOutOk" msprop:Generator_RowChangedName="stp_ParticolareInOutOkRowChanged" msprop:Generator_TablePropName="stp_ParticolareInOutOk" msprop:Generator_RowDeletingName="stp_ParticolareInOutOkRowDeleting" msprop:Generator_RowChangingName="stp_ParticolareInOutOkRowChanging" msprop:Generator_RowEvHandlerName="stp_ParticolareInOutOkRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_ParticolareInOutOkRowDeleted" msprop:Generator_RowClassName="stp_ParticolareInOutOkRow" msprop:Generator_UserTableName="stp_ParticolareInOutOk" msprop:Generator_RowEvArgName="stp_ParticolareInOutOkRowChangeEvent">
<xs:element name="stp_ParticolareInOutOk" msprop:Generator_TableClassName="stp_ParticolareInOutOkDataTable" msprop:Generator_TableVarName="tablestp_ParticolareInOutOk" msprop:Generator_TablePropName="stp_ParticolareInOutOk" msprop:Generator_RowDeletingName="stp_ParticolareInOutOkRowDeleting" msprop:Generator_RowChangingName="stp_ParticolareInOutOkRowChanging" msprop:Generator_RowEvHandlerName="stp_ParticolareInOutOkRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_ParticolareInOutOkRowDeleted" msprop:Generator_UserTableName="stp_ParticolareInOutOk" msprop:Generator_RowChangedName="stp_ParticolareInOutOkRowChanged" msprop:Generator_RowEvArgName="stp_ParticolareInOutOkRowChangeEvent" msprop:Generator_RowClassName="stp_ParticolareInOutOkRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Trovati" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnTrovati" msprop:Generator_ColumnPropNameInRow="Trovati" msprop:Generator_ColumnPropNameInTable="TrovatiColumn" msprop:Generator_UserColumnName="Trovati" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Attr2UDC" msprop:Generator_TableClassName="Attr2UDCDataTable" msprop:Generator_TableVarName="tableAttr2UDC" msprop:Generator_TablePropName="Attr2UDC" msprop:Generator_RowDeletingName="Attr2UDCRowDeleting" msprop:Generator_RowChangingName="Attr2UDCRowChanging" msprop:Generator_RowEvHandlerName="Attr2UDCRowChangeEventHandler" msprop:Generator_RowDeletedName="Attr2UDCRowDeleted" msprop:Generator_UserTableName="Attr2UDC" msprop:Generator_RowChangedName="Attr2UDCRowChanged" msprop:Generator_RowEvArgName="Attr2UDCRowChangeEvent" msprop:Generator_RowClassName="Attr2UDCRow">
<xs:element name="Attr2UDC" msprop:Generator_TableClassName="Attr2UDCDataTable" msprop:Generator_TableVarName="tableAttr2UDC" msprop:Generator_RowChangedName="Attr2UDCRowChanged" msprop:Generator_TablePropName="Attr2UDC" msprop:Generator_RowDeletingName="Attr2UDCRowDeleting" msprop:Generator_RowChangingName="Attr2UDCRowChanging" msprop:Generator_RowEvHandlerName="Attr2UDCRowChangeEventHandler" msprop:Generator_RowDeletedName="Attr2UDCRowDeleted" msprop:Generator_RowClassName="Attr2UDCRow" msprop:Generator_UserTableName="Attr2UDC" msprop:Generator_RowEvArgName="Attr2UDCRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxAttr" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxAttr" msprop:Generator_ColumnPropNameInRow="idxAttr" msprop:Generator_ColumnPropNameInTable="idxAttrColumn" msprop:Generator_UserColumnName="idxAttr" type="xs:int" />
@@ -5039,7 +5056,7 @@ SELECT AL, UDC, DataCreaz, CodSoggetto FROM AL2UDC WHERE (AL = @AL) AND (UDC = @
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoAssiemi" msprop:Generator_TableClassName="ElencoAssiemiDataTable" msprop:Generator_TableVarName="tableElencoAssiemi" msprop:Generator_TablePropName="ElencoAssiemi" msprop:Generator_RowDeletingName="ElencoAssiemiRowDeleting" msprop:Generator_RowChangingName="ElencoAssiemiRowChanging" msprop:Generator_RowEvHandlerName="ElencoAssiemiRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoAssiemiRowDeleted" msprop:Generator_UserTableName="ElencoAssiemi" msprop:Generator_RowChangedName="ElencoAssiemiRowChanged" msprop:Generator_RowEvArgName="ElencoAssiemiRowChangeEvent" msprop:Generator_RowClassName="ElencoAssiemiRow">
<xs:element name="ElencoAssiemi" msprop:Generator_TableClassName="ElencoAssiemiDataTable" msprop:Generator_TableVarName="tableElencoAssiemi" msprop:Generator_RowChangedName="ElencoAssiemiRowChanged" msprop:Generator_TablePropName="ElencoAssiemi" msprop:Generator_RowDeletingName="ElencoAssiemiRowDeleting" msprop:Generator_RowChangingName="ElencoAssiemiRowChanging" msprop:Generator_RowEvHandlerName="ElencoAssiemiRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoAssiemiRowDeleted" msprop:Generator_RowClassName="ElencoAssiemiRow" msprop:Generator_UserTableName="ElencoAssiemi" msprop:Generator_RowEvArgName="ElencoAssiemiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="AL" msprop:Generator_ColumnVarNameInTable="columnAL" msprop:Generator_ColumnPropNameInRow="AL" msprop:Generator_ColumnPropNameInTable="ALColumn" msprop:Generator_UserColumnName="AL">
@@ -5096,7 +5113,7 @@ SELECT AL, UDC, DataCreaz, CodSoggetto FROM AL2UDC WHERE (AL = @AL) AND (UDC = @
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AL2UDC" msprop:Generator_TableClassName="AL2UDCDataTable" msprop:Generator_TableVarName="tableAL2UDC" msprop:Generator_TablePropName="AL2UDC" msprop:Generator_RowDeletingName="AL2UDCRowDeleting" msprop:Generator_RowChangingName="AL2UDCRowChanging" msprop:Generator_RowEvHandlerName="AL2UDCRowChangeEventHandler" msprop:Generator_RowDeletedName="AL2UDCRowDeleted" msprop:Generator_UserTableName="AL2UDC" msprop:Generator_RowChangedName="AL2UDCRowChanged" msprop:Generator_RowEvArgName="AL2UDCRowChangeEvent" msprop:Generator_RowClassName="AL2UDCRow">
<xs:element name="AL2UDC" msprop:Generator_TableClassName="AL2UDCDataTable" msprop:Generator_TableVarName="tableAL2UDC" msprop:Generator_RowChangedName="AL2UDCRowChanged" msprop:Generator_TablePropName="AL2UDC" msprop:Generator_RowDeletingName="AL2UDCRowDeleting" msprop:Generator_RowChangingName="AL2UDCRowChanging" msprop:Generator_RowEvHandlerName="AL2UDCRowChangeEventHandler" msprop:Generator_RowDeletedName="AL2UDCRowDeleted" msprop:Generator_RowClassName="AL2UDCRow" msprop:Generator_UserTableName="AL2UDC" msprop:Generator_RowEvArgName="AL2UDCRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="AL" msprop:Generator_ColumnVarNameInTable="columnAL" msprop:Generator_ColumnPropNameInRow="AL" msprop:Generator_ColumnPropNameInTable="ALColumn" msprop:Generator_UserColumnName="AL">
@@ -5281,20 +5298,20 @@ SELECT AL, UDC, DataCreaz, CodSoggetto FROM AL2UDC WHERE (AL = @AL) AND (UDC = @
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_PosizioneUdcCorrente_ElencoCartellini" msdata:parent="ElencoCartellini" msdata:child="PosizioneUdcCorrente" msdata:parentkey="UDC" msdata:childkey="UDC" msprop:Generator_UserChildTable="PosizioneUdcCorrente" msprop:Generator_ChildPropName="GetPosizioneUdcCorrenteRows" msprop:Generator_UserRelationName="FK_PosizioneUdcCorrente_ElencoCartellini" msprop:Generator_RelationVarName="relationFK_PosizioneUdcCorrente_ElencoCartellini" msprop:Generator_UserParentTable="ElencoCartellini" msprop:Generator_ParentPropName="ElencoCartelliniRow" />
<msdata:Relationship name="FK_PosizioneUdcStorico_ElencoCartellini" msdata:parent="ElencoCartellini" msdata:child="PosizioneUdcStorico" msdata:parentkey="UDC" msdata:childkey="UDC" msprop:Generator_UserChildTable="PosizioneUdcStorico" msprop:Generator_ChildPropName="GetPosizioneUdcStoricoRows" msprop:Generator_UserRelationName="FK_PosizioneUdcStorico_ElencoCartellini" msprop:Generator_RelationVarName="relationFK_PosizioneUdcStorico_ElencoCartellini" msprop:Generator_UserParentTable="ElencoCartellini" msprop:Generator_ParentPropName="ElencoCartelliniRow" />
<msdata:Relationship name="FK_Blocchi_AnagMag" msdata:parent="AnagMag" msdata:child="Blocchi" msdata:parentkey="CodMag CodCS" msdata:childkey="CodMag CodCS" msprop:Generator_UserChildTable="Blocchi" msprop:Generator_ChildPropName="GetBlocchiRows" msprop:Generator_UserRelationName="FK_Blocchi_AnagMag" msprop:Generator_RelationVarName="relationFK_Blocchi_AnagMag" msprop:Generator_UserParentTable="AnagMag" msprop:Generator_ParentPropName="AnagMagRowParent" />
<msdata:Relationship name="FK_PosizioneUdcCorrente_Celle" msdata:parent="Celle" msdata:child="PosizioneUdcCorrente" msdata:parentkey="IdxCella" msdata:childkey="IdxCella" msprop:Generator_UserChildTable="PosizioneUdcCorrente" msprop:Generator_ChildPropName="GetPosizioneUdcCorrenteRows" msprop:Generator_UserRelationName="FK_PosizioneUdcCorrente_Celle" msprop:Generator_RelationVarName="relationFK_PosizioneUdcCorrente_Celle" msprop:Generator_UserParentTable="Celle" msprop:Generator_ParentPropName="CelleRow" />
<msdata:Relationship name="FK_Celle_Blocchi1" msdata:parent="Blocchi" msdata:child="Celle" msdata:parentkey="IdxBlocco" msdata:childkey="IdxBlocco" msprop:Generator_UserChildTable="Celle" msprop:Generator_ChildPropName="GetCelleRows" msprop:Generator_UserRelationName="FK_Celle_Blocchi1" msprop:Generator_RelationVarName="relationFK_Celle_Blocchi1" msprop:Generator_UserParentTable="Blocchi" msprop:Generator_ParentPropName="BlocchiRow" />
<msdata:Relationship name="FK_TipoCella_AnagMag" msdata:parent="AnagMag" msdata:child="TipoCella" msdata:parentkey="CodMag CodCS" msdata:childkey="CodMag CodCS" msprop:Generator_UserChildTable="TipoCella" msprop:Generator_ChildPropName="GetTipoCellaRows" msprop:Generator_UserRelationName="FK_TipoCella_AnagMag" msprop:Generator_RelationVarName="relationFK_TipoCella_AnagMag" msprop:Generator_UserParentTable="AnagMag" msprop:Generator_ParentPropName="AnagMagRowParent" />
<msdata:Relationship name="FK_RigheListePrelievo_ElencoCartellini" msdata:parent="ElencoCartellini" msdata:child="RigheListePrelievo" msdata:parentkey="UDC" msdata:childkey="UDC" msprop:Generator_UserChildTable="RigheListePrelievo" msprop:Generator_ChildPropName="GetRigheListePrelievoRows" msprop:Generator_UserRelationName="FK_RigheListePrelievo_ElencoCartellini" msprop:Generator_RelationVarName="relationFK_RigheListePrelievo_ElencoCartellini" msprop:Generator_UserParentTable="ElencoCartellini" msprop:Generator_ParentPropName="ElencoCartelliniRow" />
<msdata:Relationship name="FK_RigheListePrelievo_ElencoListePrelievo11" msdata:parent="ElencoListePrelievo" msdata:child="RigheListePrelievo" msdata:parentkey="CodLista" msdata:childkey="CodLista" msprop:Generator_UserChildTable="RigheListePrelievo" msprop:Generator_ChildPropName="GetRigheListePrelievoRows" msprop:Generator_UserRelationName="FK_RigheListePrelievo_ElencoListePrelievo11" msprop:Generator_RelationVarName="relationFK_RigheListePrelievo_ElencoListePrelievo11" msprop:Generator_UserParentTable="ElencoListePrelievo" msprop:Generator_ParentPropName="_ElencoListePrelievoRow" />
<msdata:Relationship name="FK_ElencoListePrelievo_TipoListaPrelievo11" msdata:parent="TipoListaPrelievo" msdata:child="ElencoListePrelievo" msdata:parentkey="CodTipoLista" msdata:childkey="CodTipoLista" msprop:Generator_UserChildTable="ElencoListePrelievo" msprop:Generator_ChildPropName="_GetElencoListePrelievoRows" msprop:Generator_UserRelationName="FK_ElencoListePrelievo_TipoListaPrelievo11" msprop:Generator_RelationVarName="relationFK_ElencoListePrelievo_TipoListaPrelievo11" msprop:Generator_UserParentTable="TipoListaPrelievo" msprop:Generator_ParentPropName="TipoListaPrelievoRow" />
<msdata:Relationship name="FK_ElencoCartellini_AnagPosizioni" msdata:parent="AnagPosizioni" msdata:child="ElencoCartellini" msdata:parentkey="IdxPosizione" msdata:childkey="IdxPosizione" msprop:Generator_UserChildTable="ElencoCartellini" msprop:Generator_ChildPropName="GetElencoCartelliniRows" msprop:Generator_UserRelationName="FK_ElencoCartellini_AnagPosizioni" msprop:Generator_RelationVarName="relationFK_ElencoCartellini_AnagPosizioni" msprop:Generator_UserParentTable="AnagPosizioni" msprop:Generator_ParentPropName="AnagPosizioniRow" />
<msdata:Relationship name="FK_Celle_TipoCella" msdata:parent="TipoCella" msdata:child="Celle" msdata:parentkey="IdxTipoCella" msdata:childkey="IdxTipoCella" msprop:Generator_UserChildTable="Celle" msprop:Generator_ChildPropName="GetCelleRows" msprop:Generator_UserRelationName="FK_Celle_TipoCella" msprop:Generator_RelationVarName="relationFK_Celle_TipoCella" msprop:Generator_UserParentTable="TipoCella" msprop:Generator_ParentPropName="TipoCellaRow" />
<msdata:Relationship name="FK_Attr2UDC_ElencoCartellini" msdata:parent="ElencoCartellini" msdata:child="Attr2UDC" msdata:parentkey="UDC" msdata:childkey="UDC" msprop:Generator_UserChildTable="Attr2UDC" msprop:Generator_ChildPropName="GetAttr2UDCRows" msprop:Generator_UserRelationName="FK_Attr2UDC_ElencoCartellini" msprop:Generator_ParentPropName="ElencoCartelliniRow" msprop:Generator_RelationVarName="relationFK_Attr2UDC_ElencoCartellini" msprop:Generator_UserParentTable="ElencoCartellini" />
<msdata:Relationship name="FK_AL2UDC_ElencoAssiemi" msdata:parent="ElencoAssiemi" msdata:child="AL2UDC" msdata:parentkey="AL" msdata:childkey="AL" msprop:Generator_UserChildTable="AL2UDC" msprop:Generator_ChildPropName="GetAL2UDCRows" msprop:Generator_UserRelationName="FK_AL2UDC_ElencoAssiemi" msprop:Generator_ParentPropName="ElencoAssiemiRow" msprop:Generator_RelationVarName="relationFK_AL2UDC_ElencoAssiemi" msprop:Generator_UserParentTable="ElencoAssiemi" />
<msdata:Relationship name="FK_AL2UDC_ElencoCartellini" msdata:parent="ElencoCartellini" msdata:child="AL2UDC" msdata:parentkey="UDC" msdata:childkey="UDC" msprop:Generator_UserChildTable="AL2UDC" msprop:Generator_ChildPropName="GetAL2UDCRows" msprop:Generator_UserRelationName="FK_AL2UDC_ElencoCartellini" msprop:Generator_ParentPropName="ElencoCartelliniRow" msprop:Generator_RelationVarName="relationFK_AL2UDC_ElencoCartellini" msprop:Generator_UserParentTable="ElencoCartellini" />
<msdata:Relationship name="FK_PosizioneUdcCorrente_ElencoCartellini" msdata:parent="ElencoCartellini" msdata:child="PosizioneUdcCorrente" msdata:parentkey="UDC" msdata:childkey="UDC" msprop:Generator_UserChildTable="PosizioneUdcCorrente" msprop:Generator_ChildPropName="GetPosizioneUdcCorrenteRows" msprop:Generator_UserRelationName="FK_PosizioneUdcCorrente_ElencoCartellini" msprop:Generator_ParentPropName="ElencoCartelliniRow" msprop:Generator_RelationVarName="relationFK_PosizioneUdcCorrente_ElencoCartellini" msprop:Generator_UserParentTable="ElencoCartellini" />
<msdata:Relationship name="FK_PosizioneUdcStorico_ElencoCartellini" msdata:parent="ElencoCartellini" msdata:child="PosizioneUdcStorico" msdata:parentkey="UDC" msdata:childkey="UDC" msprop:Generator_UserChildTable="PosizioneUdcStorico" msprop:Generator_ChildPropName="GetPosizioneUdcStoricoRows" msprop:Generator_UserRelationName="FK_PosizioneUdcStorico_ElencoCartellini" msprop:Generator_ParentPropName="ElencoCartelliniRow" msprop:Generator_RelationVarName="relationFK_PosizioneUdcStorico_ElencoCartellini" msprop:Generator_UserParentTable="ElencoCartellini" />
<msdata:Relationship name="FK_Blocchi_AnagMag" msdata:parent="AnagMag" msdata:child="Blocchi" msdata:parentkey="CodMag CodCS" msdata:childkey="CodMag CodCS" msprop:Generator_UserChildTable="Blocchi" msprop:Generator_ChildPropName="GetBlocchiRows" msprop:Generator_UserRelationName="FK_Blocchi_AnagMag" msprop:Generator_ParentPropName="AnagMagRowParent" msprop:Generator_RelationVarName="relationFK_Blocchi_AnagMag" msprop:Generator_UserParentTable="AnagMag" />
<msdata:Relationship name="FK_PosizioneUdcCorrente_Celle" msdata:parent="Celle" msdata:child="PosizioneUdcCorrente" msdata:parentkey="IdxCella" msdata:childkey="IdxCella" msprop:Generator_UserChildTable="PosizioneUdcCorrente" msprop:Generator_ChildPropName="GetPosizioneUdcCorrenteRows" msprop:Generator_UserRelationName="FK_PosizioneUdcCorrente_Celle" msprop:Generator_ParentPropName="CelleRow" msprop:Generator_RelationVarName="relationFK_PosizioneUdcCorrente_Celle" msprop:Generator_UserParentTable="Celle" />
<msdata:Relationship name="FK_Celle_Blocchi1" msdata:parent="Blocchi" msdata:child="Celle" msdata:parentkey="IdxBlocco" msdata:childkey="IdxBlocco" msprop:Generator_UserChildTable="Celle" msprop:Generator_ChildPropName="GetCelleRows" msprop:Generator_UserRelationName="FK_Celle_Blocchi1" msprop:Generator_ParentPropName="BlocchiRow" msprop:Generator_RelationVarName="relationFK_Celle_Blocchi1" msprop:Generator_UserParentTable="Blocchi" />
<msdata:Relationship name="FK_TipoCella_AnagMag" msdata:parent="AnagMag" msdata:child="TipoCella" msdata:parentkey="CodMag CodCS" msdata:childkey="CodMag CodCS" msprop:Generator_UserChildTable="TipoCella" msprop:Generator_ChildPropName="GetTipoCellaRows" msprop:Generator_UserRelationName="FK_TipoCella_AnagMag" msprop:Generator_ParentPropName="AnagMagRowParent" msprop:Generator_RelationVarName="relationFK_TipoCella_AnagMag" msprop:Generator_UserParentTable="AnagMag" />
<msdata:Relationship name="FK_RigheListePrelievo_ElencoCartellini" msdata:parent="ElencoCartellini" msdata:child="RigheListePrelievo" msdata:parentkey="UDC" msdata:childkey="UDC" msprop:Generator_UserChildTable="RigheListePrelievo" msprop:Generator_ChildPropName="GetRigheListePrelievoRows" msprop:Generator_UserRelationName="FK_RigheListePrelievo_ElencoCartellini" msprop:Generator_ParentPropName="ElencoCartelliniRow" msprop:Generator_RelationVarName="relationFK_RigheListePrelievo_ElencoCartellini" msprop:Generator_UserParentTable="ElencoCartellini" />
<msdata:Relationship name="FK_RigheListePrelievo_ElencoListePrelievo11" msdata:parent="ElencoListePrelievo" msdata:child="RigheListePrelievo" msdata:parentkey="CodLista" msdata:childkey="CodLista" msprop:Generator_UserChildTable="RigheListePrelievo" msprop:Generator_ChildPropName="GetRigheListePrelievoRows" msprop:Generator_UserRelationName="FK_RigheListePrelievo_ElencoListePrelievo11" msprop:Generator_ParentPropName="_ElencoListePrelievoRow" msprop:Generator_RelationVarName="relationFK_RigheListePrelievo_ElencoListePrelievo11" msprop:Generator_UserParentTable="ElencoListePrelievo" />
<msdata:Relationship name="FK_ElencoListePrelievo_TipoListaPrelievo11" msdata:parent="TipoListaPrelievo" msdata:child="ElencoListePrelievo" msdata:parentkey="CodTipoLista" msdata:childkey="CodTipoLista" msprop:Generator_UserChildTable="ElencoListePrelievo" msprop:Generator_ChildPropName="_GetElencoListePrelievoRows" msprop:Generator_UserRelationName="FK_ElencoListePrelievo_TipoListaPrelievo11" msprop:Generator_ParentPropName="TipoListaPrelievoRow" msprop:Generator_RelationVarName="relationFK_ElencoListePrelievo_TipoListaPrelievo11" msprop:Generator_UserParentTable="TipoListaPrelievo" />
<msdata:Relationship name="FK_ElencoCartellini_AnagPosizioni" msdata:parent="AnagPosizioni" msdata:child="ElencoCartellini" msdata:parentkey="IdxPosizione" msdata:childkey="IdxPosizione" msprop:Generator_UserChildTable="ElencoCartellini" msprop:Generator_ChildPropName="GetElencoCartelliniRows" msprop:Generator_UserRelationName="FK_ElencoCartellini_AnagPosizioni" msprop:Generator_ParentPropName="AnagPosizioniRow" msprop:Generator_RelationVarName="relationFK_ElencoCartellini_AnagPosizioni" msprop:Generator_UserParentTable="AnagPosizioni" />
<msdata:Relationship name="FK_Celle_TipoCella" msdata:parent="TipoCella" msdata:child="Celle" msdata:parentkey="IdxTipoCella" msdata:childkey="IdxTipoCella" msprop:Generator_UserChildTable="Celle" msprop:Generator_ChildPropName="GetCelleRows" msprop:Generator_UserRelationName="FK_Celle_TipoCella" msprop:Generator_ParentPropName="TipoCellaRow" msprop:Generator_RelationVarName="relationFK_Celle_TipoCella" msprop:Generator_UserParentTable="TipoCella" />
<msdata:Relationship name="FK_Attr2UDC_ElencoCartellini" msdata:parent="ElencoCartellini" msdata:child="Attr2UDC" msdata:parentkey="UDC" msdata:childkey="UDC" msprop:Generator_UserChildTable="Attr2UDC" msprop:Generator_ChildPropName="GetAttr2UDCRows" msprop:Generator_UserRelationName="FK_Attr2UDC_ElencoCartellini" msprop:Generator_RelationVarName="relationFK_Attr2UDC_ElencoCartellini" msprop:Generator_UserParentTable="ElencoCartellini" msprop:Generator_ParentPropName="ElencoCartelliniRow" />
<msdata:Relationship name="FK_AL2UDC_ElencoAssiemi" msdata:parent="ElencoAssiemi" msdata:child="AL2UDC" msdata:parentkey="AL" msdata:childkey="AL" msprop:Generator_UserChildTable="AL2UDC" msprop:Generator_ChildPropName="GetAL2UDCRows" msprop:Generator_UserRelationName="FK_AL2UDC_ElencoAssiemi" msprop:Generator_RelationVarName="relationFK_AL2UDC_ElencoAssiemi" msprop:Generator_UserParentTable="ElencoAssiemi" msprop:Generator_ParentPropName="ElencoAssiemiRow" />
<msdata:Relationship name="FK_AL2UDC_ElencoCartellini" msdata:parent="ElencoCartellini" msdata:child="AL2UDC" msdata:parentkey="UDC" msdata:childkey="UDC" msprop:Generator_UserChildTable="AL2UDC" msprop:Generator_ChildPropName="GetAL2UDCRows" msprop:Generator_UserRelationName="FK_AL2UDC_ElencoCartellini" msprop:Generator_RelationVarName="relationFK_AL2UDC_ElencoCartellini" msprop:Generator_UserParentTable="ElencoCartellini" msprop:Generator_ParentPropName="ElencoCartelliniRow" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+14 -14
View File
@@ -4,16 +4,16 @@
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="-122" 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="-143" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:ElencoCartellini" ZOrder="4" X="87" Y="230" Height="495" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
<Shape ID="DesignTable:ElencoCartellini" ZOrder="5" X="87" Y="230" Height="495" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
<Shape ID="DesignTable:AnagMag" ZOrder="22" X="1047" Y="389" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:PosizioneUdcCorrente" ZOrder="19" X="409" Y="544" Height="286" Width="245" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:PosizioneUdcStorico" ZOrder="47" X="412" Y="310" Height="168" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Blocchi" ZOrder="42" X="1072" Y="655" Height="325" Width="258" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="181" />
<Shape ID="DesignTable:Celle" ZOrder="24" X="712" Y="420" Height="438" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:TipoCella" ZOrder="29" X="1007" Y="-15" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:v_UdcDetail" ZOrder="5" X="693" Y="-21" Height="419" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:v_UdcDetail" ZOrder="6" X="693" Y="-21" Height="419" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagImballi" ZOrder="11" X="318" Y="-36" Height="172" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:V_ParticolariOverview" ZOrder="31" X="95" Y="1131" Height="248" Width="265" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:V_MagazziniOverview" ZOrder="20" X="733" Y="1102" Height="362" Width="271" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
@@ -29,7 +29,7 @@
<Shape ID="DesignTable:RapQual" ZOrder="23" X="1071" Y="1633" Height="419" Width="293" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
<Shape ID="DesignTable:v_posizioniDelibere" ZOrder="26" X="107" Y="1701" Height="134" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_RapQualSunto" ZOrder="25" X="498" Y="1731" Height="267" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:AnagParticolari" ZOrder="2" X="765" Y="1768" Height="229" Width="258" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:AnagParticolari" ZOrder="3" X="765" Y="1768" Height="229" Width="258" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:AnagLeghe" ZOrder="21" X="131" Y="1854" Height="134" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:StoricoAzioniOperatore" ZOrder="18" X="104" Y="2017" Height="324" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:stp_MagFifoByParticolare" ZOrder="17" X="354" Y="2020" Height="229" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
@@ -38,8 +38,8 @@
<Shape ID="DesignTable:AnagLinee" ZOrder="13" X="1058" Y="2115" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:stp_ParticolareInOutOk" ZOrder="12" X="474" Y="2283" Height="96" Width="199" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
<Shape ID="DesignTable:Attr2UDC" ZOrder="8" X="85" Y="-9" Height="210" Width="200" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:ElencoAssiemi" ZOrder="6" X="-94" Y="554" Height="286" Width="166" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:AL2UDC" ZOrder="3" X="-122" Y="286" Height="210" Width="169" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:ElencoAssiemi" ZOrder="1" X="-137" Y="550" Height="305" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:AL2UDC" ZOrder="4" X="-138" Y="289" Height="210" Width="190" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_ElencoCartellini" ZOrder="48" LineWidth="11">
@@ -194,15 +194,15 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_AL2UDC_ElencoAssiemi" ZOrder="1" LineWidth="11">
<Connector ID="DesignRelation:FK_AL2UDC_ElencoAssiemi" ZOrder="2" LineWidth="11">
<RoutePoints>
<Point>
<X>-27</X>
<Y>554</Y>
<X>-39</X>
<Y>550</Y>
</Point>
<Point>
<X>-27</X>
<Y>496</Y>
<X>-39</X>
<Y>499</Y>
</Point>
</RoutePoints>
</Connector>
@@ -210,11 +210,11 @@
<RoutePoints>
<Point>
<X>87</X>
<Y>333</Y>
<Y>336</Y>
</Point>
<Point>
<X>47</X>
<Y>333</Y>
<X>52</X>
<Y>336</Y>
</Point>
</RoutePoints>
</Connector>
+45 -41
View File
@@ -252,42 +252,6 @@ namespace GMW_data
TipoAL = "R";
CodEvento = "UDC_RX";
break;
case tipoAL.AL_TtDt:
PostFlux = "TtDt";
CodFlusso = "AT";
TipoAL = "T";
CodEvento = "UDC_TT_DT";
// calcolo primo/ultimo dtx OK
try
{
DS_DataMatrix.stp_getFirstLastDtxRow rigaFirstLast = DataMatrix.mgr.taFirstLastUdc.GetData(CodCella)[0];
if (!rigaFirstLast.IsNull(0))
{
CodDtxStart = rigaFirstLast.DtxStart;
CodDtxEnd = rigaFirstLast.DtxEnd;
}
else
{
CodDtxStart = "";
CodDtxEnd = "";
}
}
catch
{
CodDtxStart = "";
CodDtxEnd = "";
}
break;
case tipoAL.AL_TtNt:
PostFlux = "TtNt";
CodFlusso = "AT";
TipoAL = "T";
CodEvento = "UDC_TT";
break;
case tipoAL.AL_LpDt:
break;
case tipoAL.AL_LpNt:
break;
default:
break;
}
@@ -304,16 +268,56 @@ namespace GMW_data
// creo nuovo Assieme Logico ed associo UDC!
try
{
taEA.insertNewAL(CodCS, annoTrim, Cesta, PostFlux, CodFlusso, TipoAL, DataRif, CodSoggettoTrim, CodDtxStart, CodDtxEnd, CodCella, CodEvento, note, ref AL);
taEA.insertNewRX(CodCS, annoTrim, Cesta, PostFlux, CodFlusso, TipoAL, DataRif, CodSoggettoTrim, CodDtxStart, CodDtxEnd, CodCella, CodEvento, note, ref AL);
}
catch (Exception exc)
{
// loggo errore
logger.lg.scriviLog(string.Format("ERRORE CREAZIONE AL: | {0} | procedura stp_UAL_insertNewAL, parametri: {1} | {2} | {3} | {4} | {5} | {6} | {7} | {8} | {9} | {10} | {11} | {12} | {13} {0} {14}", Environment.NewLine, CodCS, annoTrim, Cesta, PostFlux, CodFlusso, TipoAL, DataRif, CodSoggettoTrim, CodDtxStart, CodDtxEnd, CodCella, CodEvento, note, exc), tipoLog.EXCEPTION);
logger.lg.scriviLog(string.Format("ERRORE CREAZIONE AL: {0} procedura stp_UAL_insertNewRX, parametri: {1} | {2} | {3} | {4} | {5} | {6} | {7} | {8} | {9} | {10} | {11} | {12} | {13} {0} {14}", Environment.NewLine, CodCS, annoTrim, Cesta, PostFlux, CodFlusso, TipoAL, DataRif, CodSoggettoTrim, CodDtxStart, CodDtxEnd, CodCella, CodEvento, note, exc), tipoLog.EXCEPTION);
}
return AL;
}
/// <summary>
/// Crea un nuovo AL di tipo TT a partire da uno RX e sistema di conseguenza UDC ed eventuali Dtx
/// </summary>
/// <param name="AL_from">Codice AL RX sorgente</param>
/// <param name="tipologia">tipologia (T)</param>
/// <param name="CodSoggetto">Operatore</param>
/// <param name="note">Note</param>
/// <returns></returns>
public string creaAssociaAlTT(string SourceAL, tipoAL tipologia, string CodSoggetto, string note)
{
// imposto valori default
string TipoAL = "";
string CodEvento = "";
DateTime DataRif = DateTime.Now;
// trim fix
string CodSoggettoTrim = CodSoggetto.Trim();
// out: codice AL...
string AL = "NA";
switch (tipologia)
{
case tipoAL.AL_TtDt:
case tipoAL.AL_TtNt:
TipoAL = "T";
CodEvento = "UDC_TRATT";
break;
default:
break;
}
// creo nuovo Assieme Logico ed associo UDC!
try
{
taEA.insertNewTT(SourceAL, TipoAL, DataRif, CodSoggetto, CodEvento, note, ref AL);
}
catch (Exception exc)
{
// loggo errore
logger.lg.scriviLog(string.Format("ERRORE avanzamento AL TT: {0} procedura stp_UAL_insertNewTT, parametri: {1} | {2} | {3} | {4} | {5} | {6} | {0} {7}", Environment.NewLine, SourceAL, TipoAL, DataRif, CodSoggetto, CodEvento, note, exc), tipoLog.EXCEPTION);
}
return AL;
}
/// <summary>
/// verifica se l'AL indicato sia valido, ovvero esistente
/// </summary>
/// <param name="AL"></param>
@@ -371,7 +375,7 @@ namespace GMW_data
}
return answ;
}
#endregion
#region operazioni su UDC
@@ -479,7 +483,7 @@ namespace GMW_data
{ }
return answ;
}
/// <summary>
/// <summary>
/// rettifica la qta di un UDC
/// </summary>
/// <param name="UdcFrom">Codice UDC sorgente</param>
@@ -500,7 +504,7 @@ namespace GMW_data
{ }
return answ;
}
/// <summary>
/// <summary>
/// verifica se l'UDC indicato sia valido, ovvero esistente
/// </summary>
/// <param name="UDC"></param>
+2 -2
View File
@@ -5,7 +5,7 @@
using System.Reflection;
[assembly: AssemblyVersion("2.5.619.1532")]
[assembly: AssemblyFileVersion("2.5.619.1532")]
[assembly: AssemblyVersion("2.5.620.1533")]
[assembly: AssemblyFileVersion("2.5.620.1533")]
//[assembly: AssemblyCopyright("© Steamware 2007-2014")]
//[assembly: AssemblyCompany("Steamware")]
+2 -2
View File
@@ -6,8 +6,8 @@
using System.Reflection;
[assembly: AssemblyVersion("2.5.619.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("2.5.619.<#= this.RevisionNumber #>")]
[assembly: AssemblyVersion("2.5.620.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("2.5.620.<#= this.RevisionNumber #>")]
//[assembly: AssemblyCopyright("© Steamware 2007-<#= DateTime.Now.Year #>")]
//[assembly: AssemblyCompany("Steamware")]
<#+