bozza gestione gruppi macchine

This commit is contained in:
Samuele E. Locatelli
2018-09-25 23:02:51 +02:00
parent 32b99816f1
commit 625f6da4db
6 changed files with 721 additions and 31 deletions
Vendored
+1 -1
View File
@@ -17,7 +17,7 @@ pipeline {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
withEnv(['NEXT_BUILD_NUMBER=815']) {
withEnv(['NEXT_BUILD_NUMBER=819']) {
// env.versionNumber = VersionNumber(versionNumberString : '6.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '6.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'MAPO'
@@ -2,7 +2,7 @@
<div class="row my-2 textCondens font-weight-bold">
<div class="col-6 pr-0">
<div class="col-4 pr-0">
<div class="text-truncate">
Articolo (ricerca + selezione)
</div>
@@ -20,6 +20,21 @@
</asp:ObjectDataSource>
</div>
</div>
</div>
<div class="col-2 pr-0 pl-1">
<div class="text-truncate">
Gruppo
</div>
<div class="my-0 small">
<asp:DropDownList ID="ddlGruppi" runat="server" DataTextField="label" DataValueField="value" AutoPostBack="True" DataSourceID="odsGruppi" CssClass="form-control form-control-sm" OnSelectedIndexChanged="ddlGruppi_SelectedIndexChanged"/>
<asp:ObjectDataSource ID="odsGruppi" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="getByConditio" TypeName="MapoDb.DS_UtilityTableAdapters.v_selGruppiTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="REPARTO" Name="conditio" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
<div class="col-2 pr-0 pl-1">
<div class="text-truncate">
@@ -99,20 +114,7 @@
</div>
</div>
<div style="font-size: 0.8em; background-color: #EFEFEF;">
<%--<div style="float: none; clear: both;">
<div style="float: left; border: 1px solid #ABABAB; padding: 2px; margin: 1px; height: 4em;">
Tempo Ciclo min.cent<br />
<asp:TextBox ID="txtTempoCiclo" runat="server" Width="4em"
OnTextChanged="txtTempoCiclo_TextChanged" AutoPostBack="True" />
( =
<asp:Label runat="server" ID="lblMinSec" />
min:sec)
<asp:RequiredFieldValidator ID="rfvTempoCiclo" ControlToValidate="txtTempoCiclo"
runat="server" ErrorMessage="!!!" />
</div>
</div>--%>
<div style="font-size: 0.8em; background-color: #EFEFEF;">
<div runat="server" id="divTempi" style="clear: both;">
<asp:GridView ID="grViewTempi" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" CellPadding="2" DataKeyNames="IdxODL" DataSourceID="odsTempi" ForeColor="Black" GridLines="None" OnSelectedIndexChanged="grViewTempi_SelectedIndexChanged" Width="100%">
<AlternatingRowStyle BackColor="PaleGoldenrod" />
@@ -75,17 +75,17 @@ namespace MoonProAdmin.WebUserControls
int numSec = 0;
int.TryParse(sTC[0], out numMin);
int.TryParse(sTC[1], out numSec);
TCiclo = numMin + ((decimal)numSec) / 60;
TCiclo = numMin + ((decimal)numSec) / 60;
pzPallet = Convert.ToInt32(txtPzPallet.Text.Trim());
attiv=chkAttiv.Checked;
attiv = chkAttiv.Checked;
int.TryParse(txtPrio.Text, out prio);
// 2018.09.25 --> inserisco PROMESSA ODL
//MapoDb.DataLayer.obj.taODL.InsertQuery(CodArticolo, MapoDb.DataLayer.MatrOpr, IdxMacchina, numPezzi, TCiclo, pzPallet, chkToAs400.Checked, txtCommessa.Text.Trim());
MapoDb.DataLayer.obj.taPODL.insertQuery(KeyReq, KeyReq, attiv, CodArticolo, "", IdxMacchina, numPezzi, TCiclo, DateTime.Now, prio, pzPallet);
}
catch
catch (Exception exc)
{
logger.lg.scriviLog(string.Format("Non sono riuscito ad inserire la PromessaODL con i seguenti parametri: {0} | {1} | {2} | {3} | {4} | {5} | {6} | {7}", KeyReq, attiv, CodArticolo, IdxMacchina, numPezzi, TCiclo, prio, pzPallet), tipoLog.ERROR);
logger.lg.scriviLog(string.Format("Non sono riuscito ad inserire la PromessaODL con i seguenti parametri: {0} | {1} | {2} | {3} | {4} | {5} | {6} | {7}{8}{9}", KeyReq, attiv, CodArticolo, IdxMacchina, numPezzi, TCiclo, prio, pzPallet, Environment.NewLine, exc), tipoLog.EXCEPTION);
}
// segnalo update
if (eh_nuovoValore != null)
@@ -155,6 +155,15 @@ namespace MoonProAdmin.WebUserControls
{
showLastTimeAndNote();
}
/// <summary>
/// selezione impianto
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ddlGruppi_SelectedIndexChanged(object sender, EventArgs e)
{
ddlMacchine.DataBind();
}
/// <summary>
/// reset della selezione
@@ -203,8 +212,8 @@ namespace MoonProAdmin.WebUserControls
TC_MinSec = string.Format("{0}:{1:00}", min, sec);
}
catch
{ }
txtTC.Text = TC_MinSec;
{ }
txtTC.Text = TC_MinSec;
txtPzPallet.Text = rigaOdl.PzPallet.ToString();
}
}
@@ -39,6 +39,24 @@ namespace MoonProAdmin.WebUserControls {
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsArticoli;
/// <summary>
/// Controllo ddlGruppi.
/// </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 ddlGruppi;
/// <summary>
/// Controllo odsGruppi.
/// </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 odsGruppi;
/// <summary>
/// Controllo ddlMacchine.
/// </summary>
+600
View File
@@ -46,6 +46,8 @@ namespace MapoDb {
private v_selCauScartoDataTable tablev_selCauScarto;
private v_selGruppiDataTable tablev_selGruppi;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -107,6 +109,9 @@ namespace MapoDb {
if ((ds.Tables["v_selCauScarto"] != null)) {
base.Tables.Add(new v_selCauScartoDataTable(ds.Tables["v_selCauScarto"]));
}
if ((ds.Tables["v_selGruppi"] != null)) {
base.Tables.Add(new v_selGruppiDataTable(ds.Tables["v_selGruppi"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -235,6 +240,16 @@ namespace MapoDb {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public v_selGruppiDataTable v_selGruppi {
get {
return this.tablev_selGruppi;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -335,6 +350,9 @@ namespace MapoDb {
if ((ds.Tables["v_selCauScarto"] != null)) {
base.Tables.Add(new v_selCauScartoDataTable(ds.Tables["v_selCauScarto"]));
}
if ((ds.Tables["v_selGruppi"] != null)) {
base.Tables.Add(new v_selGruppiDataTable(ds.Tables["v_selGruppi"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -434,6 +452,12 @@ namespace MapoDb {
this.tablev_selCauScarto.InitVars();
}
}
this.tablev_selGruppi = ((v_selGruppiDataTable)(base.Tables["v_selGruppi"]));
if ((initTable == true)) {
if ((this.tablev_selGruppi != null)) {
this.tablev_selGruppi.InitVars();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -466,6 +490,8 @@ namespace MapoDb {
base.Tables.Add(this.tablev_selTally);
this.tablev_selCauScarto = new v_selCauScartoDataTable();
base.Tables.Add(this.tablev_selCauScarto);
this.tablev_selGruppi = new v_selGruppiDataTable();
base.Tables.Add(this.tablev_selGruppi);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -534,6 +560,12 @@ namespace MapoDb {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
private bool ShouldSerializev_selGruppi() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -622,6 +654,9 @@ namespace MapoDb {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public delegate void v_selCauScartoRowChangeEventHandler(object sender, v_selCauScartoRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public delegate void v_selGruppiRowChangeEventHandler(object sender, v_selGruppiRowChangeEvent e);
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
@@ -4115,6 +4150,297 @@ namespace MapoDb {
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class v_selGruppiDataTable : global::System.Data.TypedTableBase<v_selGruppiRow> {
private global::System.Data.DataColumn columnvalue;
private global::System.Data.DataColumn columnlabel;
private global::System.Data.DataColumn columnconditio;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public v_selGruppiDataTable() {
this.TableName = "v_selGruppi";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
internal v_selGruppiDataTable(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", "15.0.0.0")]
protected v_selGruppiDataTable(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", "15.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", "15.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", "15.0.0.0")]
public global::System.Data.DataColumn conditioColumn {
get {
return this.columnconditio;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.0.0.0")]
public v_selGruppiRow this[int index] {
get {
return ((v_selGruppiRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public event v_selGruppiRowChangeEventHandler v_selGruppiRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public event v_selGruppiRowChangeEventHandler v_selGruppiRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public event v_selGruppiRowChangeEventHandler v_selGruppiRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public event v_selGruppiRowChangeEventHandler v_selGruppiRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public void Addv_selGruppiRow(v_selGruppiRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public v_selGruppiRow Addv_selGruppiRow(string value, string label, string conditio) {
v_selGruppiRow rowv_selGruppiRow = ((v_selGruppiRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
value,
label,
conditio};
rowv_selGruppiRow.ItemArray = columnValuesArray;
this.Rows.Add(rowv_selGruppiRow);
return rowv_selGruppiRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public v_selGruppiRow FindByvalue(string value) {
return ((v_selGruppiRow)(this.Rows.Find(new object[] {
value})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public override global::System.Data.DataTable Clone() {
v_selGruppiDataTable cln = ((v_selGruppiDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new v_selGruppiDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
internal void InitVars() {
this.columnvalue = base.Columns["value"];
this.columnlabel = base.Columns["label"];
this.columnconditio = base.Columns["conditio"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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.columnconditio = new global::System.Data.DataColumn("conditio", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnconditio);
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.AllowDBNull = false;
this.columnlabel.MaxLength = 250;
this.columnconditio.AllowDBNull = false;
this.columnconditio.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public v_selGruppiRow Newv_selGruppiRow() {
return ((v_selGruppiRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new v_selGruppiRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(v_selGruppiRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.v_selGruppiRowChanged != null)) {
this.v_selGruppiRowChanged(this, new v_selGruppiRowChangeEvent(((v_selGruppiRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.v_selGruppiRowChanging != null)) {
this.v_selGruppiRowChanging(this, new v_selGruppiRowChangeEvent(((v_selGruppiRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.v_selGruppiRowDeleted != null)) {
this.v_selGruppiRowDeleted(this, new v_selGruppiRowChangeEvent(((v_selGruppiRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.v_selGruppiRowDeleting != null)) {
this.v_selGruppiRowDeleting(this, new v_selGruppiRowChangeEvent(((v_selGruppiRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public void Removev_selGruppiRow(v_selGruppiRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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 = "v_selGruppiDataTable";
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>
@@ -5514,6 +5840,54 @@ namespace MapoDb {
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class v_selGruppiRow : global::System.Data.DataRow {
private v_selGruppiDataTable tablev_selGruppi;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
internal v_selGruppiRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tablev_selGruppi = ((v_selGruppiDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public string value {
get {
return ((string)(this[this.tablev_selGruppi.valueColumn]));
}
set {
this[this.tablev_selGruppi.valueColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public string label {
get {
return ((string)(this[this.tablev_selGruppi.labelColumn]));
}
set {
this[this.tablev_selGruppi.labelColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public string conditio {
get {
return ((string)(this[this.tablev_selGruppi.conditioColumn]));
}
set {
this[this.tablev_selGruppi.conditioColumn] = value;
}
}
}
/// <summary>
///Row event argument class
///</summary>
@@ -5887,6 +6261,40 @@ namespace MapoDb {
}
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public class v_selGruppiRowChangeEvent : global::System.EventArgs {
private v_selGruppiRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public v_selGruppiRowChangeEvent(v_selGruppiRow 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", "15.0.0.0")]
public v_selGruppiRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace MapoDb.DS_UtilityTableAdapters {
@@ -8526,6 +8934,198 @@ SELECT IdxMacchina, IdxStato, InizioStato, Value, CodArticolo, TempoCicloBase, P
}
}
/// <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 v_selGruppiTableAdapter : 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", "15.0.0.0")]
public v_selGruppiTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.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", "15.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", "15.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", "15.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", "15.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 = "v_selGruppi";
tableMapping.ColumnMappings.Add("value", "value");
tableMapping.ColumnMappings.Add("label", "label");
tableMapping.ColumnMappings.Add("conditio", "conditio");
this._adapter.TableMappings.Add(tableMapping);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::MapoDb.Properties.Settings.Default.MoonProConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT value, label, conditio FROM dbo.v_selGruppi";
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_vsg_getByConditio";
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("@conditio", 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()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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.v_selGruppiDataTable 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", "15.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.v_selGruppiDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Utility.v_selGruppiDataTable dataTable = new DS_Utility.v_selGruppiDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Utility.v_selGruppiDataTable getByConditio(string conditio) {
this.Adapter.SelectCommand = this.CommandCollection[1];
if ((conditio == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(conditio));
}
DS_Utility.v_selGruppiDataTable dataTable = new DS_Utility.v_selGruppiDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
/// <summary>
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///</summary>
+70 -9
View File
@@ -419,6 +419,36 @@ FROM dbo.v_selCauScarto</CommandText>
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selGruppiTableAdapter" GeneratorDataComponentClassName="v_selGruppiTableAdapter" Name="v_selGruppi" UserDataComponentName="v_selGruppiTableAdapter">
<MainSource>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.v_selGruppi" 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="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT value, label, conditio FROM dbo.v_selGruppi</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="value" DataSetColumn="value" />
<Mapping SourceColumn="label" DataSetColumn="label" />
<Mapping SourceColumn="conditio" DataSetColumn="conditio" />
</Mappings>
<Sources>
<DbSource ConnectionRef="MoonProConnectionString (Settings)" DbObjectName="MoonPro.dbo.stp_vsg_getByConditio" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByConditio" GetMethodModifier="Public" GetMethodName="getByConditio" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByConditio" UserSourceName="getByConditio">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_vsg_getByConditio</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="@conditio" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -486,7 +516,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selOperatori" msprop:Generator_TableClassName="v_selOperatoriDataTable" msprop:Generator_TableVarName="tablev_selOperatori" msprop:Generator_TablePropName="v_selOperatori" msprop:Generator_RowDeletingName="v_selOperatoriRowDeleting" msprop:Generator_RowChangingName="v_selOperatoriRowChanging" msprop:Generator_RowEvHandlerName="v_selOperatoriRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selOperatoriRowDeleted" msprop:Generator_UserTableName="v_selOperatori" msprop:Generator_RowChangedName="v_selOperatoriRowChanged" msprop:Generator_RowEvArgName="v_selOperatoriRowChangeEvent" msprop:Generator_RowClassName="v_selOperatoriRow">
<xs:element name="v_selOperatori" msprop:Generator_TableClassName="v_selOperatoriDataTable" msprop:Generator_TableVarName="tablev_selOperatori" msprop:Generator_RowChangedName="v_selOperatoriRowChanged" msprop:Generator_TablePropName="v_selOperatori" msprop:Generator_RowDeletingName="v_selOperatoriRowDeleting" msprop:Generator_RowChangingName="v_selOperatoriRowChanging" msprop:Generator_RowEvHandlerName="v_selOperatoriRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selOperatoriRowDeleted" msprop:Generator_RowClassName="v_selOperatoriRow" msprop:Generator_UserTableName="v_selOperatori" msprop:Generator_RowEvArgName="v_selOperatoriRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
@@ -500,7 +530,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selODL" msprop:Generator_TableClassName="v_selODLDataTable" msprop:Generator_TableVarName="tablev_selODL" msprop:Generator_RowChangedName="v_selODLRowChanged" msprop:Generator_TablePropName="v_selODL" msprop:Generator_RowDeletingName="v_selODLRowDeleting" msprop:Generator_RowChangingName="v_selODLRowChanging" msprop:Generator_RowEvHandlerName="v_selODLRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selODLRowDeleted" msprop:Generator_RowClassName="v_selODLRow" msprop:Generator_UserTableName="v_selODL" msprop:Generator_RowEvArgName="v_selODLRowChangeEvent">
<xs:element name="v_selODL" msprop:Generator_TableClassName="v_selODLDataTable" msprop:Generator_TableVarName="tablev_selODL" msprop:Generator_TablePropName="v_selODL" msprop:Generator_RowDeletingName="v_selODLRowDeleting" msprop:Generator_RowChangingName="v_selODLRowChanging" msprop:Generator_RowEvHandlerName="v_selODLRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selODLRowDeleted" msprop:Generator_UserTableName="v_selODL" msprop:Generator_RowChangedName="v_selODLRowChanged" msprop:Generator_RowEvArgName="v_selODLRowChangeEvent" msprop:Generator_RowClassName="v_selODLRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
@@ -515,7 +545,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selEventiBCode" msprop:Generator_TableClassName="v_selEventiBCodeDataTable" msprop:Generator_TableVarName="tablev_selEventiBCode" msprop:Generator_TablePropName="v_selEventiBCode" msprop:Generator_RowDeletingName="v_selEventiBCodeRowDeleting" msprop:Generator_RowChangingName="v_selEventiBCodeRowChanging" msprop:Generator_RowEvHandlerName="v_selEventiBCodeRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selEventiBCodeRowDeleted" msprop:Generator_UserTableName="v_selEventiBCode" msprop:Generator_RowChangedName="v_selEventiBCodeRowChanged" msprop:Generator_RowEvArgName="v_selEventiBCodeRowChangeEvent" msprop:Generator_RowClassName="v_selEventiBCodeRow">
<xs:element name="v_selEventiBCode" msprop:Generator_TableClassName="v_selEventiBCodeDataTable" msprop:Generator_TableVarName="tablev_selEventiBCode" msprop:Generator_RowChangedName="v_selEventiBCodeRowChanged" msprop:Generator_TablePropName="v_selEventiBCode" msprop:Generator_RowDeletingName="v_selEventiBCodeRowDeleting" msprop:Generator_RowChangingName="v_selEventiBCodeRowChanging" msprop:Generator_RowEvHandlerName="v_selEventiBCodeRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selEventiBCodeRowDeleted" msprop:Generator_RowClassName="v_selEventiBCodeRow" msprop:Generator_UserTableName="v_selEventiBCode" msprop:Generator_RowEvArgName="v_selEventiBCodeRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:int" />
@@ -529,7 +559,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selMacchine" msprop:Generator_TableClassName="v_selMacchineDataTable" msprop:Generator_TableVarName="tablev_selMacchine" msprop:Generator_TablePropName="v_selMacchine" msprop:Generator_RowDeletingName="v_selMacchineRowDeleting" msprop:Generator_RowChangingName="v_selMacchineRowChanging" msprop:Generator_RowEvHandlerName="v_selMacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selMacchineRowDeleted" msprop:Generator_UserTableName="v_selMacchine" msprop:Generator_RowChangedName="v_selMacchineRowChanged" msprop:Generator_RowEvArgName="v_selMacchineRowChangeEvent" msprop:Generator_RowClassName="v_selMacchineRow">
<xs:element name="v_selMacchine" msprop:Generator_TableClassName="v_selMacchineDataTable" msprop:Generator_TableVarName="tablev_selMacchine" msprop:Generator_RowChangedName="v_selMacchineRowChanged" msprop:Generator_TablePropName="v_selMacchine" msprop:Generator_RowDeletingName="v_selMacchineRowDeleting" msprop:Generator_RowChangingName="v_selMacchineRowChanging" msprop:Generator_RowEvHandlerName="v_selMacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selMacchineRowDeleted" msprop:Generator_RowClassName="v_selMacchineRow" msprop:Generator_UserTableName="v_selMacchine" msprop:Generator_RowEvArgName="v_selMacchineRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -549,7 +579,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_statusCorrente" msprop:Generator_TableClassName="stp_statusCorrenteDataTable" msprop:Generator_TableVarName="tablestp_statusCorrente" msprop:Generator_TablePropName="stp_statusCorrente" msprop:Generator_RowDeletingName="stp_statusCorrenteRowDeleting" msprop:Generator_RowChangingName="stp_statusCorrenteRowChanging" msprop:Generator_RowEvHandlerName="stp_statusCorrenteRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_statusCorrenteRowDeleted" msprop:Generator_UserTableName="stp_statusCorrente" msprop:Generator_RowChangedName="stp_statusCorrenteRowChanged" msprop:Generator_RowEvArgName="stp_statusCorrenteRowChangeEvent" msprop:Generator_RowClassName="stp_statusCorrenteRow">
<xs:element name="stp_statusCorrente" msprop:Generator_TableClassName="stp_statusCorrenteDataTable" msprop:Generator_TableVarName="tablestp_statusCorrente" msprop:Generator_RowChangedName="stp_statusCorrenteRowChanged" msprop:Generator_TablePropName="stp_statusCorrente" msprop:Generator_RowDeletingName="stp_statusCorrenteRowDeleting" msprop:Generator_RowChangingName="stp_statusCorrenteRowChanging" msprop:Generator_RowEvHandlerName="stp_statusCorrenteRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_statusCorrenteRowDeleted" msprop:Generator_RowClassName="stp_statusCorrenteRow" msprop:Generator_UserTableName="stp_statusCorrente" msprop:Generator_RowEvArgName="stp_statusCorrenteRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxMacchina" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_UserColumnName="IdxMacchina">
@@ -618,7 +648,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Commenti" msprop:Generator_TableClassName="CommentiDataTable" msprop:Generator_TableVarName="tableCommenti" msprop:Generator_RowChangedName="CommentiRowChanged" msprop:Generator_TablePropName="Commenti" msprop:Generator_RowDeletingName="CommentiRowDeleting" msprop:Generator_RowChangingName="CommentiRowChanging" msprop:Generator_RowEvHandlerName="CommentiRowChangeEventHandler" msprop:Generator_RowDeletedName="CommentiRowDeleted" msprop:Generator_RowClassName="CommentiRow" msprop:Generator_UserTableName="Commenti" msprop:Generator_RowEvArgName="CommentiRowChangeEvent">
<xs:element name="Commenti" msprop:Generator_TableClassName="CommentiDataTable" msprop:Generator_TableVarName="tableCommenti" msprop:Generator_TablePropName="Commenti" msprop:Generator_RowDeletingName="CommentiRowDeleting" msprop:Generator_RowChangingName="CommentiRowChanging" msprop:Generator_RowEvHandlerName="CommentiRowChangeEventHandler" msprop:Generator_RowDeletedName="CommentiRowDeleted" msprop:Generator_UserTableName="Commenti" msprop:Generator_RowChangedName="CommentiRowChanged" msprop:Generator_RowEvArgName="CommentiRowChangeEvent" msprop:Generator_RowClassName="CommentiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxODL" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnidxODL" msprop:Generator_ColumnPropNameInRow="idxODL" msprop:Generator_ColumnPropNameInTable="idxODLColumn" msprop:Generator_UserColumnName="idxODL" type="xs:int" />
@@ -654,7 +684,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FermiNonQual" msprop:Generator_TableClassName="FermiNonQualDataTable" msprop:Generator_TableVarName="tableFermiNonQual" msprop:Generator_RowChangedName="FermiNonQualRowChanged" msprop:Generator_TablePropName="FermiNonQual" msprop:Generator_RowDeletingName="FermiNonQualRowDeleting" msprop:Generator_RowChangingName="FermiNonQualRowChanging" msprop:Generator_RowEvHandlerName="FermiNonQualRowChangeEventHandler" msprop:Generator_RowDeletedName="FermiNonQualRowDeleted" msprop:Generator_RowClassName="FermiNonQualRow" msprop:Generator_UserTableName="FermiNonQual" msprop:Generator_RowEvArgName="FermiNonQualRowChangeEvent">
<xs:element name="FermiNonQual" msprop:Generator_TableClassName="FermiNonQualDataTable" msprop:Generator_TableVarName="tableFermiNonQual" msprop:Generator_TablePropName="FermiNonQual" msprop:Generator_RowDeletingName="FermiNonQualRowDeleting" msprop:Generator_RowChangingName="FermiNonQualRowChanging" msprop:Generator_RowEvHandlerName="FermiNonQualRowChangeEventHandler" msprop:Generator_RowDeletedName="FermiNonQualRowDeleted" msprop:Generator_UserTableName="FermiNonQual" msprop:Generator_RowChangedName="FermiNonQualRowChanged" msprop:Generator_RowEvArgName="FermiNonQualRowChangeEvent" msprop:Generator_RowClassName="FermiNonQualRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxMacchina" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_UserColumnName="IdxMacchina">
@@ -705,7 +735,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selTally" msprop:Generator_TableClassName="v_selTallyDataTable" msprop:Generator_TableVarName="tablev_selTally" msprop:Generator_TablePropName="v_selTally" msprop:Generator_RowDeletingName="v_selTallyRowDeleting" msprop:Generator_RowChangingName="v_selTallyRowChanging" msprop:Generator_RowEvHandlerName="v_selTallyRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selTallyRowDeleted" msprop:Generator_UserTableName="v_selTally" msprop:Generator_RowChangedName="v_selTallyRowChanged" msprop:Generator_RowEvArgName="v_selTallyRowChangeEvent" msprop:Generator_RowClassName="v_selTallyRow">
<xs:element name="v_selTally" msprop:Generator_TableClassName="v_selTallyDataTable" msprop:Generator_TableVarName="tablev_selTally" msprop:Generator_RowChangedName="v_selTallyRowChanged" msprop:Generator_TablePropName="v_selTally" msprop:Generator_RowDeletingName="v_selTallyRowDeleting" msprop:Generator_RowChangingName="v_selTallyRowChanging" msprop:Generator_RowEvHandlerName="v_selTallyRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selTallyRowDeleted" msprop:Generator_RowClassName="v_selTallyRow" msprop:Generator_UserTableName="v_selTally" msprop:Generator_RowEvArgName="v_selTallyRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" type="xs:long" minOccurs="0" />
@@ -713,7 +743,7 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selCauScarto" msprop:Generator_TableClassName="v_selCauScartoDataTable" msprop:Generator_TableVarName="tablev_selCauScarto" msprop:Generator_RowChangedName="v_selCauScartoRowChanged" msprop:Generator_TablePropName="v_selCauScarto" msprop:Generator_RowDeletingName="v_selCauScartoRowDeleting" msprop:Generator_RowChangingName="v_selCauScartoRowChanging" msprop:Generator_RowEvHandlerName="v_selCauScartoRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCauScartoRowDeleted" msprop:Generator_RowClassName="v_selCauScartoRow" msprop:Generator_UserTableName="v_selCauScarto" msprop:Generator_RowEvArgName="v_selCauScartoRowChangeEvent">
<xs:element name="v_selCauScarto" msprop:Generator_TableClassName="v_selCauScartoDataTable" msprop:Generator_TableVarName="tablev_selCauScarto" msprop:Generator_TablePropName="v_selCauScarto" msprop:Generator_RowDeletingName="v_selCauScartoRowDeleting" msprop:Generator_RowChangingName="v_selCauScartoRowChanging" msprop:Generator_RowEvHandlerName="v_selCauScartoRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCauScartoRowDeleted" msprop:Generator_UserTableName="v_selCauScarto" msprop:Generator_RowChangedName="v_selCauScartoRowChanged" msprop:Generator_RowEvArgName="v_selCauScartoRowChangeEvent" msprop:Generator_RowClassName="v_selCauScartoRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -747,6 +777,33 @@ FROM dbo.v_selCauScarto</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selGruppi" msprop:Generator_TableClassName="v_selGruppiDataTable" msprop:Generator_TableVarName="tablev_selGruppi" msprop:Generator_TablePropName="v_selGruppi" msprop:Generator_RowDeletingName="v_selGruppiRowDeleting" msprop:Generator_RowChangingName="v_selGruppiRowChanging" msprop:Generator_RowEvHandlerName="v_selGruppiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selGruppiRowDeleted" msprop:Generator_UserTableName="v_selGruppi" msprop:Generator_RowChangedName="v_selGruppiRowChanged" msprop:Generator_RowEvArgName="v_selGruppiRowChangeEvent" msprop:Generator_RowClassName="v_selGruppiRow">
<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" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" msprop:Generator_UserColumnName="conditio">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -787,5 +844,9 @@ FROM dbo.v_selCauScarto</CommandText>
<xs:selector xpath=".//mstns:v_selCauScarto" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="v_selGruppi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:v_selGruppi" />
<xs:field xpath="mstns:value" />
</xs:unique>
</xs:element>
</xs:schema>