diff --git a/ETS_Data/DataProxy_ProjEts.cs b/ETS_Data/DataProxy_ProjEts.cs
index 60da460..12a2bc4 100644
--- a/ETS_Data/DataProxy_ProjEts.cs
+++ b/ETS_Data/DataProxy_ProjEts.cs
@@ -24,6 +24,7 @@ namespace ETS_Data
public Ds_ProjEtsTableAdapters.Dip2ATRTableAdapter taD2ATR;
public Ds_ProjEtsTableAdapters.DipendentiTableAdapter taDip;
public Ds_ProjEtsTableAdapters.ImpiegoRisorseTableAdapter taIR;
+ public Ds_ProjEtsTableAdapters.ReleasedWeekTableAdapter taReW;
/* DS_utilsProjEts */
public DS_utilsProjEtsTableAdapters.v_selClientiTableAdapter taSelCli;
public DS_utilsProjEtsTableAdapters.v_selProgettiTableAdapter taSelPro;
@@ -46,6 +47,7 @@ namespace ETS_Data
taD2ATR = new Ds_ProjEtsTableAdapters.Dip2ATRTableAdapter();
taDip = new Ds_ProjEtsTableAdapters.DipendentiTableAdapter();
taIR = new Ds_ProjEtsTableAdapters.ImpiegoRisorseTableAdapter();
+ taReW = new Ds_ProjEtsTableAdapters.ReleasedWeekTableAdapter();
taSelCli = new DS_utilsProjEtsTableAdapters.v_selClientiTableAdapter();
taSelPro = new DS_utilsProjEtsTableAdapters.v_selProgettiTableAdapter();
taSelCom = new DS_utilsProjEtsTableAdapters.v_selCommesseTableAdapter();
@@ -68,6 +70,7 @@ namespace ETS_Data
taD2ATR.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taDip.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taIR.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
+ taReW.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taSelCli.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taSelPro.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taSelCom.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
@@ -144,13 +147,20 @@ namespace ETS_Data
///
/// effettua export su GPW dei singoli dipendenti delle ore programmate x la settimana indicata
///
- ///
- ///
+ /// anno
+ /// num settimana 1-53
+ /// Utente che congela la settimana
///
- public bool esportaBazaarSuGPW(int anno, int settimana)
+ public bool esportaBazaarSuGPW(int anno, int settimana, string UsernameAD)
{
bool answ = false;
-
+ try
+ {
+ taBaz.copy2GPW(anno, settimana, UsernameAD);
+ answ = true;
+ }
+ catch
+ { }
return answ;
}
diff --git a/ETS_Data/Ds_ProjEts.xsd b/ETS_Data/Ds_ProjEts.xsd
index 7f83e37..295d04b 100644
--- a/ETS_Data/Ds_ProjEts.xsd
+++ b/ETS_Data/Ds_ProjEts.xsd
@@ -1125,7 +1125,20 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
-
+
+
+
+ dbo.stp_BAZ_copy2GPW
+
+
+
+
+
+
+
+
+
+
dbo.stp_BAZ_creaBulkByIdxFase
@@ -1138,7 +1151,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
-
+
dbo.stp_BAZ_deleteByIdxFase
@@ -1190,7 +1203,20 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
-
+
+
+
+ dbo.stp_BAZ_ResetCopyGPW
+
+
+
+
+
+
+
+
+
+
dbo.stp_BAZ_updateQuery
@@ -1347,6 +1373,81 @@ SELECT Anno, Sett, idxDipendente, idxFase, OreTot FROM ImpiegoRisorse WHERE (Ann
+
+
+
+
+
+ DELETE FROM [dbo].[ReleasedWeek] WHERE (([Anno] = @Original_Anno) AND ([Sett] = @Original_Sett) AND ((@IsNull_UsernameAD = 1 AND [UsernameAD] IS NULL) OR ([UsernameAD] = @Original_UsernameAD)) AND ((@IsNull_dataConf = 1 AND [dataConf] IS NULL) OR ([dataConf] = @Original_dataConf)))
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [dbo].[ReleasedWeek] ([Anno], [Sett], [UsernameAD], [dataConf]) VALUES (@Anno, @Sett, @UsernameAD, @dataConf);
+SELECT Anno, Sett, UsernameAD, dataConf FROM ReleasedWeek WHERE (Anno = @Anno) AND (Sett = @Sett)
+
+
+
+
+
+
+
+
+
+
+ SELECT Anno, Sett, UsernameAD, dataConf FROM dbo.ReleasedWeek
+
+
+
+
+
+ UPDATE [dbo].[ReleasedWeek] SET [Anno] = @Anno, [Sett] = @Sett, [UsernameAD] = @UsernameAD, [dataConf] = @dataConf WHERE (([Anno] = @Original_Anno) AND ([Sett] = @Original_Sett) AND ((@IsNull_UsernameAD = 1 AND [UsernameAD] IS NULL) OR ([UsernameAD] = @Original_UsernameAD)) AND ((@IsNull_dataConf = 1 AND [dataConf] IS NULL) OR ([dataConf] = @Original_dataConf)));
+SELECT Anno, Sett, UsernameAD, dataConf FROM ReleasedWeek WHERE (Anno = @Anno) AND (Sett = @Sett)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_ReW_getByAnnoSett
+
+
+
+
+
+
+
+
+
+
@@ -1978,6 +2079,22 @@ SELECT Anno, Sett, idxDipendente, idxFase, OreTot FROM ImpiegoRisorse WHERE (Ann
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2040,6 +2157,11 @@ SELECT Anno, Sett, idxDipendente, idxFase, OreTot FROM ImpiegoRisorse WHERE (Ann
+
+
+
+
+
diff --git a/ETS_Data/Ds_ProjEts.xss b/ETS_Data/Ds_ProjEts.xss
index de1b5b2..fcdcf4e 100644
--- a/ETS_Data/Ds_ProjEts.xss
+++ b/ETS_Data/Ds_ProjEts.xss
@@ -4,24 +4,25 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
-->
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
370
@@ -33,7 +34,7 @@
-
+
876
@@ -45,7 +46,7 @@
-
+
1107
@@ -57,7 +58,7 @@
-
+
1107
@@ -77,7 +78,7 @@
-
+
495
@@ -93,7 +94,7 @@
-
+
172
diff --git a/ETS_Data/Ds_ProjEts1.Designer.cs b/ETS_Data/Ds_ProjEts1.Designer.cs
index 619b579..81a3401 100644
--- a/ETS_Data/Ds_ProjEts1.Designer.cs
+++ b/ETS_Data/Ds_ProjEts1.Designer.cs
@@ -50,6 +50,8 @@ namespace ETS_Data {
private ImpiegoRisorseDataTable tableImpiegoRisorse;
+ private ReleasedWeekDataTable tableReleasedWeek;
+
private global::System.Data.DataRelation relationAnagProgetti_AnagFasi;
private global::System.Data.DataRelation relationDatiCommessa_AnagFasi;
@@ -129,6 +131,9 @@ namespace ETS_Data {
if ((ds.Tables["ImpiegoRisorse"] != null)) {
base.Tables.Add(new ImpiegoRisorseDataTable(ds.Tables["ImpiegoRisorse"]));
}
+ if ((ds.Tables["ReleasedWeek"] != null)) {
+ base.Tables.Add(new ReleasedWeekDataTable(ds.Tables["ReleasedWeek"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -277,6 +282,16 @@ namespace ETS_Data {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public ReleasedWeekDataTable ReleasedWeek {
+ get {
+ return this.tableReleasedWeek;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -383,6 +398,9 @@ namespace ETS_Data {
if ((ds.Tables["ImpiegoRisorse"] != null)) {
base.Tables.Add(new ImpiegoRisorseDataTable(ds.Tables["ImpiegoRisorse"]));
}
+ if ((ds.Tables["ReleasedWeek"] != null)) {
+ base.Tables.Add(new ReleasedWeekDataTable(ds.Tables["ReleasedWeek"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -494,6 +512,12 @@ namespace ETS_Data {
this.tableImpiegoRisorse.InitVars();
}
}
+ this.tableReleasedWeek = ((ReleasedWeekDataTable)(base.Tables["ReleasedWeek"]));
+ if ((initTable == true)) {
+ if ((this.tableReleasedWeek != null)) {
+ this.tableReleasedWeek.InitVars();
+ }
+ }
this.relationAnagProgetti_AnagFasi = this.Relations["AnagProgetti_AnagFasi"];
this.relationDatiCommessa_AnagFasi = this.Relations["DatiCommessa_AnagFasi"];
this.relationDatiCommessa_DatiCommForn = this.Relations["DatiCommessa_DatiCommForn"];
@@ -536,6 +560,8 @@ namespace ETS_Data {
base.Tables.Add(this.tableBazaarRisorse);
this.tableImpiegoRisorse = new ImpiegoRisorseDataTable();
base.Tables.Add(this.tableImpiegoRisorse);
+ this.tableReleasedWeek = new ReleasedWeekDataTable();
+ base.Tables.Add(this.tableReleasedWeek);
this.relationAnagProgetti_AnagFasi = new global::System.Data.DataRelation("AnagProgetti_AnagFasi", new global::System.Data.DataColumn[] {
this.tableAnagProgetti.idxProgettoColumn}, new global::System.Data.DataColumn[] {
this.tableAnagFasi.idxProgettoColumn}, false);
@@ -640,6 +666,12 @@ namespace ETS_Data {
return false;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeReleasedWeek() {
+ return false;
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -734,6 +766,9 @@ namespace ETS_Data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void ImpiegoRisorseRowChangeEventHandler(object sender, ImpiegoRisorseRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void ReleasedWeekRowChangeEventHandler(object sender, ReleasedWeekRowChangeEvent e);
+
///
///Represents the strongly named DataTable class.
///
@@ -6324,6 +6359,309 @@ namespace ETS_Data {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class ReleasedWeekDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnAnno;
+
+ private global::System.Data.DataColumn columnSett;
+
+ private global::System.Data.DataColumn columnUsernameAD;
+
+ private global::System.Data.DataColumn columndataConf;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ReleasedWeekDataTable() {
+ this.TableName = "ReleasedWeek";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal ReleasedWeekDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected ReleasedWeekDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn AnnoColumn {
+ get {
+ return this.columnAnno;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn SettColumn {
+ get {
+ return this.columnSett;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn UsernameADColumn {
+ get {
+ return this.columnUsernameAD;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn dataConfColumn {
+ get {
+ return this.columndataConf;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ReleasedWeekRow this[int index] {
+ get {
+ return ((ReleasedWeekRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ReleasedWeekRowChangeEventHandler ReleasedWeekRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ReleasedWeekRowChangeEventHandler ReleasedWeekRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ReleasedWeekRowChangeEventHandler ReleasedWeekRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ReleasedWeekRowChangeEventHandler ReleasedWeekRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddReleasedWeekRow(ReleasedWeekRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ReleasedWeekRow AddReleasedWeekRow(int Anno, int Sett, string UsernameAD, System.DateTime dataConf) {
+ ReleasedWeekRow rowReleasedWeekRow = ((ReleasedWeekRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ Anno,
+ Sett,
+ UsernameAD,
+ dataConf};
+ rowReleasedWeekRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowReleasedWeekRow);
+ return rowReleasedWeekRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ReleasedWeekRow FindByAnnoSett(int Anno, int Sett) {
+ return ((ReleasedWeekRow)(this.Rows.Find(new object[] {
+ Anno,
+ Sett})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ ReleasedWeekDataTable cln = ((ReleasedWeekDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new ReleasedWeekDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnAnno = base.Columns["Anno"];
+ this.columnSett = base.Columns["Sett"];
+ this.columnUsernameAD = base.Columns["UsernameAD"];
+ this.columndataConf = base.Columns["dataConf"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnAnno = new global::System.Data.DataColumn("Anno", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnAnno);
+ this.columnSett = new global::System.Data.DataColumn("Sett", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnSett);
+ this.columnUsernameAD = new global::System.Data.DataColumn("UsernameAD", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnUsernameAD);
+ this.columndataConf = new global::System.Data.DataColumn("dataConf", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columndataConf);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnAnno,
+ this.columnSett}, true));
+ this.columnAnno.AllowDBNull = false;
+ this.columnSett.AllowDBNull = false;
+ this.columnUsernameAD.MaxLength = 50;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ReleasedWeekRow NewReleasedWeekRow() {
+ return ((ReleasedWeekRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new ReleasedWeekRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(ReleasedWeekRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.ReleasedWeekRowChanged != null)) {
+ this.ReleasedWeekRowChanged(this, new ReleasedWeekRowChangeEvent(((ReleasedWeekRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.ReleasedWeekRowChanging != null)) {
+ this.ReleasedWeekRowChanging(this, new ReleasedWeekRowChangeEvent(((ReleasedWeekRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.ReleasedWeekRowDeleted != null)) {
+ this.ReleasedWeekRowDeleted(this, new ReleasedWeekRowChangeEvent(((ReleasedWeekRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.ReleasedWeekRowDeleting != null)) {
+ this.ReleasedWeekRowDeleting(this, new ReleasedWeekRowChangeEvent(((ReleasedWeekRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveReleasedWeekRow(ReleasedWeekRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ Ds_ProjEts ds = new Ds_ProjEts();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "ReleasedWeekDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
///
///Represents strongly named DataRow class.
///
@@ -10328,6 +10666,99 @@ namespace ETS_Data {
}
}
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class ReleasedWeekRow : global::System.Data.DataRow {
+
+ private ReleasedWeekDataTable tableReleasedWeek;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal ReleasedWeekRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableReleasedWeek = ((ReleasedWeekDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int Anno {
+ get {
+ return ((int)(this[this.tableReleasedWeek.AnnoColumn]));
+ }
+ set {
+ this[this.tableReleasedWeek.AnnoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int Sett {
+ get {
+ return ((int)(this[this.tableReleasedWeek.SettColumn]));
+ }
+ set {
+ this[this.tableReleasedWeek.SettColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string UsernameAD {
+ get {
+ try {
+ return ((string)(this[this.tableReleasedWeek.UsernameADColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'UsernameAD\' in table \'ReleasedWeek\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableReleasedWeek.UsernameADColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime dataConf {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tableReleasedWeek.dataConfColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'dataConf\' in table \'ReleasedWeek\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableReleasedWeek.dataConfColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsUsernameADNull() {
+ return this.IsNull(this.tableReleasedWeek.UsernameADColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetUsernameADNull() {
+ this[this.tableReleasedWeek.UsernameADColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsdataConfNull() {
+ return this.IsNull(this.tableReleasedWeek.dataConfColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetdataConfNull() {
+ this[this.tableReleasedWeek.dataConfColumn] = global::System.Convert.DBNull;
+ }
+ }
+
///
///Row event argument class
///
@@ -10769,6 +11200,40 @@ namespace ETS_Data {
}
}
}
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class ReleasedWeekRowChangeEvent : global::System.EventArgs {
+
+ private ReleasedWeekRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ReleasedWeekRowChangeEvent(ReleasedWeekRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ReleasedWeekRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
}
}
namespace ETS_Data.Ds_ProjEtsTableAdapters {
@@ -15922,7 +16387,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
- this._commandCollection = new global::System.Data.SqlClient.SqlCommand[8];
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[10];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM d" +
@@ -15937,15 +16402,15 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sett", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
- this._commandCollection[2].CommandText = "dbo.stp_BAZ_creaBulkByIdxFase";
+ this._commandCollection[2].CommandText = "dbo.stp_BAZ_copy2GPW";
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sett", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UsernameAD", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
- this._commandCollection[3].CommandText = "dbo.stp_BAZ_deleteByIdxFase";
+ this._commandCollection[3].CommandText = "dbo.stp_BAZ_creaBulkByIdxFase";
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -15953,38 +16418,54 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[4].Connection = this.Connection;
- this._commandCollection[4].CommandText = "dbo.stp_BAZ_getByAnnoSett";
+ this._commandCollection[4].CommandText = "dbo.stp_BAZ_deleteByIdxFase";
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sett", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[5].Connection = this.Connection;
- this._commandCollection[5].CommandText = "dbo.stp_BAZ_getByAnnoSettCC";
+ this._commandCollection[5].CommandText = "dbo.stp_BAZ_getByAnnoSett";
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sett", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CapoCommessa", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[6].Connection = this.Connection;
- this._commandCollection[6].CommandText = "dbo.stp_BAZ_getByAnnoSettDip";
+ this._commandCollection[6].CommandText = "dbo.stp_BAZ_getByAnnoSettCC";
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sett", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CapoCommessa", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[7].Connection = this.Connection;
- this._commandCollection[7].CommandText = "dbo.stp_BAZ_updateQuery";
+ this._commandCollection[7].CommandText = "dbo.stp_BAZ_getByAnnoSettDip";
this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sett", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Allocazione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[8].Connection = this.Connection;
+ this._commandCollection[8].CommandText = "dbo.stp_BAZ_ResetCopyGPW";
+ this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sett", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UsernameAD", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[9].Connection = this.Connection;
+ this._commandCollection[9].CommandText = "dbo.stp_BAZ_updateQuery";
+ this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sett", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Allocazione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -16016,7 +16497,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual Ds_ProjEts.BazaarRisorseDataTable getByAnnoSett(global::System.Nullable Anno, global::System.Nullable Sett) {
- this.Adapter.SelectCommand = this.CommandCollection[4];
+ this.Adapter.SelectCommand = this.CommandCollection[5];
if ((Anno.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Anno.Value));
}
@@ -16039,7 +16520,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual Ds_ProjEts.BazaarRisorseDataTable getByAnnoSettCC(global::System.Nullable Anno, global::System.Nullable Sett, global::System.Nullable idxDipendente, string CapoCommessa) {
- this.Adapter.SelectCommand = this.CommandCollection[5];
+ this.Adapter.SelectCommand = this.CommandCollection[6];
if ((Anno.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Anno.Value));
}
@@ -16074,7 +16555,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual Ds_ProjEts.BazaarRisorseDataTable getByAnnoSettDip(global::System.Nullable Anno, global::System.Nullable Sett, global::System.Nullable idxDipendente) {
- this.Adapter.SelectCommand = this.CommandCollection[6];
+ this.Adapter.SelectCommand = this.CommandCollection[7];
if ((Anno.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Anno.Value));
}
@@ -16311,7 +16792,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int creaBulkByIdxFase(global::System.Nullable Anno, global::System.Nullable Sett, global::System.Nullable idxFase) {
+ public virtual int copy2GPW(global::System.Nullable Anno, global::System.Nullable Sett, string UsernameAD) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
if ((Anno.HasValue == true)) {
command.Parameters[1].Value = ((int)(Anno.Value));
@@ -16325,11 +16806,11 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
else {
command.Parameters[2].Value = global::System.DBNull.Value;
}
- if ((idxFase.HasValue == true)) {
- command.Parameters[3].Value = ((int)(idxFase.Value));
+ if ((UsernameAD == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
}
else {
- command.Parameters[3].Value = global::System.DBNull.Value;
+ command.Parameters[3].Value = ((string)(UsernameAD));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
@@ -16351,7 +16832,7 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int deleteByIdxFase(global::System.Nullable Anno, global::System.Nullable Sett, global::System.Nullable idxFase) {
+ public virtual int creaBulkByIdxFase(global::System.Nullable Anno, global::System.Nullable Sett, global::System.Nullable idxFase) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
if ((Anno.HasValue == true)) {
command.Parameters[1].Value = ((int)(Anno.Value));
@@ -16388,11 +16869,91 @@ SELECT Anno, Sett, idxDipendente, idxFase, Allocazione, SchemaWeek, OreTot FROM
return returnValue;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int deleteByIdxFase(global::System.Nullable Anno, global::System.Nullable Sett, global::System.Nullable idxFase) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
+ if ((Anno.HasValue == true)) {
+ command.Parameters[1].Value = ((int)(Anno.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((Sett.HasValue == true)) {
+ command.Parameters[2].Value = ((int)(Sett.Value));
+ }
+ else {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ if ((idxFase.HasValue == true)) {
+ command.Parameters[3].Value = ((int)(idxFase.Value));
+ }
+ else {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int resetCopyGPW(global::System.Nullable Anno, global::System.Nullable Sett, string UsernameAD) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
+ if ((Anno.HasValue == true)) {
+ command.Parameters[1].Value = ((int)(Anno.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((Sett.HasValue == true)) {
+ command.Parameters[2].Value = ((int)(Sett.Value));
+ }
+ else {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ if ((UsernameAD == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(UsernameAD));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int updateQuery(global::System.Nullable Anno, global::System.Nullable Sett, global::System.Nullable idxDipendente, global::System.Nullable idxFase, global::System.Nullable Allocazione) {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
if ((Anno.HasValue == true)) {
command.Parameters[1].Value = ((int)(Anno.Value));
}
@@ -16997,6 +17558,405 @@ SELECT Anno, Sett, idxDipendente, idxFase, OreTot FROM ImpiegoRisorse WHERE (Ann
}
}
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class ReleasedWeekTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ReleasedWeekTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "ReleasedWeek";
+ tableMapping.ColumnMappings.Add("Anno", "Anno");
+ tableMapping.ColumnMappings.Add("Sett", "Sett");
+ tableMapping.ColumnMappings.Add("UsernameAD", "UsernameAD");
+ tableMapping.ColumnMappings.Add("dataConf", "dataConf");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.DeleteCommand.Connection = this.Connection;
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[ReleasedWeek] WHERE (([Anno] = @Original_Anno) AND ([Sett] = @Original_Sett) AND ((@IsNull_UsernameAD = 1 AND [UsernameAD] IS NULL) OR ([UsernameAD] = @Original_UsernameAD)) AND ((@IsNull_dataConf = 1 AND [dataConf] IS NULL) OR ([dataConf] = @Original_dataConf)))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Anno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Anno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Sett", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Sett", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UsernameAD", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UsernameAD", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UsernameAD", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UsernameAD", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dataConf", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataConf", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataConf", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataConf", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[ReleasedWeek] ([Anno], [Sett], [UsernameAD], [dataConf]) VALUE" +
+ "S (@Anno, @Sett, @UsernameAD, @dataConf);\r\nSELECT Anno, Sett, UsernameAD, dataCo" +
+ "nf FROM ReleasedWeek WHERE (Anno = @Anno) AND (Sett = @Sett)";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Anno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sett", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Sett", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UsernameAD", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UsernameAD", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataConf", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataConf", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.UpdateCommand.Connection = this.Connection;
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[ReleasedWeek] SET [Anno] = @Anno, [Sett] = @Sett, [UsernameAD] = @UsernameAD, [dataConf] = @dataConf WHERE (([Anno] = @Original_Anno) AND ([Sett] = @Original_Sett) AND ((@IsNull_UsernameAD = 1 AND [UsernameAD] IS NULL) OR ([UsernameAD] = @Original_UsernameAD)) AND ((@IsNull_dataConf = 1 AND [dataConf] IS NULL) OR ([dataConf] = @Original_dataConf)));
+SELECT Anno, Sett, UsernameAD, dataConf FROM ReleasedWeek WHERE (Anno = @Anno) AND (Sett = @Sett)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Anno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sett", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Sett", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UsernameAD", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UsernameAD", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataConf", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataConf", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Anno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Anno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Sett", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Sett", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_UsernameAD", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UsernameAD", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UsernameAD", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UsernameAD", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dataConf", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataConf", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataConf", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataConf", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::ETS_Data.Properties.Settings.Default.ETS_PROJConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT Anno, Sett, UsernameAD, dataConf FROM dbo.ReleasedWeek";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_ReW_getByAnnoSett";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sett", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(Ds_ProjEts.ReleasedWeekDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual Ds_ProjEts.ReleasedWeekDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ Ds_ProjEts.ReleasedWeekDataTable dataTable = new Ds_ProjEts.ReleasedWeekDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual Ds_ProjEts.ReleasedWeekDataTable getByAnnoWeek(global::System.Nullable Anno, global::System.Nullable Sett) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((Anno.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Anno.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((Sett.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((int)(Sett.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ Ds_ProjEts.ReleasedWeekDataTable dataTable = new Ds_ProjEts.ReleasedWeekDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(Ds_ProjEts.ReleasedWeekDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(Ds_ProjEts dataSet) {
+ return this.Adapter.Update(dataSet, "ReleasedWeek");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(int Original_Anno, int Original_Sett, string Original_UsernameAD, global::System.Nullable Original_dataConf) {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_Anno));
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_Sett));
+ if ((Original_UsernameAD == null)) {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_UsernameAD));
+ }
+ if ((Original_dataConf.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((System.DateTime)(Original_dataConf.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(int Anno, int Sett, string UsernameAD, global::System.Nullable dataConf) {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((int)(Anno));
+ this.Adapter.InsertCommand.Parameters[1].Value = ((int)(Sett));
+ if ((UsernameAD == null)) {
+ this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(UsernameAD));
+ }
+ if ((dataConf.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(dataConf.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(int Anno, int Sett, string UsernameAD, global::System.Nullable dataConf, int Original_Anno, int Original_Sett, string Original_UsernameAD, global::System.Nullable Original_dataConf) {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(Anno));
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(Sett));
+ if ((UsernameAD == null)) {
+ this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(UsernameAD));
+ }
+ if ((dataConf.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(dataConf.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(Original_Anno));
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Original_Sett));
+ if ((Original_UsernameAD == null)) {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_UsernameAD));
+ }
+ if ((Original_dataConf.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(Original_dataConf.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(string UsernameAD, global::System.Nullable dataConf, int Original_Anno, int Original_Sett, string Original_UsernameAD, global::System.Nullable Original_dataConf) {
+ return this.Update(Original_Anno, Original_Sett, UsernameAD, dataConf, Original_Anno, Original_Sett, Original_UsernameAD, Original_dataConf);
+ }
+ }
+
///
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///
@@ -17029,6 +17989,8 @@ SELECT Anno, Sett, idxDipendente, idxFase, OreTot FROM ImpiegoRisorse WHERE (Ann
private ImpiegoRisorseTableAdapter _impiegoRisorseTableAdapter;
+ private ReleasedWeekTableAdapter _releasedWeekTableAdapter;
+
private bool _backupDataSetBeforeUpdate;
private global::System.Data.IDbConnection _connection;
@@ -17184,6 +18146,20 @@ SELECT Anno, Sett, idxDipendente, idxFase, OreTot FROM ImpiegoRisorse WHERE (Ann
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public ReleasedWeekTableAdapter ReleasedWeekTableAdapter {
+ get {
+ return this._releasedWeekTableAdapter;
+ }
+ set {
+ this._releasedWeekTableAdapter = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool BackupDataSetBeforeUpdate {
@@ -17243,6 +18219,10 @@ SELECT Anno, Sett, idxDipendente, idxFase, OreTot FROM ImpiegoRisorse WHERE (Ann
&& (this._impiegoRisorseTableAdapter.Connection != null))) {
return this._impiegoRisorseTableAdapter.Connection;
}
+ if (((this._releasedWeekTableAdapter != null)
+ && (this._releasedWeekTableAdapter.Connection != null))) {
+ return this._releasedWeekTableAdapter.Connection;
+ }
return null;
}
set {
@@ -17286,6 +18266,9 @@ SELECT Anno, Sett, idxDipendente, idxFase, OreTot FROM ImpiegoRisorse WHERE (Ann
if ((this._impiegoRisorseTableAdapter != null)) {
count = (count + 1);
}
+ if ((this._releasedWeekTableAdapter != null)) {
+ count = (count + 1);
+ }
return count;
}
}
@@ -17387,6 +18370,15 @@ SELECT Anno, Sett, idxDipendente, idxFase, OreTot FROM ImpiegoRisorse WHERE (Ann
allChangedRows.AddRange(updatedRows);
}
}
+ if ((this._releasedWeekTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.ReleasedWeek.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._releasedWeekTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
return result;
}
@@ -17477,6 +18469,14 @@ SELECT Anno, Sett, idxDipendente, idxFase, OreTot FROM ImpiegoRisorse WHERE (Ann
allAddedRows.AddRange(addedRows);
}
}
+ if ((this._releasedWeekTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.ReleasedWeek.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._releasedWeekTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
return result;
}
@@ -17487,6 +18487,14 @@ SELECT Anno, Sett, idxDipendente, idxFase, OreTot FROM ImpiegoRisorse WHERE (Ann
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateDeletedRows(Ds_ProjEts dataSet, global::System.Collections.Generic.List allChangedRows) {
int result = 0;
+ if ((this._releasedWeekTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.ReleasedWeek.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._releasedWeekTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
if ((this._impiegoRisorseTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.ImpiegoRisorse.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -17656,6 +18664,11 @@ SELECT Anno, Sett, idxDipendente, idxFase, OreTot FROM ImpiegoRisorse WHERE (Ann
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
+ if (((this._releasedWeekTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._releasedWeekTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
+ "tring.");
+ }
global::System.Data.IDbConnection workConnection = this.Connection;
if ((workConnection == null)) {
throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" +
@@ -17778,6 +18791,15 @@ SELECT Anno, Sett, idxDipendente, idxFase, OreTot FROM ImpiegoRisorse WHERE (Ann
adaptersWithAcceptChangesDuringUpdate.Add(this._impiegoRisorseTableAdapter.Adapter);
}
}
+ if ((this._releasedWeekTableAdapter != null)) {
+ revertConnections.Add(this._releasedWeekTableAdapter, this._releasedWeekTableAdapter.Connection);
+ this._releasedWeekTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._releasedWeekTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._releasedWeekTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._releasedWeekTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._releasedWeekTableAdapter.Adapter);
+ }
+ }
//
//---- Perform updates -----------
//
@@ -17876,6 +18898,10 @@ SELECT Anno, Sett, idxDipendente, idxFase, OreTot FROM ImpiegoRisorse WHERE (Ann
this._impiegoRisorseTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._impiegoRisorseTableAdapter]));
this._impiegoRisorseTableAdapter.Transaction = null;
}
+ if ((this._releasedWeekTableAdapter != null)) {
+ this._releasedWeekTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._releasedWeekTableAdapter]));
+ this._releasedWeekTableAdapter.Transaction = null;
+ }
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
diff --git a/ETS_Data/ETS_Data.csproj b/ETS_Data/ETS_Data.csproj
index 2e6e358..deef345 100644
--- a/ETS_Data/ETS_Data.csproj
+++ b/ETS_Data/ETS_Data.csproj
@@ -157,6 +157,8 @@
+
+
diff --git a/ETS_Data/SQL/ETS_PROJ/ETS_PROJ_00218.sql b/ETS_Data/SQL/ETS_PROJ/ETS_PROJ_00218.sql
new file mode 100644
index 0000000..1dc3551
--- /dev/null
+++ b/ETS_Data/SQL/ETS_PROJ/ETS_PROJ_00218.sql
@@ -0,0 +1,7 @@
+
+
+-- registro versione...
+INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(218, GETDATE())
+GO
+SELECT TOP 10 * FROM LogUpdateDb ORDER BY Versione DESC
+GO
diff --git a/PROJ-ETS/PROJ-ETS/Content/Style.css b/PROJ-ETS/PROJ-ETS/Content/Style.css
index 0b7b59f..9240b35 100644
--- a/PROJ-ETS/PROJ-ETS/Content/Style.css
+++ b/PROJ-ETS/PROJ-ETS/Content/Style.css
@@ -508,6 +508,22 @@ A:hover {
padding: 4px;
padding-right: 28px;
}
+.btnPinned {
+ background-image: url(../images/pin_m.png);
+ background-repeat: no-repeat;
+ background-position: right;
+ border: 1px solid #333333;
+ padding: 4px;
+ padding-right: 28px;
+}
+.btnPinnedDis {
+ background-image: url(../images/pinDis_m.png);
+ background-repeat: no-repeat;
+ background-position: right;
+ border: 1px solid #333333;
+ padding: 4px;
+ padding-right: 28px;
+}
.btnDelete {
background-image: url(../images/elimina_m.png);
background-repeat: no-repeat;
diff --git a/PROJ-ETS/PROJ-ETS/Content/Style.less b/PROJ-ETS/PROJ-ETS/Content/Style.less
index f126a68..d344011 100644
--- a/PROJ-ETS/PROJ-ETS/Content/Style.less
+++ b/PROJ-ETS/PROJ-ETS/Content/Style.less
@@ -536,6 +536,23 @@ A:hover {
padding-right: 28px;
}
+.btnPinned {
+ background-image: url(../images/pin_m.png);
+ background-repeat: no-repeat;
+ background-position: right;
+ border: 1px solid #333333;
+ padding: 4px;
+ padding-right: 28px;
+}
+.btnPinnedDis {
+ background-image: url(../images/pinDis_m.png);
+ background-repeat: no-repeat;
+ background-position: right;
+ border: 1px solid #333333;
+ padding: 4px;
+ padding-right: 28px;
+}
+
.btnDelete {
background-image: url(../images/elimina_m.png);
background-repeat: no-repeat;
diff --git a/PROJ-ETS/PROJ-ETS/Content/Style.min.css b/PROJ-ETS/PROJ-ETS/Content/Style.min.css
index 00f35c7..e2606c8 100644
--- a/PROJ-ETS/PROJ-ETS/Content/Style.min.css
+++ b/PROJ-ETS/PROJ-ETS/Content/Style.min.css
@@ -1 +1 @@
-html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-family:Verdana,Arial}:focus{outline:0}body{line-height:1;color:#000;background:#fff}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal}blockquote:before,blockquote:after,q:before,q:after{content:""}blockquote,q{quotes:"" ""}.fullscreen{display:block;top:0;left:0;width:100%;height:100%}.bottomWrite{vertical-align:bottom;border-top:#0d0083 1px solid;margin-top:2px;padding-top:2px}.smallText{font-size:8pt}.ui-dialog-sw{padding:.2em;overflow:hidden;-moz-box-shadow:0 5px 10px rgba(0,0,0,.8);-webkit-box-shadow:0 5px 10px rgba(0,0,0,.8);box-shadow:0 5px 10px rgba(0,0,0,.8)}.ui-dialog-sw .ui-dialog-sw-titlebar{padding:.5em 1em .3em;position:relative}.ui-dialog-sw .ui-dialog-sw-title{float:left;margin:.1em 16px .2em 0}.ui-dialog-sw .ui-dialog-sw-titlebar-close{position:absolute;right:.3em;top:50%;width:19px;margin:-10px 0 0 0;padding:1px;height:18px;-moz-border-radius:10px}.ui-dialog-sw .ui-dialog-sw-titlebar-close span{display:block;margin:1px}.ui-dialog-sw .ui-dialog-sw-titlebar-close:hover,.ui-dialog-sw .ui-dialog-sw-titlebar-close:focus{padding:0}.ui-dialog-sw .ui-dialog-sw-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto;zoom:1}.ui-dialog-sw .ui-dialog-sw-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin:.5em 0 0 0;padding:.3em 1em .5em .4em}.ui-dialog-sw .ui-dialog-sw-buttonpane .ui-dialog-sw-buttonset{float:right}.ui-dialog-sw .ui-dialog-sw-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog-sw .ui-resizable-se{width:14px;height:14px;right:3px;bottom:3px}.ui-draggable .ui-dialog-sw-titlebar{cursor:move}.ui-dialog-sw{padding:0}.ui-dialog-sw .ui-dialog-sw-titlebar{border-top:none;border-right:none;border-left:none;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.ui-widget-sw{font-family:Arial,sans-serif;font-size:1.1em}.ui-widget-sw .ui-widget-sw{font-size:1em}.ui-widget-sw input,.ui-widget-sw select,.ui-widget-sw textarea,.ui-widget-sw button{font-family:Arial,sans-serif;font-size:1em}.ui-widget-sw-content{border:1px solid #a8a8a8;background:#fff;color:#4f4f4f}.ui-widget-sw-header{border:1px solid #a8a8a8;background:silver url('../images/ui-bg_highlight-soft_100_c0c0c0_1x100.png') repeat-x 50% top;color:#333;font-weight:bold;text-shadow:0 1px 0 rgba(255,255,255,.7)}.ui-widget-sw-header a{color:#4f4f4f}.areaTitolo{background-color:#0a64a4;background-image:url('../images/bg-menu-main.png');background-repeat:repeat-x;color:#ececec}.priCol-1{background-color:#00b060}.priCol-2{background-color:#218457}.priCol-3{background-color:#00733e}.priCol-4{background-color:#36d88e}.priCol-5{background-color:#c3ffe4}.secColA-1{background-color:#2d9eff;background-image:-webkit-gradient(linear,left top,left bottom,from(#0a64a4),to(#4481df));background-image:-webkit-linear-gradient(#0a64a4,#4481df);background-image:-moz-linear-gradient(#0a64a4,#4481df);background-image:-ms-linear-gradient(#0a64a4,#4481df);background-image:-o-linear-gradient(#0a64a4,#4481df);background-image:linear-gradient(#0a64a4,#4481df)}.secColA-2{background-color:#24577b}.secColA-3{background-color:#03406a}.secColA-4{background-image:-webkit-gradient(linear,left top,left bottom,from(#4683ff),to(#2461bf));background-image:-webkit-linear-gradient(#4683ff,#2461bf);background-image:-moz-linear-gradient(#4683ff,#2461bf);background-image:-ms-linear-gradient(#4683ff,#2461bf);background-image:-o-linear-gradient(#4683ff,#2461bf);background-image:linear-gradient(#4683ff,#2461bf)}.secColA-5{background-image:-webkit-gradient(linear,left top,left bottom,from(#b8e1fd),to(#2461bf));background-image:-webkit-linear-gradient(#b8e1fd,#2461bf);background-image:-moz-linear-gradient(#b8e1fd,#2461bf);background-image:-ms-linear-gradient(#b8e1fd,#2461bf);background-image:-o-linear-gradient(#b8e1fd,#2461bf);background-image:linear-gradient(#b8e1fd,#2461bf)}.secColB-1{background-color:#ff9000}.secColB-2{background-color:#bf8130}.secColB-3{background-color:#a65e00}.secColB-4{background-color:#ffac40}.secColB-5{background-color:#fdd7a6}.comCol-1{background-color:#ff4500}.comCol-2{background-color:#bf5730}.comCol-3{background-color:#a62d00}.comCol-4{background-color:#ff7340}.comCol-5{background-color:#ffcebc}.lightBlue{border:1px solid #cdcdcd;background-image:-webkit-gradient(linear,left top,left bottom,from(#ddf),to(#e1f1ff));background-image:-webkit-linear-gradient(#ddf,#e1f1ff);background-image:-moz-linear-gradient(#ddf,#e1f1ff);background-image:-ms-linear-gradient(#ddf,#e1f1ff);background-image:-o-linear-gradient(#ddf,#e1f1ff);background-image:linear-gradient(#ddf,#e1f1ff)}.lightGray{background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f1f1f1));background-image:-webkit-linear-gradient(#fff,#f1f1f1);background-image:-moz-linear-gradient(#fff,#f1f1f1);background-image:-ms-linear-gradient(#fff,#f1f1f1);background-image:-o-linear-gradient(#fff,#f1f1f1);background-image:linear-gradient(#fff,#f1f1f1);border:1px solid #cdcdcd}.headerStyle{background-color:#507cd1;font-weight:bold;color:#fff;white-space:nowrap}.footeStyle{background-color:#507cd1;font-weight:bold;color:#fff;white-space:nowrap}.footerRowStyle{background-image:-webkit-gradient(linear,left top,left bottom,from(#ff7a00),to(#cc3800));background-image:-webkit-linear-gradient(#ff7a00,#cc3800);background-image:-moz-linear-gradient(#ff7a00,#cc3800);background-image:-ms-linear-gradient(#ff7a00,#cc3800);background-image:-o-linear-gradient(#ff7a00,#cc3800);background-image:linear-gradient(#ff7a00,#cc3800)}.pagerStyle{background-color:#2461bf;color:#fff;white-space:nowrap;text-align:center;margin:auto;font-size:medium}.rowStyle{background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f1f1f1));background-image:-webkit-linear-gradient(#fff,#f1f1f1);background-image:-moz-linear-gradient(#fff,#f1f1f1);background-image:-ms-linear-gradient(#fff,#f1f1f1);background-image:-o-linear-gradient(#fff,#f1f1f1);background-image:linear-gradient(#fff,#f1f1f1);border:1px solid #cdcdcd}.alternatingRowStyle{border:1px solid #cdcdcd;background-image:-webkit-gradient(linear,left top,left bottom,from(#ddf),to(#e1f1ff));background-image:-webkit-linear-gradient(#ddf,#e1f1ff);background-image:-moz-linear-gradient(#ddf,#e1f1ff);background-image:-ms-linear-gradient(#ddf,#e1f1ff);background-image:-o-linear-gradient(#ddf,#e1f1ff);background-image:linear-gradient(#ddf,#e1f1ff)}.editRowStyle{border:1px solid #5282de;background-image:-webkit-gradient(linear,left top,left bottom,from(#e2ebff),to(#94b4ea));background-image:-webkit-linear-gradient(#e2ebff,#94b4ea);background-image:-moz-linear-gradient(#e2ebff,#94b4ea);background-image:-ms-linear-gradient(#e2ebff,#94b4ea);background-image:-o-linear-gradient(#e2ebff,#94b4ea);background-image:linear-gradient(#e2ebff,#94b4ea)}.selectedRowStyle{background-image:-webkit-gradient(linear,left top,left bottom,from(#dfd),to(#80ff80));background-image:-webkit-linear-gradient(#dfd,#80ff80);background-image:-moz-linear-gradient(#dfd,#80ff80);background-image:-ms-linear-gradient(#dfd,#80ff80);background-image:-o-linear-gradient(#dfd,#80ff80);background-image:linear-gradient(#dfd,#80ff80);font-weight:bold}.sortAscHead{background-color:#6d95e1}.sortDescHead{background-color:#4870be}.sortAscCell{background-color:#f5f7fb}.sortDescCell{background-color:#e9ebef}.divTitoloAdmin{background-color:#bf8130;padding:5px 0 5px 5px;color:#fff}A:hover{color:red}.float-left{float:left}.float-right{float:right}.divSx{float:left}.divDx{float:right}.divCenter{float:none;text-align:center;padding:0;margin:0 auto 0 auto}.clearDiv{clear:both}.padSxDx{padding-left:2px;padding-right:2px}.shadowBox{-moz-box-shadow:0 4px 8px rgba(0,0,0,.5);-webkit-box-shadow:0 4px 8px rgba(0,0,0,.5);box-shadow:0 4px 8px rgba(0,0,0,.5)}.half{width:50%}.third{width:33%}.quarter{width:25%}.fifth{width:20%}.modalBackground{background-color:gray;filter:alpha(opacity=70);opacity:.7}.btnNew{background-image:url(../images/new_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnDelete{background-image:url(../images/elimina_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnUpdate{background-image:url(../images/reload_l.png);background-repeat:no-repeat;background-position:center right;background-color:#dedede;width:160px;height:40px;border:1px solid #333;vertical-align:middle;margin:auto;font-size:10pt;font-family:Arial}.btnMoveBig{background-image:url(../images/InOutArrows_l.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:8px;padding-right:32px}.btnEditBig{background-image:url(../images/edit_l.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnEdit{background-image:url(../images/edit_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnClonaBig{background-image:url(../images/clonaObj_l.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnClona{background-image:url(../images/clonaObj_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnEmail{background-image:url(../images/email_l.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:38px}.btnRosso{border:solid 2px red;background-color:#faa;width:100%;text-align:center}.btnRossoGrad{border:solid 2px red;background-color:#faa;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#faa),to(red));background-image:-webkit-linear-gradient(#faa,red);background-image:-moz-linear-gradient(#faa,red);background-image:-ms-linear-gradient(#faa,red);background-image:-o-linear-gradient(#faa,red);background-image:linear-gradient(#faa,red)}.btnArancio{border:solid 2px #e48800;background-color:#ffb44d;width:100%;text-align:center}.btnArancioGrad{border:solid 2px #e48800;background-color:#ffb44d;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#ffb44d),to(#e48800));background-image:-webkit-linear-gradient(#ffb44d,#e48800);background-image:-moz-linear-gradient(#ffb44d,#e48800);background-image:-ms-linear-gradient(#ffb44d,#e48800);background-image:-o-linear-gradient(#ffb44d,#e48800);background-image:linear-gradient(#ffb44d,#e48800)}.btnVerde{border:solid 2px green;background-color:#afa;width:100%;text-align:center}.btnVerdeGrad{border:solid 2px green;background-color:#afa;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#afa),to(green));background-image:-webkit-linear-gradient(#afa,green);background-image:-moz-linear-gradient(#afa,green);background-image:-ms-linear-gradient(#afa,green);background-image:-o-linear-gradient(#afa,green);background-image:linear-gradient(#afa,green)}.btnBlu{border:solid 2px blue;background-color:#aaf;width:100%;text-align:center}.btnPreferred{font-size:3em;border:solid 4px red;background-color:#ffacac;width:100%;min-height:200px;height:100%;text-align:center;white-space:pre}.btnStd{font-size:3em;color:#696969;border:solid 4px #333;background-color:#acacac;width:100%;min-height:200px;height:100%;text-align:center;white-space:pre}.btnDisabled{border:solid 2px #999;background-color:#dedede;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#dedede),to(#999));background-image:-webkit-linear-gradient(#dedede,#999);background-image:-moz-linear-gradient(#dedede,#999);background-image:-ms-linear-gradient(#dedede,#999);background-image:-o-linear-gradient(#dedede,#999);background-image:linear-gradient(#dedede,#999)}.btnGialloGrad{border:solid 2px #a93;background-color:#fe6;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#fe6),to(#a93));background-image:-webkit-linear-gradient(#fe6,#a93);background-image:-moz-linear-gradient(#fe6,#a93);background-image:-ms-linear-gradient(#fe6,#a93);background-image:-o-linear-gradient(#fe6,#a93);background-image:linear-gradient(#fe6,#a93)}.pad26{padding:2px 6px}.textArancio{color:#fa3}.textAzzurro{color:#36f}.textNero{color:#000}.textGrigio{color:#888}.badgeRosso{border:solid 2px red;background-color:#faa;width:100%;text-align:center}.badgeStd{border:solid 2px #333;background-color:#eee;width:100%;text-align:center}.badgeVerde{border:solid 2px green;background-color:#afa;width:100%;text-align:center}.badgeArancio{border:solid 2px #980;background-color:#fe6;width:100%;text-align:center}.rltUpdate{background-color:#ff3}.ui-autocomplete{max-height:200px;overflow-y:auto;overflow-x:hidden;padding-right:20px}li.static{margin:2px 4px 0 0;border-color:#cdcdcd;border-style:solid;border-width:1px 1px 0 1px;border-top-right-radius:4px;border-top-left-radius:4px}.menuNav{background-color:#e6e6e6;color:#284e98;font-size:1em;border-top-right-radius:4px;border-top-left-radius:4px}.menuNav:hover{background-color:#b5c7de;color:#000}div>ul>li>a.selected.menuNav{background-color:#fff;color:#000}.areaContMenu{background-color:#fff;padding:4px;border-color:#cdcdcd;border-style:solid;border-width:1px 1px 1px 1px}.roundedCorner{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.padStd{padding:4px}.sfondoGrigio{background-color:#ececec}.bordoGrigio{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid #818181}.bordoVerde{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid green}.bordoRosso{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid red}.bordoNero{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid #000;background-color:#fff}.bordoAzzurro{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid #4da3ff}.placardGrigio{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid #818181;background-color:#ececec}.docIcon{background-image:url(../images/download_s.png);background-repeat:no-repeat;background-position:right;padding:2px;padding-right:16px;min-height:16px}.filtro_1{background-color:#88f}.filtro_2{background-color:#aaf}.filtro_2:hover{color:#88f;background-color:#dedeff}.filtro_2 a:link{color:#fff;background-color:transparent}.filtro_3{background-color:#ccf}.filtro_4{background-color:#dedeff}.filtro_5{background-color:#efefff}.tabLabelGreen{background-color:#dfd;border-top:1px solid #393;border-left:1px solid #393;border-right:1px solid #393;height:1.5em;vertical-align:middle;padding-top:.5em;font-size:13pt;font-weight:bold}.tabBodyGreen{background-color:#dfd;border-bottom:1px solid green;border-left:1px solid green;border-right:1px solid green}.tabLabelGray{background-color:#dedede;border-top:1px solid #333;border-left:1px solid #333;border-right:1px solid #333;height:1.5em;vertical-align:middle;padding-top:.5em;font-size:13pt;font-weight:bold}.tabBodyGray{background-color:#dedede;border-bottom:1px solid #000;border-left:1px solid #000;border-right:1px solid #000}.fontTitolo{font-size:24pt;height:36px}.fontMedio{font-size:16pt}.fontStd{font-size:10pt}.fontPiccolo{font-size:8pt}.fontMini{font-size:7pt}.fontMicro{font-size:6pt}.labelInput{font-size:9pt;color:#555}.watermark{color:gray;font-style:italic}.autocomplete{width:400px;color:gray;background-color:#fff;font-size:8pt;padding:4px 1px 4px 1px;border-bottom:1px solid #888}.autocompleteHiglight{width:400px;color:#000;background-color:#ff0;font-size:8pt;padding:4px 1px 4px 1px;border-bottom:1px solid #888}.autocompleteElemID{width:400px;background-color:red;font-weight:bold}.autocompleteListCssClass{width:400px;font-size:8pt;background-color:#fff;padding:2px 2px 2px 2px;border:1px solid #333}.dataBlock{background-color:#fff;font-size:9pt;float:left;border-top:solid 1px gray;border-bottom:solid 1px gray;border-left:solid 1px gray;border-right:solid 1px gray;margin:0;padding:4px;vertical-align:text-top;text-align:left}.dataBlockHeader{border-top:solid 2px gray;border-bottom:solid 1px gray;border-left:solid 2px gray;border-right:solid 2px gray;background-color:#efefef;font-weight:bold;padding:2px}.dataBlockSx{float:left;text-align:left}.dataBlockDx{float:right;text-align:right}.dataBlockLabel{border-top:solid 1px #fefefe;padding-right:2px;padding-left:2px}.dataBlockValue{color:#000;font-weight:bold;padding-right:4px;padding-left:4px;margin-bottom:0}.dataBlockReset{clear:both;padding-bottom:2px;margin-bottom:2px}.dataBlockResetGray{border-bottom:solid 1px #cecece;clear:both;padding-bottom:2px;margin-bottom:2px}.dataBlockResetDark{border-bottom:solid 1px #363636;clear:both;padding-bottom:2px;margin-bottom:2px}.dataBlockBtn{background-color:#fafafa;border:solid 1px gray;padding-top:4px;padding-bottom:4px;vertical-align:text-top;margin:0;text-align:center}.blockSizeSmallest{width:175px}.blockSizeSmaller{width:200px}.blockSizeSmall{width:225px}.blockSizeMed{width:250px}.blockSizeLarge{width:275px}.blockSizeXLarge{width:300px}.blockSizeXXLarge{width:350px}.blockSizeXXXLarge{width:400px}.grView{color:#333;font-size:8pt;padding-left:1px;padding-right:1px;padding-top:1px;padding-bottom:1px}.ctrHeaderPager{background-color:#b8b8b8;font-weight:bold;color:#fff}.ctrHeaderPagerRight{background-color:#b8b8b8;font-weight:bold;color:#fff;text-align:right}.ctrHeaderPagerBlue{background-color:#507cd1;height:1px}.ctrHeaderPagerBlueRight{background-color:#507cd1;height:1px;text-align:right}.ctrFooter{background-color:#507cd1;font-weight:bold;color:#fff}.ctrRowStyle{vertical-align:top;background-color:#eff3fb}.valignMiddle{vertical-align:middle}.lblErrore{color:red}.lblBlu{color:#33f}.cTabRO{text-align:center;height:15px;border:solid 1px #777}.cEmp{background-color:#d5d5d5;background-image:-webkit-gradient(linear,left top,left bottom,from(#f8fbff),to(#d5d5d5));background-image:-webkit-linear-gradient(#f8fbff,#d5d5d5);background-image:-moz-linear-gradient(#f8fbff,#d5d5d5);background-image:-ms-linear-gradient(#f8fbff,#d5d5d5);background-image:-o-linear-gradient(#f8fbff,#d5d5d5);background-image:linear-gradient(#f8fbff,#d5d5d5)}.cS01{background-color:#f8fbff;background-image:-webkit-gradient(linear,left top,left bottom,from(#ffff8e),to(#f8fbff));background-image:-webkit-linear-gradient(#ffff8e,#f8fbff);background-image:-moz-linear-gradient(#ffff8e,#f8fbff);background-image:-ms-linear-gradient(#ffff8e,#f8fbff);background-image:-o-linear-gradient(#ffff8e,#f8fbff);background-image:linear-gradient(#ffff8e,#f8fbff)}.cS02{background-color:#ffff8e;background-image:-webkit-gradient(linear,left top,left bottom,from(#ffff4d),to(#ffff8e));background-image:-webkit-linear-gradient(#ffff4d,#ffff8e);background-image:-moz-linear-gradient(#ffff4d,#ffff8e);background-image:-ms-linear-gradient(#ffff4d,#ffff8e);background-image:-o-linear-gradient(#ffff4d,#ffff8e);background-image:linear-gradient(#ffff4d,#ffff8e);color:#fff}.cS03{background-color:#ffff4d;background-image:-webkit-gradient(linear,left top,left bottom,from(#f1f100),to(#ffff4d));background-image:-webkit-linear-gradient(#f1f100,#ffff4d);background-image:-moz-linear-gradient(#f1f100,#ffff4d);background-image:-ms-linear-gradient(#f1f100,#ffff4d);background-image:-o-linear-gradient(#f1f100,#ffff4d);background-image:linear-gradient(#f1f100,#ffff4d);color:#fff}.cS04{background-color:#f1f100;background-image:-webkit-gradient(linear,left top,left bottom,from(#e4e400),to(#f1f100));background-image:-webkit-linear-gradient(#e4e400,#f1f100);background-image:-moz-linear-gradient(#e4e400,#f1f100);background-image:-ms-linear-gradient(#e4e400,#f1f100);background-image:-o-linear-gradient(#e4e400,#f1f100);background-image:linear-gradient(#e4e400,#f1f100);color:#fff}.cOvr{background-color:#e4e400;background-image:-webkit-gradient(linear,left top,left bottom,from(#caca00),to(#e4e400));background-image:-webkit-linear-gradient(#caca00,#e4e400);background-image:-moz-linear-gradient(#caca00,#e4e400);background-image:-ms-linear-gradient(#caca00,#e4e400);background-image:-o-linear-gradient(#caca00,#e4e400);background-image:linear-gradient(#caca00,#e4e400)}.cBia{text-align:center;font-weight:bold;height:20px;padding:0 2px}.selCel{background-color:#cbebff;border:dashed 2px #2af;text-align:center}.cTab{text-align:center;height:20px;border:solid 1px #777}.cREmp{background-color:#c3c3c3;background-image:-webkit-gradient(linear,left top,left bottom,from(#f8fbff),to(#c3c3c3));background-image:-webkit-linear-gradient(#f8fbff,#c3c3c3);background-image:-moz-linear-gradient(#f8fbff,#c3c3c3);background-image:-ms-linear-gradient(#f8fbff,#c3c3c3);background-image:-o-linear-gradient(#f8fbff,#c3c3c3);background-image:linear-gradient(#f8fbff,#c3c3c3)}.cR01{background-color:#f8fbff;background-image:-webkit-gradient(linear,left top,left bottom,from(#90c4ff),to(#f8fbff));background-image:-webkit-linear-gradient(#90c4ff,#f8fbff);background-image:-moz-linear-gradient(#90c4ff,#f8fbff);background-image:-ms-linear-gradient(#90c4ff,#f8fbff);background-image:-o-linear-gradient(#90c4ff,#f8fbff);background-image:linear-gradient(#90c4ff,#f8fbff)}.cR02{background-color:#90c4ff;background-image:-webkit-gradient(linear,left top,left bottom,from(#76b8ff),to(#90c4ff));background-image:-webkit-linear-gradient(#76b8ff,#90c4ff);background-image:-moz-linear-gradient(#76b8ff,#90c4ff);background-image:-ms-linear-gradient(#76b8ff,#90c4ff);background-image:-o-linear-gradient(#76b8ff,#90c4ff);background-image:linear-gradient(#76b8ff,#90c4ff);color:#fff}.cR03{background-color:#76b8ff;background-image:-webkit-gradient(linear,left top,left bottom,from(#5caaff),to(#76b8ff));background-image:-webkit-linear-gradient(#5caaff,#76b8ff);background-image:-moz-linear-gradient(#5caaff,#76b8ff);background-image:-ms-linear-gradient(#5caaff,#76b8ff);background-image:-o-linear-gradient(#5caaff,#76b8ff);background-image:linear-gradient(#5caaff,#76b8ff);color:#fff}.cR04{background-color:#5caaff;background-image:-webkit-gradient(linear,left top,left bottom,from(#288eff),to(#5caaff));background-image:-webkit-linear-gradient(#288eff,#5caaff);background-image:-moz-linear-gradient(#288eff,#5caaff);background-image:-ms-linear-gradient(#288eff,#5caaff);background-image:-o-linear-gradient(#288eff,#5caaff);background-image:linear-gradient(#288eff,#5caaff);color:#fff}.cROvr{background-color:#288eff;background-image:-webkit-gradient(linear,left top,left bottom,from(#3333d9),to(#288eff));background-image:-webkit-linear-gradient(#3333d9,#288eff);background-image:-moz-linear-gradient(#3333d9,#288eff);background-image:-ms-linear-gradient(#3333d9,#288eff);background-image:-o-linear-gradient(#3333d9,#288eff);background-image:linear-gradient(#3333d9,#288eff);color:#fff}.cRBia{text-align:center;font-weight:bold;height:15px;padding:0 2px}.selCelR{background-color:#cbebff;border:dashed 2px #2af;text-align:center}.cTEmp{background-color:#c3c3c3;background-image:-webkit-gradient(linear,left top,left bottom,from(#f8fbff),to(#c3c3c3));background-image:-webkit-linear-gradient(#f8fbff,#c3c3c3);background-image:-moz-linear-gradient(#f8fbff,#c3c3c3);background-image:-ms-linear-gradient(#f8fbff,#c3c3c3);background-image:-o-linear-gradient(#f8fbff,#c3c3c3);background-image:linear-gradient(#f8fbff,#c3c3c3)}.cTUnd{background-color:#ffb769;background-image:-webkit-gradient(linear,left top,left bottom,from(#ff851b),to(#ffb769));background-image:-webkit-linear-gradient(#ff851b,#ffb769);background-image:-moz-linear-gradient(#ff851b,#ffb769);background-image:-ms-linear-gradient(#ff851b,#ffb769);background-image:-o-linear-gradient(#ff851b,#ffb769);background-image:linear-gradient(#ff851b,#ffb769);color:#666}.cTOk{background-color:#1bff1b;background-image:-webkit-gradient(linear,left top,left bottom,from(#009800),to(#1bff1b));background-image:-webkit-linear-gradient(#009800,#1bff1b);background-image:-moz-linear-gradient(#009800,#1bff1b);background-image:-ms-linear-gradient(#009800,#1bff1b);background-image:-o-linear-gradient(#009800,#1bff1b);background-image:linear-gradient(#009800,#1bff1b);color:#ff0}.cTOvr{background-color:#ff871b;background-image:-webkit-gradient(linear,left top,left bottom,from(#c12424),to(#ff871b));background-image:-webkit-linear-gradient(#c12424,#ff871b);background-image:-moz-linear-gradient(#c12424,#ff871b);background-image:-ms-linear-gradient(#c12424,#ff871b);background-image:-o-linear-gradient(#c12424,#ff871b);background-image:linear-gradient(#c12424,#ff871b);color:#f6f6f6}.cTBia{text-align:center;font-weight:bold;height:20px;padding:0 2px}.selCelT{background-color:#cbebff;border:dashed 2px #2af;text-align:center}
\ No newline at end of file
+html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-family:Verdana,Arial}:focus{outline:0}body{line-height:1;color:#000;background:#fff}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal}blockquote:before,blockquote:after,q:before,q:after{content:""}blockquote,q{quotes:"" ""}.fullscreen{display:block;top:0;left:0;width:100%;height:100%}.bottomWrite{vertical-align:bottom;border-top:#0d0083 1px solid;margin-top:2px;padding-top:2px}.smallText{font-size:8pt}.ui-dialog-sw{padding:.2em;overflow:hidden;-moz-box-shadow:0 5px 10px rgba(0,0,0,.8);-webkit-box-shadow:0 5px 10px rgba(0,0,0,.8);box-shadow:0 5px 10px rgba(0,0,0,.8)}.ui-dialog-sw .ui-dialog-sw-titlebar{padding:.5em 1em .3em;position:relative}.ui-dialog-sw .ui-dialog-sw-title{float:left;margin:.1em 16px .2em 0}.ui-dialog-sw .ui-dialog-sw-titlebar-close{position:absolute;right:.3em;top:50%;width:19px;margin:-10px 0 0 0;padding:1px;height:18px;-moz-border-radius:10px}.ui-dialog-sw .ui-dialog-sw-titlebar-close span{display:block;margin:1px}.ui-dialog-sw .ui-dialog-sw-titlebar-close:hover,.ui-dialog-sw .ui-dialog-sw-titlebar-close:focus{padding:0}.ui-dialog-sw .ui-dialog-sw-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto;zoom:1}.ui-dialog-sw .ui-dialog-sw-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin:.5em 0 0 0;padding:.3em 1em .5em .4em}.ui-dialog-sw .ui-dialog-sw-buttonpane .ui-dialog-sw-buttonset{float:right}.ui-dialog-sw .ui-dialog-sw-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog-sw .ui-resizable-se{width:14px;height:14px;right:3px;bottom:3px}.ui-draggable .ui-dialog-sw-titlebar{cursor:move}.ui-dialog-sw{padding:0}.ui-dialog-sw .ui-dialog-sw-titlebar{border-top:none;border-right:none;border-left:none;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.ui-widget-sw{font-family:Arial,sans-serif;font-size:1.1em}.ui-widget-sw .ui-widget-sw{font-size:1em}.ui-widget-sw input,.ui-widget-sw select,.ui-widget-sw textarea,.ui-widget-sw button{font-family:Arial,sans-serif;font-size:1em}.ui-widget-sw-content{border:1px solid #a8a8a8;background:#fff;color:#4f4f4f}.ui-widget-sw-header{border:1px solid #a8a8a8;background:silver url('../images/ui-bg_highlight-soft_100_c0c0c0_1x100.png') repeat-x 50% top;color:#333;font-weight:bold;text-shadow:0 1px 0 rgba(255,255,255,.7)}.ui-widget-sw-header a{color:#4f4f4f}.areaTitolo{background-color:#0a64a4;background-image:url('../images/bg-menu-main.png');background-repeat:repeat-x;color:#ececec}.priCol-1{background-color:#00b060}.priCol-2{background-color:#218457}.priCol-3{background-color:#00733e}.priCol-4{background-color:#36d88e}.priCol-5{background-color:#c3ffe4}.secColA-1{background-color:#2d9eff;background-image:-webkit-gradient(linear,left top,left bottom,from(#0a64a4),to(#4481df));background-image:-webkit-linear-gradient(#0a64a4,#4481df);background-image:-moz-linear-gradient(#0a64a4,#4481df);background-image:-ms-linear-gradient(#0a64a4,#4481df);background-image:-o-linear-gradient(#0a64a4,#4481df);background-image:linear-gradient(#0a64a4,#4481df)}.secColA-2{background-color:#24577b}.secColA-3{background-color:#03406a}.secColA-4{background-image:-webkit-gradient(linear,left top,left bottom,from(#4683ff),to(#2461bf));background-image:-webkit-linear-gradient(#4683ff,#2461bf);background-image:-moz-linear-gradient(#4683ff,#2461bf);background-image:-ms-linear-gradient(#4683ff,#2461bf);background-image:-o-linear-gradient(#4683ff,#2461bf);background-image:linear-gradient(#4683ff,#2461bf)}.secColA-5{background-image:-webkit-gradient(linear,left top,left bottom,from(#b8e1fd),to(#2461bf));background-image:-webkit-linear-gradient(#b8e1fd,#2461bf);background-image:-moz-linear-gradient(#b8e1fd,#2461bf);background-image:-ms-linear-gradient(#b8e1fd,#2461bf);background-image:-o-linear-gradient(#b8e1fd,#2461bf);background-image:linear-gradient(#b8e1fd,#2461bf)}.secColB-1{background-color:#ff9000}.secColB-2{background-color:#bf8130}.secColB-3{background-color:#a65e00}.secColB-4{background-color:#ffac40}.secColB-5{background-color:#fdd7a6}.comCol-1{background-color:#ff4500}.comCol-2{background-color:#bf5730}.comCol-3{background-color:#a62d00}.comCol-4{background-color:#ff7340}.comCol-5{background-color:#ffcebc}.lightBlue{border:1px solid #cdcdcd;background-image:-webkit-gradient(linear,left top,left bottom,from(#ddf),to(#e1f1ff));background-image:-webkit-linear-gradient(#ddf,#e1f1ff);background-image:-moz-linear-gradient(#ddf,#e1f1ff);background-image:-ms-linear-gradient(#ddf,#e1f1ff);background-image:-o-linear-gradient(#ddf,#e1f1ff);background-image:linear-gradient(#ddf,#e1f1ff)}.lightGray{background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f1f1f1));background-image:-webkit-linear-gradient(#fff,#f1f1f1);background-image:-moz-linear-gradient(#fff,#f1f1f1);background-image:-ms-linear-gradient(#fff,#f1f1f1);background-image:-o-linear-gradient(#fff,#f1f1f1);background-image:linear-gradient(#fff,#f1f1f1);border:1px solid #cdcdcd}.headerStyle{background-color:#507cd1;font-weight:bold;color:#fff;white-space:nowrap}.footeStyle{background-color:#507cd1;font-weight:bold;color:#fff;white-space:nowrap}.footerRowStyle{background-image:-webkit-gradient(linear,left top,left bottom,from(#ff7a00),to(#cc3800));background-image:-webkit-linear-gradient(#ff7a00,#cc3800);background-image:-moz-linear-gradient(#ff7a00,#cc3800);background-image:-ms-linear-gradient(#ff7a00,#cc3800);background-image:-o-linear-gradient(#ff7a00,#cc3800);background-image:linear-gradient(#ff7a00,#cc3800)}.pagerStyle{background-color:#2461bf;color:#fff;white-space:nowrap;text-align:center;margin:auto;font-size:medium}.rowStyle{background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f1f1f1));background-image:-webkit-linear-gradient(#fff,#f1f1f1);background-image:-moz-linear-gradient(#fff,#f1f1f1);background-image:-ms-linear-gradient(#fff,#f1f1f1);background-image:-o-linear-gradient(#fff,#f1f1f1);background-image:linear-gradient(#fff,#f1f1f1);border:1px solid #cdcdcd}.alternatingRowStyle{border:1px solid #cdcdcd;background-image:-webkit-gradient(linear,left top,left bottom,from(#ddf),to(#e1f1ff));background-image:-webkit-linear-gradient(#ddf,#e1f1ff);background-image:-moz-linear-gradient(#ddf,#e1f1ff);background-image:-ms-linear-gradient(#ddf,#e1f1ff);background-image:-o-linear-gradient(#ddf,#e1f1ff);background-image:linear-gradient(#ddf,#e1f1ff)}.editRowStyle{border:1px solid #5282de;background-image:-webkit-gradient(linear,left top,left bottom,from(#e2ebff),to(#94b4ea));background-image:-webkit-linear-gradient(#e2ebff,#94b4ea);background-image:-moz-linear-gradient(#e2ebff,#94b4ea);background-image:-ms-linear-gradient(#e2ebff,#94b4ea);background-image:-o-linear-gradient(#e2ebff,#94b4ea);background-image:linear-gradient(#e2ebff,#94b4ea)}.selectedRowStyle{background-image:-webkit-gradient(linear,left top,left bottom,from(#dfd),to(#80ff80));background-image:-webkit-linear-gradient(#dfd,#80ff80);background-image:-moz-linear-gradient(#dfd,#80ff80);background-image:-ms-linear-gradient(#dfd,#80ff80);background-image:-o-linear-gradient(#dfd,#80ff80);background-image:linear-gradient(#dfd,#80ff80);font-weight:bold}.sortAscHead{background-color:#6d95e1}.sortDescHead{background-color:#4870be}.sortAscCell{background-color:#f5f7fb}.sortDescCell{background-color:#e9ebef}.divTitoloAdmin{background-color:#bf8130;padding:5px 0 5px 5px;color:#fff}A:hover{color:red}.float-left{float:left}.float-right{float:right}.divSx{float:left}.divDx{float:right}.divCenter{float:none;text-align:center;padding:0;margin:0 auto 0 auto}.clearDiv{clear:both}.padSxDx{padding-left:2px;padding-right:2px}.shadowBox{-moz-box-shadow:0 4px 8px rgba(0,0,0,.5);-webkit-box-shadow:0 4px 8px rgba(0,0,0,.5);box-shadow:0 4px 8px rgba(0,0,0,.5)}.half{width:50%}.third{width:33%}.quarter{width:25%}.fifth{width:20%}.modalBackground{background-color:gray;filter:alpha(opacity=70);opacity:.7}.btnNew{background-image:url(../images/new_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnPinned{background-image:url(../images/pin_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnPinnedDis{background-image:url(../images/pinDis_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnDelete{background-image:url(../images/elimina_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnUpdate{background-image:url(../images/reload_l.png);background-repeat:no-repeat;background-position:center right;background-color:#dedede;width:160px;height:40px;border:1px solid #333;vertical-align:middle;margin:auto;font-size:10pt;font-family:Arial}.btnMoveBig{background-image:url(../images/InOutArrows_l.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:8px;padding-right:32px}.btnEditBig{background-image:url(../images/edit_l.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnEdit{background-image:url(../images/edit_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnClonaBig{background-image:url(../images/clonaObj_l.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnClona{background-image:url(../images/clonaObj_m.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:28px}.btnEmail{background-image:url(../images/email_l.png);background-repeat:no-repeat;background-position:right;border:1px solid #333;padding:4px;padding-right:38px}.btnRosso{border:solid 2px red;background-color:#faa;width:100%;text-align:center}.btnRossoGrad{border:solid 2px red;background-color:#faa;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#faa),to(red));background-image:-webkit-linear-gradient(#faa,red);background-image:-moz-linear-gradient(#faa,red);background-image:-ms-linear-gradient(#faa,red);background-image:-o-linear-gradient(#faa,red);background-image:linear-gradient(#faa,red)}.btnArancio{border:solid 2px #e48800;background-color:#ffb44d;width:100%;text-align:center}.btnArancioGrad{border:solid 2px #e48800;background-color:#ffb44d;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#ffb44d),to(#e48800));background-image:-webkit-linear-gradient(#ffb44d,#e48800);background-image:-moz-linear-gradient(#ffb44d,#e48800);background-image:-ms-linear-gradient(#ffb44d,#e48800);background-image:-o-linear-gradient(#ffb44d,#e48800);background-image:linear-gradient(#ffb44d,#e48800)}.btnVerde{border:solid 2px green;background-color:#afa;width:100%;text-align:center}.btnVerdeGrad{border:solid 2px green;background-color:#afa;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#afa),to(green));background-image:-webkit-linear-gradient(#afa,green);background-image:-moz-linear-gradient(#afa,green);background-image:-ms-linear-gradient(#afa,green);background-image:-o-linear-gradient(#afa,green);background-image:linear-gradient(#afa,green)}.btnBlu{border:solid 2px blue;background-color:#aaf;width:100%;text-align:center}.btnPreferred{font-size:3em;border:solid 4px red;background-color:#ffacac;width:100%;min-height:200px;height:100%;text-align:center;white-space:pre}.btnStd{font-size:3em;color:#696969;border:solid 4px #333;background-color:#acacac;width:100%;min-height:200px;height:100%;text-align:center;white-space:pre}.btnDisabled{border:solid 2px #999;background-color:#dedede;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#dedede),to(#999));background-image:-webkit-linear-gradient(#dedede,#999);background-image:-moz-linear-gradient(#dedede,#999);background-image:-ms-linear-gradient(#dedede,#999);background-image:-o-linear-gradient(#dedede,#999);background-image:linear-gradient(#dedede,#999)}.btnGialloGrad{border:solid 2px #a93;background-color:#fe6;text-align:center;background-image:-webkit-gradient(linear,left top,left bottom,from(#fe6),to(#a93));background-image:-webkit-linear-gradient(#fe6,#a93);background-image:-moz-linear-gradient(#fe6,#a93);background-image:-ms-linear-gradient(#fe6,#a93);background-image:-o-linear-gradient(#fe6,#a93);background-image:linear-gradient(#fe6,#a93)}.pad26{padding:2px 6px}.textArancio{color:#fa3}.textAzzurro{color:#36f}.textNero{color:#000}.textGrigio{color:#888}.badgeRosso{border:solid 2px red;background-color:#faa;width:100%;text-align:center}.badgeStd{border:solid 2px #333;background-color:#eee;width:100%;text-align:center}.badgeVerde{border:solid 2px green;background-color:#afa;width:100%;text-align:center}.badgeArancio{border:solid 2px #980;background-color:#fe6;width:100%;text-align:center}.rltUpdate{background-color:#ff3}.ui-autocomplete{max-height:200px;overflow-y:auto;overflow-x:hidden;padding-right:20px}li.static{margin:2px 4px 0 0;border-color:#cdcdcd;border-style:solid;border-width:1px 1px 0 1px;border-top-right-radius:4px;border-top-left-radius:4px}.menuNav{background-color:#e6e6e6;color:#284e98;font-size:1em;border-top-right-radius:4px;border-top-left-radius:4px}.menuNav:hover{background-color:#b5c7de;color:#000}div>ul>li>a.selected.menuNav{background-color:#fff;color:#000}.areaContMenu{background-color:#fff;padding:4px;border-color:#cdcdcd;border-style:solid;border-width:1px 1px 1px 1px}.roundedCorner{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.padStd{padding:4px}.sfondoGrigio{background-color:#ececec}.bordoGrigio{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid #818181}.bordoVerde{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid green}.bordoRosso{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid red}.bordoNero{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid #000;background-color:#fff}.bordoAzzurro{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid #4da3ff}.placardGrigio{padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:2px solid #818181;background-color:#ececec}.docIcon{background-image:url(../images/download_s.png);background-repeat:no-repeat;background-position:right;padding:2px;padding-right:16px;min-height:16px}.filtro_1{background-color:#88f}.filtro_2{background-color:#aaf}.filtro_2:hover{color:#88f;background-color:#dedeff}.filtro_2 a:link{color:#fff;background-color:transparent}.filtro_3{background-color:#ccf}.filtro_4{background-color:#dedeff}.filtro_5{background-color:#efefff}.tabLabelGreen{background-color:#dfd;border-top:1px solid #393;border-left:1px solid #393;border-right:1px solid #393;height:1.5em;vertical-align:middle;padding-top:.5em;font-size:13pt;font-weight:bold}.tabBodyGreen{background-color:#dfd;border-bottom:1px solid green;border-left:1px solid green;border-right:1px solid green}.tabLabelGray{background-color:#dedede;border-top:1px solid #333;border-left:1px solid #333;border-right:1px solid #333;height:1.5em;vertical-align:middle;padding-top:.5em;font-size:13pt;font-weight:bold}.tabBodyGray{background-color:#dedede;border-bottom:1px solid #000;border-left:1px solid #000;border-right:1px solid #000}.fontTitolo{font-size:24pt;height:36px}.fontMedio{font-size:16pt}.fontStd{font-size:10pt}.fontPiccolo{font-size:8pt}.fontMini{font-size:7pt}.fontMicro{font-size:6pt}.labelInput{font-size:9pt;color:#555}.watermark{color:gray;font-style:italic}.autocomplete{width:400px;color:gray;background-color:#fff;font-size:8pt;padding:4px 1px 4px 1px;border-bottom:1px solid #888}.autocompleteHiglight{width:400px;color:#000;background-color:#ff0;font-size:8pt;padding:4px 1px 4px 1px;border-bottom:1px solid #888}.autocompleteElemID{width:400px;background-color:red;font-weight:bold}.autocompleteListCssClass{width:400px;font-size:8pt;background-color:#fff;padding:2px 2px 2px 2px;border:1px solid #333}.dataBlock{background-color:#fff;font-size:9pt;float:left;border-top:solid 1px gray;border-bottom:solid 1px gray;border-left:solid 1px gray;border-right:solid 1px gray;margin:0;padding:4px;vertical-align:text-top;text-align:left}.dataBlockHeader{border-top:solid 2px gray;border-bottom:solid 1px gray;border-left:solid 2px gray;border-right:solid 2px gray;background-color:#efefef;font-weight:bold;padding:2px}.dataBlockSx{float:left;text-align:left}.dataBlockDx{float:right;text-align:right}.dataBlockLabel{border-top:solid 1px #fefefe;padding-right:2px;padding-left:2px}.dataBlockValue{color:#000;font-weight:bold;padding-right:4px;padding-left:4px;margin-bottom:0}.dataBlockReset{clear:both;padding-bottom:2px;margin-bottom:2px}.dataBlockResetGray{border-bottom:solid 1px #cecece;clear:both;padding-bottom:2px;margin-bottom:2px}.dataBlockResetDark{border-bottom:solid 1px #363636;clear:both;padding-bottom:2px;margin-bottom:2px}.dataBlockBtn{background-color:#fafafa;border:solid 1px gray;padding-top:4px;padding-bottom:4px;vertical-align:text-top;margin:0;text-align:center}.blockSizeSmallest{width:175px}.blockSizeSmaller{width:200px}.blockSizeSmall{width:225px}.blockSizeMed{width:250px}.blockSizeLarge{width:275px}.blockSizeXLarge{width:300px}.blockSizeXXLarge{width:350px}.blockSizeXXXLarge{width:400px}.grView{color:#333;font-size:8pt;padding-left:1px;padding-right:1px;padding-top:1px;padding-bottom:1px}.ctrHeaderPager{background-color:#b8b8b8;font-weight:bold;color:#fff}.ctrHeaderPagerRight{background-color:#b8b8b8;font-weight:bold;color:#fff;text-align:right}.ctrHeaderPagerBlue{background-color:#507cd1;height:1px}.ctrHeaderPagerBlueRight{background-color:#507cd1;height:1px;text-align:right}.ctrFooter{background-color:#507cd1;font-weight:bold;color:#fff}.ctrRowStyle{vertical-align:top;background-color:#eff3fb}.valignMiddle{vertical-align:middle}.lblErrore{color:red}.lblBlu{color:#33f}.cTabRO{text-align:center;height:15px;border:solid 1px #777}.cEmp{background-color:#d5d5d5;background-image:-webkit-gradient(linear,left top,left bottom,from(#f8fbff),to(#d5d5d5));background-image:-webkit-linear-gradient(#f8fbff,#d5d5d5);background-image:-moz-linear-gradient(#f8fbff,#d5d5d5);background-image:-ms-linear-gradient(#f8fbff,#d5d5d5);background-image:-o-linear-gradient(#f8fbff,#d5d5d5);background-image:linear-gradient(#f8fbff,#d5d5d5)}.cS01{background-color:#f8fbff;background-image:-webkit-gradient(linear,left top,left bottom,from(#ffff8e),to(#f8fbff));background-image:-webkit-linear-gradient(#ffff8e,#f8fbff);background-image:-moz-linear-gradient(#ffff8e,#f8fbff);background-image:-ms-linear-gradient(#ffff8e,#f8fbff);background-image:-o-linear-gradient(#ffff8e,#f8fbff);background-image:linear-gradient(#ffff8e,#f8fbff)}.cS02{background-color:#ffff8e;background-image:-webkit-gradient(linear,left top,left bottom,from(#ffff4d),to(#ffff8e));background-image:-webkit-linear-gradient(#ffff4d,#ffff8e);background-image:-moz-linear-gradient(#ffff4d,#ffff8e);background-image:-ms-linear-gradient(#ffff4d,#ffff8e);background-image:-o-linear-gradient(#ffff4d,#ffff8e);background-image:linear-gradient(#ffff4d,#ffff8e);color:#fff}.cS03{background-color:#ffff4d;background-image:-webkit-gradient(linear,left top,left bottom,from(#f1f100),to(#ffff4d));background-image:-webkit-linear-gradient(#f1f100,#ffff4d);background-image:-moz-linear-gradient(#f1f100,#ffff4d);background-image:-ms-linear-gradient(#f1f100,#ffff4d);background-image:-o-linear-gradient(#f1f100,#ffff4d);background-image:linear-gradient(#f1f100,#ffff4d);color:#fff}.cS04{background-color:#f1f100;background-image:-webkit-gradient(linear,left top,left bottom,from(#e4e400),to(#f1f100));background-image:-webkit-linear-gradient(#e4e400,#f1f100);background-image:-moz-linear-gradient(#e4e400,#f1f100);background-image:-ms-linear-gradient(#e4e400,#f1f100);background-image:-o-linear-gradient(#e4e400,#f1f100);background-image:linear-gradient(#e4e400,#f1f100);color:#fff}.cOvr{background-color:#e4e400;background-image:-webkit-gradient(linear,left top,left bottom,from(#caca00),to(#e4e400));background-image:-webkit-linear-gradient(#caca00,#e4e400);background-image:-moz-linear-gradient(#caca00,#e4e400);background-image:-ms-linear-gradient(#caca00,#e4e400);background-image:-o-linear-gradient(#caca00,#e4e400);background-image:linear-gradient(#caca00,#e4e400)}.cBia{text-align:center;font-weight:bold;height:20px;padding:0 2px}.selCel{background-color:#cbebff;border:dashed 2px #2af;text-align:center}.cTab{text-align:center;height:20px;border:solid 1px #777}.cREmp{background-color:#c3c3c3;background-image:-webkit-gradient(linear,left top,left bottom,from(#f8fbff),to(#c3c3c3));background-image:-webkit-linear-gradient(#f8fbff,#c3c3c3);background-image:-moz-linear-gradient(#f8fbff,#c3c3c3);background-image:-ms-linear-gradient(#f8fbff,#c3c3c3);background-image:-o-linear-gradient(#f8fbff,#c3c3c3);background-image:linear-gradient(#f8fbff,#c3c3c3)}.cR01{background-color:#f8fbff;background-image:-webkit-gradient(linear,left top,left bottom,from(#90c4ff),to(#f8fbff));background-image:-webkit-linear-gradient(#90c4ff,#f8fbff);background-image:-moz-linear-gradient(#90c4ff,#f8fbff);background-image:-ms-linear-gradient(#90c4ff,#f8fbff);background-image:-o-linear-gradient(#90c4ff,#f8fbff);background-image:linear-gradient(#90c4ff,#f8fbff)}.cR02{background-color:#90c4ff;background-image:-webkit-gradient(linear,left top,left bottom,from(#76b8ff),to(#90c4ff));background-image:-webkit-linear-gradient(#76b8ff,#90c4ff);background-image:-moz-linear-gradient(#76b8ff,#90c4ff);background-image:-ms-linear-gradient(#76b8ff,#90c4ff);background-image:-o-linear-gradient(#76b8ff,#90c4ff);background-image:linear-gradient(#76b8ff,#90c4ff);color:#fff}.cR03{background-color:#76b8ff;background-image:-webkit-gradient(linear,left top,left bottom,from(#5caaff),to(#76b8ff));background-image:-webkit-linear-gradient(#5caaff,#76b8ff);background-image:-moz-linear-gradient(#5caaff,#76b8ff);background-image:-ms-linear-gradient(#5caaff,#76b8ff);background-image:-o-linear-gradient(#5caaff,#76b8ff);background-image:linear-gradient(#5caaff,#76b8ff);color:#fff}.cR04{background-color:#5caaff;background-image:-webkit-gradient(linear,left top,left bottom,from(#288eff),to(#5caaff));background-image:-webkit-linear-gradient(#288eff,#5caaff);background-image:-moz-linear-gradient(#288eff,#5caaff);background-image:-ms-linear-gradient(#288eff,#5caaff);background-image:-o-linear-gradient(#288eff,#5caaff);background-image:linear-gradient(#288eff,#5caaff);color:#fff}.cROvr{background-color:#288eff;background-image:-webkit-gradient(linear,left top,left bottom,from(#3333d9),to(#288eff));background-image:-webkit-linear-gradient(#3333d9,#288eff);background-image:-moz-linear-gradient(#3333d9,#288eff);background-image:-ms-linear-gradient(#3333d9,#288eff);background-image:-o-linear-gradient(#3333d9,#288eff);background-image:linear-gradient(#3333d9,#288eff);color:#fff}.cRBia{text-align:center;font-weight:bold;height:15px;padding:0 2px}.selCelR{background-color:#cbebff;border:dashed 2px #2af;text-align:center}.cTEmp{background-color:#c3c3c3;background-image:-webkit-gradient(linear,left top,left bottom,from(#f8fbff),to(#c3c3c3));background-image:-webkit-linear-gradient(#f8fbff,#c3c3c3);background-image:-moz-linear-gradient(#f8fbff,#c3c3c3);background-image:-ms-linear-gradient(#f8fbff,#c3c3c3);background-image:-o-linear-gradient(#f8fbff,#c3c3c3);background-image:linear-gradient(#f8fbff,#c3c3c3)}.cTUnd{background-color:#ffb769;background-image:-webkit-gradient(linear,left top,left bottom,from(#ff851b),to(#ffb769));background-image:-webkit-linear-gradient(#ff851b,#ffb769);background-image:-moz-linear-gradient(#ff851b,#ffb769);background-image:-ms-linear-gradient(#ff851b,#ffb769);background-image:-o-linear-gradient(#ff851b,#ffb769);background-image:linear-gradient(#ff851b,#ffb769);color:#666}.cTOk{background-color:#1bff1b;background-image:-webkit-gradient(linear,left top,left bottom,from(#009800),to(#1bff1b));background-image:-webkit-linear-gradient(#009800,#1bff1b);background-image:-moz-linear-gradient(#009800,#1bff1b);background-image:-ms-linear-gradient(#009800,#1bff1b);background-image:-o-linear-gradient(#009800,#1bff1b);background-image:linear-gradient(#009800,#1bff1b);color:#ff0}.cTOvr{background-color:#ff871b;background-image:-webkit-gradient(linear,left top,left bottom,from(#c12424),to(#ff871b));background-image:-webkit-linear-gradient(#c12424,#ff871b);background-image:-moz-linear-gradient(#c12424,#ff871b);background-image:-ms-linear-gradient(#c12424,#ff871b);background-image:-o-linear-gradient(#c12424,#ff871b);background-image:linear-gradient(#c12424,#ff871b);color:#f6f6f6}.cTBia{text-align:center;font-weight:bold;height:20px;padding:0 2px}.selCelT{background-color:#cbebff;border:dashed 2px #2af;text-align:center}
\ No newline at end of file
diff --git a/PROJ-ETS/PROJ-ETS/Images/pin.png b/PROJ-ETS/PROJ-ETS/Images/pin.png
new file mode 100644
index 0000000..0a25429
Binary files /dev/null and b/PROJ-ETS/PROJ-ETS/Images/pin.png differ
diff --git a/PROJ-ETS/PROJ-ETS/Images/pinDis_l.png b/PROJ-ETS/PROJ-ETS/Images/pinDis_l.png
new file mode 100644
index 0000000..ebb5490
Binary files /dev/null and b/PROJ-ETS/PROJ-ETS/Images/pinDis_l.png differ
diff --git a/PROJ-ETS/PROJ-ETS/Images/pinDis_m.png b/PROJ-ETS/PROJ-ETS/Images/pinDis_m.png
new file mode 100644
index 0000000..883683b
Binary files /dev/null and b/PROJ-ETS/PROJ-ETS/Images/pinDis_m.png differ
diff --git a/PROJ-ETS/PROJ-ETS/Images/pinDis_s.png b/PROJ-ETS/PROJ-ETS/Images/pinDis_s.png
new file mode 100644
index 0000000..0512e24
Binary files /dev/null and b/PROJ-ETS/PROJ-ETS/Images/pinDis_s.png differ
diff --git a/PROJ-ETS/PROJ-ETS/Images/pinDisabled.png b/PROJ-ETS/PROJ-ETS/Images/pinDisabled.png
new file mode 100644
index 0000000..9573ab4
Binary files /dev/null and b/PROJ-ETS/PROJ-ETS/Images/pinDisabled.png differ
diff --git a/PROJ-ETS/PROJ-ETS/Images/pin_l.png b/PROJ-ETS/PROJ-ETS/Images/pin_l.png
new file mode 100644
index 0000000..8c57b32
Binary files /dev/null and b/PROJ-ETS/PROJ-ETS/Images/pin_l.png differ
diff --git a/PROJ-ETS/PROJ-ETS/Images/pin_m.png b/PROJ-ETS/PROJ-ETS/Images/pin_m.png
new file mode 100644
index 0000000..e46fb7c
Binary files /dev/null and b/PROJ-ETS/PROJ-ETS/Images/pin_m.png differ
diff --git a/PROJ-ETS/PROJ-ETS/Images/pin_s.png b/PROJ-ETS/PROJ-ETS/Images/pin_s.png
new file mode 100644
index 0000000..013d555
Binary files /dev/null and b/PROJ-ETS/PROJ-ETS/Images/pin_s.png differ
diff --git a/PROJ-ETS/PROJ-ETS/PROJ-ETS.csproj b/PROJ-ETS/PROJ-ETS/PROJ-ETS.csproj
index c98910e..64f19b9 100644
--- a/PROJ-ETS/PROJ-ETS/PROJ-ETS.csproj
+++ b/PROJ-ETS/PROJ-ETS/PROJ-ETS.csproj
@@ -270,6 +270,14 @@
+
+
+
+
+
+
+
+
diff --git a/PROJ-ETS/PROJ-ETS/Web.config b/PROJ-ETS/PROJ-ETS/Web.config
index f6ebab4..b27348c 100644
--- a/PROJ-ETS/PROJ-ETS/Web.config
+++ b/PROJ-ETS/PROJ-ETS/Web.config
@@ -50,7 +50,7 @@
-
+
diff --git a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx
index 06abcd7..82e57c4 100644
--- a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx
+++ b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx
@@ -9,6 +9,9 @@
+
diff --git a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.cs b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.cs
index 6e9b19c..63919c1 100644
--- a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.cs
+++ b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.cs
@@ -123,6 +123,16 @@ namespace PROJ_ETS.WebUserControls
///
public void doUpdate()
{
+ setBtnStatus();
+ caricaDatiBlocco();
+ disegnaTabella();
+ }
+ ///
+ /// sistema i vari buttons come visibilità ed abilitazione a seconda dello stato della settimana, del cudEnabled, dei diritti utente...
+ ///
+ private void setBtnStatus()
+ {
+ // aggiunta commesse e clona seguono stessa regola di visibilità e abilitazione...
btnAddNew.Enabled = cudEnabled;
btnCloneWeek.Enabled = cudEnabled;
btnAddNew.Visible = isWritable() && isPowerUser;
@@ -132,9 +142,33 @@ namespace PROJ_ETS.WebUserControls
{
btnAddNew.CssClass = "btnDisabled";
btnAddNew.ToolTip = "Modifica non consentita";
+ btnCloneWeek.CssClass = "btnDisabled";
+ btnCloneWeek.ToolTip = "Modifica non consentita";
}
- caricaDatiBlocco();
- disegnaTabella();
+ else
+ {
+ btnAddNew.CssClass = "btnNew";
+ btnAddNew.ToolTip = "Mostra pannello Aggiungi Commesse";
+ btnCloneWeek.CssClass = "btnNew";
+ btnCloneWeek.ToolTip = "Copia le Commesse dalla settimana precedente";
+ }
+ // rilascio / congelamento ore in GPW ha sua regola (NON lo mostra direttamente se "scaduto")
+ btnReleaseWeek.Visible = isWritable() && isPowerUser && cudEnabled;
+ // a seconda che sia stata rilasciata o meno la settimana mostro sblocco o rilascio settimana...
+ if (isReleased)
+ {
+ btnReleaseWeek.Text = "Sblocca WeekPlan rilasciato";
+ btnReleaseWeek.CssClass = "btnPinnedDis";
+ btnReleaseWeek.ToolTip = "Elimina schema orario rilasciato in GPW e sblocca settimana";
+ }
+ else
+ {
+ btnReleaseWeek.Text = "Rilascia WeekPlan";
+ btnReleaseWeek.CssClass = "btnPinned";
+ btnReleaseWeek.ToolTip = "Rilascia il piano settimanale copiando in GPW lo schema delle ore a progetto indicate per la settimana";
+ }
+
+
}
///
/// anno selezionato (wrapper)
@@ -494,6 +528,26 @@ namespace PROJ_ETS.WebUserControls
Response.Redirect("Bazaar");
}
///
+ /// rilascia la settimana congelandola ed inserendo in GPW le ore a commessa previste
+ ///
+ ///
+ ///
+ protected void btnReleaseWeek_Click(object sender, EventArgs e)
+ {
+ // controllo se la settimana è rialsciata o meno e di conseguenza opero...
+ if (isReleased)
+ {
+ // sblocco
+ DataProxy_ProjEts.DP.taBaz.resetCopyGPW(anno, settimana, user_std.UtSn.userNameAD);
+ }
+ else
+ {
+ // rilascio al settimana salvando ore in GPW e congelandola x modifiche di utenti NON PowerUser
+ DataProxy_ProjEts.DP.taBaz.copy2GPW(anno, settimana, user_std.UtSn.userNameAD);
+ }
+ Response.Redirect("Bazaar");
+ }
+ ///
/// controllo visibilità pannello
///
///
@@ -728,5 +782,22 @@ namespace PROJ_ETS.WebUserControls
return user_std.UtSn.userHasRight("CC");
}
}
+ ///
+ /// indica se la settimana sia già stata rilasciata (c'è record in tab ReleasedWeek e quindi è stato esportato su GPW)
+ ///
+ public bool isReleased
+ {
+ get
+ {
+ bool answ = false;
+ try
+ {
+ answ = DataProxy_ProjEts.DP.taReW.getByAnnoWeek(anno, settimana).Rows.Count > 0;
+ }
+ catch
+ { }
+ return answ;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.designer.cs b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.designer.cs
index 9133f53..9ca2b0e 100644
--- a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.designer.cs
+++ b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_weekPlan.ascx.designer.cs
@@ -39,6 +39,15 @@ namespace PROJ_ETS.WebUserControls {
///
protected global::System.Web.UI.WebControls.Button btnCloneWeek;
+ ///
+ /// btnReleaseWeek control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btnReleaseWeek;
+
///
/// pnlAddNew control.
///
diff --git a/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll b/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll
index 9dadc19..33c7a67 100644
Binary files a/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll and b/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll differ
diff --git a/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll b/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll
index 9adf832..69f7143 100644
Binary files a/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll and b/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll differ