Aggiunta stored x inserimento parametri macchine missing

This commit is contained in:
Samuele E. Locatelli
2020-01-03 09:08:13 +01:00
parent 56c04589c6
commit 94de878b3a
8 changed files with 77 additions and 59 deletions
+3 -10
View File
@@ -1,20 +1,13 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_machParams.ascx.cs" Inherits="ES3.WebUserControls.cmp_machParams" %>
<div class="row">
<div class="col-4">
Impianto&nbsp;<asp:DropDownList runat="server" ID="ddlMacchine" DataSourceID="odsMacc" DataTextField="label" DataValueField="value" AppendDataBoundItems="true" AutoPostBack="True">
<asp:ListItem Text="--- TUTTI ---" Value=""></asp:ListItem>
</asp:DropDownList>
<asp:ObjectDataSource ID="odsMacc" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getAttive" TypeName="MapoDb.DS_UtilityTableAdapters.v_selMacchineTableAdapter"></asp:ObjectDataSource>
<div class="col-8">
aggiungere select + edit
</div>
<div class="col-4">
<asp:LinkButton runat="server" ID="lbtClonaSel" CssClass="btn btn-sm btn-block btn-info"><i class="fa fa-magic" aria-hidden="true"></i> Clona</asp:LinkButton>
</div>
<div class="col-4">
<asp:LinkButton runat="server" ID="lbtAddNew" CssClass="btn btn-sm btn-block btn-success"><i class="fa fa-plus-square" aria-hidden="true"></i> Nuovo</asp:LinkButton>
<asp:LinkButton runat="server" ID="lbtAddNew" CssClass="btn btn-sm btn-block btn-success" OnClick="lbtAddNew_Click"><i class="fa fa-plus-square" aria-hidden="true"></i> Mancanti</asp:LinkButton>
</div>
<div class="col-12">
aggiungere select + edit
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="IdxMacchina" DataSourceID="ods" CssClass="table table-sm table-striped" AllowPaging="True">
<HeaderStyle CssClass="table-primary" />
<PagerStyle CssClass="active GridPager" />
+10 -2
View File
@@ -1,4 +1,5 @@
using System;
using MapoDb;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
@@ -53,7 +54,7 @@ namespace ES3.WebUserControls
memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView));
#endif
grView.SelectedIndex = -1;
grView.DataBind();
doUpdate();
#if false
divEditQta.Visible = false;
mod_newPromessaODL.Visible = false;
@@ -65,5 +66,12 @@ namespace ES3.WebUserControls
}
#endif
}
protected void lbtAddNew_Click(object sender, EventArgs e)
{
// aggiungo macchine con parametri mancanti... MULTI --> OEE madre a 0%!!!
DataLayer.obj.taMacParams.insMissing();
doUpdate();
}
}
}
-27
View File
@@ -14,33 +14,6 @@ namespace ES3.WebUserControls
public partial class cmp_machParams
{
/// <summary>
/// Controllo ddlMacchine.
/// </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 ddlMacchine;
/// <summary>
/// Controllo odsMacc.
/// </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 odsMacc;
/// <summary>
/// Controllo lbtClonaSel.
/// </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.LinkButton lbtClonaSel;
/// <summary>
/// Controllo lbtAddNew.
/// </summary>
Vendored
+1 -1
View File
@@ -12,7 +12,7 @@ pipeline {
steps {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
withEnv(['NEXT_BUILD_NUMBER=1273']) {
withEnv(['NEXT_BUILD_NUMBER=1276']) {
// env.versionNumber = VersionNumber(versionNumberString : '6.9.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '6.9.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'MAPO'
+28 -1
View File
@@ -11085,11 +11085,16 @@ SELECT idxPromessa, KeyRichiesta, KeyBCode, Attivabile, IdxODL, CodArticolo, Cod
[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 = 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 *\r\nFROM MachineParams";
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_MacPar_insMissing";
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, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -11115,6 +11120,28 @@ SELECT idxPromessa, KeyRichiesta, KeyBCode, Attivabile, IdxODL, CodArticolo, Cod
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")]
public virtual int insMissing() {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
try {
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
}
/// <summary>
+26 -15
View File
@@ -677,7 +677,18 @@ FROM MachineParams</CommandText>
<Mapping SourceColumn="OEE" DataSetColumn="OEE" />
<Mapping SourceColumn="SetupTime" DataSetColumn="SetupTime" />
</Mappings>
<Sources />
<Sources>
<DbSource ConnectionRef="MoonPro_ES3ConnectionString (Settings)" DbObjectName="MoonPro_ES3.dbo.stp_MacPar_insMissing" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insMissing" Modifier="Public" Name="insMissing" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insMissing">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_MacPar_insMissing</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" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
@@ -687,7 +698,7 @@ FROM MachineParams</CommandText>
<xs:element name="DS_Plan" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Plan" msprop:Generator_UserDSName="DS_Plan">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="planStatsGlobal" msprop:Generator_TableClassName="planStatsGlobalDataTable" msprop:Generator_TableVarName="tableplanStatsGlobal" msprop:Generator_RowChangedName="planStatsGlobalRowChanged" msprop:Generator_TablePropName="planStatsGlobal" msprop:Generator_RowDeletingName="planStatsGlobalRowDeleting" msprop:Generator_RowChangingName="planStatsGlobalRowChanging" msprop:Generator_RowEvHandlerName="planStatsGlobalRowChangeEventHandler" msprop:Generator_RowDeletedName="planStatsGlobalRowDeleted" msprop:Generator_RowClassName="planStatsGlobalRow" msprop:Generator_UserTableName="planStatsGlobal" msprop:Generator_RowEvArgName="planStatsGlobalRowChangeEvent">
<xs:element name="planStatsGlobal" msprop:Generator_TableClassName="planStatsGlobalDataTable" msprop:Generator_TableVarName="tableplanStatsGlobal" msprop:Generator_TablePropName="planStatsGlobal" msprop:Generator_RowDeletingName="planStatsGlobalRowDeleting" msprop:Generator_RowChangingName="planStatsGlobalRowChanging" msprop:Generator_RowEvHandlerName="planStatsGlobalRowChangeEventHandler" msprop:Generator_RowDeletedName="planStatsGlobalRowDeleted" msprop:Generator_UserTableName="planStatsGlobal" msprop:Generator_RowChangedName="planStatsGlobalRowChanged" msprop:Generator_RowEvArgName="planStatsGlobalRowChangeEvent" msprop:Generator_RowClassName="planStatsGlobalRow">
<xs:complexType>
<xs:sequence>
<xs:element name="NumRows" msprop:Generator_ColumnVarNameInTable="columnNumRows" msprop:Generator_ColumnPropNameInRow="NumRows" msprop:Generator_ColumnPropNameInTable="NumRowsColumn" msprop:Generator_UserColumnName="NumRows" type="xs:int" minOccurs="0" />
@@ -698,7 +709,7 @@ FROM MachineParams</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="planStatsArt" msprop:Generator_TableClassName="planStatsArtDataTable" msprop:Generator_TableVarName="tableplanStatsArt" msprop:Generator_RowChangedName="planStatsArtRowChanged" msprop:Generator_TablePropName="planStatsArt" msprop:Generator_RowDeletingName="planStatsArtRowDeleting" msprop:Generator_RowChangingName="planStatsArtRowChanging" msprop:Generator_RowEvHandlerName="planStatsArtRowChangeEventHandler" msprop:Generator_RowDeletedName="planStatsArtRowDeleted" msprop:Generator_RowClassName="planStatsArtRow" msprop:Generator_UserTableName="planStatsArt" msprop:Generator_RowEvArgName="planStatsArtRowChangeEvent">
<xs:element name="planStatsArt" msprop:Generator_TableClassName="planStatsArtDataTable" msprop:Generator_TableVarName="tableplanStatsArt" msprop:Generator_TablePropName="planStatsArt" msprop:Generator_RowDeletingName="planStatsArtRowDeleting" msprop:Generator_RowChangingName="planStatsArtRowChanging" msprop:Generator_RowEvHandlerName="planStatsArtRowChangeEventHandler" msprop:Generator_RowDeletedName="planStatsArtRowDeleted" msprop:Generator_UserTableName="planStatsArt" msprop:Generator_RowChangedName="planStatsArtRowChanged" msprop:Generator_RowEvArgName="planStatsArtRowChangeEvent" msprop:Generator_RowClassName="planStatsArtRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodArticolo" msprop:Generator_ColumnVarNameInTable="columnCodArticolo" msprop:Generator_ColumnPropNameInRow="CodArticolo" msprop:Generator_ColumnPropNameInTable="CodArticoloColumn" msprop:Generator_UserColumnName="CodArticolo">
@@ -728,7 +739,7 @@ FROM MachineParams</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="planStatsGroup" msprop:Generator_TableClassName="planStatsGroupDataTable" msprop:Generator_TableVarName="tableplanStatsGroup" msprop:Generator_RowChangedName="planStatsGroupRowChanged" msprop:Generator_TablePropName="planStatsGroup" msprop:Generator_RowDeletingName="planStatsGroupRowDeleting" msprop:Generator_RowChangingName="planStatsGroupRowChanging" msprop:Generator_RowEvHandlerName="planStatsGroupRowChangeEventHandler" msprop:Generator_RowDeletedName="planStatsGroupRowDeleted" msprop:Generator_RowClassName="planStatsGroupRow" msprop:Generator_UserTableName="planStatsGroup" msprop:Generator_RowEvArgName="planStatsGroupRowChangeEvent">
<xs:element name="planStatsGroup" msprop:Generator_TableClassName="planStatsGroupDataTable" msprop:Generator_TableVarName="tableplanStatsGroup" msprop:Generator_TablePropName="planStatsGroup" msprop:Generator_RowDeletingName="planStatsGroupRowDeleting" msprop:Generator_RowChangingName="planStatsGroupRowChanging" msprop:Generator_RowEvHandlerName="planStatsGroupRowChangeEventHandler" msprop:Generator_RowDeletedName="planStatsGroupRowDeleted" msprop:Generator_UserTableName="planStatsGroup" msprop:Generator_RowChangedName="planStatsGroupRowChanged" msprop:Generator_RowEvArgName="planStatsGroupRowChangeEvent" msprop:Generator_RowClassName="planStatsGroupRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodGruppo" msprop:Generator_ColumnVarNameInTable="columnCodGruppo" msprop:Generator_ColumnPropNameInRow="CodGruppo" msprop:Generator_ColumnPropNameInTable="CodGruppoColumn" msprop:Generator_UserColumnName="CodGruppo">
@@ -751,7 +762,7 @@ FROM MachineParams</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="planStatsMacc" msprop:Generator_TableClassName="planStatsMaccDataTable" msprop:Generator_TableVarName="tableplanStatsMacc" msprop:Generator_RowChangedName="planStatsMaccRowChanged" msprop:Generator_TablePropName="planStatsMacc" msprop:Generator_RowDeletingName="planStatsMaccRowDeleting" msprop:Generator_RowChangingName="planStatsMaccRowChanging" msprop:Generator_RowEvHandlerName="planStatsMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="planStatsMaccRowDeleted" msprop:Generator_RowClassName="planStatsMaccRow" msprop:Generator_UserTableName="planStatsMacc" msprop:Generator_RowEvArgName="planStatsMaccRowChangeEvent">
<xs:element name="planStatsMacc" msprop:Generator_TableClassName="planStatsMaccDataTable" msprop:Generator_TableVarName="tableplanStatsMacc" msprop:Generator_TablePropName="planStatsMacc" msprop:Generator_RowDeletingName="planStatsMaccRowDeleting" msprop:Generator_RowChangingName="planStatsMaccRowChanging" msprop:Generator_RowEvHandlerName="planStatsMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="planStatsMaccRowDeleted" msprop:Generator_UserTableName="planStatsMacc" msprop:Generator_RowChangedName="planStatsMaccRowChanged" msprop:Generator_RowEvArgName="planStatsMaccRowChangeEvent" msprop:Generator_RowClassName="planStatsMaccRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxMacchina" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_UserColumnName="IdxMacchina">
@@ -774,7 +785,7 @@ FROM MachineParams</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Richieste" msprop:Generator_TableClassName="RichiesteDataTable" msprop:Generator_TableVarName="tableRichieste" msprop:Generator_TablePropName="Richieste" msprop:Generator_RowDeletingName="RichiesteRowDeleting" msprop:Generator_RowChangingName="RichiesteRowChanging" msprop:Generator_RowEvHandlerName="RichiesteRowChangeEventHandler" msprop:Generator_RowDeletedName="RichiesteRowDeleted" msprop:Generator_UserTableName="Richieste" msprop:Generator_RowChangedName="RichiesteRowChanged" msprop:Generator_RowEvArgName="RichiesteRowChangeEvent" msprop:Generator_RowClassName="RichiesteRow">
<xs:element name="Richieste" msprop:Generator_TableClassName="RichiesteDataTable" msprop:Generator_TableVarName="tableRichieste" msprop:Generator_RowChangedName="RichiesteRowChanged" msprop:Generator_TablePropName="Richieste" msprop:Generator_RowDeletingName="RichiesteRowDeleting" msprop:Generator_RowChangingName="RichiesteRowChanging" msprop:Generator_RowEvHandlerName="RichiesteRowChangeEventHandler" msprop:Generator_RowDeletedName="RichiesteRowDeleted" msprop:Generator_RowClassName="RichiesteRow" msprop:Generator_UserTableName="Richieste" msprop:Generator_RowEvArgName="RichiesteRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxPromessa" msprop:Generator_ColumnVarNameInTable="columnidxPromessa" msprop:Generator_ColumnPropNameInRow="idxPromessa" msprop:Generator_ColumnPropNameInTable="idxPromessaColumn" msprop:Generator_UserColumnName="idxPromessa" type="xs:int" />
@@ -868,7 +879,7 @@ FROM MachineParams</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PromesseIN" msprop:Generator_TableClassName="PromesseINDataTable" msprop:Generator_TableVarName="tablePromesseIN" msprop:Generator_RowChangedName="PromesseINRowChanged" msprop:Generator_TablePropName="PromesseIN" msprop:Generator_RowDeletingName="PromesseINRowDeleting" msprop:Generator_RowChangingName="PromesseINRowChanging" msprop:Generator_RowEvHandlerName="PromesseINRowChangeEventHandler" msprop:Generator_RowDeletedName="PromesseINRowDeleted" msprop:Generator_RowClassName="PromesseINRow" msprop:Generator_UserTableName="PromesseIN" msprop:Generator_RowEvArgName="PromesseINRowChangeEvent">
<xs:element name="PromesseIN" msprop:Generator_TableClassName="PromesseINDataTable" msprop:Generator_TableVarName="tablePromesseIN" msprop:Generator_TablePropName="PromesseIN" msprop:Generator_RowDeletingName="PromesseINRowDeleting" msprop:Generator_RowChangingName="PromesseINRowChanging" msprop:Generator_RowEvHandlerName="PromesseINRowChangeEventHandler" msprop:Generator_RowDeletedName="PromesseINRowDeleted" msprop:Generator_UserTableName="PromesseIN" msprop:Generator_RowChangedName="PromesseINRowChanged" msprop:Generator_RowEvArgName="PromesseINRowChangeEvent" msprop:Generator_RowClassName="PromesseINRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxPromessa" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxPromessa" msprop:Generator_ColumnPropNameInRow="idxPromessa" msprop:Generator_ColumnPropNameInTable="idxPromessaColumn" msprop:Generator_UserColumnName="idxPromessa" type="xs:int" />
@@ -924,7 +935,7 @@ FROM MachineParams</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PromesseOUT" msprop:Generator_TableClassName="PromesseOUTDataTable" msprop:Generator_TableVarName="tablePromesseOUT" msprop:Generator_RowChangedName="PromesseOUTRowChanged" msprop:Generator_TablePropName="PromesseOUT" msprop:Generator_RowDeletingName="PromesseOUTRowDeleting" msprop:Generator_RowChangingName="PromesseOUTRowChanging" msprop:Generator_RowEvHandlerName="PromesseOUTRowChangeEventHandler" msprop:Generator_RowDeletedName="PromesseOUTRowDeleted" msprop:Generator_RowClassName="PromesseOUTRow" msprop:Generator_UserTableName="PromesseOUT" msprop:Generator_RowEvArgName="PromesseOUTRowChangeEvent">
<xs:element name="PromesseOUT" msprop:Generator_TableClassName="PromesseOUTDataTable" msprop:Generator_TableVarName="tablePromesseOUT" msprop:Generator_TablePropName="PromesseOUT" msprop:Generator_RowDeletingName="PromesseOUTRowDeleting" msprop:Generator_RowChangingName="PromesseOUTRowChanging" msprop:Generator_RowEvHandlerName="PromesseOUTRowChangeEventHandler" msprop:Generator_RowDeletedName="PromesseOUTRowDeleted" msprop:Generator_UserTableName="PromesseOUT" msprop:Generator_RowChangedName="PromesseOUTRowChanged" msprop:Generator_RowEvArgName="PromesseOUTRowChangeEvent" msprop:Generator_RowClassName="PromesseOUTRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxPromessa" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxPromessa" msprop:Generator_ColumnPropNameInRow="idxPromessa" msprop:Generator_ColumnPropNameInTable="idxPromessaColumn" msprop:Generator_UserColumnName="idxPromessa" type="xs:int" />
@@ -1001,7 +1012,7 @@ FROM MachineParams</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ConfWeek" msprop:Generator_TableClassName="ConfWeekDataTable" msprop:Generator_TableVarName="tableConfWeek" msprop:Generator_TablePropName="ConfWeek" msprop:Generator_RowDeletingName="ConfWeekRowDeleting" msprop:Generator_RowChangingName="ConfWeekRowChanging" msprop:Generator_RowEvHandlerName="ConfWeekRowChangeEventHandler" msprop:Generator_RowDeletedName="ConfWeekRowDeleted" msprop:Generator_UserTableName="ConfWeek" msprop:Generator_RowChangedName="ConfWeekRowChanged" msprop:Generator_RowEvArgName="ConfWeekRowChangeEvent" msprop:Generator_RowClassName="ConfWeekRow">
<xs:element name="ConfWeek" msprop:Generator_TableClassName="ConfWeekDataTable" msprop:Generator_TableVarName="tableConfWeek" msprop:Generator_RowChangedName="ConfWeekRowChanged" msprop:Generator_TablePropName="ConfWeek" msprop:Generator_RowDeletingName="ConfWeekRowDeleting" msprop:Generator_RowChangingName="ConfWeekRowChanging" msprop:Generator_RowEvHandlerName="ConfWeekRowChangeEventHandler" msprop:Generator_RowDeletedName="ConfWeekRowDeleted" msprop:Generator_RowClassName="ConfWeekRow" msprop:Generator_UserTableName="ConfWeek" msprop:Generator_RowEvArgName="ConfWeekRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodConfAper" msprop:Generator_ColumnVarNameInTable="columnCodConfAper" msprop:Generator_ColumnPropNameInRow="CodConfAper" msprop:Generator_ColumnPropNameInTable="CodConfAperColumn" msprop:Generator_UserColumnName="CodConfAper">
@@ -1023,7 +1034,7 @@ FROM MachineParams</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CalStop" msprop:Generator_TableClassName="CalStopDataTable" msprop:Generator_TableVarName="tableCalStop" msprop:Generator_RowChangedName="CalStopRowChanged" msprop:Generator_TablePropName="CalStop" msprop:Generator_RowDeletingName="CalStopRowDeleting" msprop:Generator_RowChangingName="CalStopRowChanging" msprop:Generator_RowEvHandlerName="CalStopRowChangeEventHandler" msprop:Generator_RowDeletedName="CalStopRowDeleted" msprop:Generator_RowClassName="CalStopRow" msprop:Generator_UserTableName="CalStop" msprop:Generator_RowEvArgName="CalStopRowChangeEvent">
<xs:element name="CalStop" msprop:Generator_TableClassName="CalStopDataTable" msprop:Generator_TableVarName="tableCalStop" msprop:Generator_TablePropName="CalStop" msprop:Generator_RowDeletingName="CalStopRowDeleting" msprop:Generator_RowChangingName="CalStopRowChanging" msprop:Generator_RowEvHandlerName="CalStopRowChangeEventHandler" msprop:Generator_RowDeletedName="CalStopRowDeleted" msprop:Generator_UserTableName="CalStop" msprop:Generator_RowChangedName="CalStopRowChanged" msprop:Generator_RowEvArgName="CalStopRowChangeEvent" msprop:Generator_RowClassName="CalStopRow">
<xs:complexType>
<xs:sequence>
<xs:element name="DataRif" msprop:Generator_ColumnVarNameInTable="columnDataRif" msprop:Generator_ColumnPropNameInRow="DataRif" msprop:Generator_ColumnPropNameInTable="DataRifColumn" msprop:Generator_UserColumnName="DataRif" type="xs:dateTime" />
@@ -1037,7 +1048,7 @@ FROM MachineParams</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CalDisp" msprop:Generator_TableClassName="CalDispDataTable" msprop:Generator_TableVarName="tableCalDisp" msprop:Generator_RowChangedName="CalDispRowChanged" msprop:Generator_TablePropName="CalDisp" msprop:Generator_RowDeletingName="CalDispRowDeleting" msprop:Generator_RowChangingName="CalDispRowChanging" msprop:Generator_RowEvHandlerName="CalDispRowChangeEventHandler" msprop:Generator_RowDeletedName="CalDispRowDeleted" msprop:Generator_RowClassName="CalDispRow" msprop:Generator_UserTableName="CalDisp" msprop:Generator_RowEvArgName="CalDispRowChangeEvent">
<xs:element name="CalDisp" msprop:Generator_TableClassName="CalDispDataTable" msprop:Generator_TableVarName="tableCalDisp" msprop:Generator_TablePropName="CalDisp" msprop:Generator_RowDeletingName="CalDispRowDeleting" msprop:Generator_RowChangingName="CalDispRowChanging" msprop:Generator_RowEvHandlerName="CalDispRowChangeEventHandler" msprop:Generator_RowDeletedName="CalDispRowDeleted" msprop:Generator_UserTableName="CalDisp" msprop:Generator_RowChangedName="CalDispRowChanged" msprop:Generator_RowEvArgName="CalDispRowChangeEvent" msprop:Generator_RowClassName="CalDispRow">
<xs:complexType>
<xs:sequence>
<xs:element name="DataRif" msprop:Generator_ColumnVarNameInTable="columnDataRif" msprop:Generator_ColumnPropNameInRow="DataRif" msprop:Generator_ColumnPropNameInTable="DataRifColumn" msprop:Generator_UserColumnName="DataRif" type="xs:dateTime" />
@@ -1053,7 +1064,7 @@ FROM MachineParams</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ConfWeek1" msprop:Generator_TableClassName="ConfWeek1DataTable" msprop:Generator_TableVarName="tableConfWeek1" msprop:Generator_TablePropName="ConfWeek1" msprop:Generator_RowDeletingName="ConfWeek1RowDeleting" msprop:Generator_RowChangingName="ConfWeek1RowChanging" msprop:Generator_RowEvHandlerName="ConfWeek1RowChangeEventHandler" msprop:Generator_RowDeletedName="ConfWeek1RowDeleted" msprop:Generator_UserTableName="ConfWeek1" msprop:Generator_RowChangedName="ConfWeek1RowChanged" msprop:Generator_RowEvArgName="ConfWeek1RowChangeEvent" msprop:Generator_RowClassName="ConfWeek1Row">
<xs:element name="ConfWeek1" msprop:Generator_TableClassName="ConfWeek1DataTable" msprop:Generator_TableVarName="tableConfWeek1" msprop:Generator_RowChangedName="ConfWeek1RowChanged" msprop:Generator_TablePropName="ConfWeek1" msprop:Generator_RowDeletingName="ConfWeek1RowDeleting" msprop:Generator_RowChangingName="ConfWeek1RowChanging" msprop:Generator_RowEvHandlerName="ConfWeek1RowChangeEventHandler" msprop:Generator_RowDeletedName="ConfWeek1RowDeleted" msprop:Generator_RowClassName="ConfWeek1Row" msprop:Generator_UserTableName="ConfWeek1" msprop:Generator_RowEvArgName="ConfWeek1RowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodConfAper" msprop:Generator_ColumnVarNameInTable="columnCodConfAper" msprop:Generator_ColumnPropNameInRow="CodConfAper" msprop:Generator_ColumnPropNameInTable="CodConfAperColumn" msprop:Generator_UserColumnName="CodConfAper">
@@ -1075,7 +1086,7 @@ FROM MachineParams</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MachineParams" msprop:Generator_TableClassName="MachineParamsDataTable" msprop:Generator_TableVarName="tableMachineParams" msprop:Generator_TablePropName="MachineParams" msprop:Generator_RowDeletingName="MachineParamsRowDeleting" msprop:Generator_RowChangingName="MachineParamsRowChanging" msprop:Generator_RowEvHandlerName="MachineParamsRowChangeEventHandler" msprop:Generator_RowDeletedName="MachineParamsRowDeleted" msprop:Generator_UserTableName="MachineParams" msprop:Generator_RowChangedName="MachineParamsRowChanged" msprop:Generator_RowEvArgName="MachineParamsRowChangeEvent" msprop:Generator_RowClassName="MachineParamsRow">
<xs:element name="MachineParams" msprop:Generator_TableClassName="MachineParamsDataTable" msprop:Generator_TableVarName="tableMachineParams" msprop:Generator_RowChangedName="MachineParamsRowChanged" msprop:Generator_TablePropName="MachineParams" msprop:Generator_RowDeletingName="MachineParamsRowDeleting" msprop:Generator_RowChangingName="MachineParamsRowChanging" msprop:Generator_RowEvHandlerName="MachineParamsRowChangeEventHandler" msprop:Generator_RowDeletedName="MachineParamsRowDeleted" msprop:Generator_RowClassName="MachineParamsRow" msprop:Generator_UserTableName="MachineParams" msprop:Generator_RowEvArgName="MachineParamsRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxMacchina" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_UserColumnName="IdxMacchina">
@@ -1136,8 +1147,8 @@ FROM MachineParams</CommandText>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_MachineParams_ConfWeek" msdata:parent="ConfWeek" msdata:child="MachineParams" msdata:parentkey="CodConfAper" msdata:childkey="CodConfAper" msprop:Generator_UserChildTable="MachineParams" msprop:Generator_ChildPropName="GetMachineParamsRows" msprop:Generator_UserRelationName="FK_MachineParams_ConfWeek" msprop:Generator_ParentPropName="ConfWeekRow" msprop:Generator_RelationVarName="relationFK_MachineParams_ConfWeek" msprop:Generator_UserParentTable="ConfWeek" />
<msdata:Relationship name="FK_MachineParams_ConfWeek1" msdata:parent="ConfWeek1" msdata:child="MachineParams" msdata:parentkey="CodConfAper" msdata:childkey="CodConfAper" msprop:Generator_UserChildTable="MachineParams" msprop:Generator_ChildPropName="GetMachineParamsRows" msprop:Generator_UserRelationName="FK_MachineParams_ConfWeek1" msprop:Generator_ParentPropName="ConfWeek1Row" msprop:Generator_RelationVarName="relationFK_MachineParams_ConfWeek1" msprop:Generator_UserParentTable="ConfWeek1" />
<msdata:Relationship name="FK_MachineParams_ConfWeek" msdata:parent="ConfWeek" msdata:child="MachineParams" msdata:parentkey="CodConfAper" msdata:childkey="CodConfAper" msprop:Generator_UserChildTable="MachineParams" msprop:Generator_ChildPropName="GetMachineParamsRows" msprop:Generator_UserRelationName="FK_MachineParams_ConfWeek" msprop:Generator_RelationVarName="relationFK_MachineParams_ConfWeek" msprop:Generator_UserParentTable="ConfWeek" msprop:Generator_ParentPropName="ConfWeekRow" />
<msdata:Relationship name="FK_MachineParams_ConfWeek1" msdata:parent="ConfWeek1" msdata:child="MachineParams" msdata:parentkey="CodConfAper" msdata:childkey="CodConfAper" msprop:Generator_UserChildTable="MachineParams" msprop:Generator_ChildPropName="GetMachineParamsRows" msprop:Generator_UserRelationName="FK_MachineParams_ConfWeek1" msprop:Generator_RelationVarName="relationFK_MachineParams_ConfWeek1" msprop:Generator_UserParentTable="ConfWeek1" msprop:Generator_ParentPropName="ConfWeek1Row" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+3 -3
View File
@@ -4,7 +4,7 @@
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="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:planStatsGlobal" ZOrder="11" X="108" Y="55" Height="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:planStatsArt" ZOrder="13" X="448" Y="61" Height="250" Width="255" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
@@ -17,7 +17,7 @@
<Shape ID="DesignTable:CalStop" ZOrder="6" X="950" Y="61" Height="215" Width="223" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="89" />
<Shape ID="DesignTable:CalDisp" ZOrder="1" X="1169" Y="630" Height="191" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:ConfWeek1" ZOrder="5" X="1207" Y="71" Height="319" Width="249" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="260" />
<Shape ID="DesignTable:MachineParams" ZOrder="4" X="899" Y="342" Height="181" Width="280" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
<Shape ID="DesignTable:MachineParams" ZOrder="4" X="899" Y="342" Height="192" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_MachineParams_ConfWeek" ZOrder="3" LineWidth="11">
@@ -47,7 +47,7 @@
<Y>482</Y>
</Point>
<Point>
<X>1179</X>
<X>1135</X>
<Y>482</Y>
</Point>
</RoutePoints>
+6
View File
@@ -61,6 +61,7 @@ namespace MapoDb
public DS_UtilityTableAdapters.CommentiTableAdapter taComm;
// table adapter x planner
public DS_PlanTableAdapters.MachineParamsTableAdapter taMacParams;
public DS_PlanTableAdapters.CalStopTableAdapter taPlanCalStop;
public DS_PlanTableAdapters.CalDispTableAdapter taPlanCalDisp;
public DS_PlanTableAdapters.RichiesteTableAdapter taPlanRichieste;
@@ -115,14 +116,18 @@ namespace MapoDb
taRC = new DS_ProdTempiTableAdapters.RegistroControlliTableAdapter();
taRS = new DS_ProdTempiTableAdapters.RegistroScartiTableAdapter();
taStatoProd = new DS_ProdTempiTableAdapters.StatoProdTableAdapter();
taSelArt = new DS_UtilityTableAdapters.v_selArticoliTableAdapter();
taSelMacc = new DS_UtilityTableAdapters.v_selMacchineTableAdapter();
taSelOdlFree = new DS_UtilityTableAdapters.v_selODLTableAdapter();
taComm = new DS_UtilityTableAdapters.CommentiTableAdapter();
taMacParams = new DS_PlanTableAdapters.MachineParamsTableAdapter();
taPlanCalStop = new DS_PlanTableAdapters.CalStopTableAdapter();
taPlanCalDisp = new DS_PlanTableAdapters.CalDispTableAdapter();
taPlanRichieste = new DS_PlanTableAdapters.RichiesteTableAdapter();
taPromOut = new DS_PlanTableAdapters.PromesseOUTTableAdapter();
taIstK = new DS_IntServTableAdapters.IstanzeKITTableAdapter();
taAs400 = new DS_IntServTableAdapters.ProduzioneAs400TableAdapter();
taTKS = new DS_IntServTableAdapters.TKS_SearchTableAdapter();
@@ -178,6 +183,7 @@ namespace MapoDb
taSelOdlFree.Connection.ConnectionString = connectionString;
taComm.Connection.ConnectionString = connectionString;
// area planner
taMacParams.Connection.ConnectionString = connectionStringES3;
taPlanCalStop.Connection.ConnectionString = connectionStringES3;
taPlanCalDisp.Connection.ConnectionString = connectionStringES3;
taPlanRichieste.Connection.ConnectionString = connectionStringES3;