Completata gestione redraw bazaar x dipendeti su gruppi visibili/tutti

This commit is contained in:
Samuele Locatelli
2021-10-19 16:52:26 +02:00
parent fe00a093d3
commit 367dccd60b
16 changed files with 905 additions and 714 deletions
+1 -1
View File
@@ -288,7 +288,7 @@ namespace ETS_Data
// leggo tutte commesse ed i dipendenti...
tabComm = DataProxy_ProjEts.DP.taSelCom.GetData();
tabDip = DataProxy_ProjEts.DP.taDip.GetData();
tabD2ATR = DataProxy_ProjEts.DP.taD2ATR.getBazOrd();
tabD2ATR = DataProxy_ProjEts.DP.taD2ATR.getBazOrd(true);
Ds_ProjEts.DipendentiRow rigaDip;
// ciclo su TUTTI i dipendenti inseriti come risorse in bazaar
+24 -3
View File
@@ -21273,6 +21273,7 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
this._commandCollection[2].CommandText = "dbo.stp_D2ATR_getBazOrd";
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showAll", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = "dbo.stp_D2ATR_getByGroup";
@@ -21323,8 +21324,14 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual Ds_ProjEts.Dip2ATRDataTable getBazOrd() {
public virtual Ds_ProjEts.Dip2ATRDataTable getBazOrd(global::System.Nullable<bool> showAll) {
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((showAll.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((bool)(showAll.Value));
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
Ds_ProjEts.Dip2ATRDataTable dataTable = new Ds_ProjEts.Dip2ATRDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
@@ -21604,6 +21611,7 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
this._commandCollection[1].CommandText = "dbo.stp_Dip_Baz";
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("@showAll", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -21634,8 +21642,14 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual Ds_ProjEts.DipendentiDataTable getBazEnab() {
public virtual Ds_ProjEts.DipendentiDataTable getBazEnab(global::System.Nullable<bool> showAll) {
this.Adapter.SelectCommand = this.CommandCollection[1];
if ((showAll.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((bool)(showAll.Value));
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
Ds_ProjEts.DipendentiDataTable dataTable = new Ds_ProjEts.DipendentiDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
@@ -21878,6 +21892,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sett", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showAll", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[7].Connection = this.Connection;
this._commandCollection[7].CommandText = "dbo.stp_BAZ_getByAnnoSettCC";
@@ -21943,7 +21958,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual Ds_ProjEts.BazaarRisorseDataTable getByAnnoSett(global::System.Nullable<int> Anno, global::System.Nullable<int> Sett) {
public virtual Ds_ProjEts.BazaarRisorseDataTable getByAnnoSett(global::System.Nullable<int> Anno, global::System.Nullable<int> Sett, global::System.Nullable<bool> showAll) {
this.Adapter.SelectCommand = this.CommandCollection[6];
if ((Anno.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Anno.Value));
@@ -21957,6 +21972,12 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
else {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
if ((showAll.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(showAll.Value));
}
else {
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
Ds_ProjEts.BazaarRisorseDataTable dataTable = new Ds_ProjEts.BazaarRisorseDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
+33 -30
View File
@@ -977,7 +977,7 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
<Mapping SourceColumn="attivo" DataSetColumn="attivo" />
</Mappings>
<Sources>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_D2ATR_deleteQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="deleteQuery">
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_D2ATR_deleteQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_D2ATR_deleteQuery</CommandText>
@@ -994,6 +994,7 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
<CommandText>dbo.stp_D2ATR_getBazOrd</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="bit" DbType="Boolean" Direction="Input" ParameterName="@showAll" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -1009,7 +1010,7 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_D2ATR_insertMissing" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertMissing" Modifier="Public" Name="insertMissing" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insertMissing">
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_D2ATR_insertMissing" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertMissing" Modifier="Public" Name="insertMissing" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertMissing">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_D2ATR_insertMissing</CommandText>
@@ -1082,6 +1083,7 @@ SELECT CodTipoRisorsa, DescrTipoRisorsa, costoOrario FROM AnagTipoRisorse WHERE
<CommandText>dbo.stp_Dip_Baz</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="bit" DbType="Boolean" Direction="Input" ParameterName="@showAll" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -1233,6 +1235,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
<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="int" DbType="Int32" Direction="Input" ParameterName="@Anno" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Sett" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@showAll" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -2037,7 +2040,7 @@ ORDER BY OrdGruppo</CommandText>
<xs:element name="Ds_ProjEts" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="Ds_ProjEts" msprop:Generator_UserDSName="Ds_ProjEts">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="AnagProgetti" msprop:Generator_TableClassName="AnagProgettiDataTable" msprop:Generator_TableVarName="tableAnagProgetti" msprop:Generator_TablePropName="AnagProgetti" msprop:Generator_RowDeletingName="AnagProgettiRowDeleting" msprop:Generator_RowChangingName="AnagProgettiRowChanging" msprop:Generator_RowEvHandlerName="AnagProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgettiRowDeleted" msprop:Generator_UserTableName="AnagProgetti" msprop:Generator_RowChangedName="AnagProgettiRowChanged" msprop:Generator_RowEvArgName="AnagProgettiRowChangeEvent" msprop:Generator_RowClassName="AnagProgettiRow">
<xs:element name="AnagProgetti" msprop:Generator_TableClassName="AnagProgettiDataTable" msprop:Generator_TableVarName="tableAnagProgetti" msprop:Generator_RowChangedName="AnagProgettiRowChanged" msprop:Generator_TablePropName="AnagProgetti" msprop:Generator_RowDeletingName="AnagProgettiRowDeleting" msprop:Generator_RowChangingName="AnagProgettiRowChanging" msprop:Generator_RowEvHandlerName="AnagProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgettiRowDeleted" msprop:Generator_RowClassName="AnagProgettiRow" msprop:Generator_UserTableName="AnagProgetti" msprop:Generator_RowEvArgName="AnagProgettiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxProgetto" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxProgetto" msprop:Generator_ColumnPropNameInRow="idxProgetto" msprop:Generator_ColumnPropNameInTable="idxProgettoColumn" msprop:Generator_UserColumnName="idxProgetto" type="xs:int" />
@@ -2080,7 +2083,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent" msprop:Generator_RowClassName="AnagFasiRow">
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_RowClassName="AnagFasiRow" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -2130,7 +2133,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DatiCommessa" msprop:Generator_TableClassName="DatiCommessaDataTable" msprop:Generator_TableVarName="tableDatiCommessa" msprop:Generator_TablePropName="DatiCommessa" msprop:Generator_RowDeletingName="DatiCommessaRowDeleting" msprop:Generator_RowChangingName="DatiCommessaRowChanging" msprop:Generator_RowEvHandlerName="DatiCommessaRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommessaRowDeleted" msprop:Generator_UserTableName="DatiCommessa" msprop:Generator_RowChangedName="DatiCommessaRowChanged" msprop:Generator_RowEvArgName="DatiCommessaRowChangeEvent" msprop:Generator_RowClassName="DatiCommessaRow">
<xs:element name="DatiCommessa" msprop:Generator_TableClassName="DatiCommessaDataTable" msprop:Generator_TableVarName="tableDatiCommessa" msprop:Generator_RowChangedName="DatiCommessaRowChanged" msprop:Generator_TablePropName="DatiCommessa" msprop:Generator_RowDeletingName="DatiCommessaRowDeleting" msprop:Generator_RowChangingName="DatiCommessaRowChanging" msprop:Generator_RowEvHandlerName="DatiCommessaRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommessaRowDeleted" msprop:Generator_RowClassName="DatiCommessaRow" msprop:Generator_UserTableName="DatiCommessa" msprop:Generator_RowEvArgName="DatiCommessaRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -2226,7 +2229,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DatiCommForn" msprop:Generator_TableClassName="DatiCommFornDataTable" msprop:Generator_TableVarName="tableDatiCommForn" msprop:Generator_RowChangedName="DatiCommFornRowChanged" msprop:Generator_TablePropName="DatiCommForn" msprop:Generator_RowDeletingName="DatiCommFornRowDeleting" msprop:Generator_RowChangingName="DatiCommFornRowChanging" msprop:Generator_RowEvHandlerName="DatiCommFornRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommFornRowDeleted" msprop:Generator_RowClassName="DatiCommFornRow" msprop:Generator_UserTableName="DatiCommForn" msprop:Generator_RowEvArgName="DatiCommFornRowChangeEvent">
<xs:element name="DatiCommForn" msprop:Generator_TableClassName="DatiCommFornDataTable" msprop:Generator_TableVarName="tableDatiCommForn" msprop:Generator_TablePropName="DatiCommForn" msprop:Generator_RowDeletingName="DatiCommFornRowDeleting" msprop:Generator_RowChangingName="DatiCommFornRowChanging" msprop:Generator_RowEvHandlerName="DatiCommFornRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommFornRowDeleted" msprop:Generator_UserTableName="DatiCommForn" msprop:Generator_RowChangedName="DatiCommFornRowChanged" msprop:Generator_RowEvArgName="DatiCommFornRowChangeEvent" msprop:Generator_RowClassName="DatiCommFornRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDCF" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxDCF" msprop:Generator_ColumnPropNameInRow="idxDCF" msprop:Generator_ColumnPropNameInTable="idxDCFColumn" msprop:Generator_UserColumnName="idxDCF" type="xs:int" />
@@ -2277,7 +2280,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DatiCommInteg" msprop:Generator_TableClassName="DatiCommIntegDataTable" msprop:Generator_TableVarName="tableDatiCommInteg" msprop:Generator_RowChangedName="DatiCommIntegRowChanged" msprop:Generator_TablePropName="DatiCommInteg" msprop:Generator_RowDeletingName="DatiCommIntegRowDeleting" msprop:Generator_RowChangingName="DatiCommIntegRowChanging" msprop:Generator_RowEvHandlerName="DatiCommIntegRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommIntegRowDeleted" msprop:Generator_RowClassName="DatiCommIntegRow" msprop:Generator_UserTableName="DatiCommInteg" msprop:Generator_RowEvArgName="DatiCommIntegRowChangeEvent">
<xs:element name="DatiCommInteg" msprop:Generator_TableClassName="DatiCommIntegDataTable" msprop:Generator_TableVarName="tableDatiCommInteg" msprop:Generator_TablePropName="DatiCommInteg" msprop:Generator_RowDeletingName="DatiCommIntegRowDeleting" msprop:Generator_RowChangingName="DatiCommIntegRowChanging" msprop:Generator_RowEvHandlerName="DatiCommIntegRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommIntegRowDeleted" msprop:Generator_UserTableName="DatiCommInteg" msprop:Generator_RowChangedName="DatiCommIntegRowChanged" msprop:Generator_RowEvArgName="DatiCommIntegRowChangeEvent" msprop:Generator_RowClassName="DatiCommIntegRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDCI" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxDCI" msprop:Generator_ColumnPropNameInRow="idxDCI" msprop:Generator_ColumnPropNameInTable="idxDCIColumn" msprop:Generator_UserColumnName="idxDCI" type="xs:int" />
@@ -2329,7 +2332,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagCommFasi" msprop:Generator_TableClassName="AnagCommFasiDataTable" msprop:Generator_TableVarName="tableAnagCommFasi" msprop:Generator_RowChangedName="AnagCommFasiRowChanged" msprop:Generator_TablePropName="AnagCommFasi" msprop:Generator_RowDeletingName="AnagCommFasiRowDeleting" msprop:Generator_RowChangingName="AnagCommFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagCommFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagCommFasiRowDeleted" msprop:Generator_RowClassName="AnagCommFasiRow" msprop:Generator_UserTableName="AnagCommFasi" msprop:Generator_RowEvArgName="AnagCommFasiRowChangeEvent">
<xs:element name="AnagCommFasi" msprop:Generator_TableClassName="AnagCommFasiDataTable" msprop:Generator_TableVarName="tableAnagCommFasi" msprop:Generator_TablePropName="AnagCommFasi" msprop:Generator_RowDeletingName="AnagCommFasiRowDeleting" msprop:Generator_RowChangingName="AnagCommFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagCommFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagCommFasiRowDeleted" msprop:Generator_UserTableName="AnagCommFasi" msprop:Generator_RowChangedName="AnagCommFasiRowChanged" msprop:Generator_RowEvArgName="AnagCommFasiRowChangeEvent" msprop:Generator_RowClassName="AnagCommFasiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxProgetto" msprop:Generator_ColumnVarNameInTable="columnidxProgetto" msprop:Generator_ColumnPropNameInRow="idxProgetto" msprop:Generator_ColumnPropNameInTable="idxProgettoColumn" msprop:Generator_UserColumnName="idxProgetto" type="xs:int" minOccurs="0" />
@@ -2432,7 +2435,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoFasiExpl" msprop:Generator_TableClassName="ElencoFasiExplDataTable" msprop:Generator_TableVarName="tableElencoFasiExpl" msprop:Generator_TablePropName="ElencoFasiExpl" msprop:Generator_RowDeletingName="ElencoFasiExplRowDeleting" msprop:Generator_RowChangingName="ElencoFasiExplRowChanging" msprop:Generator_RowEvHandlerName="ElencoFasiExplRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoFasiExplRowDeleted" msprop:Generator_UserTableName="ElencoFasiExpl" msprop:Generator_RowChangedName="ElencoFasiExplRowChanged" msprop:Generator_RowEvArgName="ElencoFasiExplRowChangeEvent" msprop:Generator_RowClassName="ElencoFasiExplRow">
<xs:element name="ElencoFasiExpl" msprop:Generator_TableClassName="ElencoFasiExplDataTable" msprop:Generator_TableVarName="tableElencoFasiExpl" msprop:Generator_RowChangedName="ElencoFasiExplRowChanged" msprop:Generator_TablePropName="ElencoFasiExpl" msprop:Generator_RowDeletingName="ElencoFasiExplRowDeleting" msprop:Generator_RowChangingName="ElencoFasiExplRowChanging" msprop:Generator_RowEvHandlerName="ElencoFasiExplRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoFasiExplRowDeleted" msprop:Generator_RowClassName="ElencoFasiExplRow" msprop:Generator_UserTableName="ElencoFasiExpl" msprop:Generator_RowEvArgName="ElencoFasiExplRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -2480,7 +2483,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BdgtRisorseFasi" msprop:Generator_TableClassName="BdgtRisorseFasiDataTable" msprop:Generator_TableVarName="tableBdgtRisorseFasi" msprop:Generator_RowChangedName="BdgtRisorseFasiRowChanged" msprop:Generator_TablePropName="BdgtRisorseFasi" msprop:Generator_RowDeletingName="BdgtRisorseFasiRowDeleting" msprop:Generator_RowChangingName="BdgtRisorseFasiRowChanging" msprop:Generator_RowEvHandlerName="BdgtRisorseFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="BdgtRisorseFasiRowDeleted" msprop:Generator_RowClassName="BdgtRisorseFasiRow" msprop:Generator_UserTableName="BdgtRisorseFasi" msprop:Generator_RowEvArgName="BdgtRisorseFasiRowChangeEvent">
<xs:element name="BdgtRisorseFasi" msprop:Generator_TableClassName="BdgtRisorseFasiDataTable" msprop:Generator_TableVarName="tableBdgtRisorseFasi" msprop:Generator_TablePropName="BdgtRisorseFasi" msprop:Generator_RowDeletingName="BdgtRisorseFasiRowDeleting" msprop:Generator_RowChangingName="BdgtRisorseFasiRowChanging" msprop:Generator_RowEvHandlerName="BdgtRisorseFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="BdgtRisorseFasiRowDeleted" msprop:Generator_UserTableName="BdgtRisorseFasi" msprop:Generator_RowChangedName="BdgtRisorseFasiRowChanged" msprop:Generator_RowEvArgName="BdgtRisorseFasiRowChangeEvent" msprop:Generator_RowClassName="BdgtRisorseFasiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -2497,7 +2500,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagTipoRisorse" msprop:Generator_TableClassName="AnagTipoRisorseDataTable" msprop:Generator_TableVarName="tableAnagTipoRisorse" msprop:Generator_RowChangedName="AnagTipoRisorseRowChanged" msprop:Generator_TablePropName="AnagTipoRisorse" msprop:Generator_RowDeletingName="AnagTipoRisorseRowDeleting" msprop:Generator_RowChangingName="AnagTipoRisorseRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoRisorseRowDeleted" msprop:Generator_RowClassName="AnagTipoRisorseRow" msprop:Generator_UserTableName="AnagTipoRisorse" msprop:Generator_RowEvArgName="AnagTipoRisorseRowChangeEvent">
<xs:element name="AnagTipoRisorse" msprop:Generator_TableClassName="AnagTipoRisorseDataTable" msprop:Generator_TableVarName="tableAnagTipoRisorse" msprop:Generator_TablePropName="AnagTipoRisorse" msprop:Generator_RowDeletingName="AnagTipoRisorseRowDeleting" msprop:Generator_RowChangingName="AnagTipoRisorseRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoRisorseRowDeleted" msprop:Generator_UserTableName="AnagTipoRisorse" msprop:Generator_RowChangedName="AnagTipoRisorseRowChanged" msprop:Generator_RowEvArgName="AnagTipoRisorseRowChangeEvent" msprop:Generator_RowClassName="AnagTipoRisorseRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodTipoRisorsa" msprop:Generator_ColumnVarNameInTable="columnCodTipoRisorsa" msprop:Generator_ColumnPropNameInRow="CodTipoRisorsa" msprop:Generator_ColumnPropNameInTable="CodTipoRisorsaColumn" msprop:Generator_UserColumnName="CodTipoRisorsa">
@@ -2518,7 +2521,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Dip2ATR" msprop:Generator_TableClassName="Dip2ATRDataTable" msprop:Generator_TableVarName="tableDip2ATR" msprop:Generator_TablePropName="Dip2ATR" msprop:Generator_RowDeletingName="Dip2ATRRowDeleting" msprop:Generator_RowChangingName="Dip2ATRRowChanging" msprop:Generator_RowEvHandlerName="Dip2ATRRowChangeEventHandler" msprop:Generator_RowDeletedName="Dip2ATRRowDeleted" msprop:Generator_UserTableName="Dip2ATR" msprop:Generator_RowChangedName="Dip2ATRRowChanged" msprop:Generator_RowEvArgName="Dip2ATRRowChangeEvent" msprop:Generator_RowClassName="Dip2ATRRow">
<xs:element name="Dip2ATR" msprop:Generator_TableClassName="Dip2ATRDataTable" msprop:Generator_TableVarName="tableDip2ATR" msprop:Generator_RowChangedName="Dip2ATRRowChanged" msprop:Generator_TablePropName="Dip2ATR" msprop:Generator_RowDeletingName="Dip2ATRRowDeleting" msprop:Generator_RowChangingName="Dip2ATRRowChanging" msprop:Generator_RowEvHandlerName="Dip2ATRRowChangeEventHandler" msprop:Generator_RowDeletedName="Dip2ATRRowDeleted" msprop:Generator_RowClassName="Dip2ATRRow" msprop:Generator_UserTableName="Dip2ATR" msprop:Generator_RowEvArgName="Dip2ATRRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
@@ -2563,7 +2566,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Dipendenti" msprop:Generator_TableClassName="DipendentiDataTable" msprop:Generator_TableVarName="tableDipendenti" msprop:Generator_TablePropName="Dipendenti" msprop:Generator_RowDeletingName="DipendentiRowDeleting" msprop:Generator_RowChangingName="DipendentiRowChanging" msprop:Generator_RowEvHandlerName="DipendentiRowChangeEventHandler" msprop:Generator_RowDeletedName="DipendentiRowDeleted" msprop:Generator_UserTableName="Dipendenti" msprop:Generator_RowChangedName="DipendentiRowChanged" msprop:Generator_RowEvArgName="DipendentiRowChangeEvent" msprop:Generator_RowClassName="DipendentiRow">
<xs:element name="Dipendenti" msprop:Generator_TableClassName="DipendentiDataTable" msprop:Generator_TableVarName="tableDipendenti" msprop:Generator_RowChangedName="DipendentiRowChanged" msprop:Generator_TablePropName="Dipendenti" msprop:Generator_RowDeletingName="DipendentiRowDeleting" msprop:Generator_RowChangingName="DipendentiRowChanging" msprop:Generator_RowEvHandlerName="DipendentiRowChangeEventHandler" msprop:Generator_RowDeletedName="DipendentiRowDeleted" msprop:Generator_RowClassName="DipendentiRow" msprop:Generator_UserTableName="Dipendenti" msprop:Generator_RowEvArgName="DipendentiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
@@ -2698,7 +2701,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BazaarRisorse" msprop:Generator_TableClassName="BazaarRisorseDataTable" msprop:Generator_TableVarName="tableBazaarRisorse" msprop:Generator_TablePropName="BazaarRisorse" msprop:Generator_RowDeletingName="BazaarRisorseRowDeleting" msprop:Generator_RowChangingName="BazaarRisorseRowChanging" msprop:Generator_RowEvHandlerName="BazaarRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="BazaarRisorseRowDeleted" msprop:Generator_UserTableName="BazaarRisorse" msprop:Generator_RowChangedName="BazaarRisorseRowChanged" msprop:Generator_RowEvArgName="BazaarRisorseRowChangeEvent" msprop:Generator_RowClassName="BazaarRisorseRow">
<xs:element name="BazaarRisorse" msprop:Generator_TableClassName="BazaarRisorseDataTable" msprop:Generator_TableVarName="tableBazaarRisorse" msprop:Generator_RowChangedName="BazaarRisorseRowChanged" msprop:Generator_TablePropName="BazaarRisorse" msprop:Generator_RowDeletingName="BazaarRisorseRowDeleting" msprop:Generator_RowChangingName="BazaarRisorseRowChanging" msprop:Generator_RowEvHandlerName="BazaarRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="BazaarRisorseRowDeleted" msprop:Generator_RowClassName="BazaarRisorseRow" msprop:Generator_UserTableName="BazaarRisorse" msprop:Generator_RowEvArgName="BazaarRisorseRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Anno" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" />
@@ -2717,7 +2720,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ImpiegoRisorse" msprop:Generator_TableClassName="ImpiegoRisorseDataTable" msprop:Generator_TableVarName="tableImpiegoRisorse" msprop:Generator_RowChangedName="ImpiegoRisorseRowChanged" msprop:Generator_TablePropName="ImpiegoRisorse" msprop:Generator_RowDeletingName="ImpiegoRisorseRowDeleting" msprop:Generator_RowChangingName="ImpiegoRisorseRowChanging" msprop:Generator_RowEvHandlerName="ImpiegoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpiegoRisorseRowDeleted" msprop:Generator_RowClassName="ImpiegoRisorseRow" msprop:Generator_UserTableName="ImpiegoRisorse" msprop:Generator_RowEvArgName="ImpiegoRisorseRowChangeEvent">
<xs:element name="ImpiegoRisorse" msprop:Generator_TableClassName="ImpiegoRisorseDataTable" msprop:Generator_TableVarName="tableImpiegoRisorse" msprop:Generator_TablePropName="ImpiegoRisorse" msprop:Generator_RowDeletingName="ImpiegoRisorseRowDeleting" msprop:Generator_RowChangingName="ImpiegoRisorseRowChanging" msprop:Generator_RowEvHandlerName="ImpiegoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpiegoRisorseRowDeleted" msprop:Generator_UserTableName="ImpiegoRisorse" msprop:Generator_RowChangedName="ImpiegoRisorseRowChanged" msprop:Generator_RowEvArgName="ImpiegoRisorseRowChangeEvent" msprop:Generator_RowClassName="ImpiegoRisorseRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Anno" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" />
@@ -2728,7 +2731,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ReleasedWeek" msprop:Generator_TableClassName="ReleasedWeekDataTable" msprop:Generator_TableVarName="tableReleasedWeek" msprop:Generator_TablePropName="ReleasedWeek" msprop:Generator_RowDeletingName="ReleasedWeekRowDeleting" msprop:Generator_RowChangingName="ReleasedWeekRowChanging" msprop:Generator_RowEvHandlerName="ReleasedWeekRowChangeEventHandler" msprop:Generator_RowDeletedName="ReleasedWeekRowDeleted" msprop:Generator_UserTableName="ReleasedWeek" msprop:Generator_RowChangedName="ReleasedWeekRowChanged" msprop:Generator_RowEvArgName="ReleasedWeekRowChangeEvent" msprop:Generator_RowClassName="ReleasedWeekRow">
<xs:element name="ReleasedWeek" msprop:Generator_TableClassName="ReleasedWeekDataTable" msprop:Generator_TableVarName="tableReleasedWeek" msprop:Generator_RowChangedName="ReleasedWeekRowChanged" msprop:Generator_TablePropName="ReleasedWeek" msprop:Generator_RowDeletingName="ReleasedWeekRowDeleting" msprop:Generator_RowChangingName="ReleasedWeekRowChanging" msprop:Generator_RowEvHandlerName="ReleasedWeekRowChangeEventHandler" msprop:Generator_RowDeletedName="ReleasedWeekRowDeleted" msprop:Generator_RowClassName="ReleasedWeekRow" msprop:Generator_UserTableName="ReleasedWeek" msprop:Generator_RowEvArgName="ReleasedWeekRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Anno" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" />
@@ -2744,7 +2747,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ResocontoComm" msprop:Generator_TableClassName="ResocontoCommDataTable" msprop:Generator_TableVarName="tableResocontoComm" msprop:Generator_TablePropName="ResocontoComm" msprop:Generator_RowDeletingName="ResocontoCommRowDeleting" msprop:Generator_RowChangingName="ResocontoCommRowChanging" msprop:Generator_RowEvHandlerName="ResocontoCommRowChangeEventHandler" msprop:Generator_RowDeletedName="ResocontoCommRowDeleted" msprop:Generator_UserTableName="ResocontoComm" msprop:Generator_RowChangedName="ResocontoCommRowChanged" msprop:Generator_RowEvArgName="ResocontoCommRowChangeEvent" msprop:Generator_RowClassName="ResocontoCommRow">
<xs:element name="ResocontoComm" msprop:Generator_TableClassName="ResocontoCommDataTable" msprop:Generator_TableVarName="tableResocontoComm" msprop:Generator_RowChangedName="ResocontoCommRowChanged" msprop:Generator_TablePropName="ResocontoComm" msprop:Generator_RowDeletingName="ResocontoCommRowDeleting" msprop:Generator_RowChangingName="ResocontoCommRowChanging" msprop:Generator_RowEvHandlerName="ResocontoCommRowChangeEventHandler" msprop:Generator_RowDeletedName="ResocontoCommRowDeleted" msprop:Generator_RowClassName="ResocontoCommRow" msprop:Generator_UserTableName="ResocontoComm" msprop:Generator_RowEvArgName="ResocontoCommRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -2773,7 +2776,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagLabels" msprop:Generator_TableClassName="AnagLabelsDataTable" msprop:Generator_TableVarName="tableAnagLabels" msprop:Generator_RowChangedName="AnagLabelsRowChanged" msprop:Generator_TablePropName="AnagLabels" msprop:Generator_RowDeletingName="AnagLabelsRowDeleting" msprop:Generator_RowChangingName="AnagLabelsRowChanging" msprop:Generator_RowEvHandlerName="AnagLabelsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagLabelsRowDeleted" msprop:Generator_RowClassName="AnagLabelsRow" msprop:Generator_UserTableName="AnagLabels" msprop:Generator_RowEvArgName="AnagLabelsRowChangeEvent">
<xs:element name="AnagLabels" msprop:Generator_TableClassName="AnagLabelsDataTable" msprop:Generator_TableVarName="tableAnagLabels" msprop:Generator_TablePropName="AnagLabels" msprop:Generator_RowDeletingName="AnagLabelsRowDeleting" msprop:Generator_RowChangingName="AnagLabelsRowChanging" msprop:Generator_RowEvHandlerName="AnagLabelsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagLabelsRowDeleted" msprop:Generator_UserTableName="AnagLabels" msprop:Generator_RowChangedName="AnagLabelsRowChanged" msprop:Generator_RowEvArgName="AnagLabelsRowChangeEvent" msprop:Generator_RowClassName="AnagLabelsRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodLabel" msprop:Generator_ColumnVarNameInTable="columnCodLabel" msprop:Generator_ColumnPropNameInRow="CodLabel" msprop:Generator_ColumnPropNameInTable="CodLabelColumn" msprop:Generator_UserColumnName="CodLabel">
@@ -2793,7 +2796,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="LabelsComm" msprop:Generator_TableClassName="LabelsCommDataTable" msprop:Generator_TableVarName="tableLabelsComm" msprop:Generator_RowChangedName="LabelsCommRowChanged" msprop:Generator_TablePropName="LabelsComm" msprop:Generator_RowDeletingName="LabelsCommRowDeleting" msprop:Generator_RowChangingName="LabelsCommRowChanging" msprop:Generator_RowEvHandlerName="LabelsCommRowChangeEventHandler" msprop:Generator_RowDeletedName="LabelsCommRowDeleted" msprop:Generator_RowClassName="LabelsCommRow" msprop:Generator_UserTableName="LabelsComm" msprop:Generator_RowEvArgName="LabelsCommRowChangeEvent">
<xs:element name="LabelsComm" msprop:Generator_TableClassName="LabelsCommDataTable" msprop:Generator_TableVarName="tableLabelsComm" msprop:Generator_TablePropName="LabelsComm" msprop:Generator_RowDeletingName="LabelsCommRowDeleting" msprop:Generator_RowChangingName="LabelsCommRowChanging" msprop:Generator_RowEvHandlerName="LabelsCommRowChangeEventHandler" msprop:Generator_RowDeletedName="LabelsCommRowDeleted" msprop:Generator_UserTableName="LabelsComm" msprop:Generator_RowChangedName="LabelsCommRowChanged" msprop:Generator_RowEvArgName="LabelsCommRowChangeEvent" msprop:Generator_RowClassName="LabelsCommRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -2807,7 +2810,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TLockBazRA" msprop:Generator_TableClassName="TLockBazRADataTable" msprop:Generator_TableVarName="tableTLockBazRA" msprop:Generator_TablePropName="TLockBazRA" msprop:Generator_RowDeletingName="TLockBazRARowDeleting" msprop:Generator_RowChangingName="TLockBazRARowChanging" msprop:Generator_RowEvHandlerName="TLockBazRARowChangeEventHandler" msprop:Generator_RowDeletedName="TLockBazRARowDeleted" msprop:Generator_UserTableName="TLockBazRA" msprop:Generator_RowChangedName="TLockBazRARowChanged" msprop:Generator_RowEvArgName="TLockBazRARowChangeEvent" msprop:Generator_RowClassName="TLockBazRARow">
<xs:element name="TLockBazRA" msprop:Generator_TableClassName="TLockBazRADataTable" msprop:Generator_TableVarName="tableTLockBazRA" msprop:Generator_RowChangedName="TLockBazRARowChanged" msprop:Generator_TablePropName="TLockBazRA" msprop:Generator_RowDeletingName="TLockBazRARowDeleting" msprop:Generator_RowChangingName="TLockBazRARowChanging" msprop:Generator_RowEvHandlerName="TLockBazRARowChangeEventHandler" msprop:Generator_RowDeletedName="TLockBazRARowDeleted" msprop:Generator_RowClassName="TLockBazRARow" msprop:Generator_UserTableName="TLockBazRA" msprop:Generator_RowEvArgName="TLockBazRARowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
@@ -2822,7 +2825,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="LogEmailBaz" msprop:Generator_TableClassName="LogEmailBazDataTable" msprop:Generator_TableVarName="tableLogEmailBaz" msprop:Generator_RowChangedName="LogEmailBazRowChanged" msprop:Generator_TablePropName="LogEmailBaz" msprop:Generator_RowDeletingName="LogEmailBazRowDeleting" msprop:Generator_RowChangingName="LogEmailBazRowChanging" msprop:Generator_RowEvHandlerName="LogEmailBazRowChangeEventHandler" msprop:Generator_RowDeletedName="LogEmailBazRowDeleted" msprop:Generator_RowClassName="LogEmailBazRow" msprop:Generator_UserTableName="LogEmailBaz" msprop:Generator_RowEvArgName="LogEmailBazRowChangeEvent">
<xs:element name="LogEmailBaz" msprop:Generator_TableClassName="LogEmailBazDataTable" msprop:Generator_TableVarName="tableLogEmailBaz" msprop:Generator_TablePropName="LogEmailBaz" msprop:Generator_RowDeletingName="LogEmailBazRowDeleting" msprop:Generator_RowChangingName="LogEmailBazRowChanging" msprop:Generator_RowEvHandlerName="LogEmailBazRowChangeEventHandler" msprop:Generator_RowDeletedName="LogEmailBazRowDeleted" msprop:Generator_UserTableName="LogEmailBaz" msprop:Generator_RowChangedName="LogEmailBazRowChanged" msprop:Generator_RowEvArgName="LogEmailBazRowChangeEvent" msprop:Generator_RowClassName="LogEmailBazRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Anno" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" />
@@ -2838,7 +2841,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_Commessa" msprop:Generator_TableClassName="v_CommessaDataTable" msprop:Generator_TableVarName="tablev_Commessa" msprop:Generator_TablePropName="v_Commessa" msprop:Generator_RowDeletingName="v_CommessaRowDeleting" msprop:Generator_RowChangingName="v_CommessaRowChanging" msprop:Generator_RowEvHandlerName="v_CommessaRowChangeEventHandler" msprop:Generator_RowDeletedName="v_CommessaRowDeleted" msprop:Generator_UserTableName="v_Commessa" msprop:Generator_RowChangedName="v_CommessaRowChanged" msprop:Generator_RowEvArgName="v_CommessaRowChangeEvent" msprop:Generator_RowClassName="v_CommessaRow">
<xs:element name="v_Commessa" msprop:Generator_TableClassName="v_CommessaDataTable" msprop:Generator_TableVarName="tablev_Commessa" msprop:Generator_RowChangedName="v_CommessaRowChanged" msprop:Generator_TablePropName="v_Commessa" msprop:Generator_RowDeletingName="v_CommessaRowDeleting" msprop:Generator_RowChangingName="v_CommessaRowChanging" msprop:Generator_RowEvHandlerName="v_CommessaRowChangeEventHandler" msprop:Generator_RowDeletedName="v_CommessaRowDeleted" msprop:Generator_RowClassName="v_CommessaRow" msprop:Generator_UserTableName="v_Commessa" msprop:Generator_RowEvArgName="v_CommessaRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -2937,7 +2940,7 @@ ORDER BY OrdGruppo</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagGruppi" msprop:Generator_TableClassName="AnagGruppiDataTable" msprop:Generator_TableVarName="tableAnagGruppi" msprop:Generator_TablePropName="AnagGruppi" msprop:Generator_RowDeletingName="AnagGruppiRowDeleting" msprop:Generator_RowChangingName="AnagGruppiRowChanging" msprop:Generator_RowEvHandlerName="AnagGruppiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagGruppiRowDeleted" msprop:Generator_UserTableName="AnagGruppi" msprop:Generator_RowChangedName="AnagGruppiRowChanged" msprop:Generator_RowEvArgName="AnagGruppiRowChangeEvent" msprop:Generator_RowClassName="AnagGruppiRow">
<xs:element name="AnagGruppi" msprop:Generator_TableClassName="AnagGruppiDataTable" msprop:Generator_TableVarName="tableAnagGruppi" msprop:Generator_RowChangedName="AnagGruppiRowChanged" msprop:Generator_TablePropName="AnagGruppi" msprop:Generator_RowDeletingName="AnagGruppiRowDeleting" msprop:Generator_RowChangingName="AnagGruppiRowChanging" msprop:Generator_RowEvHandlerName="AnagGruppiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagGruppiRowDeleted" msprop:Generator_RowClassName="AnagGruppiRow" msprop:Generator_UserTableName="AnagGruppi" msprop:Generator_RowEvArgName="AnagGruppiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Gruppo" msprop:Generator_ColumnVarNameInTable="columnGruppo" msprop:Generator_ColumnPropNameInRow="Gruppo" msprop:Generator_ColumnPropNameInTable="GruppoColumn" msprop:Generator_UserColumnName="Gruppo">
@@ -3060,13 +3063,13 @@ ORDER BY OrdGruppo</CommandText>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="AnagProgetti_AnagFasi" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="AnagProgetti_AnagFasi" msprop:Generator_ParentPropName="AnagProgettiRow" msprop:Generator_RelationVarName="relationAnagProgetti_AnagFasi" msprop:Generator_UserParentTable="AnagProgetti" />
<msdata:Relationship name="DatiCommessa_AnagFasi" msdata:parent="DatiCommessa" msdata:child="AnagFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="DatiCommessa_AnagFasi" msprop:Generator_RelationVarName="relationDatiCommessa_AnagFasi" msprop:Generator_UserParentTable="DatiCommessa" msprop:Generator_ParentPropName="DatiCommessaRow" />
<msdata:Relationship name="DatiCommessa_DatiCommForn" msdata:parent="DatiCommessa" msdata:child="DatiCommForn" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommForn" msprop:Generator_ChildPropName="GetDatiCommFornRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommForn" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommForn" msprop:Generator_UserParentTable="DatiCommessa" msprop:Generator_ParentPropName="DatiCommessaRow" />
<msdata:Relationship name="DatiCommessa_DatiCommInteg" msdata:parent="DatiCommessa" msdata:child="DatiCommInteg" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommInteg" msprop:Generator_ChildPropName="GetDatiCommIntegRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommInteg" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommInteg" msprop:Generator_UserParentTable="DatiCommessa" msprop:Generator_ParentPropName="DatiCommessaRow" />
<msdata:Relationship name="AnagFasi_BdgtRisorseFasi" msdata:parent="AnagFasi" msdata:child="BdgtRisorseFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="BdgtRisorseFasi" msprop:Generator_ChildPropName="GetBdgtRisorseFasiRows" msprop:Generator_UserRelationName="AnagFasi_BdgtRisorseFasi" msprop:Generator_RelationVarName="relationAnagFasi_BdgtRisorseFasi" msprop:Generator_UserParentTable="AnagFasi" msprop:Generator_ParentPropName="AnagFasiRow" />
<msdata:Relationship name="FK_BdgtRisorseFasi_AnagTipoRisorse" msdata:parent="AnagTipoRisorse" msdata:child="BdgtRisorseFasi" msdata:parentkey="CodTipoRisorsa" msdata:childkey="CodTipoRisorsa" msprop:Generator_UserChildTable="BdgtRisorseFasi" msprop:Generator_ChildPropName="GetBdgtRisorseFasiRows" msprop:Generator_UserRelationName="FK_BdgtRisorseFasi_AnagTipoRisorse" msprop:Generator_ParentPropName="AnagTipoRisorseRow" msprop:Generator_RelationVarName="relationFK_BdgtRisorseFasi_AnagTipoRisorse" msprop:Generator_UserParentTable="AnagTipoRisorse" />
<msdata:Relationship name="FK_LabelsComm_AnagLabels" msdata:parent="AnagLabels" msdata:child="LabelsComm" msdata:parentkey="CodLabel" msdata:childkey="CodLabel" msprop:Generator_UserChildTable="LabelsComm" msprop:Generator_ChildPropName="GetLabelsCommRows" msprop:Generator_UserRelationName="FK_LabelsComm_AnagLabels" msprop:Generator_RelationVarName="relationFK_LabelsComm_AnagLabels" msprop:Generator_UserParentTable="AnagLabels" msprop:Generator_ParentPropName="AnagLabelsRow" />
<msdata:Relationship name="AnagProgetti_AnagFasi" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="AnagProgetti_AnagFasi" msprop:Generator_RelationVarName="relationAnagProgetti_AnagFasi" msprop:Generator_UserParentTable="AnagProgetti" msprop:Generator_ParentPropName="AnagProgettiRow" />
<msdata:Relationship name="DatiCommessa_AnagFasi" msdata:parent="DatiCommessa" msdata:child="AnagFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="DatiCommessa_AnagFasi" msprop:Generator_ParentPropName="DatiCommessaRow" msprop:Generator_RelationVarName="relationDatiCommessa_AnagFasi" msprop:Generator_UserParentTable="DatiCommessa" />
<msdata:Relationship name="DatiCommessa_DatiCommForn" msdata:parent="DatiCommessa" msdata:child="DatiCommForn" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommForn" msprop:Generator_ChildPropName="GetDatiCommFornRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommForn" msprop:Generator_ParentPropName="DatiCommessaRow" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommForn" msprop:Generator_UserParentTable="DatiCommessa" />
<msdata:Relationship name="DatiCommessa_DatiCommInteg" msdata:parent="DatiCommessa" msdata:child="DatiCommInteg" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommInteg" msprop:Generator_ChildPropName="GetDatiCommIntegRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommInteg" msprop:Generator_ParentPropName="DatiCommessaRow" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommInteg" msprop:Generator_UserParentTable="DatiCommessa" />
<msdata:Relationship name="AnagFasi_BdgtRisorseFasi" msdata:parent="AnagFasi" msdata:child="BdgtRisorseFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="BdgtRisorseFasi" msprop:Generator_ChildPropName="GetBdgtRisorseFasiRows" msprop:Generator_UserRelationName="AnagFasi_BdgtRisorseFasi" msprop:Generator_ParentPropName="AnagFasiRow" msprop:Generator_RelationVarName="relationAnagFasi_BdgtRisorseFasi" msprop:Generator_UserParentTable="AnagFasi" />
<msdata:Relationship name="FK_BdgtRisorseFasi_AnagTipoRisorse" msdata:parent="AnagTipoRisorse" msdata:child="BdgtRisorseFasi" msdata:parentkey="CodTipoRisorsa" msdata:childkey="CodTipoRisorsa" msprop:Generator_UserChildTable="BdgtRisorseFasi" msprop:Generator_ChildPropName="GetBdgtRisorseFasiRows" msprop:Generator_UserRelationName="FK_BdgtRisorseFasi_AnagTipoRisorse" msprop:Generator_RelationVarName="relationFK_BdgtRisorseFasi_AnagTipoRisorse" msprop:Generator_UserParentTable="AnagTipoRisorse" msprop:Generator_ParentPropName="AnagTipoRisorseRow" />
<msdata:Relationship name="FK_LabelsComm_AnagLabels" msdata:parent="AnagLabels" msdata:child="LabelsComm" msdata:parentkey="CodLabel" msdata:childkey="CodLabel" msprop:Generator_UserChildTable="LabelsComm" msprop:Generator_ChildPropName="GetLabelsCommRows" msprop:Generator_UserRelationName="FK_LabelsComm_AnagLabels" msprop:Generator_ParentPropName="AnagLabelsRow" msprop:Generator_RelationVarName="relationFK_LabelsComm_AnagLabels" msprop:Generator_UserParentTable="AnagLabels" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+10 -10
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="208" ViewPortY="566" 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="233" ViewPortY="436" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:AnagProgetti" ZOrder="28" X="70" Y="36" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagFasi" ZOrder="23" X="495" Y="56" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
@@ -15,18 +15,18 @@
<Shape ID="DesignTable:ElencoFasiExpl" ZOrder="20" X="851" Y="651" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:BdgtRisorseFasi" ZOrder="14" X="290" Y="667" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagTipoRisorse" ZOrder="19" X="69" Y="501" Height="153" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:Dip2ATR" ZOrder="1" X="902" Y="1337" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:Dipendenti" ZOrder="2" X="548" Y="971" Height="324" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:BazaarRisorse" ZOrder="9" X="1208" Y="1055" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:ImpiegoRisorse" ZOrder="3" X="768" Y="1026" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Dip2ATR" ZOrder="2" X="902" Y="1337" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:Dipendenti" ZOrder="3" X="548" Y="971" Height="324" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:BazaarRisorse" ZOrder="1" X="1208" Y="1055" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:ImpiegoRisorse" ZOrder="4" X="768" Y="1026" Height="248" Width="189" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:ReleasedWeek" ZOrder="16" X="25" Y="1174" Height="172" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:ResocontoComm" ZOrder="13" X="285" Y="939" Height="305" Width="243" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagLabels" ZOrder="12" X="1176" Y="658" Height="153" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:LabelsComm" ZOrder="10" X="1182" Y="841" Height="191" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:TLockBazRA" ZOrder="8" X="36" Y="770" Height="210" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:LogEmailBaz" ZOrder="6" X="994" Y="1027" Height="172" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:v_Commessa" ZOrder="5" X="284" Y="1279" Height="343" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagGruppi" ZOrder="4" X="580" Y="1397" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:TLockBazRA" ZOrder="9" X="36" Y="770" Height="210" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:LogEmailBaz" ZOrder="5" X="994" Y="1027" Height="172" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:v_Commessa" ZOrder="7" X="284" Y="1279" Height="343" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagGruppi" ZOrder="6" X="580" Y="1397" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:AnagProgetti_AnagFasi" ZOrder="27" LineWidth="11">
@@ -101,7 +101,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_BdgtRisorseFasi_AnagTipoRisorse" ZOrder="7" LineWidth="11">
<Connector ID="DesignRelation:FK_BdgtRisorseFasi_AnagTipoRisorse" ZOrder="8" LineWidth="11">
<RoutePoints>
<Point>
<X>172</X>
+117 -1
View File
@@ -478,4 +478,120 @@ FROM v_selCommesseShort vsc
INNER JOIN cteFasi cte ON vsc.value = cte.idxFase
GO
GO
/**********************************************************
* STORED stp_BAZ_getByAnnoSett
*
* recupera record di Bazaar Risorse per anno e settimana selezionate
*
* mod: S.E.L. 2013.09.04
* mod: S.E.L. 2021.10.19
*
**********************************************************/
ALTER PROCEDURE [dbo].[stp_BAZ_getByAnnoSett]
(
@Anno int,
@Sett int,
@showAll BIT = 1 -- 1 = mostra tutti, 0 = solo impostati a visibili in gruppi
)
AS
SET NOCOUNT ON;
-- seleziono i dip (TUTTI distinct)
WITH cteDip AS
(
SELECT DISTINCT D2A.idxDipendente
FROM Dip2ATR D2A
INNER JOIN AnagGruppi AG ON D2A.Gruppo = AG.Gruppo
WHERE (AG.Visibile = 1 OR @showAll = 1)
)
-- le fasi
, cteFasi AS
(
SELECT DISTINCT idxFase
FROM dbo.BazaarRisorse
WHERE Anno = @Anno AND Sett = @Sett
)
-- le combinazioni (TUTTE) a zero...
, cteComb AS
(
SELECT @Anno as Anno, @Sett as Sett, cteDip.idxDipendente, cteFasi.idxFase, 0 as Allocazione, '00000' as SchemaWeek, 0 as OreTot
FROM cteDip CROSS JOIN cteFasi
)
-- le combinazioni NON esplicite
, cteMiss AS
(
SELECT cte.*
FROM cteComb cte LEFT OUTER JOIN BazaarRisorse br ON cte.Anno=br.anno AND cte.Sett=br.Sett AND cte.idxDipendente=br.idxDipendente AND cte.idxFase = br.idxFase
WHERE br.Allocazione is null
)
SELECT *
FROM cteMiss
UNION
SELECT BR.*
FROM dbo.BazaarRisorse BR
INNER JOIN Dip2ATR D2A ON BR.idxDipendente = D2A.idxDipendente
INNER JOIN AnagGruppi AG ON D2A.Gruppo = AG.Gruppo
WHERE (AG.Visibile = 1 OR @showAll = 1)
AND Anno = @Anno AND Sett = @Sett
GO
/**********************************************************
* STORED stp_D2ATR_getBazOrd
*
* recupera elenco dipendenti abilitati a bazaar
*
* mod: S.E.L. 2017.07.18
* mod: S.E.L. 2021.10.15 revisione sistema gruppi ed ordinamento
* mod: S.E.L. 2021.10.19 criterio show SOLO se visibili (x display filtrato)
**********************************************************/
alter PROCEDURE [dbo].[stp_Dip_Baz]
(
@showAll BIT = 1 -- 1 = mostra tutti, 0 = solo impostati a visibili in gruppi
)
AS
SELECT dip.*
FROM Dipendenti dip
INNER JOIN Dip2ATR D2A ON dip.idxDipendente=D2A.idxDipendente
INNER JOIN AnagGruppi AG ON D2A.Gruppo = AG.Gruppo
WHERE (AG.Visibile = 1 OR @showAll = 1)
ORDER BY AG.OrdGruppo, D2A.GrpOrder
RETURN
GO
/**********************************************************
* STORED stp_D2ATR_getBazOrd
*
* recupera elenco dipendenti abilitati a bazaar ordinati x i gruppi validi
*
* mod: S.E.L. 2013.09.04 - release
* mod: S.E.L. 2021.10.15 revisione sistema gruppi ed ordinamento
* mod: S.E.L. 2021.10.19 revisione x filtraggio visibili o tutti
*
**********************************************************/
ALTER PROCEDURE [dbo].[stp_D2ATR_getBazOrd]
(
@showAll BIT = 1 -- 1 = mostra tutti, 0 = solo impostati a visibili in gruppi
)
AS
SELECT D2A.*
FROM v_Dip2ATR D2A
INNER JOIN AnagGruppi AG ON D2A.Gruppo = AG.Gruppo
WHERE (AG.Visibile = 1 OR @showAll = 1)
ORDER BY AG.OrdGruppo, D2A.GrpOrder
RETURN
GO
Binary file not shown.
File diff suppressed because it is too large Load Diff
@@ -26,5 +26,9 @@
<div class="divSx filtro_2 ui-corner-all" style="padding: 6px; margin-right: 4px; height: 2em; vertical-align: middle; text-align: center; color: #FFF;">
<asp:Label runat="server" ID="lblPeriodo" />
</div>
<div class="divSx filtro_2 ui-corner-all" style="padding: 6px; margin-right: 4px; height: 2em; vertical-align: middle; text-align: center; color: #FFF;">
<asp:CheckBox runat="server" ID="chkShowAll" Checked="false" ToolTip="Mostra tutti i dipendenti se selezionato" AutoPostBack="true" OnCheckedChanged="chkShowAll_CheckedChanged" />
TUTTI
</div>
</div>
</div>
@@ -11,10 +11,22 @@ namespace PROJ_ETS.WebUserControls
{
public partial class mod_navigaWeek : System.Web.UI.UserControl
{
#region Public Events
/// <summary>
/// evento nuovi valori selezionati
/// </summary>
public event EventHandler eh_newWeekSelected;
/// <summary>
/// evento cambio show/hide tutti i dipendenti
/// </summary>
public event EventHandler eh_showDipChanged;
#endregion Public Events
#region Public Properties
/// <summary>
/// istante corrente
/// </summary>
@@ -39,27 +51,7 @@ namespace PROJ_ETS.WebUserControls
return answ;
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
DateTime ora = DateTime.Now;
setDdlPeriodo();
//importo sett corrente
lnkW.Text = string.Format("W{0:0#}", datario.WeekOfYearISO8601(ora));
lblPeriodo.Text = string.Format("{0:dd MMM yy} --> {1:dd MMM yy}", ora.AddDays(1 - (int)ora.DayOfWeek), ora.AddDays(7 - (int)ora.DayOfWeek));
}
}
/// <summary>
/// imposta DDL del periodo
/// </summary>
public void setDdlPeriodo()
{
ddlAnno.SelectedValue = adesso.Year.ToString();
ddlWeek.SelectedValue = (datario.WeekOfYearISO8601(adesso)).ToString();
// ricalcolo periodo!
DataProxy_ProjEts.DP.taIR.importSettimana(anno, settimana);
}
/// <summary>
/// anno selezionato
/// </summary>
@@ -77,6 +69,7 @@ namespace PROJ_ETS.WebUserControls
return answ;
}
}
/// <summary>
/// settimana selezionato
/// </summary>
@@ -94,6 +87,31 @@ namespace PROJ_ETS.WebUserControls
return answ;
}
}
public bool showAllDip
{
get
{
return chkShowAll.Checked;
}
set
{
chkShowAll.Checked = value;
}
}
#endregion Public Properties
#region Protected Methods
protected void chkShowAll_CheckedChanged(object sender, EventArgs e)
{
if (eh_showDipChanged != null)
{
eh_showDipChanged(this, new EventArgs());
}
}
protected void ddlAnno_SelectedIndexChanged(object sender, EventArgs e)
{
// salvo nuovo anno & nuova week!
@@ -105,6 +123,7 @@ namespace PROJ_ETS.WebUserControls
eh_newWeekSelected(this, new EventArgs());
}
}
/// <summary>
/// cambiata sett da ddl
/// </summary>
@@ -121,6 +140,7 @@ namespace PROJ_ETS.WebUserControls
eh_newWeekSelected(this, new EventArgs());
}
}
/// <summary>
/// effettua selezione periodo rapida: 0 = corrente (ovvero la PROSSIMA), +1 = successiva (a seleizonata), -1 = precedente (a selezionata)
/// </summary>
@@ -148,5 +168,34 @@ namespace PROJ_ETS.WebUserControls
eh_newWeekSelected(this, new EventArgs());
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
DateTime ora = DateTime.Now;
setDdlPeriodo();
//importo sett corrente
lnkW.Text = string.Format("W{0:0#}", datario.WeekOfYearISO8601(ora));
lblPeriodo.Text = string.Format("{0:dd MMM yy} --> {1:dd MMM yy}", ora.AddDays(1 - (int)ora.DayOfWeek), ora.AddDays(7 - (int)ora.DayOfWeek));
}
}
#endregion Protected Methods
#region Public Methods
/// <summary>
/// imposta DDL del periodo
/// </summary>
public void setDdlPeriodo()
{
ddlAnno.SelectedValue = adesso.Year.ToString();
ddlWeek.SelectedValue = (datario.WeekOfYearISO8601(adesso)).ToString();
// ricalcolo periodo!
DataProxy_ProjEts.DP.taIR.importSettimana(anno, settimana);
}
#endregion Public Methods
}
}
@@ -85,5 +85,14 @@ namespace PROJ_ETS.WebUserControls
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblPeriodo;
/// <summary>
/// chkShowAll control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkShowAll;
}
}
@@ -74,8 +74,8 @@
<asp:Label runat="server" ID="lblAllocazione" AssociatedControlID="txtAllocazione" Text="<u>A</u>llocazione ore [LMMGV]" AccessKey="a" />
<asp:TextBox runat="server" ID="txtAllocazione" Text="" TabIndex="0" OnTextChanged="txtAllocazione_TextChanged" />
<br />
<asp:Button runat="server" ID="btnSalva" Text="Ok" OnClick="btnSalva_Click" />
&nbsp;<asp:Button runat="server" ID="btnCancel" Text="Cancel" OnClick="btnCancel_Click" />
<asp:Button runat="server" ID="btnSalva" Text="Ok" OnClick="btnSalva_Click" CssClass="btn btn-sm btn-success" />
&nbsp;<asp:Button runat="server" ID="btnCancel" Text="Cancel" OnClick="btnCancel_Click" CssClass="btn btn-sm btn-warning" />
</div>
<asp:Label runat="server" ID="lblOut" />
@@ -17,6 +17,7 @@ namespace PROJ_ETS.WebUserControls
protected Logger lg = LogManager.GetCurrentClassLogger();
protected List<int> ListIdxLocked;
protected int numComm = 0;
protected int numDip = 0;
@@ -56,12 +57,10 @@ namespace PROJ_ETS.WebUserControls
protected ETS_Data.Type.BazaarRes[,] TabellaRisorse;
protected string userLockTable = utils.obj.redHash("LOCK:UserLockTable");
/// <summary>
/// String x veto udpate tabella (ridisegno)
/// String x gestione tabella lock da REDIS
/// </summary>
protected string vetoUpdate = utils.obj.redHash("VETO:UpdateWeekPlan");
protected string userLockTable = utils.obj.redHash("LOCK:UserLockTable");
#endregion Protected Fields
@@ -126,6 +125,31 @@ namespace PROJ_ETS.WebUserControls
}
}
protected List<int> calcListIdxLocked
{
get
{
List<int> answ = new List<int>();
//cero in redis
var rawData = utils.obj.getRSV(userLockTable);
if (!string.IsNullOrEmpty(rawData))
{
answ = JsonConvert.DeserializeObject<List<int>>(rawData);
}
else
{
var tabDati = DataProxy_ProjEts.DP.taTLB.GetData();
answ = tabDati
.Select(x => x.idxDipendente)
.ToList();
rawData = JsonConvert.SerializeObject(answ);
utils.obj.setRSV(userLockTable, rawData, 10);
}
//restituisco...
return answ;
}
}
/// <summary>
/// definisce se create/update/delete siano abilitati
/// </summary>
@@ -200,31 +224,6 @@ namespace PROJ_ETS.WebUserControls
}
}
protected List<int> ListIdxLocked
{
get
{
List<int> answ = new List<int>();
//cero in redis
var rawData = utils.obj.getRSV(userLockTable);
if (!string.IsNullOrEmpty(rawData))
{
answ = JsonConvert.DeserializeObject<List<int>>(rawData);
}
else
{
var tabDati = DataProxy_ProjEts.DP.taTLB.GetData();
answ = tabDati
.Select(x => x.idxDipendente)
.ToList();
rawData = JsonConvert.SerializeObject(answ);
utils.obj.setRSV(userLockTable, rawData, 10);
}
//restituisco...
return answ;
}
}
/// <summary>
/// settimana selezionato (wrapper)
/// </summary>
@@ -281,8 +280,7 @@ namespace PROJ_ETS.WebUserControls
try
{
// carico TUTTE le celle del bazaar...
tabBaz = DataProxy_ProjEts.DP.taBaz.getByAnnoSett(anno, settimana);
tabBaz = DataProxy_ProjEts.DP.taBaz.getByAnnoSett(anno, settimana, mod_navigaWeek1.showAllDip);
tabComm = DataProxy_ProjEts.DP.taSelCom.getByWeek(anno, settimana); // leggo tutte commesse...
tabCommShort = DataProxy_ProjEts.DP.taSelCom.getCommShort(anno, settimana); // leggo tutte commesse formato short (nickname...)
@@ -301,15 +299,11 @@ namespace PROJ_ETS.WebUserControls
numComm = 0;
}
//stopWatch.Restart();
//stopWatch.Stop();
//ts = stopWatch.Elapsed;
//lg.Info($"caricaDatiBlocco 02 | {ts.TotalMilliseconds} ms");
if (numDip > 0 && numComm > 0)
{
// inizializzo i miei array...
TabellaRisorse = new ETS_Data.Type.BazaarRes[numDip, numComm];
ListIdxLocked = calcListIdxLocked;
oreTotDip = new int[numDip];
oreTotComm = new int[numComm];
schemaOreDip = new string[numDip];
@@ -326,10 +320,13 @@ namespace PROJ_ETS.WebUserControls
try
{
// carico valori x la singola cella
rigaBaz = (Ds_ProjEts.BazaarRisorseRow)tabBaz.Select(string.Format("idxDipendente={0} AND idxFase={1}", tabD2ATR[pos_x].idxDipendente, tabBazSingle[pos_y].idxFase))[0];
rigaDip = (Ds_ProjEts.DipendentiRow)tabDip.Select(string.Format("idxDipendente={0}", tabD2ATR[pos_x].idxDipendente))[0];
rigaComm = (DS_utilsProjEts.v_selCommesseRow)tabComm.Select(string.Format("value = {0}", tabBazSingle[pos_y].idxFase))[0];
rigaCommShort = (DS_utilsProjEts.v_selCommesseRow)tabCommShort.Select(string.Format("value = {0}", tabBazSingle[pos_y].idxFase))[0];
int currIdxDip = tabD2ATR[pos_x].idxDipendente;
int currIdxFase = tabBazSingle[pos_y].idxFase;
rigaBaz = (Ds_ProjEts.BazaarRisorseRow)tabBaz.Select($"idxDipendente={currIdxDip} AND idxFase={currIdxFase}")[0];
rigaDip = (Ds_ProjEts.DipendentiRow)tabDip.Select($"idxDipendente={currIdxDip}")[0];
rigaComm = (DS_utilsProjEts.v_selCommesseRow)tabComm.Select($"value = {currIdxFase}")[0];
rigaCommShort = (DS_utilsProjEts.v_selCommesseRow)tabCommShort.Select($"value = {currIdxFase}")[0];
if (rigaBaz.OreTot == 0)
{
css = "cTab cEmp";
@@ -354,8 +351,8 @@ namespace PROJ_ETS.WebUserControls
{
css = "cTab cOvr";
}
tooltip = string.Format("{2} / {0} {1}", rigaDip.Nome, rigaDip.Cognome, rigaCommShort.label.Substring(0, 9));
TabellaRisorse[pos_x, pos_y] = new ETS_Data.Type.BazaarRes(rigaBaz.SchemaWeek, tooltip, css, rigaBaz.idxDipendente, string.Format("{0} {1}", rigaDip.Nome, rigaDip.Cognome), rigaDip.SIGLA, rigaBaz.idxFase, rigaBaz.SchemaWeek, rigaBaz.OreTot);
tooltip = $"{rigaCommShort.label.Substring(0, 9)} / {rigaDip.Nome} {rigaDip.Cognome}";
TabellaRisorse[pos_x, pos_y] = new ETS_Data.Type.BazaarRes(rigaBaz.SchemaWeek, tooltip, css, rigaBaz.idxDipendente, $"{rigaDip.Nome} {rigaDip.Cognome}", rigaDip.SIGLA, rigaBaz.idxFase, rigaBaz.SchemaWeek, rigaBaz.OreTot);
// aggiorno totali righe/colonne (comemsse/dip)
oreTotDip[pos_x] += rigaBaz.OreTot;
schemaOreDip[pos_x] = oreWeek.addOre(schemaOreDip[pos_x].ToString(), rigaBaz.SchemaWeek, 8);
@@ -509,7 +506,6 @@ namespace PROJ_ETS.WebUserControls
rigaComm = (DS_utilsProjEts.v_selCommesseRow)tabComm.Select(string.Format("value = {0}", IdxFaseSel))[0];
lblOut.Text = string.Format("Edit corrente: {0} {1} / {2} - valore originale {3}", rigaDip.Nome, rigaDip.Cognome, rigaComm.label.Substring(0, 9), rigaBaz.SchemaWeek);
utils.obj.setRSV(vetoUpdate, "", 1);
doUpdate();
}
@@ -563,7 +559,13 @@ namespace PROJ_ETS.WebUserControls
/// <param name="e"></param>
private void mod_navigaWeek1_eh_newWeekSelected(object sender, EventArgs e)
{
utils.obj.setRSV(vetoUpdate, "", 1);
doUpdate();
}
private void Mod_navigaWeek1_eh_showDipChanged(object sender, EventArgs e)
{
tabDip = DataProxy_ProjEts.DP.taDip.getBazEnab(mod_navigaWeek1.showAllDip);
tabD2ATR = DataProxy_ProjEts.DP.taD2ATR.getBazOrd(mod_navigaWeek1.showAllDip);
doUpdate();
}
@@ -815,7 +817,6 @@ namespace PROJ_ETS.WebUserControls
{
eh_newVal(this, new EventArgs());
}
utils.obj.setRSV(vetoUpdate, "", 1);
doUpdate();
}
}
@@ -965,24 +966,28 @@ namespace PROJ_ETS.WebUserControls
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
Stopwatch myStopWatch = new Stopwatch();
if (!Page.IsPostBack)
{
showPnlAddNewComm(false);
lblOut.Text = "";
utils.obj.setRSV(vetoUpdate, "", 1);
}
stopWatch.Start();
myStopWatch.Start();
// carico tabelle: elenco dipendenti (raggruppato x tipo) ed elenco dip in bazaar...
tabDip = DataProxy_ProjEts.DP.taDip.GetData();
tabD2ATR = DataProxy_ProjEts.DP.taD2ATR.getBazOrd();
stopWatch.Stop();
TimeSpan ts = stopWatch.Elapsed;
tabDip = DataProxy_ProjEts.DP.taDip.getBazEnab(mod_navigaWeek1.showAllDip);
tabD2ATR = DataProxy_ProjEts.DP.taD2ATR.getBazOrd(mod_navigaWeek1.showAllDip);
myStopWatch.Stop();
TimeSpan ts = myStopWatch.Elapsed;
lg.Info($"Effettuata lettura da DB per tabDip e tabD2ATR: {ts.TotalMilliseconds} ms");
// faccio update!
myStopWatch.Restart();
doUpdate();
mod_navigaWeek1.eh_newWeekSelected += mod_navigaWeek1_eh_newWeekSelected;
mod_navigaWeek1.eh_showDipChanged += Mod_navigaWeek1_eh_showDipChanged;
myStopWatch.Stop();
ts = myStopWatch.Elapsed;
lg.Info($"Effettuato doUpdate in Page_Load: {ts.TotalMilliseconds} ms");
}
protected void txtAllocazione_TextChanged(object sender, EventArgs e)
@@ -991,10 +996,10 @@ namespace PROJ_ETS.WebUserControls
{
btnSalva.Focus();
showPnlAddNewComm(!pnlAddNew.Visible);
rigaBaz = (Ds_ProjEts.BazaarRisorseRow)tabBaz.Select(string.Format("idxDipendente={0} AND idxFase={1}", IdxDipSel, IdxFaseSel))[0];
rigaDip = (Ds_ProjEts.DipendentiRow)tabDip.Select(string.Format("idxDipendente={0}", IdxDipSel))[0];
rigaComm = (DS_utilsProjEts.v_selCommesseRow)tabComm.Select(string.Format("value = {0}", IdxFaseSel))[0];
lblOut.Text = string.Format("Edit corrente: {0} {1} / {2} - valore originale {3}", rigaDip.Nome, rigaDip.Cognome, rigaComm.label.Substring(0, 9), rigaBaz.SchemaWeek);
rigaBaz = (Ds_ProjEts.BazaarRisorseRow)tabBaz.Select($"idxDipendente={IdxDipSel} AND idxFase={IdxFaseSel}")[0];
rigaDip = (Ds_ProjEts.DipendentiRow)tabDip.Select($"idxDipendente={IdxDipSel}")[0];
rigaComm = (DS_utilsProjEts.v_selCommesseRow)tabComm.Select($"value = {IdxFaseSel}")[0];
lblOut.Text = $"Edit corrente: {rigaDip.Nome} {rigaDip.Cognome} / {rigaComm.label.Substring(0, 9)} - valore originale {rigaBaz.SchemaWeek}";
}
catch (Exception exc)
{
@@ -1010,29 +1015,6 @@ namespace PROJ_ETS.WebUserControls
protected bool userIsLocked(int IdxDipendente)
{
bool answ = false;
#if false
Ds_ProjEts.TLockBazRADataTable tabDati = null;
// cerco in cache
var rawData = utils.obj.getRSV(userLockTable);
if (!string.IsNullOrEmpty(rawData))
{
tabDati = JsonConvert.DeserializeObject<Ds_ProjEts.TLockBazRADataTable>(rawData);
}
// sennò leggo da DB
else
{
tabDati = DataProxy_ProjEts.DP.taTLB.GetData();
rawData = JsonConvert.SerializeObject(tabDati);
utils.obj.setRSV(userLockTable, rawData, 10);
}
if (tabDati != null && tabDati.Count > 0)
{
answ = tabDati
.Where(x => x.idxDipendente == IdxDipendente)
.Count() > 0;
}
#endif
if (ListIdxLocked.Count > 0)
{
answ = (ListIdxLocked.Contains(IdxDipendente));
@@ -1051,18 +1033,28 @@ namespace PROJ_ETS.WebUserControls
/// </summary>
public void doUpdate()
{
string rawData = utils.obj.getRSV(vetoUpdate);
if (string.IsNullOrEmpty(rawData))
{
setBtnStatus();
TimeSpan ts;
stopWatch.Restart();
caricaDatiBlocco();
setBtnStatus();
disegnaTabella();
stopWatch.Stop();
ts = stopWatch.Elapsed;
lg.Info($"Effettuati step 01 | {ts.TotalMilliseconds}ms");
stopWatch.Restart();
// salvo veto ridisegno x 10 sec...
utils.obj.setRSV(vetoUpdate, $"VETO doUpdate", 5);
}
caricaDatiBlocco();
stopWatch.Stop();
ts = stopWatch.Elapsed;
lg.Info($"Effettuati step 02 | {ts.TotalMilliseconds}ms");
stopWatch.Restart();
disegnaTabella();
stopWatch.Stop();
ts = stopWatch.Elapsed;
lg.Info($"Effettuati step 03 | {ts.TotalMilliseconds}ms");
}
/// <summary>
@@ -236,6 +236,13 @@ namespace PROJ_ETS.WebUserControls
doUpdate();
}
private void Mod_navigaWeek1_eh_showDipChanged(object sender, EventArgs e)
{
tabDip = DataProxy_ProjEts.DP.taDip.getBazEnab(mod_navigaWeek1.showAllDip);
tabD2ATR = DataProxy_ProjEts.DP.taD2ATR.getBazOrd(mod_navigaWeek1.showAllDip);
doUpdate();
}
/// <summary>
/// crea una cella per il numero dei livelli
/// </summary>
@@ -379,11 +386,12 @@ namespace PROJ_ETS.WebUserControls
protected void Page_Load(object sender, EventArgs e)
{
// carico tabelle: elenco dipendenti (raggruppato x tipo) ed elenco dip in Impiego...
tabDip = DataProxy_ProjEts.DP.taDip.GetData();
tabD2ATR = DataProxy_ProjEts.DP.taD2ATR.getBazOrd();
tabDip = DataProxy_ProjEts.DP.taDip.getBazEnab(mod_navigaWeek1.showAllDip);
tabD2ATR = DataProxy_ProjEts.DP.taD2ATR.getBazOrd(mod_navigaWeek1.showAllDip);
// faccio update!
doUpdate();
mod_navigaWeek1.eh_newWeekSelected += mod_navigaWeek1_eh_newWeekSelected;
mod_navigaWeek1.eh_showDipChanged += Mod_navigaWeek1_eh_showDipChanged;
}
#endregion Protected Methods
@@ -126,7 +126,7 @@ namespace PROJ_ETS.WebUserControls
{
// carico TUTTE le celle del Impiego...
tabIR = DataProxy_ProjEts.DP.taIR.getFullWeek(anno, settimana);
tabBaz = DataProxy_ProjEts.DP.taBaz.getByAnnoSett(anno, settimana);
tabBaz = DataProxy_ProjEts.DP.taBaz.getByAnnoSett(anno, settimana, mod_navigaWeek1.showAllDip);
tabComm = DataProxy_ProjEts.DP.taSelCom.GetData(); // leggo tutte commesse...
tabCommShort = DataProxy_ProjEts.DP.taSelCom.getCommShort(anno, settimana); // leggo tutte commesse formato short (nickname...)
// calcolo il primo dip
@@ -342,6 +342,13 @@ namespace PROJ_ETS.WebUserControls
doUpdate();
}
private void Mod_navigaWeek1_eh_showDipChanged(object sender, EventArgs e)
{
tabDip = DataProxy_ProjEts.DP.taDip.getBazEnab(mod_navigaWeek1.showAllDip);
tabD2ATR = DataProxy_ProjEts.DP.taD2ATR.getBazOrd(mod_navigaWeek1.showAllDip);
doUpdate();
}
/// <summary>
/// crea una cella per il numero dei livelli
/// </summary>
@@ -481,10 +488,11 @@ namespace PROJ_ETS.WebUserControls
protected void Page_Load(object sender, EventArgs e)
{
// carico tabelle: elenco dipendenti (raggruppato x tipo) ed elenco dip in Impiego...
tabDip = DataProxy_ProjEts.DP.taDip.GetData();
tabD2ATR = DataProxy_ProjEts.DP.taD2ATR.getBazOrd();
tabDip = DataProxy_ProjEts.DP.taDip.getBazEnab(mod_navigaWeek1.showAllDip);
tabD2ATR = DataProxy_ProjEts.DP.taD2ATR.getBazOrd(mod_navigaWeek1.showAllDip);
doUpdate();
mod_navigaWeek1.eh_newWeekSelected += mod_navigaWeek1_eh_newWeekSelected;
mod_navigaWeek1.eh_showDipChanged += Mod_navigaWeek1_eh_showDipChanged;
}
#endregion Protected Methods
@@ -516,63 +524,5 @@ namespace PROJ_ETS.WebUserControls
}
#endregion Public Methods
#if false
/// <summary>
/// risponde alla domanda se l'utente sia PowerUser
/// </summary>
/// <returns></returns>
public bool isPowerUser
{
get
{
return user_std.UtSn.userHasRight("PowerUser");
}
}
/// <summary>
/// risponde alla domanda se l'utente sia PowerReader
/// </summary>
/// <returns></returns>
public bool isPowerReader
{
get
{
return user_std.UtSn.userHasRight("PowerReader");
}
}
/// <summary>
/// risponde alla domanda se l'utente sia User
/// </summary>
/// <returns></returns>
public bool isUser
{
get
{
return user_std.UtSn.userHasRight("User");
}
}
/// <summary>
/// risponde alla domanda se l'utente sia CapoCommessa
/// </summary>
/// <returns></returns>
public bool isCC
{
get
{
return user_std.UtSn.userHasRight("CC");
}
}
/// <summary>
/// risponde alla domanda se l'utente sia ProjectManager
/// </summary>
/// <returns></returns>
public bool isPM
{
get
{
return user_std.UtSn.userHasRight("PM");
}
}
#endif
}
}
Binary file not shown.
Binary file not shown.