Fix ricalcolo promIN processate + fix pulizia promIN da apertura planner

This commit is contained in:
Samuele E. Locatelli
2021-01-28 08:57:48 +01:00
parent 6691fb2207
commit 19ad903da0
5 changed files with 72 additions and 22 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=1379']) {
withEnv(['NEXT_BUILD_NUMBER=1380']) {
// 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'
+11 -2
View File
@@ -9,13 +9,15 @@ namespace MP_ADM
private void checkEnabled()
{
bool optPar = memLayer.ML.CRB("OptAdmKitEnabled");
// FIXME TODO
// !!! FARE!!! vera verifica licenza ES3 in AnagKeyValue...
bool optPar = memLayer.ML.CRB("OptAdmPlanEnabled");
divContent.Visible = optPar;
lblDataImportOut.Visible = !optPar;
string messaggio = "";
if (!optPar)
{
messaggio = "Attenzione: Gestione KIT disabilitata";
messaggio = "Attenzione: Gestione PLANNER disabilitata";
lblDataImportOut.Text = messaggio;
}
}
@@ -87,6 +89,7 @@ namespace MP_ADM
{
if (!Page.IsPostBack)
{
checkFixPromIn();
toggleVisibility();
}
checkEnabled();
@@ -99,6 +102,12 @@ namespace MP_ADM
cmp_PODL_OUT.eh_nuovoValore += Cmp_PODL_OUT_eh_nuovoValore;
}
private void checkFixPromIn()
{
// chiama stored x riallineamento prom IN che fossero pending (-10) x chiudere SE processate tutte le prom a valle (promOut con idxODL > 0)
DataLayerObj.taPromIn.updProc();
}
#endregion Protected Methods
}
}
+28 -1
View File
@@ -11023,13 +11023,18 @@ 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 idxPromessa, KeyRichiesta, KeyBCode, Attivabile, IdxODL, CodArticolo, CodG" +
"ruppo, IdxMacchina, NumPezzi, TCAssegnato, DueDate, Priorita, PzPallet, Note FRO" +
"M dbo.PromesseIN";
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_PODL_IN_updProc";
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()]
@@ -11385,6 +11390,28 @@ SELECT idxPromessa, KeyRichiesta, KeyBCode, Attivabile, IdxODL, CodArticolo, Cod
string Original_Note) {
return this.Update(KeyRichiesta, KeyBCode, Attivabile, IdxODL, CodArticolo, CodGruppo, IdxMacchina, NumPezzi, TCAssegnato, DueDate, Priorita, PzPallet, Note, Original_idxPromessa, Original_KeyRichiesta, Original_KeyBCode, Original_Attivabile, Original_IdxODL, Original_CodArticolo, Original_CodGruppo, Original_IdxMacchina, Original_NumPezzi, Original_TCAssegnato, Original_DueDate, Original_Priorita, Original_PzPallet, Original_Note, Original_idxPromessa);
}
[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 updProc() {
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>
+29 -18
View File
@@ -346,7 +346,18 @@ SELECT idxPromessa, KeyRichiesta, KeyBCode, Attivabile, IdxODL, CodArticolo, Cod
<Mapping SourceColumn="PzPallet" DataSetColumn="PzPallet" />
<Mapping SourceColumn="Note" DataSetColumn="Note" />
</Mappings>
<Sources />
<Sources>
<DbSource ConnectionRef="MoonPro_ES3ConnectionString (Settings)" DbObjectName="MoonPro_ES3.dbo.stp_PODL_IN_updProc" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updProc" Modifier="Public" Name="updProc" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="updProc">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_PODL_IN_updProc</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>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PromesseOUTTableAdapter" GeneratorDataComponentClassName="PromesseOUTTableAdapter" Name="PromesseOUT" UserDataComponentName="PromesseOUTTableAdapter">
<MainSource>
@@ -757,7 +768,7 @@ ORDER BY TotOreRich DESC</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" />
@@ -770,7 +781,7 @@ ORDER BY TotOreRich DESC</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">
@@ -800,7 +811,7 @@ ORDER BY TotOreRich DESC</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">
@@ -823,7 +834,7 @@ ORDER BY TotOreRich DESC</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">
@@ -846,7 +857,7 @@ ORDER BY TotOreRich DESC</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" />
@@ -965,7 +976,7 @@ ORDER BY TotOreRich DESC</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" />
@@ -1021,7 +1032,7 @@ ORDER BY TotOreRich DESC</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" />
@@ -1147,7 +1158,7 @@ ORDER BY TotOreRich DESC</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">
@@ -1169,7 +1180,7 @@ ORDER BY TotOreRich DESC</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" />
@@ -1183,7 +1194,7 @@ ORDER BY TotOreRich DESC</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" />
@@ -1199,7 +1210,7 @@ ORDER BY TotOreRich DESC</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">
@@ -1221,7 +1232,7 @@ ORDER BY TotOreRich DESC</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">
@@ -1243,7 +1254,7 @@ ORDER BY TotOreRich DESC</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="selConfWeek" msprop:Generator_TableClassName="selConfWeekDataTable" msprop:Generator_TableVarName="tableselConfWeek" msprop:Generator_RowChangedName="selConfWeekRowChanged" msprop:Generator_TablePropName="selConfWeek" msprop:Generator_RowDeletingName="selConfWeekRowDeleting" msprop:Generator_RowChangingName="selConfWeekRowChanging" msprop:Generator_RowEvHandlerName="selConfWeekRowChangeEventHandler" msprop:Generator_RowDeletedName="selConfWeekRowDeleted" msprop:Generator_RowClassName="selConfWeekRow" msprop:Generator_UserTableName="selConfWeek" msprop:Generator_RowEvArgName="selConfWeekRowChangeEvent">
<xs:element name="selConfWeek" msprop:Generator_TableClassName="selConfWeekDataTable" msprop:Generator_TableVarName="tableselConfWeek" msprop:Generator_TablePropName="selConfWeek" msprop:Generator_RowDeletingName="selConfWeekRowDeleting" msprop:Generator_RowChangingName="selConfWeekRowChanging" msprop:Generator_RowEvHandlerName="selConfWeekRowChangeEventHandler" msprop:Generator_RowDeletedName="selConfWeekRowDeleted" msprop:Generator_UserTableName="selConfWeek" msprop:Generator_RowChangedName="selConfWeekRowChanged" msprop:Generator_RowEvArgName="selConfWeekRowChangeEvent" msprop:Generator_RowClassName="selConfWeekRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -1263,7 +1274,7 @@ ORDER BY TotOreRich DESC</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="planHistStatMac" msprop:Generator_TableClassName="planHistStatMacDataTable" msprop:Generator_TableVarName="tableplanHistStatMac" msprop:Generator_RowChangedName="planHistStatMacRowChanged" msprop:Generator_TablePropName="planHistStatMac" msprop:Generator_RowDeletingName="planHistStatMacRowDeleting" msprop:Generator_RowChangingName="planHistStatMacRowChanging" msprop:Generator_RowEvHandlerName="planHistStatMacRowChangeEventHandler" msprop:Generator_RowDeletedName="planHistStatMacRowDeleted" msprop:Generator_RowClassName="planHistStatMacRow" msprop:Generator_UserTableName="planHistStatMac" msprop:Generator_RowEvArgName="planHistStatMacRowChangeEvent">
<xs:element name="planHistStatMac" msprop:Generator_TableClassName="planHistStatMacDataTable" msprop:Generator_TableVarName="tableplanHistStatMac" msprop:Generator_TablePropName="planHistStatMac" msprop:Generator_RowDeletingName="planHistStatMacRowDeleting" msprop:Generator_RowChangingName="planHistStatMacRowChanging" msprop:Generator_RowEvHandlerName="planHistStatMacRowChangeEventHandler" msprop:Generator_RowDeletedName="planHistStatMacRowDeleted" msprop:Generator_UserTableName="planHistStatMac" msprop:Generator_RowChangedName="planHistStatMacRowChanged" msprop:Generator_RowEvArgName="planHistStatMacRowChangeEvent" msprop:Generator_RowClassName="planHistStatMacRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxMacchina" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_UserColumnName="IdxMacchina">
@@ -1282,7 +1293,7 @@ ORDER BY TotOreRich DESC</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="planStatsCli" msprop:Generator_TableClassName="planStatsCliDataTable" msprop:Generator_TableVarName="tableplanStatsCli" msprop:Generator_TablePropName="planStatsCli" msprop:Generator_RowDeletingName="planStatsCliRowDeleting" msprop:Generator_RowChangingName="planStatsCliRowChanging" msprop:Generator_RowEvHandlerName="planStatsCliRowChangeEventHandler" msprop:Generator_RowDeletedName="planStatsCliRowDeleted" msprop:Generator_UserTableName="planStatsCli" msprop:Generator_RowChangedName="planStatsCliRowChanged" msprop:Generator_RowEvArgName="planStatsCliRowChangeEvent" msprop:Generator_RowClassName="planStatsCliRow">
<xs:element name="planStatsCli" msprop:Generator_TableClassName="planStatsCliDataTable" msprop:Generator_TableVarName="tableplanStatsCli" msprop:Generator_RowChangedName="planStatsCliRowChanged" msprop:Generator_TablePropName="planStatsCli" msprop:Generator_RowDeletingName="planStatsCliRowDeleting" msprop:Generator_RowChangingName="planStatsCliRowChanging" msprop:Generator_RowEvHandlerName="planStatsCliRowChangeEventHandler" msprop:Generator_RowDeletedName="planStatsCliRowDeleted" msprop:Generator_RowClassName="planStatsCliRow" msprop:Generator_UserTableName="planStatsCli" msprop:Generator_RowEvArgName="planStatsCliRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" msprop:Generator_UserColumnName="CodCliente">
@@ -1348,8 +1359,8 @@ ORDER BY TotOreRich DESC</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
View File
@@ -66,6 +66,7 @@ namespace MapoDb
public DS_PlanTableAdapters.RichiesteTableAdapter taPlanRichieste;
public DS_ProdTempiTableAdapters.PromesseODLTableAdapter taPODL;
public DS_ProdTempiTableAdapters.PostazioniMapoTableAdapter taPostazioni;
public DS_PlanTableAdapters.PromesseINTableAdapter taPromIn;
public DS_PlanTableAdapters.PromesseOUTTableAdapter taPromOut;
public DS_ProdTempiTableAdapters.stp_PzProd_getByMacchinaTableAdapter taPzProd2conf;
public DS_ProdTempiTableAdapters.RegistroControlliTableAdapter taRC;
@@ -519,6 +520,7 @@ namespace MapoDb
taPlanRichieste = new DS_PlanTableAdapters.RichiesteTableAdapter();
taPODL = new DS_ProdTempiTableAdapters.PromesseODLTableAdapter();
taPostazioni = new DS_ProdTempiTableAdapters.PostazioniMapoTableAdapter();
taPromIn = new DS_PlanTableAdapters.PromesseINTableAdapter();
taPromOut = new DS_PlanTableAdapters.PromesseOUTTableAdapter();
taPzProd2conf = new DS_ProdTempiTableAdapters.stp_PzProd_getByMacchinaTableAdapter();
taRC = new DS_ProdTempiTableAdapters.RegistroControlliTableAdapter();
@@ -585,6 +587,7 @@ namespace MapoDb
taPlanRichieste.Connection.ConnectionString = connectionStringES3;
taPODL.Connection.ConnectionString = connectionString;
taPostazioni.Connection.ConnectionString = connectionString;
taPromIn.Connection.ConnectionString = connectionStringES3;
taPromOut.Connection.ConnectionString = connectionStringES3;
taPzProd2conf.Connection.ConnectionString = connectionString;
taRC.Connection.ConnectionString = connectionString;