Merge branch 'ADM' into MAG

This commit is contained in:
Samuele E. Locatelli
2021-01-28 22:57:44 +01:00
24 changed files with 3444 additions and 1515 deletions
Vendored
+1 -1
View File
@@ -13,7 +13,7 @@ pipeline {
steps {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
withEnv(['NEXT_BUILD_NUMBER=1380']) {
withEnv(['NEXT_BUILD_NUMBER=1382']) {
// env.versionNumber = VersionNumber(versionNumberString : '6.12.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '6.12.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'MAPO'
@@ -9,7 +9,7 @@ namespace MP_MAG.Controllers
{
/// <summary>
/// Restituisce un array JSon x le conf delle code di stampa
/// GET: api/PrintQueue
/// GET: api/PrintQueueConf
/// </summary>
/// <returns>lista oggetto Json in formato SteamwareSDK.queueConf</returns>
public List<SteamWare.Reports.queueConf> Get()
+8
View File
@@ -471,6 +471,13 @@
<Compile Include="WebUserControls\cmp_jumper.ascx.designer.cs">
<DependentUpon>cmp_jumper.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_listODL.ascx.cs">
<DependentUpon>cmp_listODL.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\cmp_listODL.ascx.designer.cs">
<DependentUpon>cmp_listODL.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_menuTop.ascx.cs">
<DependentUpon>cmp_menuTop.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -814,6 +821,7 @@
<Content Include="WebUserControls\cmp_elencoUDC.ascx" />
<Content Include="WebUserControls\cmp_footer.ascx" />
<Content Include="WebUserControls\cmp_jumper.ascx" />
<Content Include="WebUserControls\cmp_listODL.ascx" />
<Content Include="WebUserControls\cmp_menuTop.ascx" />
<Content Include="WebUserControls\cmp_numRow.ascx" />
<Content Include="WebUserControls\cmp_OrderList.ascx" />
File diff suppressed because it is too large Load Diff
+98 -23
View File
@@ -7,11 +7,11 @@
"OutputFormat": "EMF",
"PageHeight": "148mm",
"PageWidth": "210mm",
"MarginLeft": "0mm",
"MarginRight": "0mm",
"MarginTop": "30mm",
"MarginBottom": "0mm",
"xmlParam": "<DeviceInfo><OutputFormat>EMF</OutputFormat><PageWidth>210mm</PageWidth><PageHeight>148mm</PageHeight><MarginTop>30mm</MarginTop><MarginLeft>0mm</MarginLeft><MarginRight>0mm</MarginRight><MarginBottom>0mm</MarginBottom></DeviceInfo>"
"MarginLeft": "10mm",
"MarginRight": "10mm",
"MarginTop": "10mm",
"MarginBottom": "10mm",
"xmlParam": "<DeviceInfo><OutputFormat>EMF</OutputFormat><PageWidth>210mm</PageWidth><PageHeight>148mm</PageHeight><MarginTop>10mm</MarginTop><MarginLeft>10mm</MarginLeft><MarginRight>10mm</MarginRight><MarginBottom>10mm</MarginBottom></DeviceInfo>"
}
},
{
@@ -21,12 +21,12 @@
"deviceInfoParam": {
"OutputFormat": "EMF",
"PageHeight": "148mm",
"PageWidth": "213mm",
"MarginLeft": "10mm",
"MarginRight": "10mm",
"MarginTop": "10mm",
"MarginBottom": "10mm",
"xmlParam": "<DeviceInfo><OutputFormat>EMF</OutputFormat><PageWidth>213mm</PageWidth><PageHeight>148mm</PageHeight><MarginTop>10mm</MarginTop><MarginLeft>10mm</MarginLeft><MarginRight>10mm</MarginRight><MarginBottom>10mm</MarginBottom></DeviceInfo>"
"PageWidth": "210mm",
"MarginLeft": "0mm",
"MarginRight": "0mm",
"MarginTop": "0mm",
"MarginBottom": "0mm",
"xmlParam": "<DeviceInfo><OutputFormat>EMF</OutputFormat><PageWidth>210mm</PageWidth><PageHeight>148mm</PageHeight><MarginTop>0mm</MarginTop><MarginLeft>0mm</MarginLeft><MarginRight>0mm</MarginRight><MarginBottom>0mm</MarginBottom></DeviceInfo>"
}
},
{
@@ -52,30 +52,90 @@
"OutputFormat": "EMF",
"PageHeight": "148mm",
"PageWidth": "210mm",
"MarginLeft": "0mm",
"MarginRight": "0mm",
"MarginTop": "30mm",
"MarginBottom": "0mm",
"xmlParam": "<DeviceInfo><OutputFormat>EMF</OutputFormat><PageWidth>210mm</PageWidth><PageHeight>148mm</PageHeight><MarginTop>30mm</MarginTop><MarginLeft>0mm</MarginLeft><MarginRight>0mm</MarginRight><MarginBottom>0mm</MarginBottom></DeviceInfo>"
"MarginLeft": "10mm",
"MarginRight": "10mm",
"MarginTop": "10mm",
"MarginBottom": "10mm",
"xmlParam": "<DeviceInfo><OutputFormat>EMF</OutputFormat><PageWidth>210mm</PageWidth><PageHeight>148mm</PageHeight><MarginTop>10mm</MarginTop><MarginLeft>10mm</MarginLeft><MarginRight>10mm</MarginRight><MarginBottom>10mm</MarginBottom></DeviceInfo>"
}
},
{
"name": "SIMUL_02",
"name": "EC2024",
"template": "CartellinoFinitiOdette.rdlc",
"printerName": "Microsoft Print to PDF",
"deviceInfoParam": {
"OutputFormat": "EMF",
"PageHeight": "148mm",
"PageWidth": "210mm",
"MarginLeft": "0mm",
"MarginRight": "0mm",
"MarginTop": "30mm",
"MarginBottom": "0mm",
"xmlParam": "<DeviceInfo><OutputFormat>EMF</OutputFormat><PageWidth>210mm</PageWidth><PageHeight>148mm</PageHeight><MarginTop>30mm</MarginTop><MarginLeft>0mm</MarginLeft><MarginRight>0mm</MarginRight><MarginBottom>0mm</MarginBottom></DeviceInfo>"
"MarginLeft": "10mm",
"MarginRight": "10mm",
"MarginTop": "10mm",
"MarginBottom": "10mm",
"xmlParam": "<DeviceInfo><OutputFormat>EMF</OutputFormat><PageWidth>210mm</PageWidth><PageHeight>148mm</PageHeight><MarginTop>10mm</MarginTop><MarginLeft>10mm</MarginLeft><MarginRight>10mm</MarginRight><MarginBottom>10mm</MarginBottom></DeviceInfo>"
}
},
{
"name": "SIMUL_03",
"name": "EC2025",
"template": "CartellinoFinitiOdette.rdlc",
"printerName": "Microsoft Print to PDF",
"deviceInfoParam": {
"OutputFormat": "EMF",
"PageHeight": "148mm",
"PageWidth": "210mm",
"MarginLeft": "10mm",
"MarginRight": "10mm",
"MarginTop": "10mm",
"MarginBottom": "10mm",
"xmlParam": "<DeviceInfo><OutputFormat>EMF</OutputFormat><PageWidth>210mm</PageWidth><PageHeight>148mm</PageHeight><MarginTop>10mm</MarginTop><MarginLeft>10mm</MarginLeft><MarginRight>10mm</MarginRight><MarginBottom>10mm</MarginBottom></DeviceInfo>"
}
},
{
"name": "EC2026",
"template": "CartellinoFinitiOdette.rdlc",
"printerName": "Microsoft Print to PDF",
"deviceInfoParam": {
"OutputFormat": "EMF",
"PageHeight": "148mm",
"PageWidth": "210mm",
"MarginLeft": "10mm",
"MarginRight": "10mm",
"MarginTop": "10mm",
"MarginBottom": "10mm",
"xmlParam": "<DeviceInfo><OutputFormat>EMF</OutputFormat><PageWidth>210mm</PageWidth><PageHeight>148mm</PageHeight><MarginTop>10mm</MarginTop><MarginLeft>10mm</MarginLeft><MarginRight>10mm</MarginRight><MarginBottom>10mm</MarginBottom></DeviceInfo>"
}
},
{
"name": "EC2027",
"template": "CartellinoFinitiOdette.rdlc",
"printerName": "Microsoft Print to PDF",
"deviceInfoParam": {
"OutputFormat": "EMF",
"PageHeight": "148mm",
"PageWidth": "210mm",
"MarginLeft": "10mm",
"MarginRight": "10mm",
"MarginTop": "10mm",
"MarginBottom": "10mm",
"xmlParam": "<DeviceInfo><OutputFormat>EMF</OutputFormat><PageWidth>210mm</PageWidth><PageHeight>148mm</PageHeight><MarginTop>10mm</MarginTop><MarginLeft>10mm</MarginLeft><MarginRight>10mm</MarginRight><MarginBottom>10mm</MarginBottom></DeviceInfo>"
}
},
{
"name": "EC2028",
"template": "CartellinoFinitiOdette.rdlc",
"printerName": "Microsoft Print to PDF",
"deviceInfoParam": {
"OutputFormat": "EMF",
"PageHeight": "148mm",
"PageWidth": "210mm",
"MarginLeft": "10mm",
"MarginRight": "10mm",
"MarginTop": "10mm",
"MarginBottom": "10mm",
"xmlParam": "<DeviceInfo><OutputFormat>EMF</OutputFormat><PageWidth>210mm</PageWidth><PageHeight>148mm</PageHeight><MarginTop>10mm</MarginTop><MarginLeft>10mm</MarginLeft><MarginRight>10mm</MarginRight><MarginBottom>10mm</MarginBottom></DeviceInfo>"
}
},
{
"name": "EC2029",
"template": "CartellinoSemilavorati.rdlc",
"printerName": "Microsoft Print to PDF",
"deviceInfoParam": {
@@ -89,6 +149,21 @@
"xmlParam": "<DeviceInfo><OutputFormat>EMF</OutputFormat><PageWidth>148mm</PageWidth><PageHeight>100mm</PageHeight><MarginTop>10mm</MarginTop><MarginLeft>10mm</MarginLeft><MarginRight>10mm</MarginRight><MarginBottom>10mm</MarginBottom></DeviceInfo>"
}
},
{
"name": "ECX001",
"template": "CartellinoFinitiOdette.rdlc",
"printerName": "Microsoft Print to PDF",
"deviceInfoParam": {
"OutputFormat": "EMF",
"PageHeight": "148mm",
"PageWidth": "210mm",
"MarginLeft": "10mm",
"MarginRight": "10mm",
"MarginTop": "10mm",
"MarginBottom": "10mm",
"xmlParam": "<DeviceInfo><OutputFormat>EMF</OutputFormat><PageWidth>210mm</PageWidth><PageHeight>148mm</PageHeight><MarginTop>10mm</MarginTop><MarginLeft>10mm</MarginLeft><MarginRight>10mm</MarginRight><MarginBottom>10mm</MarginBottom></DeviceInfo>"
}
},
{
"name": "POST_UFFICIO",
"template": "ReportPackList.rdlc",
+8 -2
View File
@@ -10,7 +10,13 @@
<div class="card-body">
<div class="row">
<div class="col-12 col-md-10">
Link per accesso diretto tramite lettore portatile per l'utente corrente
<div>Link per accesso diretto tramite lettore portatile:</div>
<ul class="small">
<li>Aprire browser</li>
<li>Selezionare la barra indirizzi</li>
<li>Leggere il codice QR <i class="fa fa-arrow-right" aria-hidden="true"></i></li>
<li>Dalla pagina caricata leggere poi il QR della PackList che si vuole completare dalla <a href="gestPedane" target="_blank">gestione pedane</a></li>
</ul>
</div>
<div class="col-12 col-md-2">
<asp:Image runat="server" ID="imgQrMain" CssClass="img-fluid" />
@@ -18,4 +24,4 @@
</div>
</div>
</div>
</asp:Content>
</asp:Content>
+2 -2
View File
@@ -10,10 +10,10 @@
<div class="shortcuts">
<div class="row">
<div class="col-12">
<%--<a href="SmartStarter" class="shortcut">
<a href="SmartStarter" class="shortcut">
<i class="fa-2x text-dark fas fa-mobile-alt"></i>
<span class="shortcut-label">SMART START</span>
</a>--%>
</a>
<a href="elencoLotti" class="shortcut">
<i class="fa-2x text-dark fas fa-list"></i>
<span class="shortcut-label">RICERCA LOTTI</span>
+11 -4
View File
@@ -3,6 +3,8 @@
<%@ Register Src="~/WebUserControls/cmp_currODL.ascx" TagPrefix="uc1" TagName="cmp_currODL" %>
<%@ Register Src="~/WebUserControls/cmp_UdcODL.ascx" TagPrefix="uc1" TagName="cmp_UdcODL" %>
<%@ Register Src="~/WebUserControls/cmp_printODL.ascx" TagPrefix="uc1" TagName="cmp_printODL" %>
<%@ Register Src="~/WebUserControls/cmp_listODL.ascx" TagPrefix="uc1" TagName="cmp_listODL" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<div class="card m-2">
@@ -11,16 +13,21 @@
</div>
<div class="card-body">
<div class="row">
<div runat="server" id="divOdl" class="col-12">
<uc1:cmp_listODL runat="server" id="cmp_listODL" />
</div>
</div>
<div runat="server" id="divPrint" class="row">
<div class="col-12 col-md-4">
<uc1:cmp_currODL runat="server" id="cmp_currODL" />
<uc1:cmp_currODL runat="server" ID="cmp_currODL" />
</div>
<div class="col-12 col-md-4">
<uc1:cmp_printODL runat="server" id="cmp_printODL" />
<uc1:cmp_printODL runat="server" ID="cmp_printODL" />
</div>
<div class="col-12 col-md-4">
<uc1:cmp_UdcODL runat="server" id="cmp_UdcODL" />
<uc1:cmp_UdcODL runat="server" ID="cmp_UdcODL" />
</div>
</div>
</div>
</div>
</asp:Content>
</asp:Content>
+5
View File
@@ -25,6 +25,11 @@ namespace MP_MAG.SMART
if (!Page.IsPostBack)
{
((Site)this.Master).showSearch = false;
// verifico ci sia ODL
bool missingOdl = MagData.MagDataLayer.man.currProdPrintData.IdxOdl <= 0;
// di conseguenza mostro stampa oppure selezione ODL...
divOdl.Visible = missingOdl;
divPrint.Visible = !missingOdl;
}
cmp_printODL.eh_addNew += Cmp_printODL_eh_addNew;
}
+27
View File
@@ -14,6 +14,33 @@ namespace MP_MAG.SMART
public partial class printCartOdl
{
/// <summary>
/// Controllo divOdl.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divOdl;
/// <summary>
/// Controllo cmp_listODL.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::MP_MAG.WebUserControls.cmp_listODL cmp_listODL;
/// <summary>
/// Controllo divPrint.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divPrint;
/// <summary>
/// Controllo cmp_currODL.
/// </summary>
+9 -2
View File
@@ -88,12 +88,19 @@
</div>
<div class="card-footer py-1">
<div class="row small">
<div class="col-6">
<div class="col-4">
<i class="fa fa-print" aria-hidden="true"></i> Pedana <i class="fa fa-arrow-right" aria-hidden="true"></i>
<asp:DropDownList runat="server" ID="ddlCartPedane" >
<asp:ListItem Text="Magazzino" Value="codaPedane_01" />
</asp:DropDownList>
</div>
<div class="col-4">
<i class="fa fa-print" aria-hidden="true"></i> Report <i class="fa fa-arrow-right" aria-hidden="true"></i>
<asp:DropDownList runat="server" ID="ddlPost" >
<asp:ListItem Text="Ufficio" Value="POST_UFFICIO" />
</asp:DropDownList>
</div>
<div class="col-6 text-right">
<div class="col-4 text-right">
<uc1:cmp_numRow runat="server" ID="cmp_numRow" />
</div>
</div>
@@ -111,8 +111,7 @@ namespace MP_MAG.WebUserControls
// metto in coda di stampa...
tipoDocumento tipoDoc = tipoDocumento.docPedana;
string keyParam = $"{grView.SelectedValue}";
string prtName = string.IsNullOrEmpty(currData.CodPost) ? memLayer.ML.cdv("MAG_prtNameDef") : currData.CodPost;
MagDataLayerObj.taPJQ.insertQuery($"{tipoDoc}", keyParam, prtName);
MagDataLayerObj.taPJQ.insertQuery($"{tipoDoc}", keyParam, ddlCartPedane.SelectedValue);
lastCmd = "";
}
// se qualcuno ascolta sollevo evento nuovo valore...
@@ -95,6 +95,15 @@ namespace MP_MAG.WebUserControls
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfPackListID;
/// <summary>
/// Controllo ddlCartPedane.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlCartPedane;
/// <summary>
/// Controllo ddlPost.
/// </summary>
+5 -2
View File
@@ -42,9 +42,12 @@ namespace MP_MAG.WebUserControls
isFinito = tabArt[0].CodStato == "FIN";
ArtCod = tabArt[0].CodArt;
ArtDesc = tabArt[0].DescrArt;
QtaOdl = tabOdl[0].NumPezzi;
// cerco qta confermata
if (tabOdl.Rows.Count > 0)
{
QtaOdl = tabOdl[0].NumPezzi;
}
// cerco qta confermata
var tabDatiProdAct = DataLayerObj.taStatoProd.GetData(IdxMacchina, DateTime.Now);
if (tabDatiProdAct.Rows.Count > 0)
{
+61
View File
@@ -0,0 +1,61 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_listODL.ascx.cs" Inherits="MP_MAG.WebUserControls.cmp_listODL" %>
<div class="card">
<div class="card-header">
<div class="row">
<div class="col-4">
<h5>Ultimi ODL</h5>
</div>
<div class="col-8">
<asp:DropDownList runat="server" ID="ddlMacchina" DataSourceID="odsMacchina" DataTextField="label" DataValueField="value" CssClass="form-input" AutoPostBack="true"></asp:DropDownList>
<asp:ObjectDataSource runat="server" ID="odsMacchina" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="MagData.DS_UtilityTableAdapters.selMacchineTableAdapter"></asp:ObjectDataSource>
</div>
</div>
</div>
<div class="card-body">
<asp:GridView runat="server" ID="grView" AutoGenerateColumns="False" DataKeyNames="IdxODL" DataSourceID="ods" CssClass="table table-striped table-sm" AllowPaging="True" AllowSorting="True" OnSelectedIndexChanged="grView_SelectedIndexChanged">
<HeaderStyle CssClass="default" />
<PagerStyle CssClass="active GridPager" />
<PagerSettings Mode="NumericFirstLast" />
<SelectedRowStyle CssClass="table-info" />
<EmptyDataTemplate>
Nessun record trovato
</EmptyDataTemplate>
<Columns>
<asp:TemplateField ShowHeader="False">
<HeaderTemplate>
<asp:LinkButton ID="lbtReset" runat="server" OnClick="lbtReset_Click" CssClass="btn btn-sm btn-primary" Visible="true" ToolTip="Reset"><i class="fas fa-sync"></i></asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<asp:LinkButton ID="lbtSelect" runat="server" CausesValidation="False" CommandName="Select" CssClass="btn btn-sm btn-info"><i class="fa fa-search" aria-hidden="true"></i></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="IdxODL" HeaderText="#" InsertVisible="False" ReadOnly="True" SortExpression="IdxODL" />
<asp:BoundField DataField="CodArticolo" HeaderText="Cod Art." SortExpression="CodArticolo" />
<asp:BoundField DataField="IdxMacchina" HeaderText="Macchina" SortExpression="IdxMacchina" />
<asp:BoundField DataField="NumPezzi" HeaderText="Qta" SortExpression="NumPezzi" />
<%--<asp:BoundField DataField="TCAssegnato" HeaderText="TCAssegnato" SortExpression="TCAssegnato" />--%>
<asp:BoundField DataField="DataInizio" HeaderText="DataInizio" SortExpression="DataInizio" />
<asp:BoundField DataField="DataFine" HeaderText="DataFine" SortExpression="DataFine" />
<%--<asp:BoundField DataField="Note" HeaderText="Note" SortExpression="Note" />
<asp:CheckBoxField DataField="NeedAppr" HeaderText="NeedAppr" SortExpression="NeedAppr" />
<asp:BoundField DataField="UserAppr" HeaderText="UserAppr" SortExpression="UserAppr" />
<asp:BoundField DataField="DataAppr" HeaderText="DataAppr" SortExpression="DataAppr" />
<asp:BoundField DataField="TCRichAttr" HeaderText="TCRichAttr" SortExpression="TCRichAttr" />--%>
<asp:BoundField DataField="KeyRichiesta" HeaderText="KeyRichiesta" SortExpression="KeyRichiesta" />
<%--<asp:BoundField DataField="PzPallet" HeaderText="PzPallet" SortExpression="PzPallet" />
<asp:CheckBoxField DataField="provvisorio" HeaderText="provvisorio" SortExpression="provvisorio" />
<asp:BoundField DataField="MatrOpr" HeaderText="MatrOpr" SortExpression="MatrOpr" />
<asp:BoundField DataField="CommessaAs400" HeaderText="CommessaAs400" ReadOnly="True" SortExpression="CommessaAs400" />
<asp:BoundField DataField="ToAs400" HeaderText="ToAs400" ReadOnly="True" SortExpression="ToAs400" />--%>
<asp:BoundField DataField="CodCli" HeaderText="CodCli" SortExpression="CodCli" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="original_{0}" SelectMethod="getLastByMacc" TypeName="MagData.DS_MagTableAdapters.ODLTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="ddlMacchina" DefaultValue="#" Name="IdxMacchina" PropertyName="SelectedValue" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
@@ -0,0 +1,97 @@
using SteamWare;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MP_MAG.WebUserControls
{
public partial class cmp_listODL : BaseUserControl
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
grView.PageSize = 5;
}
}
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
{
// recupero ODL
int IdxODL = 0;
if (grView.SelectedIndex >= 0)
{
int.TryParse($"{grView.SelectedValue}", out IdxODL);
// salvo in cookie i dati idxODL, idxMacchina e QtaUdc x successivo impiego
string IdxMacchina = ddlMacchina.SelectedValue;
int QtaUdc = 1; // default...
bool isFinito = false;
string ArtCod = "";
string ArtDesc = "";
string CliCod = "";
string CliDescr = "";
string OrdRifExt = "";
int QtaConf = 0;
int QtaOdl = 0;
string Lotto = "";
string CodPost = IdxMacchina;
// recupero dati da tab LOTTI
var tabLotti = MagDataLayerObj.taEL.getByOdl(IdxODL);
if (tabLotti.Rows.Count > 0)
{
ArtCod = tabLotti[0].CodArt;
Lotto = tabLotti[0].Lotto;
var tabOdl = DataLayerObj.taODL.getByIdx(IdxODL, false);
var tabArt = MagDataLayerObj.taAA.getByKey(ArtCod);
if (tabArt.Rows.Count > 0)
{
isFinito = tabArt[0].CodStato == "FIN";
ArtCod = tabArt[0].CodArt;
ArtDesc = tabArt[0].DescrArt;
if (tabOdl.Rows.Count > 0)
{
QtaOdl = tabOdl[0].NumPezzi;
}
// cerco qta confermata
var tabDatiProdAct = DataLayerObj.taStatoProd.GetData(IdxMacchina, DateTime.Now);
if (tabDatiProdAct.Rows.Count > 0)
{
QtaConf = tabDatiProdAct[0].PzConfBuoni;
}
var tabAA2C = MagDataLayerObj.taAA2C.getByCodArt(ArtCod);
if (tabAA2C.Rows.Count > 0)
{
CliCod = tabAA2C[0].CodCliente;
}
}
}
MagData.prodPrintData newProdPrintData = new MagData.prodPrintData(MagData.MagDataLayer.man.currProdPrintData.MatrOpr, IdxODL, IdxMacchina, QtaUdc, isFinito, ArtCod, ArtDesc, CliCod, CliDescr, OrdRifExt, QtaConf, QtaOdl, Lotto, CodPost);
// salvo in oggetto dedicato...
MagData.MagDataLayer.man.currProdPrintData = newProdPrintData;
string tgtPage = "printCartOdl";
Response.Redirect($"~/SMART/{tgtPage}");
}
}
/// <summary>
/// comando reset
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbtReset_Click(object sender, EventArgs e)
{
resetSelezione();
}
private void resetSelezione()
{
grView.SelectedIndex = -1;
grView.DataBind();
raiseReset();
}
}
}
+53
View File
@@ -0,0 +1,53 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace MP_MAG.WebUserControls
{
public partial class cmp_listODL
{
/// <summary>
/// Controllo ddlMacchina.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlMacchina;
/// <summary>
/// Controllo odsMacchina.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsMacchina;
/// <summary>
/// Controllo grView.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView grView;
/// <summary>
/// Controllo ods.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
}
}
+1 -1
View File
@@ -32,7 +32,7 @@
<div class="input-group-prepend">
<span class="input-group-text">Pezzi/UDC</span>
</div>
<asp:TextBox runat="server" ID="txtQtaOdl" CssClass="form-control text-right" TextMode="Number" Text='<%# currData.QtaOdl %>'></asp:TextBox>
<asp:TextBox runat="server" ID="txtQtaOdl" CssClass="form-control text-right" TextMode="Number" Text="-1" AutoPostBack="true"></asp:TextBox>
</div>
</li>
<li class="list-group-item">
+5 -7
View File
@@ -76,10 +76,6 @@ namespace MP_MAG.WebUserControls
int numPz2print = calcPzRem;
lblNumPz2Print.Text = $"{numPz2print}";
lbtPrint.Visible = numPz2print > 0;
if (numPz2print > 0)
{
numPzUdc = numPz2print > currData.QtaUdc ? currData.QtaUdc : numPz2print;
}
}
#endregion Private Methods
@@ -105,13 +101,15 @@ namespace MP_MAG.WebUserControls
protected void Page_Load(object sender, EventArgs e)
{
#if false
if (!Page.IsPostBack)
{
// sistemo pezzi
numPzUdc = currData.QtaUdc;
int numPz2print = calcPzRem;
if (numPz2print > 0)
{
numPzUdc = numPz2print > currData.QtaUdc ? currData.QtaUdc : numPz2print;
}
}
#endif
checkPrint();
}
+894 -4
View File
@@ -42,6 +42,8 @@ namespace MagData {
private AnagArticoli2ClientiDataTable tableAnagArticoli2Clienti;
private MacchineDataTable tableMacchine;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -97,6 +99,9 @@ namespace MagData {
if ((ds.Tables["AnagArticoli2Clienti"] != null)) {
base.Tables.Add(new AnagArticoli2ClientiDataTable(ds.Tables["AnagArticoli2Clienti"]));
}
if ((ds.Tables["Macchine"] != null)) {
base.Tables.Add(new MacchineDataTable(ds.Tables["Macchine"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -205,6 +210,16 @@ namespace MagData {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public MacchineDataTable Macchine {
get {
return this.tableMacchine;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -299,6 +314,9 @@ namespace MagData {
if ((ds.Tables["AnagArticoli2Clienti"] != null)) {
base.Tables.Add(new AnagArticoli2ClientiDataTable(ds.Tables["AnagArticoli2Clienti"]));
}
if ((ds.Tables["Macchine"] != null)) {
base.Tables.Add(new MacchineDataTable(ds.Tables["Macchine"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -386,6 +404,12 @@ namespace MagData {
this.tableAnagArticoli2Clienti.InitVars();
}
}
this.tableMacchine = ((MacchineDataTable)(base.Tables["Macchine"]));
if ((initTable == true)) {
if ((this.tableMacchine != null)) {
this.tableMacchine.InitVars();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -414,6 +438,8 @@ namespace MagData {
base.Tables.Add(this.tableElencoAL2UDC);
this.tableAnagArticoli2Clienti = new AnagArticoli2ClientiDataTable();
base.Tables.Add(this.tableAnagArticoli2Clienti);
this.tableMacchine = new MacchineDataTable();
base.Tables.Add(this.tableMacchine);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -470,6 +496,12 @@ namespace MagData {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private bool ShouldSerializeMacchine() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -552,6 +584,9 @@ namespace MagData {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public delegate void AnagArticoli2ClientiRowChangeEventHandler(object sender, AnagArticoli2ClientiRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public delegate void MacchineRowChangeEventHandler(object sender, MacchineRowChangeEvent e);
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
@@ -4300,6 +4335,401 @@ namespace MagData {
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class MacchineDataTable : global::System.Data.TypedTableBase<MacchineRow> {
private global::System.Data.DataColumn columnIdxMacchina;
private global::System.Data.DataColumn columnCodMacchina;
private global::System.Data.DataColumn columnNome;
private global::System.Data.DataColumn columnDescrizione;
private global::System.Data.DataColumn columnNote;
private global::System.Data.DataColumn columnurl;
private global::System.Data.DataColumn columnlocazione;
private global::System.Data.DataColumn columncss;
private global::System.Data.DataColumn columnRowNum;
private global::System.Data.DataColumn columnColNum;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public MacchineDataTable() {
this.TableName = "Macchine";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal MacchineDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected MacchineDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn IdxMacchinaColumn {
get {
return this.columnIdxMacchina;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn CodMacchinaColumn {
get {
return this.columnCodMacchina;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn NomeColumn {
get {
return this.columnNome;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn DescrizioneColumn {
get {
return this.columnDescrizione;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn NoteColumn {
get {
return this.columnNote;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn urlColumn {
get {
return this.columnurl;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn locazioneColumn {
get {
return this.columnlocazione;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn cssColumn {
get {
return this.columncss;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn RowNumColumn {
get {
return this.columnRowNum;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn ColNumColumn {
get {
return this.columnColNum;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public MacchineRow this[int index] {
get {
return ((MacchineRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public event MacchineRowChangeEventHandler MacchineRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public event MacchineRowChangeEventHandler MacchineRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public event MacchineRowChangeEventHandler MacchineRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public event MacchineRowChangeEventHandler MacchineRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void AddMacchineRow(MacchineRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public MacchineRow AddMacchineRow(string IdxMacchina, string CodMacchina, string Nome, string Descrizione, string Note, string url, string locazione, string css, int RowNum, int ColNum) {
MacchineRow rowMacchineRow = ((MacchineRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
IdxMacchina,
CodMacchina,
Nome,
Descrizione,
Note,
url,
locazione,
css,
RowNum,
ColNum};
rowMacchineRow.ItemArray = columnValuesArray;
this.Rows.Add(rowMacchineRow);
return rowMacchineRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public MacchineRow FindByIdxMacchina(string IdxMacchina) {
return ((MacchineRow)(this.Rows.Find(new object[] {
IdxMacchina})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public override global::System.Data.DataTable Clone() {
MacchineDataTable cln = ((MacchineDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new MacchineDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal void InitVars() {
this.columnIdxMacchina = base.Columns["IdxMacchina"];
this.columnCodMacchina = base.Columns["CodMacchina"];
this.columnNome = base.Columns["Nome"];
this.columnDescrizione = base.Columns["Descrizione"];
this.columnNote = base.Columns["Note"];
this.columnurl = base.Columns["url"];
this.columnlocazione = base.Columns["locazione"];
this.columncss = base.Columns["css"];
this.columnRowNum = base.Columns["RowNum"];
this.columnColNum = base.Columns["ColNum"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitClass() {
this.columnIdxMacchina = new global::System.Data.DataColumn("IdxMacchina", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnIdxMacchina);
this.columnCodMacchina = new global::System.Data.DataColumn("CodMacchina", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodMacchina);
this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNome);
this.columnDescrizione = new global::System.Data.DataColumn("Descrizione", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescrizione);
this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNote);
this.columnurl = new global::System.Data.DataColumn("url", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnurl);
this.columnlocazione = new global::System.Data.DataColumn("locazione", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnlocazione);
this.columncss = new global::System.Data.DataColumn("css", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columncss);
this.columnRowNum = new global::System.Data.DataColumn("RowNum", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRowNum);
this.columnColNum = new global::System.Data.DataColumn("ColNum", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnColNum);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnIdxMacchina}, true));
this.columnIdxMacchina.AllowDBNull = false;
this.columnIdxMacchina.Unique = true;
this.columnIdxMacchina.MaxLength = 50;
this.columnCodMacchina.MaxLength = 50;
this.columnNome.MaxLength = 50;
this.columnDescrizione.MaxLength = 50;
this.columnNote.MaxLength = 50;
this.columnurl.MaxLength = 250;
this.columnlocazione.MaxLength = 50;
this.columncss.AllowDBNull = false;
this.columncss.MaxLength = 50;
this.columnRowNum.AllowDBNull = false;
this.columnColNum.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public MacchineRow NewMacchineRow() {
return ((MacchineRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new MacchineRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(MacchineRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.MacchineRowChanged != null)) {
this.MacchineRowChanged(this, new MacchineRowChangeEvent(((MacchineRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.MacchineRowChanging != null)) {
this.MacchineRowChanging(this, new MacchineRowChangeEvent(((MacchineRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.MacchineRowDeleted != null)) {
this.MacchineRowDeleted(this, new MacchineRowChangeEvent(((MacchineRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.MacchineRowDeleting != null)) {
this.MacchineRowDeleting(this, new MacchineRowChangeEvent(((MacchineRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void RemoveMacchineRow(MacchineRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DS_Mag ds = new DS_Mag();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "MacchineDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
@@ -5979,6 +6409,233 @@ namespace MagData {
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class MacchineRow : global::System.Data.DataRow {
private MacchineDataTable tableMacchine;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal MacchineRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableMacchine = ((MacchineDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string IdxMacchina {
get {
return ((string)(this[this.tableMacchine.IdxMacchinaColumn]));
}
set {
this[this.tableMacchine.IdxMacchinaColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string CodMacchina {
get {
try {
return ((string)(this[this.tableMacchine.CodMacchinaColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodMacchina\' nella tabella \'Macchine\' è DBNull.", e);
}
}
set {
this[this.tableMacchine.CodMacchinaColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string Nome {
get {
try {
return ((string)(this[this.tableMacchine.NomeColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'Nome\' nella tabella \'Macchine\' è DBNull.", e);
}
}
set {
this[this.tableMacchine.NomeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string Descrizione {
get {
try {
return ((string)(this[this.tableMacchine.DescrizioneColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'Descrizione\' nella tabella \'Macchine\' è DBNull.", e);
}
}
set {
this[this.tableMacchine.DescrizioneColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string Note {
get {
try {
return ((string)(this[this.tableMacchine.NoteColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'Note\' nella tabella \'Macchine\' è DBNull.", e);
}
}
set {
this[this.tableMacchine.NoteColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string url {
get {
try {
return ((string)(this[this.tableMacchine.urlColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'url\' nella tabella \'Macchine\' è DBNull.", e);
}
}
set {
this[this.tableMacchine.urlColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string locazione {
get {
try {
return ((string)(this[this.tableMacchine.locazioneColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'locazione\' nella tabella \'Macchine\' è DBNull.", e);
}
}
set {
this[this.tableMacchine.locazioneColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string css {
get {
return ((string)(this[this.tableMacchine.cssColumn]));
}
set {
this[this.tableMacchine.cssColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int RowNum {
get {
return ((int)(this[this.tableMacchine.RowNumColumn]));
}
set {
this[this.tableMacchine.RowNumColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int ColNum {
get {
return ((int)(this[this.tableMacchine.ColNumColumn]));
}
set {
this[this.tableMacchine.ColNumColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsCodMacchinaNull() {
return this.IsNull(this.tableMacchine.CodMacchinaColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetCodMacchinaNull() {
this[this.tableMacchine.CodMacchinaColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsNomeNull() {
return this.IsNull(this.tableMacchine.NomeColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetNomeNull() {
this[this.tableMacchine.NomeColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsDescrizioneNull() {
return this.IsNull(this.tableMacchine.DescrizioneColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetDescrizioneNull() {
this[this.tableMacchine.DescrizioneColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsNoteNull() {
return this.IsNull(this.tableMacchine.NoteColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetNoteNull() {
this[this.tableMacchine.NoteColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsurlNull() {
return this.IsNull(this.tableMacchine.urlColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SeturlNull() {
this[this.tableMacchine.urlColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IslocazioneNull() {
return this.IsNull(this.tableMacchine.locazioneColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetlocazioneNull() {
this[this.tableMacchine.locazioneColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
///Row event argument class
///</summary>
@@ -6284,6 +6941,40 @@ namespace MagData {
}
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public class MacchineRowChangeEvent : global::System.EventArgs {
private MacchineRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public MacchineRowChangeEvent(MacchineRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public MacchineRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace MagData.DS_MagTableAdapters {
@@ -7534,17 +8225,23 @@ namespace MagData.DS_MagTableAdapters {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT *\r\nFROM dbo.v_ODL\r\n";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = "dbo.stp_ODL_getOpenByPost";
this._commandCollection[1].CommandText = "dbo.stp_ODL_getLastByIdxMacc";
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodPost", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", 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_ODL_getOpenByPost";
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("@CodPost", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -7575,8 +8272,25 @@ namespace MagData.DS_MagTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Mag.ODLDataTable getOpenByPost(string CodPost) {
public virtual DS_Mag.ODLDataTable getLastByMacc(string IdxMacchina) {
this.Adapter.SelectCommand = this.CommandCollection[1];
if ((IdxMacchina == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(IdxMacchina));
}
DS_Mag.ODLDataTable dataTable = new DS_Mag.ODLDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Mag.ODLDataTable getOpenByPost(string CodPost) {
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((CodPost == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -9281,6 +9995,182 @@ SELECT AL, UDC, OrderListID FROM ElencoAL2UDC WHERE (AL = @AL) AND (UDC = @UDC)"
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class MacchineTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public MacchineTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal global::System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "Macchine";
tableMapping.ColumnMappings.Add("IdxMacchina", "IdxMacchina");
tableMapping.ColumnMappings.Add("CodMacchina", "CodMacchina");
tableMapping.ColumnMappings.Add("Nome", "Nome");
tableMapping.ColumnMappings.Add("Descrizione", "Descrizione");
tableMapping.ColumnMappings.Add("Note", "Note");
tableMapping.ColumnMappings.Add("url", "url");
tableMapping.ColumnMappings.Add("locazione", "locazione");
tableMapping.ColumnMappings.Add("css", "css");
tableMapping.ColumnMappings.Add("RowNum", "RowNum");
tableMapping.ColumnMappings.Add("ColNum", "ColNum");
this._adapter.TableMappings.Add(tableMapping);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::MagData.Properties.Settings.Default.MoonPro_MAGConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT *\r\nFROM dbo.v_Macchine\r\n";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(DS_Mag.MacchineDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual DS_Mag.MacchineDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Mag.MacchineDataTable dataTable = new DS_Mag.MacchineDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
/// <summary>
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///</summary>
+115 -9
View File
@@ -341,6 +341,17 @@ FROM dbo.v_ODL
<Mapping SourceColumn="CodCli" DataSetColumn="CodCli" />
</Mappings>
<Sources>
<DbSource ConnectionRef="MoonPro_MAGConnectionString (Settings)" DbObjectName="MoonPro_MAG.dbo.stp_ODL_getLastByIdxMacc" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getLastByMacc" GetMethodModifier="Public" GetMethodName="getLastByMacc" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getLastByMacc" UserSourceName="getLastByMacc">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ODL_getLastByIdxMacc</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="nvarchar" DbType="String" Direction="Input" ParameterName="@IdxMacchina" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonPro_MAGConnectionString (Settings)" DbObjectName="MoonPro_MAG.dbo.stp_ODL_getOpenByPost" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getOpenByPost" GetMethodModifier="Public" GetMethodName="getOpenByPost" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getOpenByPost" UserSourceName="getOpenByPost">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -672,6 +683,33 @@ SELECT AL, UDC, OrderListID FROM ElencoAL2UDC WHERE (AL = @AL) AND (UDC = @UDC)<
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MacchineTableAdapter" GeneratorDataComponentClassName="MacchineTableAdapter" Name="Macchine" UserDataComponentName="MacchineTableAdapter">
<MainSource>
<DbSource ConnectionRef="MoonPro_MAGConnectionString (Settings)" DbObjectName="MoonPro_MAG.dbo.v_Macchine" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT *
FROM dbo.v_Macchine
</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="IdxMacchina" DataSetColumn="IdxMacchina" />
<Mapping SourceColumn="CodMacchina" DataSetColumn="CodMacchina" />
<Mapping SourceColumn="Nome" DataSetColumn="Nome" />
<Mapping SourceColumn="Descrizione" DataSetColumn="Descrizione" />
<Mapping SourceColumn="Note" DataSetColumn="Note" />
<Mapping SourceColumn="url" DataSetColumn="url" />
<Mapping SourceColumn="locazione" DataSetColumn="locazione" />
<Mapping SourceColumn="css" DataSetColumn="css" />
<Mapping SourceColumn="RowNum" DataSetColumn="RowNum" />
<Mapping SourceColumn="ColNum" DataSetColumn="ColNum" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -680,7 +718,7 @@ SELECT AL, UDC, OrderListID FROM ElencoAL2UDC WHERE (AL = @AL) AND (UDC = @UDC)<
<xs:element name="DS_Mag" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Mag" msprop:Generator_UserDSName="DS_Mag">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="ElencoLotti" msprop:Generator_TableClassName="ElencoLottiDataTable" msprop:Generator_TableVarName="tableElencoLotti" msprop:Generator_TablePropName="ElencoLotti" msprop:Generator_RowDeletingName="ElencoLottiRowDeleting" msprop:Generator_RowChangingName="ElencoLottiRowChanging" msprop:Generator_RowEvHandlerName="ElencoLottiRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoLottiRowDeleted" msprop:Generator_UserTableName="ElencoLotti" msprop:Generator_RowChangedName="ElencoLottiRowChanged" msprop:Generator_RowEvArgName="ElencoLottiRowChangeEvent" msprop:Generator_RowClassName="ElencoLottiRow">
<xs:element name="ElencoLotti" msprop:Generator_TableClassName="ElencoLottiDataTable" msprop:Generator_TableVarName="tableElencoLotti" msprop:Generator_RowChangedName="ElencoLottiRowChanged" msprop:Generator_TablePropName="ElencoLotti" msprop:Generator_RowDeletingName="ElencoLottiRowDeleting" msprop:Generator_RowChangingName="ElencoLottiRowChanging" msprop:Generator_RowEvHandlerName="ElencoLottiRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoLottiRowDeleted" msprop:Generator_RowClassName="ElencoLottiRow" msprop:Generator_UserTableName="ElencoLotti" msprop:Generator_RowEvArgName="ElencoLottiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Lotto" msprop:Generator_ColumnVarNameInTable="columnLotto" msprop:Generator_ColumnPropNameInRow="Lotto" msprop:Generator_ColumnPropNameInTable="LottoColumn" msprop:Generator_UserColumnName="Lotto">
@@ -763,7 +801,7 @@ SELECT AL, UDC, OrderListID FROM ElencoAL2UDC WHERE (AL = @AL) AND (UDC = @UDC)<
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoUdc" msprop:Generator_TableClassName="ElencoUdcDataTable" msprop:Generator_TableVarName="tableElencoUdc" msprop:Generator_RowChangedName="ElencoUdcRowChanged" msprop:Generator_TablePropName="ElencoUdc" msprop:Generator_RowDeletingName="ElencoUdcRowDeleting" msprop:Generator_RowChangingName="ElencoUdcRowChanging" msprop:Generator_RowEvHandlerName="ElencoUdcRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoUdcRowDeleted" msprop:Generator_RowClassName="ElencoUdcRow" msprop:Generator_UserTableName="ElencoUdc" msprop:Generator_RowEvArgName="ElencoUdcRowChangeEvent">
<xs:element name="ElencoUdc" msprop:Generator_TableClassName="ElencoUdcDataTable" msprop:Generator_TableVarName="tableElencoUdc" msprop:Generator_TablePropName="ElencoUdc" msprop:Generator_RowDeletingName="ElencoUdcRowDeleting" msprop:Generator_RowChangingName="ElencoUdcRowChanging" msprop:Generator_RowEvHandlerName="ElencoUdcRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoUdcRowDeleted" msprop:Generator_UserTableName="ElencoUdc" msprop:Generator_RowChangedName="ElencoUdcRowChanged" msprop:Generator_RowEvArgName="ElencoUdcRowChangeEvent" msprop:Generator_RowClassName="ElencoUdcRow">
<xs:complexType>
<xs:sequence>
<xs:element name="UDC" msprop:Generator_ColumnVarNameInTable="columnUDC" msprop:Generator_ColumnPropNameInRow="UDC" msprop:Generator_ColumnPropNameInTable="UDCColumn" msprop:Generator_UserColumnName="UDC">
@@ -918,7 +956,7 @@ SELECT AL, UDC, OrderListID FROM ElencoAL2UDC WHERE (AL = @AL) AND (UDC = @UDC)<
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagArt" msprop:Generator_TableClassName="AnagArtDataTable" msprop:Generator_TableVarName="tableAnagArt" msprop:Generator_TablePropName="AnagArt" msprop:Generator_RowDeletingName="AnagArtRowDeleting" msprop:Generator_RowChangingName="AnagArtRowChanging" msprop:Generator_RowEvHandlerName="AnagArtRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagArtRowDeleted" msprop:Generator_UserTableName="AnagArt" msprop:Generator_RowChangedName="AnagArtRowChanged" msprop:Generator_RowEvArgName="AnagArtRowChangeEvent" msprop:Generator_RowClassName="AnagArtRow">
<xs:element name="AnagArt" msprop:Generator_TableClassName="AnagArtDataTable" msprop:Generator_TableVarName="tableAnagArt" msprop:Generator_RowChangedName="AnagArtRowChanged" msprop:Generator_TablePropName="AnagArt" msprop:Generator_RowDeletingName="AnagArtRowDeleting" msprop:Generator_RowChangingName="AnagArtRowChanging" msprop:Generator_RowEvHandlerName="AnagArtRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagArtRowDeleted" msprop:Generator_RowClassName="AnagArtRow" msprop:Generator_UserTableName="AnagArt" msprop:Generator_RowEvArgName="AnagArtRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodArt" msprop:Generator_ColumnVarNameInTable="columnCodArt" msprop:Generator_ColumnPropNameInRow="CodArt" msprop:Generator_ColumnPropNameInTable="CodArtColumn" msprop:Generator_UserColumnName="CodArt">
@@ -952,7 +990,7 @@ SELECT AL, UDC, OrderListID FROM ElencoAL2UDC WHERE (AL = @AL) AND (UDC = @UDC)<
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ODL" msprop:Generator_TableClassName="ODLDataTable" msprop:Generator_TableVarName="tableODL" msprop:Generator_RowChangedName="ODLRowChanged" msprop:Generator_TablePropName="ODL" msprop:Generator_RowDeletingName="ODLRowDeleting" msprop:Generator_RowChangingName="ODLRowChanging" msprop:Generator_RowEvHandlerName="ODLRowChangeEventHandler" msprop:Generator_RowDeletedName="ODLRowDeleted" msprop:Generator_RowClassName="ODLRow" msprop:Generator_UserTableName="ODL" msprop:Generator_RowEvArgName="ODLRowChangeEvent">
<xs:element name="ODL" msprop:Generator_TableClassName="ODLDataTable" msprop:Generator_TableVarName="tableODL" msprop:Generator_TablePropName="ODL" msprop:Generator_RowDeletingName="ODLRowDeleting" msprop:Generator_RowChangingName="ODLRowChanging" msprop:Generator_RowEvHandlerName="ODLRowChangeEventHandler" msprop:Generator_RowDeletedName="ODLRowDeleted" msprop:Generator_UserTableName="ODL" msprop:Generator_RowChangedName="ODLRowChanged" msprop:Generator_RowEvArgName="ODLRowChangeEvent" msprop:Generator_RowClassName="ODLRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxODL" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxODL" msprop:Generator_ColumnPropNameInRow="IdxODL" msprop:Generator_ColumnPropNameInTable="IdxODLColumn" msprop:Generator_UserColumnName="IdxODL" type="xs:int" />
@@ -1019,7 +1057,7 @@ SELECT AL, UDC, OrderListID FROM ElencoAL2UDC WHERE (AL = @AL) AND (UDC = @UDC)<
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Elencopost2Queue" msprop:Generator_TableClassName="Elencopost2QueueDataTable" msprop:Generator_TableVarName="tableElencopost2Queue" msprop:Generator_RowChangedName="Elencopost2QueueRowChanged" msprop:Generator_TablePropName="Elencopost2Queue" msprop:Generator_RowDeletingName="Elencopost2QueueRowDeleting" msprop:Generator_RowChangingName="Elencopost2QueueRowChanging" msprop:Generator_RowEvHandlerName="Elencopost2QueueRowChangeEventHandler" msprop:Generator_RowDeletedName="Elencopost2QueueRowDeleted" msprop:Generator_RowClassName="Elencopost2QueueRow" msprop:Generator_UserTableName="Elencopost2Queue" msprop:Generator_RowEvArgName="Elencopost2QueueRowChangeEvent">
<xs:element name="Elencopost2Queue" msprop:Generator_TableClassName="Elencopost2QueueDataTable" msprop:Generator_TableVarName="tableElencopost2Queue" msprop:Generator_TablePropName="Elencopost2Queue" msprop:Generator_RowDeletingName="Elencopost2QueueRowDeleting" msprop:Generator_RowChangingName="Elencopost2QueueRowChanging" msprop:Generator_RowEvHandlerName="Elencopost2QueueRowChangeEventHandler" msprop:Generator_RowDeletedName="Elencopost2QueueRowDeleted" msprop:Generator_UserTableName="Elencopost2Queue" msprop:Generator_RowChangedName="Elencopost2QueueRowChanged" msprop:Generator_RowEvArgName="Elencopost2QueueRowChangeEvent" msprop:Generator_RowClassName="Elencopost2QueueRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodPost" msprop:Generator_ColumnVarNameInTable="columnCodPost" msprop:Generator_ColumnPropNameInRow="CodPost" msprop:Generator_ColumnPropNameInTable="CodPostColumn" msprop:Generator_UserColumnName="CodPost">
@@ -1039,7 +1077,7 @@ SELECT AL, UDC, OrderListID FROM ElencoAL2UDC WHERE (AL = @AL) AND (UDC = @UDC)<
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoAL" msprop:Generator_TableClassName="ElencoALDataTable" msprop:Generator_TableVarName="tableElencoAL" msprop:Generator_RowChangedName="ElencoALRowChanged" msprop:Generator_TablePropName="ElencoAL" msprop:Generator_RowDeletingName="ElencoALRowDeleting" msprop:Generator_RowChangingName="ElencoALRowChanging" msprop:Generator_RowEvHandlerName="ElencoALRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoALRowDeleted" msprop:Generator_RowClassName="ElencoALRow" msprop:Generator_UserTableName="ElencoAL" msprop:Generator_RowEvArgName="ElencoALRowChangeEvent">
<xs:element name="ElencoAL" msprop:Generator_TableClassName="ElencoALDataTable" msprop:Generator_TableVarName="tableElencoAL" msprop:Generator_TablePropName="ElencoAL" msprop:Generator_RowDeletingName="ElencoALRowDeleting" msprop:Generator_RowChangingName="ElencoALRowChanging" msprop:Generator_RowEvHandlerName="ElencoALRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoALRowDeleted" msprop:Generator_UserTableName="ElencoAL" msprop:Generator_RowChangedName="ElencoALRowChanged" msprop:Generator_RowEvArgName="ElencoALRowChangeEvent" msprop:Generator_RowClassName="ElencoALRow">
<xs:complexType>
<xs:sequence>
<xs:element name="AL" msprop:Generator_ColumnVarNameInTable="columnAL" msprop:Generator_ColumnPropNameInRow="AL" msprop:Generator_ColumnPropNameInTable="ALColumn" msprop:Generator_UserColumnName="AL">
@@ -1075,7 +1113,7 @@ SELECT AL, UDC, OrderListID FROM ElencoAL2UDC WHERE (AL = @AL) AND (UDC = @UDC)<
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent" msprop:Generator_RowClassName="AnagClientiRow">
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_RowClassName="AnagClientiRow" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" msprop:Generator_UserColumnName="CodCliente">
@@ -1130,7 +1168,7 @@ SELECT AL, UDC, OrderListID FROM ElencoAL2UDC WHERE (AL = @AL) AND (UDC = @UDC)<
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoAL2UDC" msprop:Generator_TableClassName="ElencoAL2UDCDataTable" msprop:Generator_TableVarName="tableElencoAL2UDC" msprop:Generator_TablePropName="ElencoAL2UDC" msprop:Generator_RowDeletingName="ElencoAL2UDCRowDeleting" msprop:Generator_RowChangingName="ElencoAL2UDCRowChanging" msprop:Generator_RowEvHandlerName="ElencoAL2UDCRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoAL2UDCRowDeleted" msprop:Generator_UserTableName="ElencoAL2UDC" msprop:Generator_RowChangedName="ElencoAL2UDCRowChanged" msprop:Generator_RowEvArgName="ElencoAL2UDCRowChangeEvent" msprop:Generator_RowClassName="ElencoAL2UDCRow">
<xs:element name="ElencoAL2UDC" msprop:Generator_TableClassName="ElencoAL2UDCDataTable" msprop:Generator_TableVarName="tableElencoAL2UDC" msprop:Generator_RowChangedName="ElencoAL2UDCRowChanged" msprop:Generator_TablePropName="ElencoAL2UDC" msprop:Generator_RowDeletingName="ElencoAL2UDCRowDeleting" msprop:Generator_RowChangingName="ElencoAL2UDCRowChanging" msprop:Generator_RowEvHandlerName="ElencoAL2UDCRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoAL2UDCRowDeleted" msprop:Generator_RowClassName="ElencoAL2UDCRow" msprop:Generator_UserTableName="ElencoAL2UDC" msprop:Generator_RowEvArgName="ElencoAL2UDCRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="AL" msprop:Generator_ColumnVarNameInTable="columnAL" msprop:Generator_ColumnPropNameInRow="AL" msprop:Generator_ColumnPropNameInTable="ALColumn" msprop:Generator_UserColumnName="AL">
@@ -1151,7 +1189,7 @@ SELECT AL, UDC, OrderListID FROM ElencoAL2UDC WHERE (AL = @AL) AND (UDC = @UDC)<
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagArticoli2Clienti" msprop:Generator_TableClassName="AnagArticoli2ClientiDataTable" msprop:Generator_TableVarName="tableAnagArticoli2Clienti" msprop:Generator_TablePropName="AnagArticoli2Clienti" msprop:Generator_RowDeletingName="AnagArticoli2ClientiRowDeleting" msprop:Generator_RowChangingName="AnagArticoli2ClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagArticoli2ClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagArticoli2ClientiRowDeleted" msprop:Generator_UserTableName="AnagArticoli2Clienti" msprop:Generator_RowChangedName="AnagArticoli2ClientiRowChanged" msprop:Generator_RowEvArgName="AnagArticoli2ClientiRowChangeEvent" msprop:Generator_RowClassName="AnagArticoli2ClientiRow">
<xs:element name="AnagArticoli2Clienti" msprop:Generator_TableClassName="AnagArticoli2ClientiDataTable" msprop:Generator_TableVarName="tableAnagArticoli2Clienti" msprop:Generator_RowChangedName="AnagArticoli2ClientiRowChanged" msprop:Generator_TablePropName="AnagArticoli2Clienti" msprop:Generator_RowDeletingName="AnagArticoli2ClientiRowDeleting" msprop:Generator_RowChangingName="AnagArticoli2ClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagArticoli2ClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagArticoli2ClientiRowDeleted" msprop:Generator_RowClassName="AnagArticoli2ClientiRow" msprop:Generator_UserTableName="AnagArticoli2Clienti" msprop:Generator_RowEvArgName="AnagArticoli2ClientiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodArt" msprop:Generator_ColumnVarNameInTable="columnCodArt" msprop:Generator_ColumnPropNameInRow="CodArt" msprop:Generator_ColumnPropNameInTable="CodArtColumn" msprop:Generator_UserColumnName="CodArt">
@@ -1185,6 +1223,70 @@ SELECT AL, UDC, OrderListID FROM ElencoAL2UDC WHERE (AL = @AL) AND (UDC = @UDC)<
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Macchine" msprop:Generator_TableClassName="MacchineDataTable" msprop:Generator_TableVarName="tableMacchine" msprop:Generator_TablePropName="Macchine" msprop:Generator_RowDeletingName="MacchineRowDeleting" msprop:Generator_RowChangingName="MacchineRowChanging" msprop:Generator_RowEvHandlerName="MacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="MacchineRowDeleted" msprop:Generator_UserTableName="Macchine" msprop:Generator_RowChangedName="MacchineRowChanged" msprop:Generator_RowEvArgName="MacchineRowChangeEvent" msprop:Generator_RowClassName="MacchineRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxMacchina" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_UserColumnName="IdxMacchina">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodMacchina" msprop:Generator_ColumnVarNameInTable="columnCodMacchina" msprop:Generator_ColumnPropNameInRow="CodMacchina" msprop:Generator_ColumnPropNameInTable="CodMacchinaColumn" msprop:Generator_UserColumnName="CodMacchina" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" msprop:Generator_UserColumnName="Nome" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_UserColumnName="Descrizione" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Note" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnPropNameInTable="NoteColumn" msprop:Generator_UserColumnName="Note" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="url" msprop:Generator_ColumnVarNameInTable="columnurl" msprop:Generator_ColumnPropNameInRow="url" msprop:Generator_ColumnPropNameInTable="urlColumn" msprop:Generator_UserColumnName="url" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="locazione" msprop:Generator_ColumnVarNameInTable="columnlocazione" msprop:Generator_ColumnPropNameInRow="locazione" msprop:Generator_ColumnPropNameInTable="locazioneColumn" msprop:Generator_UserColumnName="locazione" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="css" msprop:Generator_ColumnVarNameInTable="columncss" msprop:Generator_ColumnPropNameInRow="css" msprop:Generator_ColumnPropNameInTable="cssColumn" msprop:Generator_UserColumnName="css">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RowNum" msprop:Generator_ColumnVarNameInTable="columnRowNum" msprop:Generator_ColumnPropNameInRow="RowNum" msprop:Generator_ColumnPropNameInTable="RowNumColumn" msprop:Generator_UserColumnName="RowNum" type="xs:int" />
<xs:element name="ColNum" msprop:Generator_ColumnVarNameInTable="columnColNum" msprop:Generator_ColumnPropNameInRow="ColNum" msprop:Generator_ColumnPropNameInTable="ColNumColumn" msprop:Generator_UserColumnName="ColNum" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -1224,5 +1326,9 @@ SELECT AL, UDC, OrderListID FROM ElencoAL2UDC WHERE (AL = @AL) AND (UDC = @UDC)<
<xs:selector xpath=".//mstns:AnagArticoli2Clienti" />
<xs:field xpath="mstns:CodArt" />
</xs:unique>
<xs:unique name="Macchine_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Macchine" />
<xs:field xpath="mstns:IdxMacchina" />
</xs:unique>
</xs:element>
</xs:schema>
+11 -10
View File
@@ -4,17 +4,18 @@
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="-10" 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="-10" ViewPortY="30" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:ElencoLotti" ZOrder="7" X="241" Y="15" Height="515" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="349" />
<Shape ID="DesignTable:ElencoUdc" ZOrder="4" X="561" Y="17" Height="476" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="349" />
<Shape ID="DesignTable:AnagArt" ZOrder="9" X="279" Y="548" Height="191" Width="193" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:ODL" ZOrder="6" X="885" Y="112" Height="324" Width="177" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Elencopost2Queue" ZOrder="8" X="264" Y="791" Height="134" Width="252" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:ElencoAL" ZOrder="3" X="882" Y="491" Height="438" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagClienti" ZOrder="5" X="544" Y="542" Height="210" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:ElencoAL2UDC" ZOrder="2" X="53" Y="377" Height="153" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="100" />
<Shape ID="DesignTable:AnagArticoli2Clienti" ZOrder="1" X="559" Y="869" Height="172" Width="262" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:ElencoLotti" ZOrder="10" X="241" Y="15" Height="515" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="349" />
<Shape ID="DesignTable:ElencoUdc" ZOrder="9" X="561" Y="17" Height="476" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="349" />
<Shape ID="DesignTable:AnagArt" ZOrder="5" X="279" Y="548" Height="191" Width="193" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:ODL" ZOrder="1" X="930" Y="30" Height="411" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:Elencopost2Queue" ZOrder="4" X="30" Y="753" Height="192" Width="252" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="97" />
<Shape ID="DesignTable:ElencoAL" ZOrder="8" X="882" Y="491" Height="438" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagClienti" ZOrder="2" X="320" Y="783" Height="210" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:ElencoAL2UDC" ZOrder="7" X="53" Y="377" Height="153" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="100" />
<Shape ID="DesignTable:AnagArticoli2Clienti" ZOrder="6" X="8" Y="549" Height="172" Width="262" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:Macchine" ZOrder="3" X="621" Y="553" Height="227" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="147" />
</Shapes>
<Connectors />
</DiagramLayout>
+566
View File
@@ -28,6 +28,8 @@ namespace MagData {
private selPackListDataTable tableselPackList;
private selMacchineDataTable tableselMacchine;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -62,6 +64,9 @@ namespace MagData {
if ((ds.Tables["selPackList"] != null)) {
base.Tables.Add(new selPackListDataTable(ds.Tables["selPackList"]));
}
if ((ds.Tables["selMacchine"] != null)) {
base.Tables.Add(new selMacchineDataTable(ds.Tables["selMacchine"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -100,6 +105,16 @@ namespace MagData {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public selMacchineDataTable selMacchine {
get {
return this.tableselMacchine;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -173,6 +188,9 @@ namespace MagData {
if ((ds.Tables["selPackList"] != null)) {
base.Tables.Add(new selPackListDataTable(ds.Tables["selPackList"]));
}
if ((ds.Tables["selMacchine"] != null)) {
base.Tables.Add(new selMacchineDataTable(ds.Tables["selMacchine"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -218,6 +236,12 @@ namespace MagData {
this.tableselPackList.InitVars();
}
}
this.tableselMacchine = ((selMacchineDataTable)(base.Tables["selMacchine"]));
if ((initTable == true)) {
if ((this.tableselMacchine != null)) {
this.tableselMacchine.InitVars();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -232,6 +256,8 @@ namespace MagData {
base.Tables.Add(this.tableselAnagCli);
this.tableselPackList = new selPackListDataTable();
base.Tables.Add(this.tableselPackList);
this.tableselMacchine = new selMacchineDataTable();
base.Tables.Add(this.tableselMacchine);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -246,6 +272,12 @@ namespace MagData {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private bool ShouldSerializeselMacchine() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -307,6 +339,9 @@ namespace MagData {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public delegate void selPackListRowChangeEventHandler(object sender, selPackListRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public delegate void selMacchineRowChangeEventHandler(object sender, selMacchineRowChangeEvent e);
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
@@ -856,6 +891,281 @@ namespace MagData {
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class selMacchineDataTable : global::System.Data.TypedTableBase<selMacchineRow> {
private global::System.Data.DataColumn columnvalue;
private global::System.Data.DataColumn columnlabel;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public selMacchineDataTable() {
this.TableName = "selMacchine";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal selMacchineDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected selMacchineDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn valueColumn {
get {
return this.columnvalue;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn labelColumn {
get {
return this.columnlabel;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public selMacchineRow this[int index] {
get {
return ((selMacchineRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public event selMacchineRowChangeEventHandler selMacchineRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public event selMacchineRowChangeEventHandler selMacchineRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public event selMacchineRowChangeEventHandler selMacchineRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public event selMacchineRowChangeEventHandler selMacchineRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void AddselMacchineRow(selMacchineRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public selMacchineRow AddselMacchineRow(string value, string label) {
selMacchineRow rowselMacchineRow = ((selMacchineRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
value,
label};
rowselMacchineRow.ItemArray = columnValuesArray;
this.Rows.Add(rowselMacchineRow);
return rowselMacchineRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public selMacchineRow FindByvalue(string value) {
return ((selMacchineRow)(this.Rows.Find(new object[] {
value})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public override global::System.Data.DataTable Clone() {
selMacchineDataTable cln = ((selMacchineDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new selMacchineDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal void InitVars() {
this.columnvalue = base.Columns["value"];
this.columnlabel = base.Columns["label"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitClass() {
this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnvalue);
this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnlabel);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnvalue}, true));
this.columnvalue.AllowDBNull = false;
this.columnvalue.Unique = true;
this.columnvalue.MaxLength = 50;
this.columnlabel.ReadOnly = true;
this.columnlabel.MaxLength = 1115;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public selMacchineRow NewselMacchineRow() {
return ((selMacchineRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new selMacchineRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(selMacchineRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.selMacchineRowChanged != null)) {
this.selMacchineRowChanged(this, new selMacchineRowChangeEvent(((selMacchineRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.selMacchineRowChanging != null)) {
this.selMacchineRowChanging(this, new selMacchineRowChangeEvent(((selMacchineRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.selMacchineRowDeleted != null)) {
this.selMacchineRowDeleted(this, new selMacchineRowChangeEvent(((selMacchineRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.selMacchineRowDeleting != null)) {
this.selMacchineRowDeleting(this, new selMacchineRowChangeEvent(((selMacchineRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void RemoveselMacchineRow(selMacchineRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DS_Utility ds = new DS_Utility();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "selMacchineDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
@@ -964,6 +1274,60 @@ namespace MagData {
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class selMacchineRow : global::System.Data.DataRow {
private selMacchineDataTable tableselMacchine;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal selMacchineRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableselMacchine = ((selMacchineDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string value {
get {
return ((string)(this[this.tableselMacchine.valueColumn]));
}
set {
this[this.tableselMacchine.valueColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string label {
get {
try {
return ((string)(this[this.tableselMacchine.labelColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'label\' nella tabella \'selMacchine\' è DBNull.", e);
}
}
set {
this[this.tableselMacchine.labelColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IslabelNull() {
return this.IsNull(this.tableselMacchine.labelColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetlabelNull() {
this[this.tableselMacchine.labelColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
///Row event argument class
///</summary>
@@ -1031,6 +1395,40 @@ namespace MagData {
}
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public class selMacchineRowChangeEvent : global::System.EventArgs {
private selMacchineRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public selMacchineRowChangeEvent(selMacchineRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public selMacchineRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace MagData.DS_UtilityTableAdapters {
@@ -1420,6 +1818,174 @@ namespace MagData.DS_UtilityTableAdapters {
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class selMacchineTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public selMacchineTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal global::System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "selMacchine";
tableMapping.ColumnMappings.Add("value", "value");
tableMapping.ColumnMappings.Add("label", "label");
this._adapter.TableMappings.Add(tableMapping);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::MagData.Properties.Settings.Default.MoonPro_MAGConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT value, label \r\nFROM dbo.v_selMacchine";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(DS_Utility.selMacchineDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual DS_Utility.selMacchineDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Utility.selMacchineDataTable dataTable = new DS_Utility.selMacchineDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
/// <summary>
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///</summary>
+44 -2
View File
@@ -77,6 +77,24 @@ ORDER BY label</CommandText>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="selMacchineTableAdapter" GeneratorDataComponentClassName="selMacchineTableAdapter" Name="selMacchine" UserDataComponentName="selMacchineTableAdapter">
<MainSource>
<DbSource ConnectionRef="MoonPro_MAGConnectionString (Settings)" DbObjectName="MoonPro_MAG.dbo.v_selMacchine" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT value, label
FROM dbo.v_selMacchine</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="value" DataSetColumn="value" />
<Mapping SourceColumn="label" DataSetColumn="label" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -85,7 +103,7 @@ ORDER BY label</CommandText>
<xs:element name="DS_Utility" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Utility" msprop:Generator_UserDSName="DS_Utility">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="selAnagCli" msprop:Generator_TableClassName="selAnagCliDataTable" msprop:Generator_TableVarName="tableselAnagCli" msprop:Generator_RowChangedName="selAnagCliRowChanged" msprop:Generator_TablePropName="selAnagCli" msprop:Generator_RowDeletingName="selAnagCliRowDeleting" msprop:Generator_RowChangingName="selAnagCliRowChanging" msprop:Generator_RowEvHandlerName="selAnagCliRowChangeEventHandler" msprop:Generator_RowDeletedName="selAnagCliRowDeleted" msprop:Generator_RowClassName="selAnagCliRow" msprop:Generator_UserTableName="selAnagCli" msprop:Generator_RowEvArgName="selAnagCliRowChangeEvent">
<xs:element name="selAnagCli" msprop:Generator_TableClassName="selAnagCliDataTable" msprop:Generator_TableVarName="tableselAnagCli" msprop:Generator_TablePropName="selAnagCli" msprop:Generator_RowDeletingName="selAnagCliRowDeleting" msprop:Generator_RowChangingName="selAnagCliRowChanging" msprop:Generator_RowEvHandlerName="selAnagCliRowChangeEventHandler" msprop:Generator_RowDeletedName="selAnagCliRowDeleted" msprop:Generator_UserTableName="selAnagCli" msprop:Generator_RowChangedName="selAnagCliRowChanged" msprop:Generator_RowEvArgName="selAnagCliRowChangeEvent" msprop:Generator_RowClassName="selAnagCliRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -105,7 +123,7 @@ ORDER BY label</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="selPackList" msprop:Generator_TableClassName="selPackListDataTable" msprop:Generator_TableVarName="tableselPackList" msprop:Generator_TablePropName="selPackList" msprop:Generator_RowDeletingName="selPackListRowDeleting" msprop:Generator_RowChangingName="selPackListRowChanging" msprop:Generator_RowEvHandlerName="selPackListRowChangeEventHandler" msprop:Generator_RowDeletedName="selPackListRowDeleted" msprop:Generator_UserTableName="selPackList" msprop:Generator_RowChangedName="selPackListRowChanged" msprop:Generator_RowEvArgName="selPackListRowChangeEvent" msprop:Generator_RowClassName="selPackListRow">
<xs:element name="selPackList" msprop:Generator_TableClassName="selPackListDataTable" msprop:Generator_TableVarName="tableselPackList" msprop:Generator_RowChangedName="selPackListRowChanged" msprop:Generator_TablePropName="selPackList" msprop:Generator_RowDeletingName="selPackListRowDeleting" msprop:Generator_RowChangingName="selPackListRowChanging" msprop:Generator_RowEvHandlerName="selPackListRowChangeEventHandler" msprop:Generator_RowDeletedName="selPackListRowDeleted" msprop:Generator_RowClassName="selPackListRow" msprop:Generator_UserTableName="selPackList" msprop:Generator_RowEvArgName="selPackListRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
@@ -119,6 +137,26 @@ ORDER BY label</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="selMacchine" msprop:Generator_TableClassName="selMacchineDataTable" msprop:Generator_TableVarName="tableselMacchine" msprop:Generator_TablePropName="selMacchine" msprop:Generator_RowDeletingName="selMacchineRowDeleting" msprop:Generator_RowChangingName="selMacchineRowChanging" msprop:Generator_RowEvHandlerName="selMacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="selMacchineRowDeleted" msprop:Generator_UserTableName="selMacchine" msprop:Generator_RowChangedName="selMacchineRowChanged" msprop:Generator_RowEvArgName="selMacchineRowChangeEvent" msprop:Generator_RowClassName="selMacchineRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1115" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -129,5 +167,9 @@ ORDER BY label</CommandText>
<xs:selector xpath=".//mstns:selPackList" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="selMacchine_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:selMacchine" />
<xs:field xpath="mstns:value" />
</xs:unique>
</xs:element>
</xs:schema>