Merge branch 'develop'
This commit is contained in:
Generated
+15
-13
@@ -1,23 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW_Admin {
|
||||
|
||||
|
||||
public partial class progetti {
|
||||
|
||||
namespace GPW_Admin
|
||||
{
|
||||
|
||||
|
||||
public partial class progetti
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// mod_adminProgetti1 control.
|
||||
/// Controllo mod_adminProgetti1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::GPW_Admin.WebUserControls.mod_adminProgetti mod_adminProgetti1;
|
||||
}
|
||||
|
||||
Generated
+1112
-177
File diff suppressed because it is too large
Load Diff
+132
-31
@@ -213,7 +213,7 @@ SELECT dataOra, idxDipendente, entrata, IPv4, CodTipoTimb, Approv FROM Timbratur
|
||||
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.TimbratureExpl" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [TimbratureExpl] WHERE (([dataLav] = @Original_dataLav) AND ([idxDipendente] = @Original_idxDipendente) AND ((@IsNull_CognomeNome = 1 AND [CognomeNome] IS NULL) OR ([CognomeNome] = @Original_CognomeNome)) AND ((@IsNull_entrata_1 = 1 AND [entrata_1] IS NULL) OR ([entrata_1] = @Original_entrata_1)) AND ((@IsNull_uscita_1 = 1 AND [uscita_1] IS NULL) OR ([uscita_1] = @Original_uscita_1)) AND ((@IsNull_entrata_2 = 1 AND [entrata_2] IS NULL) OR ([entrata_2] = @Original_entrata_2)) AND ((@IsNull_uscita_2 = 1 AND [uscita_2] IS NULL) OR ([uscita_2] = @Original_uscita_2)) AND ((@IsNull_entrata_3 = 1 AND [entrata_3] IS NULL) OR ([entrata_3] = @Original_entrata_3)) AND ((@IsNull_uscita_3 = 1 AND [uscita_3] IS NULL) OR ([uscita_3] = @Original_uscita_3)) AND ((@IsNull_entrata_4 = 1 AND [entrata_4] IS NULL) OR ([entrata_4] = @Original_entrata_4)) AND ((@IsNull_uscita_4 = 1 AND [uscita_4] IS NULL) OR ([uscita_4] = @Original_uscita_4)) AND ((@IsNull_h_lav = 1 AND [h_lav] IS NULL) OR ([h_lav] = @Original_h_lav)) AND ((@IsNull_minLav = 1 AND [minLav] IS NULL) OR ([minLav] = @Original_minLav)) AND ((@IsNull_minOrd = 1 AND [minOrd] IS NULL) OR ([minOrd] = @Original_minOrd)) AND ((@IsNull_minNonLav = 1 AND [minNonLav] IS NULL) OR ([minNonLav] = @Original_minNonLav)) AND ((@IsNull_minStra = 1 AND [minStra] IS NULL) OR ([minStra] = @Original_minStra)) AND ((@IsNull_minPerm = 1 AND [minPerm] IS NULL) OR ([minPerm] = @Original_minPerm)) AND ((@IsNull_minFer = 1 AND [minFer] IS NULL) OR ([minFer] = @Original_minFer)) AND ((@IsNull_minMal = 1 AND [minMal] IS NULL) OR ([minMal] = @Original_minMal)) AND ((@IsNull_minFest = 1 AND [minFest] IS NULL) OR ([minFest] = @Original_minFest)) AND ((@IsNull_minCassa = 1 AND [minCassa] IS NULL) OR ([minCassa] = @Original_minCassa)) AND ((@IsNull_min104 = 1 AND [min104] IS NULL) OR ([min104] = @Original_min104)) AND ((@IsNull_minMpp = 1 AND [minMpp] IS NULL) OR ([minMpp] = @Original_minMpp)) AND ((@IsNull_minArcoPres = 1 AND [minArcoPres] IS NULL) OR ([minArcoPres] = @Original_minArcoPres)) AND ((@IsNull_isOkTim = 1 AND [isOkTim] IS NULL) OR ([isOkTim] = @Original_isOkTim)) AND ((@IsNull_isOkApp = 1 AND [isOkApp] IS NULL) OR ([isOkApp] = @Original_isOkApp)) AND ((@IsNull_block = 1 AND [block] IS NULL) OR ([block] = @Original_block)) AND ((@IsNull_chkFunCod = 1 AND [chkFunCod] IS NULL) OR ([chkFunCod] = @Original_chkFunCod)) AND ((@IsNull_chkFunRes = 1 AND [chkFunRes] IS NULL) OR ([chkFunRes] = @Original_chkFunRes)) AND ((@IsNull_isOk = 1 AND [isOk] IS NULL) OR ([isOk] = @Original_isOk)) AND ([isOkLav] = @Original_isOkLav) AND ((@IsNull_h_giust = 1 AND [h_giust] IS NULL) OR ([h_giust] = @Original_h_giust)))</CommandText>
|
||||
<CommandText>DELETE FROM [TimbratureExpl] WHERE (([dataLav] = @Original_dataLav) AND ([idxDipendente] = @Original_idxDipendente) AND ((@IsNull_CognomeNome = 1 AND [CognomeNome] IS NULL) OR ([CognomeNome] = @Original_CognomeNome)) AND ((@IsNull_entrata_1 = 1 AND [entrata_1] IS NULL) OR ([entrata_1] = @Original_entrata_1)) AND ((@IsNull_uscita_1 = 1 AND [uscita_1] IS NULL) OR ([uscita_1] = @Original_uscita_1)) AND ((@IsNull_entrata_2 = 1 AND [entrata_2] IS NULL) OR ([entrata_2] = @Original_entrata_2)) AND ((@IsNull_uscita_2 = 1 AND [uscita_2] IS NULL) OR ([uscita_2] = @Original_uscita_2)) AND ((@IsNull_entrata_3 = 1 AND [entrata_3] IS NULL) OR ([entrata_3] = @Original_entrata_3)) AND ((@IsNull_uscita_3 = 1 AND [uscita_3] IS NULL) OR ([uscita_3] = @Original_uscita_3)) AND ((@IsNull_entrata_4 = 1 AND [entrata_4] IS NULL) OR ([entrata_4] = @Original_entrata_4)) AND ((@IsNull_uscita_4 = 1 AND [uscita_4] IS NULL) OR ([uscita_4] = @Original_uscita_4)) AND ((@IsNull_h_lav = 1 AND [h_lav] IS NULL) OR ([h_lav] = @Original_h_lav)) AND ((@IsNull_minLav = 1 AND [minLav] IS NULL) OR ([minLav] = @Original_minLav)) AND ((@IsNull_minOrd = 1 AND [minOrd] IS NULL) OR ([minOrd] = @Original_minOrd)) AND ((@IsNull_minNonLav = 1 AND [minNonLav] IS NULL) OR ([minNonLav] = @Original_minNonLav)) AND ((@IsNull_minStra = 1 AND [minStra] IS NULL) OR ([minStra] = @Original_minStra)) AND ((@IsNull_minPerm = 1 AND [minPerm] IS NULL) OR ([minPerm] = @Original_minPerm)) AND ((@IsNull_minFer = 1 AND [minFer] IS NULL) OR ([minFer] = @Original_minFer)) AND ((@IsNull_minMal = 1 AND [minMal] IS NULL) OR ([minMal] = @Original_minMal)) AND ((@IsNull_minFest = 1 AND [minFest] IS NULL) OR ([minFest] = @Original_minFest)) AND ((@IsNull_minCassa = 1 AND [minCassa] IS NULL) OR ([minCassa] = @Original_minCassa)) AND ((@IsNull_min104 = 1 AND [min104] IS NULL) OR ([min104] = @Original_min104)) AND ((@IsNull_minMpp = 1 AND [minMpp] IS NULL) OR ([minMpp] = @Original_minMpp)) AND ((@IsNull_minArcoPres = 1 AND [minArcoPres] IS NULL) OR ([minArcoPres] = @Original_minArcoPres)) AND ((@IsNull_isOkTim = 1 AND [isOkTim] IS NULL) OR ([isOkTim] = @Original_isOkTim)) AND ((@IsNull_isOkApp = 1 AND [isOkApp] IS NULL) OR ([isOkApp] = @Original_isOkApp)) AND ((@IsNull_block = 1 AND [block] IS NULL) OR ([block] = @Original_block)) AND ((@IsNull_chkFunCod = 1 AND [chkFunCod] IS NULL) OR ([chkFunCod] = @Original_chkFunCod)) AND ((@IsNull_chkFunRes = 1 AND [chkFunRes] IS NULL) OR ([chkFunRes] = @Original_chkFunRes)) AND ((@IsNull_isOk = 1 AND [isOk] IS NULL) OR ([isOk] = @Original_isOk)) AND ([isOkLav] = @Original_isOkLav) AND ((@IsNull_h_giust = 1 AND [h_giust] IS NULL) OR ([h_giust] = @Original_h_giust)) AND ([tempRil] = @Original_tempRil))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_dataLav" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="dataLav" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
@@ -276,13 +276,14 @@ SELECT dataOra, idxDipendente, entrata, IPv4, CodTipoTimb, Approv FROM Timbratur
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_isOkLav" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="isOkLav" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_h_giust" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="h_giust" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_h_giust" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="h_giust" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tempRil" Precision="9" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="tempRil" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [TimbratureExpl] ([dataLav], [idxDipendente], [CognomeNome], [entrata_1], [uscita_1], [entrata_2], [uscita_2], [entrata_3], [uscita_3], [entrata_4], [uscita_4], [h_lav], [minLav], [minOrd], [minNonLav], [minStra], [minPerm], [minFer], [minMal], [minFest], [minCassa], [min104], [minMpp], [isOkTim], [isOkApp], [block], [chkFunCod], [chkFunRes]) VALUES (@dataLav, @idxDipendente, @CognomeNome, @entrata_1, @uscita_1, @entrata_2, @uscita_2, @entrata_3, @uscita_3, @entrata_4, @uscita_4, @h_lav, @minLav, @minOrd, @minNonLav, @minStra, @minPerm, @minFer, @minMal, @minFest, @minCassa, @min104, @minMpp, @isOkTim, @isOkApp, @block, @chkFunCod, @chkFunRes);
|
||||
SELECT dataLav, idxDipendente, CognomeNome, entrata_1, uscita_1, entrata_2, uscita_2, entrata_3, uscita_3, entrata_4, uscita_4, h_lav, minLav, minOrd, minNonLav, minStra, minPerm, minFer, minMal, minFest, minCassa, min104, minMpp, minArcoPres, isOkTim, isOkApp, block, chkFunCod, chkFunRes, isOk, isOkLav, h_giust FROM TimbratureExpl WHERE (dataLav = @dataLav) AND (idxDipendente = @idxDipendente)</CommandText>
|
||||
<CommandText>INSERT INTO [TimbratureExpl] ([dataLav], [idxDipendente], [CognomeNome], [entrata_1], [uscita_1], [entrata_2], [uscita_2], [entrata_3], [uscita_3], [entrata_4], [uscita_4], [h_lav], [minLav], [minOrd], [minNonLav], [minStra], [minPerm], [minFer], [minMal], [minFest], [minCassa], [min104], [minMpp], [isOkTim], [isOkApp], [block], [chkFunCod], [chkFunRes], [tempRil]) VALUES (@dataLav, @idxDipendente, @CognomeNome, @entrata_1, @uscita_1, @entrata_2, @uscita_2, @entrata_3, @uscita_3, @entrata_4, @uscita_4, @h_lav, @minLav, @minOrd, @minNonLav, @minStra, @minPerm, @minFer, @minMal, @minFest, @minCassa, @min104, @minMpp, @isOkTim, @isOkApp, @block, @chkFunCod, @chkFunRes, @tempRil);
|
||||
SELECT dataLav, idxDipendente, CognomeNome, entrata_1, uscita_1, entrata_2, uscita_2, entrata_3, uscita_3, entrata_4, uscita_4, h_lav, minLav, minOrd, minNonLav, minStra, minPerm, minFer, minMal, minFest, minCassa, min104, minMpp, minArcoPres, isOkTim, isOkApp, block, chkFunCod, chkFunRes, isOk, isOkLav, h_giust, tempRil FROM TimbratureExpl WHERE (dataLav = @dataLav) AND (idxDipendente = @idxDipendente)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@dataLav" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="dataLav" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -312,6 +313,7 @@ SELECT dataLav, idxDipendente, CognomeNome, entrata_1, uscita_1, entrata_2, usci
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@block" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="block" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chkFunCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chkFunCod" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chkFunRes" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chkFunRes" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tempRil" Precision="9" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="tempRil" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
@@ -324,8 +326,8 @@ FROM TimbratureExpl</CommandText>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [TimbratureExpl] SET [dataLav] = @dataLav, [idxDipendente] = @idxDipendente, [CognomeNome] = @CognomeNome, [entrata_1] = @entrata_1, [uscita_1] = @uscita_1, [entrata_2] = @entrata_2, [uscita_2] = @uscita_2, [entrata_3] = @entrata_3, [uscita_3] = @uscita_3, [entrata_4] = @entrata_4, [uscita_4] = @uscita_4, [h_lav] = @h_lav, [minLav] = @minLav, [minOrd] = @minOrd, [minNonLav] = @minNonLav, [minStra] = @minStra, [minPerm] = @minPerm, [minFer] = @minFer, [minMal] = @minMal, [minFest] = @minFest, [minCassa] = @minCassa, [min104] = @min104, [minMpp] = @minMpp, [isOkTim] = @isOkTim, [isOkApp] = @isOkApp, [block] = @block, [chkFunCod] = @chkFunCod, [chkFunRes] = @chkFunRes WHERE (([dataLav] = @Original_dataLav) AND ([idxDipendente] = @Original_idxDipendente) AND ((@IsNull_CognomeNome = 1 AND [CognomeNome] IS NULL) OR ([CognomeNome] = @Original_CognomeNome)) AND ((@IsNull_entrata_1 = 1 AND [entrata_1] IS NULL) OR ([entrata_1] = @Original_entrata_1)) AND ((@IsNull_uscita_1 = 1 AND [uscita_1] IS NULL) OR ([uscita_1] = @Original_uscita_1)) AND ((@IsNull_entrata_2 = 1 AND [entrata_2] IS NULL) OR ([entrata_2] = @Original_entrata_2)) AND ((@IsNull_uscita_2 = 1 AND [uscita_2] IS NULL) OR ([uscita_2] = @Original_uscita_2)) AND ((@IsNull_entrata_3 = 1 AND [entrata_3] IS NULL) OR ([entrata_3] = @Original_entrata_3)) AND ((@IsNull_uscita_3 = 1 AND [uscita_3] IS NULL) OR ([uscita_3] = @Original_uscita_3)) AND ((@IsNull_entrata_4 = 1 AND [entrata_4] IS NULL) OR ([entrata_4] = @Original_entrata_4)) AND ((@IsNull_uscita_4 = 1 AND [uscita_4] IS NULL) OR ([uscita_4] = @Original_uscita_4)) AND ((@IsNull_h_lav = 1 AND [h_lav] IS NULL) OR ([h_lav] = @Original_h_lav)) AND ((@IsNull_minLav = 1 AND [minLav] IS NULL) OR ([minLav] = @Original_minLav)) AND ((@IsNull_minOrd = 1 AND [minOrd] IS NULL) OR ([minOrd] = @Original_minOrd)) AND ((@IsNull_minNonLav = 1 AND [minNonLav] IS NULL) OR ([minNonLav] = @Original_minNonLav)) AND ((@IsNull_minStra = 1 AND [minStra] IS NULL) OR ([minStra] = @Original_minStra)) AND ((@IsNull_minPerm = 1 AND [minPerm] IS NULL) OR ([minPerm] = @Original_minPerm)) AND ((@IsNull_minFer = 1 AND [minFer] IS NULL) OR ([minFer] = @Original_minFer)) AND ((@IsNull_minMal = 1 AND [minMal] IS NULL) OR ([minMal] = @Original_minMal)) AND ((@IsNull_minFest = 1 AND [minFest] IS NULL) OR ([minFest] = @Original_minFest)) AND ((@IsNull_minCassa = 1 AND [minCassa] IS NULL) OR ([minCassa] = @Original_minCassa)) AND ((@IsNull_min104 = 1 AND [min104] IS NULL) OR ([min104] = @Original_min104)) AND ((@IsNull_minMpp = 1 AND [minMpp] IS NULL) OR ([minMpp] = @Original_minMpp)) AND ((@IsNull_minArcoPres = 1 AND [minArcoPres] IS NULL) OR ([minArcoPres] = @Original_minArcoPres)) AND ((@IsNull_isOkTim = 1 AND [isOkTim] IS NULL) OR ([isOkTim] = @Original_isOkTim)) AND ((@IsNull_isOkApp = 1 AND [isOkApp] IS NULL) OR ([isOkApp] = @Original_isOkApp)) AND ((@IsNull_block = 1 AND [block] IS NULL) OR ([block] = @Original_block)) AND ((@IsNull_chkFunCod = 1 AND [chkFunCod] IS NULL) OR ([chkFunCod] = @Original_chkFunCod)) AND ((@IsNull_chkFunRes = 1 AND [chkFunRes] IS NULL) OR ([chkFunRes] = @Original_chkFunRes)) AND ((@IsNull_isOk = 1 AND [isOk] IS NULL) OR ([isOk] = @Original_isOk)) AND ([isOkLav] = @Original_isOkLav) AND ((@IsNull_h_giust = 1 AND [h_giust] IS NULL) OR ([h_giust] = @Original_h_giust)));
|
||||
SELECT dataLav, idxDipendente, CognomeNome, entrata_1, uscita_1, entrata_2, uscita_2, entrata_3, uscita_3, entrata_4, uscita_4, h_lav, minLav, minOrd, minNonLav, minStra, minPerm, minFer, minMal, minFest, minCassa, min104, minMpp, minArcoPres, isOkTim, isOkApp, block, chkFunCod, chkFunRes, isOk, isOkLav, h_giust FROM TimbratureExpl WHERE (dataLav = @dataLav) AND (idxDipendente = @idxDipendente)</CommandText>
|
||||
<CommandText>UPDATE [TimbratureExpl] SET [dataLav] = @dataLav, [idxDipendente] = @idxDipendente, [CognomeNome] = @CognomeNome, [entrata_1] = @entrata_1, [uscita_1] = @uscita_1, [entrata_2] = @entrata_2, [uscita_2] = @uscita_2, [entrata_3] = @entrata_3, [uscita_3] = @uscita_3, [entrata_4] = @entrata_4, [uscita_4] = @uscita_4, [h_lav] = @h_lav, [minLav] = @minLav, [minOrd] = @minOrd, [minNonLav] = @minNonLav, [minStra] = @minStra, [minPerm] = @minPerm, [minFer] = @minFer, [minMal] = @minMal, [minFest] = @minFest, [minCassa] = @minCassa, [min104] = @min104, [minMpp] = @minMpp, [isOkTim] = @isOkTim, [isOkApp] = @isOkApp, [block] = @block, [chkFunCod] = @chkFunCod, [chkFunRes] = @chkFunRes, [tempRil] = @tempRil WHERE (([dataLav] = @Original_dataLav) AND ([idxDipendente] = @Original_idxDipendente) AND ((@IsNull_CognomeNome = 1 AND [CognomeNome] IS NULL) OR ([CognomeNome] = @Original_CognomeNome)) AND ((@IsNull_entrata_1 = 1 AND [entrata_1] IS NULL) OR ([entrata_1] = @Original_entrata_1)) AND ((@IsNull_uscita_1 = 1 AND [uscita_1] IS NULL) OR ([uscita_1] = @Original_uscita_1)) AND ((@IsNull_entrata_2 = 1 AND [entrata_2] IS NULL) OR ([entrata_2] = @Original_entrata_2)) AND ((@IsNull_uscita_2 = 1 AND [uscita_2] IS NULL) OR ([uscita_2] = @Original_uscita_2)) AND ((@IsNull_entrata_3 = 1 AND [entrata_3] IS NULL) OR ([entrata_3] = @Original_entrata_3)) AND ((@IsNull_uscita_3 = 1 AND [uscita_3] IS NULL) OR ([uscita_3] = @Original_uscita_3)) AND ((@IsNull_entrata_4 = 1 AND [entrata_4] IS NULL) OR ([entrata_4] = @Original_entrata_4)) AND ((@IsNull_uscita_4 = 1 AND [uscita_4] IS NULL) OR ([uscita_4] = @Original_uscita_4)) AND ((@IsNull_h_lav = 1 AND [h_lav] IS NULL) OR ([h_lav] = @Original_h_lav)) AND ((@IsNull_minLav = 1 AND [minLav] IS NULL) OR ([minLav] = @Original_minLav)) AND ((@IsNull_minOrd = 1 AND [minOrd] IS NULL) OR ([minOrd] = @Original_minOrd)) AND ((@IsNull_minNonLav = 1 AND [minNonLav] IS NULL) OR ([minNonLav] = @Original_minNonLav)) AND ((@IsNull_minStra = 1 AND [minStra] IS NULL) OR ([minStra] = @Original_minStra)) AND ((@IsNull_minPerm = 1 AND [minPerm] IS NULL) OR ([minPerm] = @Original_minPerm)) AND ((@IsNull_minFer = 1 AND [minFer] IS NULL) OR ([minFer] = @Original_minFer)) AND ((@IsNull_minMal = 1 AND [minMal] IS NULL) OR ([minMal] = @Original_minMal)) AND ((@IsNull_minFest = 1 AND [minFest] IS NULL) OR ([minFest] = @Original_minFest)) AND ((@IsNull_minCassa = 1 AND [minCassa] IS NULL) OR ([minCassa] = @Original_minCassa)) AND ((@IsNull_min104 = 1 AND [min104] IS NULL) OR ([min104] = @Original_min104)) AND ((@IsNull_minMpp = 1 AND [minMpp] IS NULL) OR ([minMpp] = @Original_minMpp)) AND ((@IsNull_minArcoPres = 1 AND [minArcoPres] IS NULL) OR ([minArcoPres] = @Original_minArcoPres)) AND ((@IsNull_isOkTim = 1 AND [isOkTim] IS NULL) OR ([isOkTim] = @Original_isOkTim)) AND ((@IsNull_isOkApp = 1 AND [isOkApp] IS NULL) OR ([isOkApp] = @Original_isOkApp)) AND ((@IsNull_block = 1 AND [block] IS NULL) OR ([block] = @Original_block)) AND ((@IsNull_chkFunCod = 1 AND [chkFunCod] IS NULL) OR ([chkFunCod] = @Original_chkFunCod)) AND ((@IsNull_chkFunRes = 1 AND [chkFunRes] IS NULL) OR ([chkFunRes] = @Original_chkFunRes)) AND ((@IsNull_isOk = 1 AND [isOk] IS NULL) OR ([isOk] = @Original_isOk)) AND ([isOkLav] = @Original_isOkLav) AND ((@IsNull_h_giust = 1 AND [h_giust] IS NULL) OR ([h_giust] = @Original_h_giust)) AND ([tempRil] = @Original_tempRil));
|
||||
SELECT dataLav, idxDipendente, CognomeNome, entrata_1, uscita_1, entrata_2, uscita_2, entrata_3, uscita_3, entrata_4, uscita_4, h_lav, minLav, minOrd, minNonLav, minStra, minPerm, minFer, minMal, minFest, minCassa, min104, minMpp, minArcoPres, isOkTim, isOkApp, block, chkFunCod, chkFunRes, isOk, isOkLav, h_giust, tempRil FROM TimbratureExpl WHERE (dataLav = @dataLav) AND (idxDipendente = @idxDipendente)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@dataLav" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="dataLav" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -355,6 +357,7 @@ SELECT dataLav, idxDipendente, CognomeNome, entrata_1, uscita_1, entrata_2, usci
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@block" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="block" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chkFunCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chkFunCod" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chkFunRes" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chkFunRes" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tempRil" Precision="9" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="tempRil" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_dataLav" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="dataLav" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CognomeNome" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CognomeNome" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
@@ -416,6 +419,7 @@ SELECT dataLav, idxDipendente, CognomeNome, entrata_1, uscita_1, entrata_2, usci
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_isOkLav" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="isOkLav" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_h_giust" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="h_giust" SourceColumnNullMapping="true" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_h_giust" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="h_giust" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tempRil" Precision="9" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="tempRil" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
@@ -454,6 +458,7 @@ SELECT dataLav, idxDipendente, CognomeNome, entrata_1, uscita_1, entrata_2, usci
|
||||
<Mapping SourceColumn="isOk" DataSetColumn="isOk" />
|
||||
<Mapping SourceColumn="isOkLav" DataSetColumn="isOkLav" />
|
||||
<Mapping SourceColumn="h_giust" DataSetColumn="h_giust" />
|
||||
<Mapping SourceColumn="tempRil" DataSetColumn="tempRil" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.stp_timbratureExpl_getByDate" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByDate" GetMethodModifier="Public" GetMethodName="getByDate" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByDate" UserSourceName="getByDate">
|
||||
@@ -2736,6 +2741,86 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RilievoTempTableAdapter" GeneratorDataComponentClassName="RilievoTempTableAdapter" Name="RilievoTemp" UserDataComponentName="RilievoTempTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.RilievoTemp" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [RilievoTemp] WHERE (([idxDipendente] = @Original_idxDipendente) AND ([dtRilievo] = @Original_dtRilievo) AND ([tempRil] = @Original_tempRil))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dtRilievo" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dtRilievo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tempRil" Precision="9" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="tempRil" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [RilievoTemp] ([idxDipendente], [dtRilievo], [tempRil]) VALUES (@idxDipendente, @dtRilievo, @tempRil);
|
||||
SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dtRilievo) AND (idxDipendente = @idxDipendente)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dtRilievo" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dtRilievo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tempRil" Precision="9" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="tempRil" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT *
|
||||
FROM RilievoTemp</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [RilievoTemp] SET [idxDipendente] = @idxDipendente, [dtRilievo] = @dtRilievo, [tempRil] = @tempRil WHERE (([idxDipendente] = @Original_idxDipendente) AND ([dtRilievo] = @Original_dtRilievo) AND ([tempRil] = @Original_tempRil));
|
||||
SELECT idxDipendente, dtRilievo, tempRil FROM RilievoTemp WHERE (dtRilievo = @dtRilievo) AND (idxDipendente = @idxDipendente)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dtRilievo" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dtRilievo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tempRil" Precision="9" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="tempRil" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dtRilievo" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dtRilievo" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tempRil" Precision="9" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="tempRil" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="idxDipendente" DataSetColumn="idxDipendente" />
|
||||
<Mapping SourceColumn="dtRilievo" DataSetColumn="dtRilievo" />
|
||||
<Mapping SourceColumn="tempRil" DataSetColumn="tempRil" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.stp_RT_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_RT_getByKey</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="int" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@dtRilievo" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.stp_RT_upsertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="upsertQuery" Modifier="Public" Name="upsertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="upsertQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_RT_upsertQuery</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="int" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@dtRilievo" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@tempRil" Precision="9" ProviderType="Decimal" Scale="3" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
@@ -2744,7 +2829,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
<xs:element name="DS_Applicazione" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Applicazione" msprop:Generator_UserDSName="DS_Applicazione">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="Timbrature" msprop:Generator_TableClassName="TimbratureDataTable" msprop:Generator_TableVarName="tableTimbrature" msprop:Generator_RowChangedName="TimbratureRowChanged" msprop:Generator_TablePropName="Timbrature" msprop:Generator_RowDeletingName="TimbratureRowDeleting" msprop:Generator_RowChangingName="TimbratureRowChanging" msprop:Generator_RowEvHandlerName="TimbratureRowChangeEventHandler" msprop:Generator_RowDeletedName="TimbratureRowDeleted" msprop:Generator_RowClassName="TimbratureRow" msprop:Generator_UserTableName="Timbrature" msprop:Generator_RowEvArgName="TimbratureRowChangeEvent">
|
||||
<xs:element name="Timbrature" msprop:Generator_TableClassName="TimbratureDataTable" msprop:Generator_TableVarName="tableTimbrature" msprop:Generator_TablePropName="Timbrature" msprop:Generator_RowDeletingName="TimbratureRowDeleting" msprop:Generator_RowChangingName="TimbratureRowChanging" msprop:Generator_RowEvHandlerName="TimbratureRowChangeEventHandler" msprop:Generator_RowDeletedName="TimbratureRowDeleted" msprop:Generator_UserTableName="Timbrature" msprop:Generator_RowChangedName="TimbratureRowChanged" msprop:Generator_RowEvArgName="TimbratureRowChangeEvent" msprop:Generator_RowClassName="TimbratureRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="dataOra" msprop:Generator_ColumnVarNameInTable="columndataOra" msprop:Generator_ColumnPropNameInRow="dataOra" msprop:Generator_ColumnPropNameInTable="dataOraColumn" msprop:Generator_UserColumnName="dataOra" type="xs:dateTime" />
|
||||
@@ -2768,7 +2853,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="TimbratureExpl" msprop:Generator_TableClassName="TimbratureExplDataTable" msprop:Generator_TableVarName="tableTimbratureExpl" msprop:Generator_RowChangedName="TimbratureExplRowChanged" msprop:Generator_TablePropName="TimbratureExpl" msprop:Generator_RowDeletingName="TimbratureExplRowDeleting" msprop:Generator_RowChangingName="TimbratureExplRowChanging" msprop:Generator_RowEvHandlerName="TimbratureExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TimbratureExplRowDeleted" msprop:Generator_RowClassName="TimbratureExplRow" msprop:Generator_UserTableName="TimbratureExpl" msprop:Generator_RowEvArgName="TimbratureExplRowChangeEvent">
|
||||
<xs:element name="TimbratureExpl" msprop:Generator_TableClassName="TimbratureExplDataTable" msprop:Generator_TableVarName="tableTimbratureExpl" msprop:Generator_TablePropName="TimbratureExpl" msprop:Generator_RowDeletingName="TimbratureExplRowDeleting" msprop:Generator_RowChangingName="TimbratureExplRowChanging" msprop:Generator_RowEvHandlerName="TimbratureExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TimbratureExplRowDeleted" msprop:Generator_UserTableName="TimbratureExpl" msprop:Generator_RowChangedName="TimbratureExplRowChanged" msprop:Generator_RowEvArgName="TimbratureExplRowChangeEvent" msprop:Generator_RowClassName="TimbratureExplRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="dataLav" msprop:Generator_ColumnVarNameInTable="columndataLav" msprop:Generator_ColumnPropNameInRow="dataLav" msprop:Generator_ColumnPropNameInTable="dataLavColumn" msprop:Generator_UserColumnName="dataLav" type="xs:dateTime" />
|
||||
@@ -2821,10 +2906,11 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
<xs:element name="isOk" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnisOk" msprop:Generator_ColumnPropNameInRow="isOk" msprop:Generator_ColumnPropNameInTable="isOkColumn" msprop:Generator_UserColumnName="isOk" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="isOkLav" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnisOkLav" msprop:Generator_ColumnPropNameInRow="isOkLav" msprop:Generator_ColumnPropNameInTable="isOkLavColumn" msprop:Generator_UserColumnName="isOkLav" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="h_giust" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnh_giust" msprop:Generator_ColumnPropNameInRow="h_giust" msprop:Generator_ColumnPropNameInTable="h_giustColumn" msprop:Generator_UserColumnName="h_giust" type="xs:double" minOccurs="0" />
|
||||
<xs:element name="tempRil" msprop:Generator_ColumnVarNameInTable="columntempRil" msprop:Generator_ColumnPropNameInRow="tempRil" msprop:Generator_ColumnPropNameInTable="tempRilColumn" msprop:Generator_UserColumnName="tempRil" type="xs:decimal" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagDevices" msprop:Generator_TableClassName="AnagDevicesDataTable" msprop:Generator_TableVarName="tableAnagDevices" msprop:Generator_RowChangedName="AnagDevicesRowChanged" msprop:Generator_TablePropName="AnagDevices" msprop:Generator_RowDeletingName="AnagDevicesRowDeleting" msprop:Generator_RowChangingName="AnagDevicesRowChanging" msprop:Generator_RowEvHandlerName="AnagDevicesRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagDevicesRowDeleted" msprop:Generator_RowClassName="AnagDevicesRow" msprop:Generator_UserTableName="AnagDevices" msprop:Generator_RowEvArgName="AnagDevicesRowChangeEvent">
|
||||
<xs:element name="AnagDevices" msprop:Generator_TableClassName="AnagDevicesDataTable" msprop:Generator_TableVarName="tableAnagDevices" msprop:Generator_TablePropName="AnagDevices" msprop:Generator_RowDeletingName="AnagDevicesRowDeleting" msprop:Generator_RowChangingName="AnagDevicesRowChanging" msprop:Generator_RowEvHandlerName="AnagDevicesRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagDevicesRowDeleted" msprop:Generator_UserTableName="AnagDevices" msprop:Generator_RowChangedName="AnagDevicesRowChanged" msprop:Generator_RowEvArgName="AnagDevicesRowChangeEvent" msprop:Generator_RowClassName="AnagDevicesRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxDevice" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxDevice" msprop:Generator_ColumnPropNameInRow="IdxDevice" msprop:Generator_ColumnPropNameInTable="IdxDeviceColumn" msprop:Generator_UserColumnName="IdxDevice" type="xs:int" />
|
||||
@@ -2862,7 +2948,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<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: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:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxDipendente" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
|
||||
@@ -2990,7 +3076,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent" msprop:Generator_RowClassName="AnagClientiRow">
|
||||
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_RowClassName="AnagClientiRow" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxCliente" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxCliente" msprop:Generator_ColumnPropNameInRow="idxCliente" msprop:Generator_ColumnPropNameInTable="idxClienteColumn" msprop:Generator_UserColumnName="idxCliente" type="xs:int" />
|
||||
@@ -3083,7 +3169,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<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" msprop:Generator_ColumnVarNameInTable="columnidxProgetto" msprop:Generator_ColumnPropNameInRow="idxProgetto" msprop:Generator_ColumnPropNameInTable="idxProgettoColumn" msprop:Generator_UserColumnName="idxProgetto" type="xs:int" />
|
||||
@@ -3128,7 +3214,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Dipendenti2Ruoli" msprop:Generator_TableClassName="Dipendenti2RuoliDataTable" msprop:Generator_TableVarName="tableDipendenti2Ruoli" msprop:Generator_TablePropName="Dipendenti2Ruoli" msprop:Generator_RowDeletingName="Dipendenti2RuoliRowDeleting" msprop:Generator_RowChangingName="Dipendenti2RuoliRowChanging" msprop:Generator_RowEvHandlerName="Dipendenti2RuoliRowChangeEventHandler" msprop:Generator_RowDeletedName="Dipendenti2RuoliRowDeleted" msprop:Generator_UserTableName="Dipendenti2Ruoli" msprop:Generator_RowChangedName="Dipendenti2RuoliRowChanged" msprop:Generator_RowEvArgName="Dipendenti2RuoliRowChangeEvent" msprop:Generator_RowClassName="Dipendenti2RuoliRow">
|
||||
<xs:element name="Dipendenti2Ruoli" msprop:Generator_TableClassName="Dipendenti2RuoliDataTable" msprop:Generator_TableVarName="tableDipendenti2Ruoli" msprop:Generator_RowChangedName="Dipendenti2RuoliRowChanged" msprop:Generator_TablePropName="Dipendenti2Ruoli" msprop:Generator_RowDeletingName="Dipendenti2RuoliRowDeleting" msprop:Generator_RowChangingName="Dipendenti2RuoliRowChanging" msprop:Generator_RowEvHandlerName="Dipendenti2RuoliRowChangeEventHandler" msprop:Generator_RowDeletedName="Dipendenti2RuoliRowDeleted" msprop:Generator_RowClassName="Dipendenti2RuoliRow" msprop:Generator_UserTableName="Dipendenti2Ruoli" msprop:Generator_RowEvArgName="Dipendenti2RuoliRowChangeEvent">
|
||||
<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" />
|
||||
@@ -3142,7 +3228,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</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" />
|
||||
@@ -3192,7 +3278,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_logCommUt" msprop:Generator_TableClassName="v_logCommUtDataTable" msprop:Generator_TableVarName="tablev_logCommUt" msprop:Generator_RowChangedName="v_logCommUtRowChanged" msprop:Generator_TablePropName="v_logCommUt" msprop:Generator_RowDeletingName="v_logCommUtRowDeleting" msprop:Generator_RowChangingName="v_logCommUtRowChanging" msprop:Generator_RowEvHandlerName="v_logCommUtRowChangeEventHandler" msprop:Generator_RowDeletedName="v_logCommUtRowDeleted" msprop:Generator_RowClassName="v_logCommUtRow" msprop:Generator_UserTableName="v_logCommUt" msprop:Generator_RowEvArgName="v_logCommUtRowChangeEvent">
|
||||
<xs:element name="v_logCommUt" msprop:Generator_TableClassName="v_logCommUtDataTable" msprop:Generator_TableVarName="tablev_logCommUt" msprop:Generator_TablePropName="v_logCommUt" msprop:Generator_RowDeletingName="v_logCommUtRowDeleting" msprop:Generator_RowChangingName="v_logCommUtRowChanging" msprop:Generator_RowEvHandlerName="v_logCommUtRowChangeEventHandler" msprop:Generator_RowDeletedName="v_logCommUtRowDeleted" msprop:Generator_UserTableName="v_logCommUt" msprop:Generator_RowChangedName="v_logCommUtRowChanged" msprop:Generator_RowEvArgName="v_logCommUtRowChangeEvent" msprop:Generator_RowClassName="v_logCommUtRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Data" msdata:Caption="dataLav" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
|
||||
@@ -3227,7 +3313,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="RegAttivita" msprop:Generator_TableClassName="RegAttivitaDataTable" msprop:Generator_TableVarName="tableRegAttivita" msprop:Generator_TablePropName="RegAttivita" msprop:Generator_RowDeletingName="RegAttivitaRowDeleting" msprop:Generator_RowChangingName="RegAttivitaRowChanging" msprop:Generator_RowEvHandlerName="RegAttivitaRowChangeEventHandler" msprop:Generator_RowDeletedName="RegAttivitaRowDeleted" msprop:Generator_UserTableName="RegAttivita" msprop:Generator_RowChangedName="RegAttivitaRowChanged" msprop:Generator_RowEvArgName="RegAttivitaRowChangeEvent" msprop:Generator_RowClassName="RegAttivitaRow">
|
||||
<xs:element name="RegAttivita" msprop:Generator_TableClassName="RegAttivitaDataTable" msprop:Generator_TableVarName="tableRegAttivita" msprop:Generator_RowChangedName="RegAttivitaRowChanged" msprop:Generator_TablePropName="RegAttivita" msprop:Generator_RowDeletingName="RegAttivitaRowDeleting" msprop:Generator_RowChangingName="RegAttivitaRowChanging" msprop:Generator_RowEvHandlerName="RegAttivitaRowChangeEventHandler" msprop:Generator_RowDeletedName="RegAttivitaRowDeleted" msprop:Generator_RowClassName="RegAttivitaRow" msprop:Generator_UserTableName="RegAttivita" msprop:Generator_RowEvArgName="RegAttivitaRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxRA" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxRA" msprop:Generator_ColumnPropNameInRow="idxRA" msprop:Generator_ColumnPropNameInTable="idxRAColumn" msprop:Generator_UserColumnName="idxRA" type="xs:int" />
|
||||
@@ -3247,7 +3333,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="CalendFesteFerie" msprop:Generator_TableClassName="CalendFesteFerieDataTable" msprop:Generator_TableVarName="tableCalendFesteFerie" msprop:Generator_TablePropName="CalendFesteFerie" msprop:Generator_RowDeletingName="CalendFesteFerieRowDeleting" msprop:Generator_RowChangingName="CalendFesteFerieRowChanging" msprop:Generator_RowEvHandlerName="CalendFesteFerieRowChangeEventHandler" msprop:Generator_RowDeletedName="CalendFesteFerieRowDeleted" msprop:Generator_UserTableName="CalendFesteFerie" msprop:Generator_RowChangedName="CalendFesteFerieRowChanged" msprop:Generator_RowEvArgName="CalendFesteFerieRowChangeEvent" msprop:Generator_RowClassName="CalendFesteFerieRow">
|
||||
<xs:element name="CalendFesteFerie" msprop:Generator_TableClassName="CalendFesteFerieDataTable" msprop:Generator_TableVarName="tableCalendFesteFerie" msprop:Generator_RowChangedName="CalendFesteFerieRowChanged" msprop:Generator_TablePropName="CalendFesteFerie" msprop:Generator_RowDeletingName="CalendFesteFerieRowDeleting" msprop:Generator_RowChangingName="CalendFesteFerieRowChanging" msprop:Generator_RowEvHandlerName="CalendFesteFerieRowChangeEventHandler" msprop:Generator_RowDeletedName="CalendFesteFerieRowDeleted" msprop:Generator_RowClassName="CalendFesteFerieRow" msprop:Generator_UserTableName="CalendFesteFerie" msprop:Generator_RowEvArgName="CalendFesteFerieRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="data" msprop:Generator_ColumnVarNameInTable="columndata" msprop:Generator_ColumnPropNameInRow="data" msprop:Generator_ColumnPropNameInTable="dataColumn" msprop:Generator_UserColumnName="data" type="xs:dateTime" />
|
||||
@@ -3268,7 +3354,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagOrari" msprop:Generator_TableClassName="AnagOrariDataTable" msprop:Generator_TableVarName="tableAnagOrari" msprop:Generator_TablePropName="AnagOrari" msprop:Generator_RowDeletingName="AnagOrariRowDeleting" msprop:Generator_RowChangingName="AnagOrariRowChanging" msprop:Generator_RowEvHandlerName="AnagOrariRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagOrariRowDeleted" msprop:Generator_UserTableName="AnagOrari" msprop:Generator_RowChangedName="AnagOrariRowChanged" msprop:Generator_RowEvArgName="AnagOrariRowChangeEvent" msprop:Generator_RowClassName="AnagOrariRow">
|
||||
<xs:element name="AnagOrari" msprop:Generator_TableClassName="AnagOrariDataTable" msprop:Generator_TableVarName="tableAnagOrari" msprop:Generator_RowChangedName="AnagOrariRowChanged" msprop:Generator_TablePropName="AnagOrari" msprop:Generator_RowDeletingName="AnagOrariRowDeleting" msprop:Generator_RowChangingName="AnagOrariRowChanging" msprop:Generator_RowEvHandlerName="AnagOrariRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagOrariRowDeleted" msprop:Generator_RowClassName="AnagOrariRow" msprop:Generator_UserTableName="AnagOrari" msprop:Generator_RowEvArgName="AnagOrariRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="codOrario" msprop:Generator_ColumnVarNameInTable="columncodOrario" msprop:Generator_ColumnPropNameInRow="codOrario" msprop:Generator_ColumnPropNameInTable="codOrarioColumn" msprop:Generator_UserColumnName="codOrario">
|
||||
@@ -3304,7 +3390,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="TimbMeseExpl" msprop:Generator_TableClassName="TimbMeseExplDataTable" msprop:Generator_TableVarName="tableTimbMeseExpl" msprop:Generator_RowChangedName="TimbMeseExplRowChanged" msprop:Generator_TablePropName="TimbMeseExpl" msprop:Generator_RowDeletingName="TimbMeseExplRowDeleting" msprop:Generator_RowChangingName="TimbMeseExplRowChanging" msprop:Generator_RowEvHandlerName="TimbMeseExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TimbMeseExplRowDeleted" msprop:Generator_RowClassName="TimbMeseExplRow" msprop:Generator_UserTableName="TimbMeseExpl" msprop:Generator_RowEvArgName="TimbMeseExplRowChangeEvent">
|
||||
<xs:element name="TimbMeseExpl" msprop:Generator_TableClassName="TimbMeseExplDataTable" msprop:Generator_TableVarName="tableTimbMeseExpl" msprop:Generator_TablePropName="TimbMeseExpl" msprop:Generator_RowDeletingName="TimbMeseExplRowDeleting" msprop:Generator_RowChangingName="TimbMeseExplRowChanging" msprop:Generator_RowEvHandlerName="TimbMeseExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TimbMeseExplRowDeleted" msprop:Generator_UserTableName="TimbMeseExpl" msprop:Generator_RowChangedName="TimbMeseExplRowChanged" msprop:Generator_RowEvArgName="TimbMeseExplRowChangeEvent" msprop:Generator_RowClassName="TimbMeseExplRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Anno" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" />
|
||||
@@ -3329,7 +3415,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Giustificativi" msprop:Generator_TableClassName="GiustificativiDataTable" msprop:Generator_TableVarName="tableGiustificativi" msprop:Generator_RowChangedName="GiustificativiRowChanged" msprop:Generator_TablePropName="Giustificativi" msprop:Generator_RowDeletingName="GiustificativiRowDeleting" msprop:Generator_RowChangingName="GiustificativiRowChanging" msprop:Generator_RowEvHandlerName="GiustificativiRowChangeEventHandler" msprop:Generator_RowDeletedName="GiustificativiRowDeleted" msprop:Generator_RowClassName="GiustificativiRow" msprop:Generator_UserTableName="Giustificativi" msprop:Generator_RowEvArgName="GiustificativiRowChangeEvent">
|
||||
<xs:element name="Giustificativi" msprop:Generator_TableClassName="GiustificativiDataTable" msprop:Generator_TableVarName="tableGiustificativi" msprop:Generator_TablePropName="Giustificativi" msprop:Generator_RowDeletingName="GiustificativiRowDeleting" msprop:Generator_RowChangingName="GiustificativiRowChanging" msprop:Generator_RowEvHandlerName="GiustificativiRowChangeEventHandler" msprop:Generator_RowDeletedName="GiustificativiRowDeleted" msprop:Generator_UserTableName="Giustificativi" msprop:Generator_RowChangedName="GiustificativiRowChanged" msprop:Generator_RowEvArgName="GiustificativiRowChangeEvent" msprop:Generator_RowClassName="GiustificativiRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="dataLav" msprop:Generator_ColumnVarNameInTable="columndataLav" msprop:Generator_ColumnPropNameInRow="dataLav" msprop:Generator_ColumnPropNameInTable="dataLavColumn" msprop:Generator_UserColumnName="dataLav" type="xs:dateTime" />
|
||||
@@ -3345,7 +3431,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="stp_DipendentiAndAnomalie" msprop:Generator_TableClassName="stp_DipendentiAndAnomalieDataTable" msprop:Generator_TableVarName="tablestp_DipendentiAndAnomalie" msprop:Generator_RowChangedName="stp_DipendentiAndAnomalieRowChanged" msprop:Generator_TablePropName="stp_DipendentiAndAnomalie" msprop:Generator_RowDeletingName="stp_DipendentiAndAnomalieRowDeleting" msprop:Generator_RowChangingName="stp_DipendentiAndAnomalieRowChanging" msprop:Generator_RowEvHandlerName="stp_DipendentiAndAnomalieRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_DipendentiAndAnomalieRowDeleted" msprop:Generator_RowClassName="stp_DipendentiAndAnomalieRow" msprop:Generator_UserTableName="stp_DipendentiAndAnomalie" msprop:Generator_RowEvArgName="stp_DipendentiAndAnomalieRowChangeEvent">
|
||||
<xs:element name="stp_DipendentiAndAnomalie" msprop:Generator_TableClassName="stp_DipendentiAndAnomalieDataTable" msprop:Generator_TableVarName="tablestp_DipendentiAndAnomalie" msprop:Generator_TablePropName="stp_DipendentiAndAnomalie" msprop:Generator_RowDeletingName="stp_DipendentiAndAnomalieRowDeleting" msprop:Generator_RowChangingName="stp_DipendentiAndAnomalieRowChanging" msprop:Generator_RowEvHandlerName="stp_DipendentiAndAnomalieRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_DipendentiAndAnomalieRowDeleted" msprop:Generator_UserTableName="stp_DipendentiAndAnomalie" msprop:Generator_RowChangedName="stp_DipendentiAndAnomalieRowChanged" msprop:Generator_RowEvArgName="stp_DipendentiAndAnomalieRowChangeEvent" msprop:Generator_RowClassName="stp_DipendentiAndAnomalieRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxDipendente" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
|
||||
@@ -3366,10 +3452,10 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="TE_RA_Expl" msprop:Generator_TableClassName="TE_RA_ExplDataTable" msprop:Generator_TableVarName="tableTE_RA_Expl" msprop:Generator_RowChangedName="TE_RA_ExplRowChanged" msprop:Generator_TablePropName="TE_RA_Expl" msprop:Generator_RowDeletingName="TE_RA_ExplRowDeleting" msprop:Generator_RowChangingName="TE_RA_ExplRowChanging" msprop:Generator_RowEvHandlerName="TE_RA_ExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TE_RA_ExplRowDeleted" msprop:Generator_RowClassName="TE_RA_ExplRow" msprop:Generator_UserTableName="TE_RA_Expl" msprop:Generator_RowEvArgName="TE_RA_ExplRowChangeEvent">
|
||||
<xs:element name="TE_RA_Expl" msprop:Generator_TableClassName="TE_RA_ExplDataTable" msprop:Generator_TableVarName="tableTE_RA_Expl" msprop:Generator_TablePropName="TE_RA_Expl" msprop:Generator_RowDeletingName="TE_RA_ExplRowDeleting" msprop:Generator_RowChangingName="TE_RA_ExplRowChanging" msprop:Generator_RowEvHandlerName="TE_RA_ExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TE_RA_ExplRowDeleted" msprop:Generator_UserTableName="TE_RA_Expl" msprop:Generator_RowChangedName="TE_RA_ExplRowChanged" msprop:Generator_RowEvArgName="TE_RA_ExplRowChangeEvent" msprop:Generator_RowClassName="TE_RA_ExplRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="dataLav" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columndataLav" msprop:Generator_ColumnPropNameInRow="dataLav" msprop:Generator_ColumnPropNameInTable="dataLavColumn" msprop:Generator_UserColumnName="dataLav" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="dataLav" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columndataLav" msprop:Generator_ColumnPropNameInRow="dataLav" msprop:Generator_ColumnPropNameInTable="dataLavColumn" msprop:Generator_UserColumnName="dataLav" type="xs:dateTime" />
|
||||
<xs:element name="idxDipendente" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
|
||||
<xs:element name="CognomeNome" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCognomeNome" msprop:Generator_ColumnPropNameInRow="CognomeNome" msprop:Generator_ColumnPropNameInTable="CognomeNomeColumn" msprop:Generator_UserColumnName="CognomeNome" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
@@ -3431,7 +3517,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="regAttDayExpl" msprop:Generator_TableClassName="regAttDayExplDataTable" msprop:Generator_TableVarName="tableregAttDayExpl" msprop:Generator_RowChangedName="regAttDayExplRowChanged" msprop:Generator_TablePropName="regAttDayExpl" msprop:Generator_RowDeletingName="regAttDayExplRowDeleting" msprop:Generator_RowChangingName="regAttDayExplRowChanging" msprop:Generator_RowEvHandlerName="regAttDayExplRowChangeEventHandler" msprop:Generator_RowDeletedName="regAttDayExplRowDeleted" msprop:Generator_RowClassName="regAttDayExplRow" msprop:Generator_UserTableName="regAttDayExpl" msprop:Generator_RowEvArgName="regAttDayExplRowChangeEvent">
|
||||
<xs:element name="regAttDayExpl" msprop:Generator_TableClassName="regAttDayExplDataTable" msprop:Generator_TableVarName="tableregAttDayExpl" msprop:Generator_TablePropName="regAttDayExpl" msprop:Generator_RowDeletingName="regAttDayExplRowDeleting" msprop:Generator_RowChangingName="regAttDayExplRowChanging" msprop:Generator_RowEvHandlerName="regAttDayExplRowChangeEventHandler" msprop:Generator_RowDeletedName="regAttDayExplRowDeleted" msprop:Generator_UserTableName="regAttDayExpl" msprop:Generator_RowChangedName="regAttDayExplRowChanged" msprop:Generator_RowEvArgName="regAttDayExplRowChangeEvent" msprop:Generator_RowClassName="regAttDayExplRow">
|
||||
<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" />
|
||||
@@ -3479,7 +3565,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagProgetti_Expl" msprop:Generator_TableClassName="AnagProgetti_ExplDataTable" msprop:Generator_TableVarName="tableAnagProgetti_Expl" msprop:Generator_TablePropName="AnagProgetti_Expl" msprop:Generator_RowDeletingName="AnagProgetti_ExplRowDeleting" msprop:Generator_RowChangingName="AnagProgetti_ExplRowChanging" msprop:Generator_RowEvHandlerName="AnagProgetti_ExplRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgetti_ExplRowDeleted" msprop:Generator_UserTableName="AnagProgetti_Expl" msprop:Generator_RowChangedName="AnagProgetti_ExplRowChanged" msprop:Generator_RowEvArgName="AnagProgetti_ExplRowChangeEvent" msprop:Generator_RowClassName="AnagProgetti_ExplRow">
|
||||
<xs:element name="AnagProgetti_Expl" msprop:Generator_TableClassName="AnagProgetti_ExplDataTable" msprop:Generator_TableVarName="tableAnagProgetti_Expl" msprop:Generator_RowChangedName="AnagProgetti_ExplRowChanged" msprop:Generator_TablePropName="AnagProgetti_Expl" msprop:Generator_RowDeletingName="AnagProgetti_ExplRowDeleting" msprop:Generator_RowChangingName="AnagProgetti_ExplRowChanging" msprop:Generator_RowEvHandlerName="AnagProgetti_ExplRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgetti_ExplRowDeleted" msprop:Generator_RowClassName="AnagProgetti_ExplRow" msprop:Generator_UserTableName="AnagProgetti_Expl" msprop:Generator_RowEvArgName="AnagProgetti_ExplRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="RagSociale" msprop:Generator_ColumnVarNameInTable="columnRagSociale" msprop:Generator_ColumnPropNameInRow="RagSociale" msprop:Generator_ColumnPropNameInTable="RagSocialeColumn" msprop:Generator_UserColumnName="RagSociale" minOccurs="0">
|
||||
@@ -3520,7 +3606,7 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="RegistroEventi" msprop:Generator_TableClassName="RegistroEventiDataTable" msprop:Generator_TableVarName="tableRegistroEventi" msprop:Generator_RowChangedName="RegistroEventiRowChanged" msprop:Generator_TablePropName="RegistroEventi" msprop:Generator_RowDeletingName="RegistroEventiRowDeleting" msprop:Generator_RowChangingName="RegistroEventiRowChanging" msprop:Generator_RowEvHandlerName="RegistroEventiRowChangeEventHandler" msprop:Generator_RowDeletedName="RegistroEventiRowDeleted" msprop:Generator_RowClassName="RegistroEventiRow" msprop:Generator_UserTableName="RegistroEventi" msprop:Generator_RowEvArgName="RegistroEventiRowChangeEvent">
|
||||
<xs:element name="RegistroEventi" msprop:Generator_TableClassName="RegistroEventiDataTable" msprop:Generator_TableVarName="tableRegistroEventi" msprop:Generator_TablePropName="RegistroEventi" msprop:Generator_RowDeletingName="RegistroEventiRowDeleting" msprop:Generator_RowChangingName="RegistroEventiRowChanging" msprop:Generator_RowEvHandlerName="RegistroEventiRowChangeEventHandler" msprop:Generator_RowDeletedName="RegistroEventiRowDeleted" msprop:Generator_UserTableName="RegistroEventi" msprop:Generator_RowChangedName="RegistroEventiRowChanged" msprop:Generator_RowEvArgName="RegistroEventiRowChangeEvent" msprop:Generator_RowClassName="RegistroEventiRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="DataOra" msprop:Generator_ColumnVarNameInTable="columnDataOra" msprop:Generator_ColumnPropNameInRow="DataOra" msprop:Generator_ColumnPropNameInTable="DataOraColumn" msprop:Generator_UserColumnName="DataOra" type="xs:dateTime" />
|
||||
@@ -3541,6 +3627,15 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="RilievoTemp" msprop:Generator_TableClassName="RilievoTempDataTable" msprop:Generator_TableVarName="tableRilievoTemp" msprop:Generator_TablePropName="RilievoTemp" msprop:Generator_RowDeletingName="RilievoTempRowDeleting" msprop:Generator_RowChangingName="RilievoTempRowChanging" msprop:Generator_RowEvHandlerName="RilievoTempRowChangeEventHandler" msprop:Generator_RowDeletedName="RilievoTempRowDeleted" msprop:Generator_UserTableName="RilievoTemp" msprop:Generator_RowChangedName="RilievoTempRowChanged" msprop:Generator_RowEvArgName="RilievoTempRowChangeEvent" msprop:Generator_RowClassName="RilievoTempRow">
|
||||
<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" />
|
||||
<xs:element name="dtRilievo" msprop:Generator_ColumnVarNameInTable="columndtRilievo" msprop:Generator_ColumnPropNameInRow="dtRilievo" msprop:Generator_ColumnPropNameInTable="dtRilievoColumn" msprop:Generator_UserColumnName="dtRilievo" type="xs:dateTime" />
|
||||
<xs:element name="tempRil" msprop:Generator_ColumnVarNameInTable="columntempRil" msprop:Generator_ColumnPropNameInRow="tempRil" msprop:Generator_ColumnPropNameInTable="tempRilColumn" msprop:Generator_UserColumnName="tempRil" type="xs:decimal" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||
@@ -3629,15 +3724,21 @@ SELECT DataOra, evento, commento FROM RegistroEventi WHERE (DataOra = @DataOra)
|
||||
<xs:field xpath="mstns:DataOra" />
|
||||
<xs:field xpath="mstns:evento" />
|
||||
</xs:unique>
|
||||
<xs:unique name="RilievoTemp_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:RilievoTemp" />
|
||||
<xs:field xpath="mstns:idxDipendente" />
|
||||
<xs:field xpath="mstns:dtRilievo" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<msdata:Relationship name="FK_Timbrature_Dipendenti" msdata:parent="Dipendenti" msdata:child="Timbrature" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserChildTable="Timbrature" msprop:Generator_ChildPropName="GetTimbratureRows" msprop:Generator_UserRelationName="FK_Timbrature_Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" msprop:Generator_RelationVarName="relationFK_Timbrature_Dipendenti" msprop:Generator_UserParentTable="Dipendenti" />
|
||||
<msdata:Relationship name="FK_AnagProgetti_AnagClienti" msdata:parent="AnagClienti" msdata:child="AnagProgetti" msdata:parentkey="idxCliente" msdata:childkey="idxCliente" msprop:Generator_UserChildTable="AnagProgetti" msprop:Generator_ChildPropName="GetAnagProgettiRows" msprop:Generator_UserRelationName="FK_AnagProgetti_AnagClienti" msprop:Generator_ParentPropName="AnagClientiRow" msprop:Generator_RelationVarName="relationFK_AnagProgetti_AnagClienti" msprop:Generator_UserParentTable="AnagClienti" />
|
||||
<msdata:Relationship name="FK_AnagFasi_AnagProgetti" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="FK_AnagFasi_AnagProgetti" msprop:Generator_ParentPropName="AnagProgettiRow" msprop:Generator_RelationVarName="relationFK_AnagFasi_AnagProgetti" msprop:Generator_UserParentTable="AnagProgetti" />
|
||||
<msdata:Relationship name="FK_RegAttivita_AnagFasi" msdata:parent="AnagFasi" msdata:child="RegAttivita" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="RegAttivita" msprop:Generator_ChildPropName="GetRegAttivitaRows" msprop:Generator_UserRelationName="FK_RegAttivita_AnagFasi" msprop:Generator_ParentPropName="AnagFasiRow" msprop:Generator_RelationVarName="relationFK_RegAttivita_AnagFasi" msprop:Generator_UserParentTable="AnagFasi" />
|
||||
<msdata:Relationship name="FK_RegAttivita_Dipendenti" msdata:parent="Dipendenti" msdata:child="RegAttivita" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserChildTable="RegAttivita" msprop:Generator_ChildPropName="GetRegAttivitaRows" msprop:Generator_UserRelationName="FK_RegAttivita_Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" msprop:Generator_RelationVarName="relationFK_RegAttivita_Dipendenti" msprop:Generator_UserParentTable="Dipendenti" />
|
||||
<msdata:Relationship name="FK_Dipendenti_AnagOrari" msdata:parent="AnagOrari" msdata:child="Dipendenti" msdata:parentkey="codOrario" msdata:childkey="codOrario" msprop:Generator_UserChildTable="Dipendenti" msprop:Generator_ChildPropName="GetDipendentiRows" msprop:Generator_UserRelationName="FK_Dipendenti_AnagOrari" msprop:Generator_RelationVarName="relationFK_Dipendenti_AnagOrari" msprop:Generator_UserParentTable="AnagOrari" msprop:Generator_ParentPropName="AnagOrariRow" />
|
||||
<msdata:Relationship name="FK_Timbrature_Dipendenti" msdata:parent="Dipendenti" msdata:child="Timbrature" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserChildTable="Timbrature" msprop:Generator_ChildPropName="GetTimbratureRows" msprop:Generator_UserRelationName="FK_Timbrature_Dipendenti" msprop:Generator_RelationVarName="relationFK_Timbrature_Dipendenti" msprop:Generator_UserParentTable="Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" />
|
||||
<msdata:Relationship name="FK_AnagProgetti_AnagClienti" msdata:parent="AnagClienti" msdata:child="AnagProgetti" msdata:parentkey="idxCliente" msdata:childkey="idxCliente" msprop:Generator_UserChildTable="AnagProgetti" msprop:Generator_ChildPropName="GetAnagProgettiRows" msprop:Generator_UserRelationName="FK_AnagProgetti_AnagClienti" msprop:Generator_RelationVarName="relationFK_AnagProgetti_AnagClienti" msprop:Generator_UserParentTable="AnagClienti" msprop:Generator_ParentPropName="AnagClientiRow" />
|
||||
<msdata:Relationship name="FK_AnagFasi_AnagProgetti" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="FK_AnagFasi_AnagProgetti" msprop:Generator_RelationVarName="relationFK_AnagFasi_AnagProgetti" msprop:Generator_UserParentTable="AnagProgetti" msprop:Generator_ParentPropName="AnagProgettiRow" />
|
||||
<msdata:Relationship name="FK_RegAttivita_AnagFasi" msdata:parent="AnagFasi" msdata:child="RegAttivita" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="RegAttivita" msprop:Generator_ChildPropName="GetRegAttivitaRows" msprop:Generator_UserRelationName="FK_RegAttivita_AnagFasi" msprop:Generator_RelationVarName="relationFK_RegAttivita_AnagFasi" msprop:Generator_UserParentTable="AnagFasi" msprop:Generator_ParentPropName="AnagFasiRow" />
|
||||
<msdata:Relationship name="FK_RegAttivita_Dipendenti" msdata:parent="Dipendenti" msdata:child="RegAttivita" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserChildTable="RegAttivita" msprop:Generator_ChildPropName="GetRegAttivitaRows" msprop:Generator_UserRelationName="FK_RegAttivita_Dipendenti" msprop:Generator_RelationVarName="relationFK_RegAttivita_Dipendenti" msprop:Generator_UserParentTable="Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" />
|
||||
<msdata:Relationship name="FK_Dipendenti_AnagOrari" msdata:parent="AnagOrari" msdata:child="Dipendenti" msdata:parentkey="codOrario" msdata:childkey="codOrario" msprop:Generator_UserChildTable="Dipendenti" msprop:Generator_ChildPropName="GetDipendentiRows" msprop:Generator_UserRelationName="FK_Dipendenti_AnagOrari" msprop:Generator_ParentPropName="AnagOrariRow" msprop:Generator_RelationVarName="relationFK_Dipendenti_AnagOrari" msprop:Generator_UserParentTable="AnagOrari" />
|
||||
<msdata:Relationship name="FK_RilievoTemp_Dipendenti" msdata:parent="Dipendenti" msdata:child="RilievoTemp" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserChildTable="RilievoTemp" msprop:Generator_ChildPropName="GetRilievoTempRows" msprop:Generator_UserRelationName="FK_RilievoTemp_Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" msprop:Generator_RelationVarName="relationFK_RilievoTemp_Dipendenti" msprop:Generator_UserParentTable="Dipendenti" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
@@ -4,30 +4,31 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-47" 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="262" ViewPortY="472" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:Timbrature" ZOrder="24" X="279" Y="76" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:TimbratureExpl" ZOrder="1" X="622" Y="64" Height="503" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:AnagDevices" ZOrder="18" X="937" Y="134" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:Dipendenti" ZOrder="9" X="279" Y="478" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagClienti" ZOrder="11" X="1234" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagProgetti" ZOrder="5" X="886" Y="976" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Dipendenti2Ruoli" ZOrder="23" X="579" Y="943" Height="153" Width="276" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagFasi" ZOrder="4" X="871" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:v_logCommUt" ZOrder="12" X="1204" Y="1309" Height="388" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:RegAttivita" ZOrder="6" X="598" Y="591" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="2" X="597" Y="1126" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:AnagOrari" ZOrder="15" X="278" Y="1055" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:TimbMeseExpl" ZOrder="17" X="1249" Y="134" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Giustificativi" ZOrder="3" X="885" Y="1385" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:stp_DipendentiAndAnomalie" ZOrder="16" X="82" Y="1313" Height="134" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:TE_RA_Expl" ZOrder="8" X="-3" Y="176" Height="365" Width="267" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:regAttDayExpl" ZOrder="13" X="19" Y="886" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagProgetti_Expl" ZOrder="10" X="1236" Y="992" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:RegistroEventi" ZOrder="7" X="85" Y="1476" Height="153" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:Timbrature" ZOrder="26" X="279" Y="76" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:TimbratureExpl" ZOrder="3" X="622" Y="64" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagDevices" ZOrder="20" X="937" Y="134" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:Dipendenti" ZOrder="11" X="279" Y="478" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagClienti" ZOrder="13" X="1234" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagProgetti" ZOrder="7" X="886" Y="976" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Dipendenti2Ruoli" ZOrder="25" X="579" Y="943" Height="153" Width="276" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagFasi" ZOrder="6" X="871" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:v_logCommUt" ZOrder="14" X="1204" Y="1309" Height="388" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:RegAttivita" ZOrder="8" X="598" Y="591" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="4" X="597" Y="1126" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:AnagOrari" ZOrder="17" X="278" Y="1055" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:TimbMeseExpl" ZOrder="19" X="1249" Y="134" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Giustificativi" ZOrder="5" X="885" Y="1385" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:stp_DipendentiAndAnomalie" ZOrder="18" X="82" Y="1313" Height="134" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:TE_RA_Expl" ZOrder="10" X="-3" Y="176" Height="365" Width="267" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
|
||||
<Shape ID="DesignTable:regAttDayExpl" ZOrder="15" X="19" Y="886" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagProgetti_Expl" ZOrder="12" X="1236" Y="992" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:RegistroEventi" ZOrder="9" X="85" Y="1476" Height="153" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:RilievoTemp" ZOrder="2" X="528" Y="1434" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_Timbrature_Dipendenti" ZOrder="25" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Timbrature_Dipendenti" ZOrder="27" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>385</X>
|
||||
@@ -39,7 +40,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_AnagProgetti_AnagClienti" ZOrder="14" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_AnagProgetti_AnagClienti" ZOrder="16" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1234</X>
|
||||
@@ -59,7 +60,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_AnagFasi_AnagProgetti" ZOrder="22" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_AnagFasi_AnagProgetti" ZOrder="24" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1186</X>
|
||||
@@ -79,7 +80,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_RegAttivita_AnagFasi" ZOrder="21" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_RegAttivita_AnagFasi" ZOrder="23" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>871</X>
|
||||
@@ -95,7 +96,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_RegAttivita_Dipendenti" ZOrder="20" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_RegAttivita_Dipendenti" ZOrder="22" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>579</X>
|
||||
@@ -107,7 +108,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Dipendenti_AnagOrari" ZOrder="19" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Dipendenti_AnagOrari" ZOrder="21" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>324</X>
|
||||
@@ -119,5 +120,17 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_RilievoTemp_Dipendenti" ZOrder="1" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>553</X>
|
||||
<Y>859</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>553</X>
|
||||
<Y>1434</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
</Connectors>
|
||||
</DiagramLayout>
|
||||
+248
-244
@@ -3,177 +3,181 @@ using System;
|
||||
|
||||
namespace GPW_data
|
||||
{
|
||||
/// <summary>
|
||||
/// proxy accesso ai dati
|
||||
/// </summary>
|
||||
public class DataProxy
|
||||
{
|
||||
#region area table adapters
|
||||
|
||||
public DS_ApplicazioneTableAdapters.AnagClientiTableAdapter taAnCli;
|
||||
public DS_ApplicazioneTableAdapters.TimbratureTableAdapter taTimb;
|
||||
public DS_ApplicazioneTableAdapters.TimbratureExplTableAdapter taTimbExpl;
|
||||
public DS_ApplicazioneTableAdapters.AnagDevicesTableAdapter taAnagDev;
|
||||
public DS_ApplicazioneTableAdapters.DipendentiTableAdapter taDipendenti;
|
||||
public DS_ApplicazioneTableAdapters.Dipendenti2RuoliTableAdapter taDip2Ruoli;
|
||||
public DS_ApplicazioneTableAdapters.AnagProgettiTableAdapter taAP;
|
||||
public DS_ApplicazioneTableAdapters.AnagFasiTableAdapter taAF;
|
||||
public DS_ApplicazioneTableAdapters.v_logCommUtTableAdapter taLCU;
|
||||
public DS_ApplicazioneTableAdapters.RegAttivitaTableAdapter taRA;
|
||||
public DS_ApplicazioneTableAdapters.regAttDayExplTableAdapter taRAExpl;
|
||||
public DS_ApplicazioneTableAdapters.AnagOrariTableAdapter taAO;
|
||||
public DS_ApplicazioneTableAdapters.GiustificativiTableAdapter taGiust;
|
||||
public DS_ApplicazioneTableAdapters.stp_DipendentiAndAnomalieTableAdapter taDipAnom;
|
||||
public DS_ApplicazioneTableAdapters.TE_RA_ExplTableAdapter taTimbRegAtt;
|
||||
public DS_ApplicazioneTableAdapters.RegistroEventiTableAdapter taRE;
|
||||
public DS_ApplicazioneTableAdapters.CalendFesteFerieTableAdapter taCFF;
|
||||
|
||||
public DS_UtilityTableAdapters.nextValContatoreTableAdapter taNextVal;
|
||||
public DS_UtilityTableAdapters.AnagKeyValueTableAdapter taAKV;
|
||||
public DS_UtilityTableAdapters.stp_VSProjFasi_searchTableAdapter taVSProjFasiSearch;
|
||||
public DS_UtilityTableAdapters.v_selProjFasiTableAdapter taVSPF;
|
||||
|
||||
public DS_exportTableAdapters.TimbratureZucchettiTableAdapter taExpZucc;
|
||||
public DS_exportTableAdapters.RegAtt_pivotTableAdapter taExpComm;
|
||||
|
||||
/// <summary>
|
||||
/// init dei table adapters
|
||||
/// proxy accesso ai dati
|
||||
/// </summary>
|
||||
protected void initTA()
|
||||
public class DataProxy
|
||||
{
|
||||
taAnCli = new DS_ApplicazioneTableAdapters.AnagClientiTableAdapter();
|
||||
taTimb = new DS_ApplicazioneTableAdapters.TimbratureTableAdapter();
|
||||
taTimbExpl = new DS_ApplicazioneTableAdapters.TimbratureExplTableAdapter();
|
||||
taAnagDev = new DS_ApplicazioneTableAdapters.AnagDevicesTableAdapter();
|
||||
taDipendenti = new DS_ApplicazioneTableAdapters.DipendentiTableAdapter();
|
||||
taDip2Ruoli = new DS_ApplicazioneTableAdapters.Dipendenti2RuoliTableAdapter();
|
||||
taAP = new DS_ApplicazioneTableAdapters.AnagProgettiTableAdapter();
|
||||
taAF = new DS_ApplicazioneTableAdapters.AnagFasiTableAdapter();
|
||||
taLCU = new DS_ApplicazioneTableAdapters.v_logCommUtTableAdapter();
|
||||
taRA = new DS_ApplicazioneTableAdapters.RegAttivitaTableAdapter();
|
||||
taRAExpl = new DS_ApplicazioneTableAdapters.regAttDayExplTableAdapter();
|
||||
taAO = new DS_ApplicazioneTableAdapters.AnagOrariTableAdapter();
|
||||
taGiust = new DS_ApplicazioneTableAdapters.GiustificativiTableAdapter();
|
||||
taDipAnom = new DS_ApplicazioneTableAdapters.stp_DipendentiAndAnomalieTableAdapter();
|
||||
taTimbRegAtt = new DS_ApplicazioneTableAdapters.TE_RA_ExplTableAdapter();
|
||||
taRE = new DS_ApplicazioneTableAdapters.RegistroEventiTableAdapter();
|
||||
taCFF = new DS_ApplicazioneTableAdapters.CalendFesteFerieTableAdapter();
|
||||
taNextVal = new DS_UtilityTableAdapters.nextValContatoreTableAdapter();
|
||||
taAKV = new DS_UtilityTableAdapters.AnagKeyValueTableAdapter();
|
||||
taVSProjFasiSearch = new DS_UtilityTableAdapters.stp_VSProjFasi_searchTableAdapter();
|
||||
taVSPF = new DS_UtilityTableAdapters.v_selProjFasiTableAdapter();
|
||||
taExpZucc = new DS_exportTableAdapters.TimbratureZucchettiTableAdapter();
|
||||
taExpComm = new DS_exportTableAdapters.RegAtt_pivotTableAdapter();
|
||||
}
|
||||
/// <summary>
|
||||
/// effettua setup dei connection strings da web.config delal singola applicazione
|
||||
/// </summary>
|
||||
protected virtual void setupConnectionStringBase()
|
||||
{
|
||||
// connections del db
|
||||
taAnCli.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taTimb.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taTimbExpl.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taAnagDev.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taDipendenti.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taDip2Ruoli.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taAP.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taAF.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taLCU.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taRA.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taRAExpl.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taAO.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taGiust.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taDipAnom.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taTimbRegAtt.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taRE.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taCFF.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taNextVal.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taAKV.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taVSProjFasiSearch.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taVSPF.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taExpZucc.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
taExpComm.Connection.ConnectionString = memLayer.ML.confReadString("GPWConnectionString");
|
||||
}
|
||||
#region area table adapters
|
||||
|
||||
#endregion
|
||||
public DS_ApplicazioneTableAdapters.AnagClientiTableAdapter taAnCli;
|
||||
public DS_ApplicazioneTableAdapters.TimbratureTableAdapter taTimb;
|
||||
public DS_ApplicazioneTableAdapters.TimbratureExplTableAdapter taTimbExpl;
|
||||
public DS_ApplicazioneTableAdapters.AnagDevicesTableAdapter taAnagDev;
|
||||
public DS_ApplicazioneTableAdapters.DipendentiTableAdapter taDipendenti;
|
||||
public DS_ApplicazioneTableAdapters.Dipendenti2RuoliTableAdapter taDip2Ruoli;
|
||||
public DS_ApplicazioneTableAdapters.AnagProgettiTableAdapter taAP;
|
||||
public DS_ApplicazioneTableAdapters.AnagFasiTableAdapter taAF;
|
||||
public DS_ApplicazioneTableAdapters.v_logCommUtTableAdapter taLCU;
|
||||
public DS_ApplicazioneTableAdapters.RegAttivitaTableAdapter taRA;
|
||||
public DS_ApplicazioneTableAdapters.regAttDayExplTableAdapter taRAExpl;
|
||||
public DS_ApplicazioneTableAdapters.AnagOrariTableAdapter taAO;
|
||||
public DS_ApplicazioneTableAdapters.GiustificativiTableAdapter taGiust;
|
||||
public DS_ApplicazioneTableAdapters.stp_DipendentiAndAnomalieTableAdapter taDipAnom;
|
||||
public DS_ApplicazioneTableAdapters.TE_RA_ExplTableAdapter taTimbRegAtt;
|
||||
public DS_ApplicazioneTableAdapters.RegistroEventiTableAdapter taRE;
|
||||
public DS_ApplicazioneTableAdapters.CalendFesteFerieTableAdapter taCFF;
|
||||
public DS_ApplicazioneTableAdapters.RilievoTempTableAdapter taRT;
|
||||
|
||||
protected DataProxy()
|
||||
{
|
||||
initTA();
|
||||
setupConnectionStringBase();
|
||||
}
|
||||
/// <summary>
|
||||
/// Singleton accesso a DataProxy
|
||||
/// </summary>
|
||||
public static DataProxy DP = new DataProxy();
|
||||
public DS_UtilityTableAdapters.nextValContatoreTableAdapter taNextVal;
|
||||
public DS_UtilityTableAdapters.AnagKeyValueTableAdapter taAKV;
|
||||
public DS_UtilityTableAdapters.stp_VSProjFasi_searchTableAdapter taVSProjFasiSearch;
|
||||
public DS_UtilityTableAdapters.v_selProjFasiTableAdapter taVSPF;
|
||||
|
||||
#region utility public esposte
|
||||
public DS_exportTableAdapters.TimbratureZucchettiTableAdapter taExpZucc;
|
||||
public DS_exportTableAdapters.RegAtt_pivotTableAdapter taExpComm;
|
||||
|
||||
/// <summary>
|
||||
/// invia una mail al destinatario x linkare nuovi devices tramite URL
|
||||
/// </summary>
|
||||
/// <param name="destinatario"></param>
|
||||
/// <param name="UserAuthKey"></param>
|
||||
/// <param name="idxDipendente"></param>
|
||||
/// <returns></returns>
|
||||
public bool sendUserAuthEmail(string destinatario, string UserAuthKey, int idxDipendente)
|
||||
{
|
||||
bool fatto = false;
|
||||
string mittente = "";
|
||||
string oggetto = "";
|
||||
string userUrl = "";
|
||||
string baseUrl = "";
|
||||
string userWebUrl = "";
|
||||
string baseWebUrl = "";
|
||||
string corpo = "";
|
||||
try
|
||||
{
|
||||
// compongo la stringa
|
||||
mittente = memLayer.ML.confReadString("_fromEmail");
|
||||
oggetto = "Link autorizzazione device per GPW";
|
||||
baseUrl = memLayer.ML.confReadString("baseUrl");
|
||||
baseWebUrl = memLayer.ML.confReadString("baseWebUrl");
|
||||
userUrl = string.Format("{2}jumper?UserAuthkey={0}&idxDipendente={1}", UserAuthKey, idxDipendente, baseUrl);
|
||||
userWebUrl = string.Format("{2}jumper?UserAuthkey={0}&idxDipendente={1}", UserAuthKey, idxDipendente, baseWebUrl);
|
||||
corpo = string.Format("Hai ricevuto questa email su richiesta tua o dell'Admin per poter procedere a registrare un (nuovo) devices con GPW:{0}<br/>Per proseguire clicca sul link seguente(rete interna):<br />{0}{0}{1}{0}{0}<br /><br />oppure sul link seguente (internet):<br />{0}{0}{2}{0}{0}<br /><br />Team GPW Steamware", Environment.NewLine, userUrl, userWebUrl);
|
||||
fatto = gestEmail.geAuth.mandaEmail(mittente, destinatario, oggetto, corpo);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return fatto;
|
||||
}
|
||||
/// <summary>
|
||||
/// effettua enroll del device
|
||||
/// </summary>
|
||||
/// <param name="UserAuthKey"></param>
|
||||
/// <param name="IPv4"></param>
|
||||
/// <param name="DeviceName"></param>
|
||||
/// <param name="Description"></param>
|
||||
/// <param name="idxDipendente"></param>
|
||||
/// <returns></returns>
|
||||
public bool enrollDevice(string UserAuthKey, string IPv4, string DeviceName, string Description, int idxDipendente)
|
||||
{
|
||||
bool fatto = false;
|
||||
// in primis testo se dipendente ed authKey sono validi..
|
||||
if (DataProxy.DP.taDipendenti.getByAuthKey(idxDipendente, UserAuthKey).Rows.Count > 0)
|
||||
{
|
||||
/// <summary>
|
||||
/// init dei table adapters
|
||||
/// </summary>
|
||||
protected void initTA()
|
||||
{
|
||||
taAnCli = new DS_ApplicazioneTableAdapters.AnagClientiTableAdapter();
|
||||
taTimb = new DS_ApplicazioneTableAdapters.TimbratureTableAdapter();
|
||||
taTimbExpl = new DS_ApplicazioneTableAdapters.TimbratureExplTableAdapter();
|
||||
taAnagDev = new DS_ApplicazioneTableAdapters.AnagDevicesTableAdapter();
|
||||
taDipendenti = new DS_ApplicazioneTableAdapters.DipendentiTableAdapter();
|
||||
taDip2Ruoli = new DS_ApplicazioneTableAdapters.Dipendenti2RuoliTableAdapter();
|
||||
taAP = new DS_ApplicazioneTableAdapters.AnagProgettiTableAdapter();
|
||||
taAF = new DS_ApplicazioneTableAdapters.AnagFasiTableAdapter();
|
||||
taLCU = new DS_ApplicazioneTableAdapters.v_logCommUtTableAdapter();
|
||||
taRA = new DS_ApplicazioneTableAdapters.RegAttivitaTableAdapter();
|
||||
taRAExpl = new DS_ApplicazioneTableAdapters.regAttDayExplTableAdapter();
|
||||
taAO = new DS_ApplicazioneTableAdapters.AnagOrariTableAdapter();
|
||||
taGiust = new DS_ApplicazioneTableAdapters.GiustificativiTableAdapter();
|
||||
taDipAnom = new DS_ApplicazioneTableAdapters.stp_DipendentiAndAnomalieTableAdapter();
|
||||
taTimbRegAtt = new DS_ApplicazioneTableAdapters.TE_RA_ExplTableAdapter();
|
||||
taRE = new DS_ApplicazioneTableAdapters.RegistroEventiTableAdapter();
|
||||
taCFF = new DS_ApplicazioneTableAdapters.CalendFesteFerieTableAdapter();
|
||||
taRT = new DS_ApplicazioneTableAdapters.RilievoTempTableAdapter();
|
||||
taNextVal = new DS_UtilityTableAdapters.nextValContatoreTableAdapter();
|
||||
taAKV = new DS_UtilityTableAdapters.AnagKeyValueTableAdapter();
|
||||
taVSProjFasiSearch = new DS_UtilityTableAdapters.stp_VSProjFasi_searchTableAdapter();
|
||||
taVSPF = new DS_UtilityTableAdapters.v_selProjFasiTableAdapter();
|
||||
taExpZucc = new DS_exportTableAdapters.TimbratureZucchettiTableAdapter();
|
||||
taExpComm = new DS_exportTableAdapters.RegAtt_pivotTableAdapter();
|
||||
}
|
||||
/// <summary>
|
||||
/// effettua setup dei connection strings da web.config delal singola applicazione
|
||||
/// </summary>
|
||||
protected virtual void setupConnectionStringBase()
|
||||
{
|
||||
string connGPW = memLayer.ML.confReadString("GPWConnectionString");
|
||||
// connections del db
|
||||
taAnCli.Connection.ConnectionString = connGPW;
|
||||
taTimb.Connection.ConnectionString = connGPW;
|
||||
taTimbExpl.Connection.ConnectionString = connGPW;
|
||||
taAnagDev.Connection.ConnectionString = connGPW;
|
||||
taDipendenti.Connection.ConnectionString = connGPW;
|
||||
taDip2Ruoli.Connection.ConnectionString = connGPW;
|
||||
taAP.Connection.ConnectionString = connGPW;
|
||||
taAF.Connection.ConnectionString = connGPW;
|
||||
taLCU.Connection.ConnectionString = connGPW;
|
||||
taRA.Connection.ConnectionString = connGPW;
|
||||
taRAExpl.Connection.ConnectionString = connGPW;
|
||||
taAO.Connection.ConnectionString = connGPW;
|
||||
taGiust.Connection.ConnectionString = connGPW;
|
||||
taDipAnom.Connection.ConnectionString = connGPW;
|
||||
taTimbRegAtt.Connection.ConnectionString = connGPW;
|
||||
taRE.Connection.ConnectionString = connGPW;
|
||||
taCFF.Connection.ConnectionString = connGPW;
|
||||
taNextVal.Connection.ConnectionString = connGPW;
|
||||
taRT.Connection.ConnectionString = connGPW;
|
||||
taAKV.Connection.ConnectionString = connGPW;
|
||||
taVSProjFasiSearch.Connection.ConnectionString = connGPW;
|
||||
taVSPF.Connection.ConnectionString = connGPW;
|
||||
taExpZucc.Connection.ConnectionString = connGPW;
|
||||
taExpComm.Connection.ConnectionString = connGPW;
|
||||
}
|
||||
|
||||
/************************************************
|
||||
* Gestione riconoscimento devices
|
||||
*
|
||||
* - cerco IP del device, testo se è rete interna (A) o extranet/internet (B) cercando substring "localNet" da web.config
|
||||
* (A): device interni: c'è un DHCP, e "dhcpLeaseTime" deve essere pari a lease time---
|
||||
* - verifico se IP già in uso da un tempo < "dhcpLeaseTime" --> in questo caso segnalo errore e rimbalzo (NON permetto di registrare device a nuovo utente... sospetto uso "improprio" del device
|
||||
* - se tempo > dhcpLeaseTime allora può aver cambiato IP: aggiorno IP e descrizione del device e proseguo
|
||||
* (B): all'esterno vedo tutta una subnet NATtata con unico IP, non è + discriminante
|
||||
* - le timbrature "da esterno" devono essere confermate (instrodurre "tipo timbratura" x cui interne sono autoconfermate, esterne sono "grayed" (da confermare, da admin o ad esempio se si accende secondo device utente entro 5/10 min)
|
||||
* - le timbrature ext DOVREBBERO chiedere location (jScript?) e inviarla, visibile in conferma
|
||||
*
|
||||
*
|
||||
* **********************************************/
|
||||
#endregion
|
||||
|
||||
//!!!RIFARE!!! non è + importante device name e description come distinti ma "quasi distinti" gli IP "intranet" o meglio anche ripetuto se a distanza di tempo
|
||||
protected DataProxy()
|
||||
{
|
||||
initTA();
|
||||
setupConnectionStringBase();
|
||||
}
|
||||
/// <summary>
|
||||
/// Singleton accesso a DataProxy
|
||||
/// </summary>
|
||||
public static DataProxy DP = new DataProxy();
|
||||
|
||||
#region utility public esposte
|
||||
|
||||
/// <summary>
|
||||
/// invia una mail al destinatario x linkare nuovi devices tramite URL
|
||||
/// </summary>
|
||||
/// <param name="destinatario"></param>
|
||||
/// <param name="UserAuthKey"></param>
|
||||
/// <param name="idxDipendente"></param>
|
||||
/// <returns></returns>
|
||||
public bool sendUserAuthEmail(string destinatario, string UserAuthKey, int idxDipendente)
|
||||
{
|
||||
bool fatto = false;
|
||||
string mittente = "";
|
||||
string oggetto = "";
|
||||
string userUrl = "";
|
||||
string baseUrl = "";
|
||||
string userWebUrl = "";
|
||||
string baseWebUrl = "";
|
||||
string corpo = "";
|
||||
try
|
||||
{
|
||||
// compongo la stringa
|
||||
mittente = memLayer.ML.confReadString("_fromEmail");
|
||||
oggetto = "Link autorizzazione device per GPW";
|
||||
baseUrl = memLayer.ML.confReadString("baseUrl");
|
||||
baseWebUrl = memLayer.ML.confReadString("baseWebUrl");
|
||||
userUrl = string.Format("{2}jumper?UserAuthkey={0}&idxDipendente={1}", UserAuthKey, idxDipendente, baseUrl);
|
||||
userWebUrl = string.Format("{2}jumper?UserAuthkey={0}&idxDipendente={1}", UserAuthKey, idxDipendente, baseWebUrl);
|
||||
corpo = string.Format("Hai ricevuto questa email su richiesta tua o dell'Admin per poter procedere a registrare un (nuovo) devices con GPW:{0}<br/>Per proseguire clicca sul link seguente(rete interna):<br />{0}{0}{1}{0}{0}<br /><br />oppure sul link seguente (internet):<br />{0}{0}{2}{0}{0}<br /><br />Team GPW Steamware", Environment.NewLine, userUrl, userWebUrl);
|
||||
fatto = gestEmail.geAuth.mandaEmail(mittente, destinatario, oggetto, corpo);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return fatto;
|
||||
}
|
||||
/// <summary>
|
||||
/// effettua enroll del device
|
||||
/// </summary>
|
||||
/// <param name="UserAuthKey"></param>
|
||||
/// <param name="IPv4"></param>
|
||||
/// <param name="DeviceName"></param>
|
||||
/// <param name="Description"></param>
|
||||
/// <param name="idxDipendente"></param>
|
||||
/// <returns></returns>
|
||||
public bool enrollDevice(string UserAuthKey, string IPv4, string DeviceName, string Description, int idxDipendente)
|
||||
{
|
||||
bool fatto = false;
|
||||
// in primis testo se dipendente ed authKey sono validi..
|
||||
if (DataProxy.DP.taDipendenti.getByAuthKey(idxDipendente, UserAuthKey).Rows.Count > 0)
|
||||
{
|
||||
|
||||
/************************************************
|
||||
* Gestione riconoscimento devices
|
||||
*
|
||||
* - cerco IP del device, testo se è rete interna (A) o extranet/internet (B) cercando substring "localNet" da web.config
|
||||
* (A): device interni: c'è un DHCP, e "dhcpLeaseTime" deve essere pari a lease time---
|
||||
* - verifico se IP già in uso da un tempo < "dhcpLeaseTime" --> in questo caso segnalo errore e rimbalzo (NON permetto di registrare device a nuovo utente... sospetto uso "improprio" del device
|
||||
* - se tempo > dhcpLeaseTime allora può aver cambiato IP: aggiorno IP e descrizione del device e proseguo
|
||||
* (B): all'esterno vedo tutta una subnet NATtata con unico IP, non è + discriminante
|
||||
* - le timbrature "da esterno" devono essere confermate (instrodurre "tipo timbratura" x cui interne sono autoconfermate, esterne sono "grayed" (da confermare, da admin o ad esempio se si accende secondo device utente entro 5/10 min)
|
||||
* - le timbrature ext DOVREBBERO chiedere location (jScript?) e inviarla, visibile in conferma
|
||||
*
|
||||
*
|
||||
* **********************************************/
|
||||
|
||||
//!!!RIFARE!!! non è + importante device name e description come distinti ma "quasi distinti" gli IP "intranet" o meglio anche ripetuto se a distanza di tempo
|
||||
#if false
|
||||
// controllo se esiste già device con quel secret code...
|
||||
if (DataProxy.DP.taAnagDev.getByDeviceName(DeviceName).Rows.Count > 0)
|
||||
@@ -190,96 +194,96 @@ namespace GPW_data
|
||||
}
|
||||
}
|
||||
#endif
|
||||
// calcolo il secret...
|
||||
DateTime adesso = DateTime.Now;
|
||||
string Secret = string.Format("{0}|{1}|{2}", idxDipendente, DeviceName, adesso);
|
||||
string devSecret = SteamCrypto.EncryptString(Secret, "AuthGPW");
|
||||
try
|
||||
{
|
||||
DataProxy.DP.taAnagDev.insertQuery(devSecret, idxDipendente, DeviceName, Description, adesso, IPv4);
|
||||
// registro "consumo" della authKey
|
||||
DataProxy.DP.taDipendenti.recordAuthKeyUse(idxDipendente);
|
||||
// salvo il cookie nel browser
|
||||
memLayer.ML.setCookieVal("AuthGPW", devSecret, DateTime.Now.AddYears(5));
|
||||
// indico come fatto
|
||||
fatto = true;
|
||||
// calcolo il secret...
|
||||
DateTime adesso = DateTime.Now;
|
||||
string Secret = string.Format("{0}|{1}|{2}", idxDipendente, DeviceName, adesso);
|
||||
string devSecret = SteamCrypto.EncryptString(Secret, "AuthGPW");
|
||||
try
|
||||
{
|
||||
DataProxy.DP.taAnagDev.insertQuery(devSecret, idxDipendente, DeviceName, Description, adesso, IPv4);
|
||||
// registro "consumo" della authKey
|
||||
DataProxy.DP.taDipendenti.recordAuthKeyUse(idxDipendente);
|
||||
// salvo il cookie nel browser
|
||||
memLayer.ML.setCookieVal("AuthGPW", devSecret, DateTime.Now.AddYears(5));
|
||||
// indico come fatto
|
||||
fatto = true;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
return fatto;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
return fatto;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// idxDipendente in sessione
|
||||
/// </summary>
|
||||
public static int idxDipendente
|
||||
{
|
||||
get
|
||||
{
|
||||
int idx = 0;
|
||||
try
|
||||
/// <summary>
|
||||
/// idxDipendente in sessione
|
||||
/// </summary>
|
||||
public static int idxDipendente
|
||||
{
|
||||
idx = memLayer.ML.IntSessionObj("IdxDipendente");
|
||||
get
|
||||
{
|
||||
int idx = 0;
|
||||
try
|
||||
{
|
||||
idx = memLayer.ML.IntSessionObj("IdxDipendente");
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return idx;
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("idxDipendente", value);
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return idx;
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("idxDipendente", value);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Verifica se il dip corrente sia attivo
|
||||
/// </summary>
|
||||
public static bool currDipIsActive
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
try
|
||||
/// <summary>
|
||||
/// Verifica se il dip corrente sia attivo
|
||||
/// </summary>
|
||||
public static bool currDipIsActive
|
||||
{
|
||||
DS_Applicazione.DipendentiRow rigaDip = DP.taDipendenti.getByIdx(idxDipendente)[0];
|
||||
answ = rigaDip.attivo;
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
DS_Applicazione.DipendentiRow rigaDip = DP.taDipendenti.getByIdx(idxDipendente)[0];
|
||||
answ = rigaDip.attivo;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Verifica se il dip RICHIESTO sia attivo
|
||||
/// </summary>
|
||||
/// <param name="_idxDipendente"></param>
|
||||
/// <returns></returns>
|
||||
public bool dipIsActive(int _idxDipendente)
|
||||
{
|
||||
bool answ = false;
|
||||
try
|
||||
/// <summary>
|
||||
/// Verifica se il dip RICHIESTO sia attivo
|
||||
/// </summary>
|
||||
/// <param name="_idxDipendente"></param>
|
||||
/// <returns></returns>
|
||||
public bool dipIsActive(int _idxDipendente)
|
||||
{
|
||||
DS_Applicazione.DipendentiRow rigaDip = DP.taDipendenti.getByIdx(_idxDipendente)[0];
|
||||
answ = rigaDip.attivo;
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
DS_Applicazione.DipendentiRow rigaDip = DP.taDipendenti.getByIdx(_idxDipendente)[0];
|
||||
answ = rigaDip.attivo;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
|
||||
public string CognomeNomeByIdx(int idxDip)
|
||||
{
|
||||
string answ = "";
|
||||
try
|
||||
{
|
||||
DS_Applicazione.DipendentiRow rigaDip = taDipendenti.getByIdx(idxDip)[0];
|
||||
answ = string.Format("{0} {1}", rigaDip.Cognome, rigaDip.Nome);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
public string CognomeNomeByIdx(int idxDip)
|
||||
{
|
||||
string answ = "";
|
||||
try
|
||||
{
|
||||
DS_Applicazione.DipendentiRow rigaDip = taDipendenti.getByIdx(idxDip)[0];
|
||||
answ = string.Format("{0} {1}", rigaDip.Cognome, rigaDip.Nome);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,9 @@ body {
|
||||
padding-top: 50px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
.fontCond {
|
||||
font-family: 'Open Sans Condensed', sans-serif;
|
||||
}
|
||||
/* Wrapping element */
|
||||
/* Set some basic padding to keep content from hitting the edges */
|
||||
.body-content {
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
/* Move down content because we have a fixed navbar that is 50px tall */
|
||||
body {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
padding-top: 50px;
|
||||
padding-bottom: 20px;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
padding-top: 50px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.fontCond {
|
||||
font-family: 'Open Sans Condensed', sans-serif;
|
||||
}
|
||||
|
||||
/* Wrapping element */
|
||||
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
body{font-family:'Open Sans',sans-serif;padding-top:50px;padding-bottom:20px;}.body-content{padding-left:15px;padding-right:15px;}input,select,textarea{max-width:280px;}.bg-abstract{background:url("../images/AbstractDownload.jpg");background-repeat:no-repeat;background-size:cover;}@media screen and (min-width:768px){.jumbotron{margin-top:20px;}body{font-size:1.6rem;}input,select,textarea{max-width:100%;}}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:.1rem !important;margin:.1rem !important;}.elTimbSmart{padding:.2em;font-size:1.1em;line-height:1.3em;}
|
||||
body{font-family:'Open Sans',sans-serif;padding-top:50px;padding-bottom:20px;}.fontCond{font-family:'Open Sans Condensed',sans-serif;}.body-content{padding-left:15px;padding-right:15px;}input,select,textarea{max-width:280px;}.bg-abstract{background:url("../images/AbstractDownload.jpg");background-repeat:no-repeat;background-size:cover;}@media screen and (min-width:768px){.jumbotron{margin-top:20px;}body{font-size:1.6rem;}input,select,textarea{max-width:100%;}}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:.1rem !important;margin:.1rem !important;}.elTimbSmart{padding:.2em;font-size:1.1em;line-height:1.3em;}
|
||||
@@ -622,9 +622,11 @@
|
||||
<Content Include="Scripts\umd\popper-utils.min.js" />
|
||||
<Content Include="Scripts\umd\popper.js" />
|
||||
<Content Include="Scripts\umd\popper.min.js" />
|
||||
<Content Include="TempRil.aspx" />
|
||||
<Content Include="WebUserControls\cmp_footer.ascx" />
|
||||
<Content Include="WebUserControls\cmp_info.ascx" />
|
||||
<Content Include="WebUserControls\cmp_menuTop.ascx" />
|
||||
<Content Include="WebUserControls\cmp_rilTemp.ascx" />
|
||||
<Content Include="WebUserControls\cmq_params.ascx" />
|
||||
<Content Include="WebUserControls\mod_attivitaIns.ascx" />
|
||||
<Content Include="WebUserControls\mod_commAttivita.ascx" />
|
||||
@@ -800,6 +802,13 @@
|
||||
<Compile Include="Site.Master.designer.cs">
|
||||
<DependentUpon>Site.Master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="TempRil.aspx.cs">
|
||||
<DependentUpon>TempRil.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TempRil.aspx.designer.cs">
|
||||
<DependentUpon>TempRil.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Timbrature.aspx.cs">
|
||||
<DependentUpon>Timbrature.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -828,6 +837,13 @@
|
||||
<Compile Include="WebUserControls\cmp_menuTop.ascx.designer.cs">
|
||||
<DependentUpon>cmp_menuTop.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_rilTemp.ascx.cs">
|
||||
<DependentUpon>cmp_rilTemp.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_rilTemp.ascx.designer.cs">
|
||||
<DependentUpon>cmp_rilTemp.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmq_params.ascx.cs">
|
||||
<DependentUpon>cmq_params.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="TempRil.aspx.cs" Inherits="GPW_Smart.TempRil" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/cmp_rilTemp.ascx" TagPrefix="uc1" TagName="cmp_rilTemp" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<uc1:cmp_rilTemp runat="server" id="cmp_rilTemp" />
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW_Smart
|
||||
{
|
||||
public partial class TempRil : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+26
@@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW_Smart
|
||||
{
|
||||
|
||||
|
||||
public partial class TempRil
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cmp_rilTemp.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::GPW_Smart.WebUserControls.cmp_rilTemp cmp_rilTemp;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_rilTemp.ascx.cs" Inherits="GPW_Smart.WebUserControls.cmp_rilTemp" %>
|
||||
|
||||
|
||||
<div class="row mt-2">
|
||||
<div class="col-12">
|
||||
<h2>Temperatura</h2>
|
||||
</div>
|
||||
<div class="col-12 text-right">
|
||||
<asp:Label runat="server" ID="lblData"><%: string.Format("{0:yyyy-MM-dd, dddd}",dtRif) %></asp:Label>
|
||||
</div>
|
||||
<div class="col-12 text-right py-2">
|
||||
<asp:TextBox runat="server" ID="txtTempRil" TextMode="Number" step="0.1" min="30" max="50" class="form-control" />
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<asp:LinkButton runat="server" ID="lbtCancel" CssClass="btn btn-block btn-warning" OnClick="lbtCancel_Click"><i class="fa fa-ban" aria-hidden="true"></i> Cancel</asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<asp:LinkButton runat="server" ID="lbtSave" CssClass="btn btn-block btn-success" OnClick="lbtSave_Click"><i class="fa fa-floppy-o" aria-hidden="true"></i> Save</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%--<asp:FormView ID="frmView" runat="server" DataKeyNames="idxDipendente,dtRilievo" DataSourceID="ods">
|
||||
<EditItemTemplate>
|
||||
<div class="row mt-2">
|
||||
<div class="col-12">
|
||||
<h2>Temperatura</h2>
|
||||
</div>
|
||||
<div class="col-12 text-right">
|
||||
<asp:Label runat="server" ID="lblData"><%: SteamWare.memLayer.ML.QSS("dataRif") %></asp:Label>
|
||||
</div>
|
||||
<div class="col-12 text-right py-2">
|
||||
<asp:TextBox runat="server" ID="txtTempRil" TextMode="Number" step="0.1" min="30" MaxLength="50" class="form-control" Text='<%# Bind("tempRil") %>' />
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<asp:LinkButton runat="server" ID="lbtCancel" CssClass="btn btn-block btn-warning" OnClick="lbtCancel_Click"><i class="fa fa-ban" aria-hidden="true"></i> Cancel</asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<asp:LinkButton runat="server" ID="lbtSave" CssClass="btn btn-block btn-success" OnClick="lbtSave_Click"><i class="fa fa-floppy-o" aria-hidden="true"></i> Save</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update" Text="Aggiorna" />
|
||||
<asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Annulla" />
|
||||
</EditItemTemplate>
|
||||
</asp:FormView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByKey" TypeName="GPW_data.DS_ApplicazioneTableAdapters.RilievoTempTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter Name="idxDipendente" DefaultValue="0" SessionField="idxDipendente" Type="Int32" />
|
||||
<asp:QueryStringParameter Name="dtRilievo" QueryStringField="dataRif" Type="DateTime" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>--%>
|
||||
@@ -0,0 +1,89 @@
|
||||
using GPW_data;
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW_Smart.WebUserControls
|
||||
{
|
||||
public partial class cmp_rilTemp : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
//frmView.ChangeMode(FormViewMode.Edit);
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
setupData();
|
||||
}
|
||||
}
|
||||
|
||||
protected int idxDip
|
||||
{
|
||||
get
|
||||
{
|
||||
return memLayer.ML.IntSessionObj("idxDipendente");
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime dtRif
|
||||
{
|
||||
get
|
||||
{
|
||||
|
||||
DateTime answ = DateTime.Today;
|
||||
DateTime.TryParse(memLayer.ML.QSS("dataRif"), out answ);
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
protected decimal tempRilevata
|
||||
{
|
||||
get
|
||||
{
|
||||
decimal answ = 37;
|
||||
decimal.TryParse(txtTempRil.Text.Replace(".",","), out answ);
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
|
||||
txtTempRil.Text = $"{value:0.0}".Replace(",", ".");
|
||||
}
|
||||
}
|
||||
|
||||
private void setupData()
|
||||
{
|
||||
// recupero dati temperatura
|
||||
decimal tempRil = 0;
|
||||
try
|
||||
{
|
||||
var tabRT = DataProxy.DP.taRT.getByKey(idxDip, dtRif);
|
||||
if (tabRT != null && tabRT.Rows.Count > 0)
|
||||
{
|
||||
tempRil = tabRT[0].tempRil;
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
tempRilevata = tempRil;
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void lbtSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
DataProxy.DP.taRT.upsertQuery(idxDip, dtRif, tempRilevata);
|
||||
// torno a timbrature...
|
||||
Response.Redirect("Timbrature");
|
||||
}
|
||||
|
||||
protected void lbtCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
// torno a timbrature...
|
||||
Response.Redirect("Timbrature");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW_Smart.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_rilTemp
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblData.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblData;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtTempRil.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtTempRil;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtCancel.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtCancel;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtSave.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtSave;
|
||||
}
|
||||
}
|
||||
@@ -1,80 +1,88 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_timbrature.ascx.cs" Inherits="GPW.WebUserControls.mod_timbrature" %>
|
||||
<div class="row my-2 mx-2">
|
||||
<div class="col">
|
||||
<asp:LinkButton runat="server" CssClass="btn btn-primary btn-block" ID="lbtEntrata" OnClick="lbtEntrata_Click"><i class="fa fa-sign-in" aria-hidden="true"></i> Entrata</asp:LinkButton>
|
||||
</div>
|
||||
<div class="col">
|
||||
<asp:LinkButton runat="server" CssClass="btn btn-success btn-block" ID="lbtUscita" OnClick="lbtUscita_Click">Uscita <i class="fa fa-sign-out" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col">
|
||||
<asp:LinkButton runat="server" CssClass="btn btn-primary btn-block" ID="lbtEntrata" OnClick="lbtEntrata_Click"><i class="fa fa-sign-in" aria-hidden="true"></i> Entrata</asp:LinkButton>
|
||||
</div>
|
||||
<div class="col">
|
||||
<asp:LinkButton runat="server" CssClass="btn btn-success btn-block" ID="lbtUscita" OnClick="lbtUscita_Click">Uscita <i class="fa fa-sign-out" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<asp:Label runat="server" ID="lblWarning" Visible="false" />
|
||||
</div>
|
||||
<div class="col">
|
||||
<asp:Label runat="server" ID="lblWarning" Visible="false" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<asp:GridView ID="grView" runat="server" AllowPaging="false" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="dataLav,idxDipendente" CellPadding="0" GridLines="None" OnRowCreated="grView_RowCreated" OnSelectedIndexChanged="grView_SelectedIndexChanged" CssClass="table table-striped table-sm table-condensed">
|
||||
<Columns>
|
||||
<asp:TemplateField HeaderText="data" SortExpression="dataLav" ItemStyle-Wrap="false" ItemStyle-HorizontalAlign="Left">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbShowOre" CommandArgument="showProj" CommandName="Select" CssClass="btn btn-dark btn-sm px-1 py-0" Width="5em"><%# Eval("dataLav", "{0:MM.dd} <sup>{0:ddd}</sup>") %></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Ent" SortExpression="entrata_1" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# Eval("entrata_1","{0:HH:mm}") %>' ForeColor="#226622" Font-Size="Smaller" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Usc" SortExpression="uscita_1" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label4" runat="server" Text='<%# Eval("uscita_1","{0:HH:mm}") %>' ForeColor="#222266" Font-Size="Smaller" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Ent" SortExpression="entrata_2" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# Eval("entrata_2","{0:HH:mm}") %>' ForeColor="#226622" Font-Size="Smaller" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Usc" SortExpression="uscita_2" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label6" runat="server" Text='<%# Eval("uscita_2","{0:HH:mm}") %>' ForeColor="#222266" Font-Size="Smaller" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Ent" SortExpression="entrata_3" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label7" runat="server" Text='<%# Eval("entrata_3","{0:HH:mm}") %>' ForeColor="#226622" Font-Size="Smaller" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Usc" SortExpression="uscita_3" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label8" runat="server" Text='<%# Eval("uscita_3","{0:HH:mm}") %>' ForeColor="#222266" Font-Size="Smaller" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="H lav" SortExpression="h_lav" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right">
|
||||
<ItemTemplate>
|
||||
<b>
|
||||
<asp:Label ID="Label11" runat="server" Text='<%# Eval("h_lav","{0:0.00}") %>' />
|
||||
</b>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right">
|
||||
<ItemTemplate>
|
||||
<b>
|
||||
<asp:Label ID="lblIsOk" runat="server" Text="*" ForeColor="Red" Visible='<%# invBool(Eval("isOk")) %>' />
|
||||
</b>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" DeleteMethod="Delete" InsertMethod="Insert" OldValuesParameterFormatString="Original_{0}" SelectMethod="getLastByUser" TypeName="GPW_data.DS_ApplicazioneTableAdapters.TimbratureExplTableAdapter" UpdateMethod="Update" FilterExpression="idxDipendente = {0} AND (NOT (entrata_1 IS NULL) )">
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter SessionField="idxDipendente" Name="idxDipendente" Type="Int32" />
|
||||
</FilterParameters>
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter SessionField="idxDipendente" Name="idxDipendente" Type="Int32" />
|
||||
<asp:SessionParameter SessionField="numRowTimb" Name="num2show" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="row fontCond">
|
||||
<div class="col px-1">
|
||||
<asp:GridView ID="grView" runat="server" AllowPaging="false" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="dataLav,idxDipendente" CellPadding="0" GridLines="None" OnRowCreated="grView_RowCreated" OnSelectedIndexChanged="grView_SelectedIndexChanged" CssClass="table table-striped table-sm table-condensed">
|
||||
<Columns>
|
||||
<asp:TemplateField HeaderText="data" SortExpression="dataLav" ItemStyle-Wrap="false" ItemStyle-HorizontalAlign="Left">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbShowOre" CommandArgument="showProj" CommandName="Select" CssClass="btn btn-dark btn-sm px-1 py-0" Width="4em"><%# Eval("dataLav", "{0:MM.dd} <sup>{0:ddd}</sup>") %></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Ent" SortExpression="entrata_1" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# Eval("entrata_1","{0:HH:mm}") %>' ForeColor="#226622" Font-Size="Smaller" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Usc" SortExpression="uscita_1" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label4" runat="server" Text='<%# Eval("uscita_1","{0:HH:mm}") %>' ForeColor="#222266" Font-Size="Smaller" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Ent" SortExpression="entrata_2" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# Eval("entrata_2","{0:HH:mm}") %>' ForeColor="#226622" Font-Size="Smaller" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Usc" SortExpression="uscita_2" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label6" runat="server" Text='<%# Eval("uscita_2","{0:HH:mm}") %>' ForeColor="#222266" Font-Size="Smaller" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Ent" SortExpression="entrata_3" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label7" runat="server" Text='<%# Eval("entrata_3","{0:HH:mm}") %>' ForeColor="#226622" Font-Size="Smaller" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Usc" SortExpression="uscita_3" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label8" runat="server" Text='<%# Eval("uscita_3","{0:HH:mm}") %>' ForeColor="#222266" Font-Size="Smaller" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="H lav" SortExpression="h_lav" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right">
|
||||
<ItemTemplate>
|
||||
<b>
|
||||
<asp:Label ID="Label11" runat="server" Text='<%# Eval("h_lav","{0:0.00}") %>' />
|
||||
</b>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right">
|
||||
<ItemTemplate>
|
||||
<div class="small">
|
||||
<b>
|
||||
<asp:Label ID="lblIsOk" runat="server" Text="*" ForeColor="Red" Visible='<%# invBool(Eval("isOk")) %>' />
|
||||
</b>
|
||||
<asp:LinkButton runat="server" ID="lbShowTemp" CommandArgument='<%# Eval("dataLav") %>' CssClass="btn btn-outline-secondary btn-sm" OnClick="lbShowTemp_Click">
|
||||
<i runat="server" visible='<%# !gtZero(Eval("tempRil")) %>' class="fa fa-thermometer-empty text-danger" aria-hidden="true"></i>
|
||||
|
||||
<i runat="server" visible='<%# gtZero(Eval("tempRil")) %>' class="fa fa-thermometer text-success" aria-hidden="true"></i>
|
||||
|
||||
</asp:LinkButton>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" DeleteMethod="Delete" InsertMethod="Insert" OldValuesParameterFormatString="Original_{0}" SelectMethod="getLastByUser" TypeName="GPW_data.DS_ApplicazioneTableAdapters.TimbratureExplTableAdapter" UpdateMethod="Update" FilterExpression="idxDipendente = {0} AND (NOT (entrata_1 IS NULL) )">
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter SessionField="idxDipendente" Name="idxDipendente" Type="Int32" />
|
||||
</FilterParameters>
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter SessionField="idxDipendente" Name="idxDipendente" Type="Int32" />
|
||||
<asp:SessionParameter SessionField="numRowTimb" Name="num2show" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -6,251 +6,278 @@ using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW.WebUserControls
|
||||
{
|
||||
public partial class mod_timbrature : System.Web.UI.UserControl
|
||||
{
|
||||
protected bool forceButtons
|
||||
public partial class mod_timbrature : System.Web.UI.UserControl
|
||||
{
|
||||
get
|
||||
{
|
||||
return !abilitaAll;
|
||||
}
|
||||
set
|
||||
{
|
||||
abilitaAll = !(value);
|
||||
}
|
||||
}
|
||||
public bool abilitaAll
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
try
|
||||
protected bool forceButtons
|
||||
{
|
||||
string rawData = memLayer.ML.getRSV("abilitaAll");
|
||||
bool.TryParse(rawData, out answ);
|
||||
get
|
||||
{
|
||||
return !abilitaAll;
|
||||
}
|
||||
set
|
||||
{
|
||||
abilitaAll = !(value);
|
||||
}
|
||||
}
|
||||
public bool abilitaAll
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
string rawData = memLayer.ML.getRSV("abilitaAll");
|
||||
bool.TryParse(rawData, out answ);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
int ttlSec = value ? memLayer.ML.CRI("ttlAbilitaAll") : 0;
|
||||
memLayer.ML.setRSV("abilitaAll", value.ToString(), ttlSec);
|
||||
}
|
||||
}
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
// verifico se ci sia un numero di righe selezionate altrimenti lo imposto...
|
||||
if (!memLayer.ML.isInSessionObject("numColEU")) numColEU = 2;
|
||||
if (!memLayer.ML.isInSessionObject("numRowTimb")) numRowTimb = 10;
|
||||
memLayer.ML.setSessionVal("dataRif", DateTime.Today);
|
||||
}
|
||||
setButtons();
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
int ttlSec = value ? memLayer.ML.CRI("ttlAbilitaAll") : 0;
|
||||
memLayer.ML.setRSV("abilitaAll", value.ToString(), ttlSec);
|
||||
}
|
||||
}
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
// verifico se ci sia un numero di righe selezionate altrimenti lo imposto...
|
||||
if (!memLayer.ML.isInSessionObject("numColEU")) numColEU = 2;
|
||||
if (!memLayer.ML.isInSessionObject("numRowTimb")) numRowTimb = 10;
|
||||
memLayer.ML.setSessionVal("dataRif", DateTime.Today);
|
||||
}
|
||||
setButtons();
|
||||
}
|
||||
|
||||
public int numColEU
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 2;
|
||||
try
|
||||
public int numColEU
|
||||
{
|
||||
answ = memLayer.ML.IntSessionObj("numColEU");
|
||||
get
|
||||
{
|
||||
int answ = 2;
|
||||
try
|
||||
{
|
||||
answ = memLayer.ML.IntSessionObj("numColEU");
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
if (answ <= 0) answ = 2;
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("numColEU", value);
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
if (answ <= 0) answ = 2;
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("numColEU", value);
|
||||
}
|
||||
}
|
||||
public int numRowTimb
|
||||
{
|
||||
get
|
||||
{
|
||||
return memLayer.ML.IntSessionObj("numRowTimb");
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("numRowTimb", value);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// fix buttons button
|
||||
/// </summary>
|
||||
private void setButtons()
|
||||
{
|
||||
// controllo SE voglio inibire i buttons...
|
||||
if (forceButtons)
|
||||
{
|
||||
// controllo se il prox comando DOVREBBE essere entrata o uscita
|
||||
bool nextIsEntrata = true;
|
||||
// controllo dipendente
|
||||
if (IdxDipendente > 0)
|
||||
public int numRowTimb
|
||||
{
|
||||
// ricavo ultima timbratura..
|
||||
nextIsEntrata = timbratrice.nextIsEntrata(IdxDipendente);
|
||||
// di conseguenza cambio abilitazione ad un buttons
|
||||
if (nextIsEntrata)
|
||||
{
|
||||
fixBtnInOut(true, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
fixBtnInOut(false, true);
|
||||
}
|
||||
get
|
||||
{
|
||||
return memLayer.ML.IntSessionObj("numRowTimb");
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("numRowTimb", value);
|
||||
}
|
||||
}
|
||||
else
|
||||
/// <summary>
|
||||
/// fix buttons button
|
||||
/// </summary>
|
||||
private void setButtons()
|
||||
{
|
||||
fixBtnInOut(false, false);
|
||||
// controllo SE voglio inibire i buttons...
|
||||
if (forceButtons)
|
||||
{
|
||||
// controllo se il prox comando DOVREBBE essere entrata o uscita
|
||||
bool nextIsEntrata = true;
|
||||
// controllo dipendente
|
||||
if (IdxDipendente > 0)
|
||||
{
|
||||
// ricavo ultima timbratura..
|
||||
nextIsEntrata = timbratrice.nextIsEntrata(IdxDipendente);
|
||||
// di conseguenza cambio abilitazione ad un buttons
|
||||
if (nextIsEntrata)
|
||||
{
|
||||
fixBtnInOut(true, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
fixBtnInOut(false, true);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
fixBtnInOut(false, false);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
fixBtnInOut(true, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
fixBtnInOut(true, true);
|
||||
}
|
||||
}
|
||||
|
||||
private void fixBtnInOut(bool showIn, bool showOut)
|
||||
{
|
||||
lbtEntrata.Enabled = showIn;
|
||||
lbtUscita.Enabled = showOut;
|
||||
lbtEntrata.CssClass = showIn ? "btn btn-primary btn-block" : "btn btn-outline-primary disabled btn-block";
|
||||
lbtUscita.CssClass = showOut ? "btn btn-success btn-block" : "btn btn-outline-success disabled btn-block";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// timbro entrata...
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbtEntrata_Click(object sender, EventArgs e)
|
||||
{
|
||||
bool isEntrata = true;
|
||||
registraTimbratura(isEntrata);
|
||||
}
|
||||
/// <summary>
|
||||
/// uscita...
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbtUscita_Click(object sender, EventArgs e)
|
||||
{
|
||||
bool isEntrata = false;
|
||||
registraTimbratura(isEntrata);
|
||||
}
|
||||
/// <summary>
|
||||
/// Aggiorno visualizzazione
|
||||
/// </summary>
|
||||
public void doUpdate()
|
||||
{
|
||||
setButtons();
|
||||
grView.DataBind();
|
||||
}
|
||||
/// <summary>
|
||||
/// update elenco ultime timbrature
|
||||
/// </summary>
|
||||
private void updateTimbrature()
|
||||
{
|
||||
// aggiorno datagrid
|
||||
}
|
||||
/// <summary>
|
||||
/// registro timbratura
|
||||
/// </summary>
|
||||
/// <param name="isEntrata"></param>
|
||||
/// <returns></returns>
|
||||
private int registraTimbratura(bool isEntrata)
|
||||
{
|
||||
// salvo evento entrata...
|
||||
string IPv4 = "";
|
||||
bool approvata = false;
|
||||
if (IdxDipendente > 0)
|
||||
{
|
||||
// recupero IP
|
||||
IPv4 = Request.UserHostName;
|
||||
// controllo se IP locale = approvata...
|
||||
if (IPv4.Contains(memLayer.ML.confReadString("localNet")))
|
||||
private void fixBtnInOut(bool showIn, bool showOut)
|
||||
{
|
||||
approvata = true;
|
||||
lbtEntrata.Enabled = showIn;
|
||||
lbtUscita.Enabled = showOut;
|
||||
lbtEntrata.CssClass = showIn ? "btn btn-primary btn-block" : "btn btn-outline-primary disabled btn-block";
|
||||
lbtUscita.CssClass = showOut ? "btn btn-success btn-block" : "btn btn-outline-success disabled btn-block";
|
||||
}
|
||||
timbratrice.registraTimbratura(IdxDipendente, DateTime.Now, isEntrata, IPv4, "Web", approvata);
|
||||
lblWarning.Visible = false;
|
||||
abilitaAll = false;
|
||||
//aggiorno timbrature visualizzate
|
||||
setButtons();
|
||||
updateTimbrature();
|
||||
grView.DataBind();
|
||||
}
|
||||
else
|
||||
{
|
||||
lblWarning.Text = "IdxDipendente non trovato! timbratura impossibile";
|
||||
lblWarning.Visible = true;
|
||||
}
|
||||
return IdxDipendente;
|
||||
}
|
||||
/// <summary>
|
||||
/// idx dipendente loggato
|
||||
/// </summary>
|
||||
protected int IdxDipendente
|
||||
{
|
||||
get
|
||||
{
|
||||
int idx = 0;
|
||||
try
|
||||
|
||||
/// <summary>
|
||||
/// timbro entrata...
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbtEntrata_Click(object sender, EventArgs e)
|
||||
{
|
||||
idx = memLayer.ML.IntSessionObj("IdxDipendente");
|
||||
bool isEntrata = true;
|
||||
registraTimbratura(isEntrata);
|
||||
}
|
||||
/// <summary>
|
||||
/// uscita...
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbtUscita_Click(object sender, EventArgs e)
|
||||
{
|
||||
bool isEntrata = false;
|
||||
registraTimbratura(isEntrata);
|
||||
}
|
||||
/// <summary>
|
||||
/// Aggiorno visualizzazione
|
||||
/// </summary>
|
||||
public void doUpdate()
|
||||
{
|
||||
setButtons();
|
||||
grView.DataBind();
|
||||
}
|
||||
/// <summary>
|
||||
/// update elenco ultime timbrature
|
||||
/// </summary>
|
||||
private void updateTimbrature()
|
||||
{
|
||||
// aggiorno datagrid
|
||||
}
|
||||
/// <summary>
|
||||
/// registro timbratura
|
||||
/// </summary>
|
||||
/// <param name="isEntrata"></param>
|
||||
/// <returns></returns>
|
||||
private int registraTimbratura(bool isEntrata)
|
||||
{
|
||||
// salvo evento entrata...
|
||||
string IPv4 = "";
|
||||
bool approvata = false;
|
||||
if (IdxDipendente > 0)
|
||||
{
|
||||
// recupero IP
|
||||
IPv4 = Request.UserHostName;
|
||||
// controllo se IP locale = approvata...
|
||||
if (IPv4.Contains(memLayer.ML.confReadString("localNet")))
|
||||
{
|
||||
approvata = true;
|
||||
}
|
||||
timbratrice.registraTimbratura(IdxDipendente, DateTime.Now, isEntrata, IPv4, "Web", approvata);
|
||||
lblWarning.Visible = false;
|
||||
abilitaAll = false;
|
||||
//aggiorno timbrature visualizzate
|
||||
setButtons();
|
||||
updateTimbrature();
|
||||
grView.DataBind();
|
||||
}
|
||||
else
|
||||
{
|
||||
lblWarning.Text = "IdxDipendente non trovato! timbratura impossibile";
|
||||
lblWarning.Visible = true;
|
||||
}
|
||||
return IdxDipendente;
|
||||
}
|
||||
/// <summary>
|
||||
/// idx dipendente loggato
|
||||
/// </summary>
|
||||
protected int IdxDipendente
|
||||
{
|
||||
get
|
||||
{
|
||||
int idx = 0;
|
||||
try
|
||||
{
|
||||
idx = memLayer.ML.IntSessionObj("IdxDipendente");
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return idx;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// inverte valore booleano
|
||||
/// </summary>
|
||||
/// <param name="isEnt"></param>
|
||||
/// <returns></returns>
|
||||
public bool invBool(object valore)
|
||||
{
|
||||
bool answ = true;
|
||||
try
|
||||
{
|
||||
answ = !Convert.ToBoolean(valore);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return idx;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// inverte valore booleano
|
||||
/// </summary>
|
||||
/// <param name="isEnt"></param>
|
||||
/// <returns></returns>
|
||||
public bool invBool(object valore)
|
||||
{
|
||||
bool answ = true;
|
||||
try
|
||||
{
|
||||
answ = !Convert.ToBoolean(valore);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
|
||||
protected void grView_RowCreated(object sender, GridViewRowEventArgs e)
|
||||
{
|
||||
int maxNum = e.Row.Cells.Count - 2;
|
||||
for (int i = numColEU * 2 + 1; i < maxNum; i++)
|
||||
{
|
||||
e.Row.Cells[i].Visible = false;
|
||||
}
|
||||
}
|
||||
protected void grView_RowCreated(object sender, GridViewRowEventArgs e)
|
||||
{
|
||||
int maxNum = e.Row.Cells.Count - 2;
|
||||
for (int i = numColEU * 2 + 1; i < maxNum; i++)
|
||||
{
|
||||
e.Row.Cells[i].Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
// rimando ai progetti sulla data indicata...
|
||||
DateTime dataRif = DateTime.Today;
|
||||
try
|
||||
{
|
||||
dataRif = Convert.ToDateTime(grView.SelectedDataKey["dataLav"]);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
// salvo in sessione...
|
||||
memLayer.ML.setSessionVal("dataRif", dataRif);
|
||||
// reinvio
|
||||
Response.Redirect(string.Format("Progetti?dataRif={0:yyyy-MM-dd}", dataRif));
|
||||
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
// rimando ai progetti sulla data indicata...
|
||||
DateTime dataRif = DateTime.Today;
|
||||
try
|
||||
{
|
||||
dataRif = Convert.ToDateTime(grView.SelectedDataKey["dataLav"]);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
// salvo in sessione...
|
||||
memLayer.ML.setSessionVal("dataRif", dataRif);
|
||||
// reinvio
|
||||
Response.Redirect($"Progetti?dataRif={dataRif:yyyy-MM-dd}");
|
||||
}
|
||||
|
||||
public bool gtZero(object _valore)
|
||||
{
|
||||
bool answ = false;
|
||||
decimal valore = 0;
|
||||
decimal.TryParse(_valore.ToString(), out valore);
|
||||
answ = valore > 0;
|
||||
return answ;
|
||||
}
|
||||
|
||||
protected void lbShowTemp_Click(object sender, EventArgs e)
|
||||
{
|
||||
// recupero data di riferimento
|
||||
try
|
||||
{
|
||||
LinkButton lbt = (LinkButton)sender;
|
||||
string cmdArg = lbt.CommandArgument;
|
||||
DateTime dataRif = DateTime.Today;
|
||||
DateTime.TryParse(cmdArg, out dataRif);
|
||||
// salvo in sessione...
|
||||
memLayer.ML.setSessionVal("dataRif", dataRif);
|
||||
// reinvio
|
||||
Response.Redirect($"TempRil?dataRif={dataRif:yyyy-MM-dd}");
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
-9
@@ -7,11 +7,13 @@
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_timbrature {
|
||||
|
||||
namespace GPW.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class mod_timbrature
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtEntrata.
|
||||
/// </summary>
|
||||
@@ -20,7 +22,7 @@ namespace GPW.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtEntrata;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtUscita.
|
||||
/// </summary>
|
||||
@@ -29,7 +31,7 @@ namespace GPW.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtUscita;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblWarning.
|
||||
/// </summary>
|
||||
@@ -38,7 +40,7 @@ namespace GPW.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblWarning;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo grView.
|
||||
/// </summary>
|
||||
@@ -47,7 +49,7 @@ namespace GPW.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ods.
|
||||
/// </summary>
|
||||
|
||||
Vendored
+1
-1
@@ -10,7 +10,7 @@ pipeline {
|
||||
steps {
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=4114']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=4115']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '2.6.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '2.6.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.APP_NAME = 'GPW'
|
||||
|
||||
Reference in New Issue
Block a user