Fix: aggiunta nuovi campi x UTENTE

This commit is contained in:
Samuele E. Locatelli
2018-12-12 18:33:43 +01:00
parent ed082b16e2
commit 24bcc0de1e
4 changed files with 226 additions and 43 deletions
+16 -2
View File
@@ -22,6 +22,7 @@ Partial Class Main
'Non modificarla mediante l'editor del codice.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container()
Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
@@ -64,7 +65,7 @@ Partial Class Main
Me.CodAllarmeDataGridViewTextBoxColumn1 = New System.Windows.Forms.DataGridViewTextBoxColumn()
Me.AttivoDataGridViewCheckBoxColumn = New System.Windows.Forms.DataGridViewCheckBoxColumn()
Me.DescrizioneDataGridViewTextBoxColumn1 = New System.Windows.Forms.DataGridViewTextBoxColumn()
Me.StoricoAllarmiExpDataTableBindingSource = New System.Windows.Forms.BindingSource()
Me.StoricoAllarmiExpDataTableBindingSource = New System.Windows.Forms.BindingSource(Me.components)
Me.btnSendAlarms = New System.Windows.Forms.Button()
Me.lbAllarmi = New System.Windows.Forms.ListBox()
Me.label8 = New System.Windows.Forms.Label()
@@ -75,7 +76,7 @@ Partial Class Main
Me.LastStartDataGridViewTextBoxColumn = New System.Windows.Forms.DataGridViewTextBoxColumn()
Me.LastEndDataGridViewTextBoxColumn = New System.Windows.Forms.DataGridViewTextBoxColumn()
Me.CurrStatusDataGridViewCheckBoxColumn = New System.Windows.Forms.DataGridViewCheckBoxColumn()
Me.AnagAllarmiDataTableBindingSource = New System.Windows.Forms.BindingSource()
Me.AnagAllarmiDataTableBindingSource = New System.Windows.Forms.BindingSource(Me.components)
Me.tabPage3 = New System.Windows.Forms.TabPage()
Me.label10 = New System.Windows.Forms.Label()
Me.txtAuthKey = New System.Windows.Forms.TextBox()
@@ -84,6 +85,7 @@ Partial Class Main
Me.btnPurgeOld = New System.Windows.Forms.Button()
Me.txtDay2keep = New System.Windows.Forms.TextBox()
Me.btnEmptyTabOpr = New System.Windows.Forms.Button()
Me.tabPage4 = New System.Windows.Forms.TabPage()
Me.groupBox1.SuspendLayout()
Me.groupBox2.SuspendLayout()
CType(Me.splitContainer1, System.ComponentModel.ISupportInitialize).BeginInit()
@@ -279,6 +281,7 @@ Partial Class Main
Me.Paginatore.Controls.Add(Me.tabPage1)
Me.Paginatore.Controls.Add(Me.tabPage2)
Me.Paginatore.Controls.Add(Me.tabPage3)
Me.Paginatore.Controls.Add(Me.tabPage4)
Me.Paginatore.Location = New System.Drawing.Point(10, 202)
Me.Paginatore.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2)
Me.Paginatore.Name = "Paginatore"
@@ -743,6 +746,16 @@ Partial Class Main
Me.btnEmptyTabOpr.Text = "ELIMINA Tabelle"
Me.btnEmptyTabOpr.UseVisualStyleBackColor = True
'
'tabPage4
'
Me.tabPage4.Location = New System.Drawing.Point(4, 25)
Me.tabPage4.Name = "tabPage4"
Me.tabPage4.Padding = New System.Windows.Forms.Padding(3)
Me.tabPage4.Size = New System.Drawing.Size(1092, 361)
Me.tabPage4.TabIndex = 3
Me.tabPage4.Text = "Attrezzature"
Me.tabPage4.UseVisualStyleBackColor = True
'
'Main
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(8.0!, 16.0!)
@@ -843,4 +856,5 @@ Partial Class Main
Friend WithEvents LastStartDataGridViewTextBoxColumn As DataGridViewTextBoxColumn
Friend WithEvents LastEndDataGridViewTextBoxColumn As DataGridViewTextBoxColumn
Friend WithEvents CurrStatusDataGridViewCheckBoxColumn As DataGridViewCheckBoxColumn
Friend WithEvents tabPage4 As TabPage
End Class
+160 -19
View File
@@ -2137,6 +2137,10 @@ namespace DB_proxy {
private global::System.Data.DataColumn columnNome;
private global::System.Data.DataColumn columnPassword;
private global::System.Data.DataColumn columnLivello;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public AnagOperatoriDataTable() {
@@ -2194,6 +2198,22 @@ namespace DB_proxy {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public global::System.Data.DataColumn PasswordColumn {
get {
return this.columnPassword;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public global::System.Data.DataColumn LivelloColumn {
get {
return this.columnLivello;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -2231,12 +2251,14 @@ namespace DB_proxy {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public AnagOperatoriRow AddAnagOperatoriRow(string Barcode, string Cognome, string Nome) {
public AnagOperatoriRow AddAnagOperatoriRow(string Barcode, string Cognome, string Nome, string Password, string Livello) {
AnagOperatoriRow rowAnagOperatoriRow = ((AnagOperatoriRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
Barcode,
Cognome,
Nome};
Nome,
Password,
Livello};
rowAnagOperatoriRow.ItemArray = columnValuesArray;
this.Rows.Add(rowAnagOperatoriRow);
return rowAnagOperatoriRow;
@@ -2269,6 +2291,8 @@ namespace DB_proxy {
this.columnBarcode = base.Columns["Barcode"];
this.columnCognome = base.Columns["Cognome"];
this.columnNome = base.Columns["Nome"];
this.columnPassword = base.Columns["Password"];
this.columnLivello = base.Columns["Livello"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2280,6 +2304,10 @@ namespace DB_proxy {
base.Columns.Add(this.columnCognome);
this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNome);
this.columnPassword = new global::System.Data.DataColumn("Password", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPassword);
this.columnLivello = new global::System.Data.DataColumn("Livello", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnLivello);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnBarcode}, true));
this.columnBarcode.AllowDBNull = false;
@@ -2289,6 +2317,10 @@ namespace DB_proxy {
this.columnCognome.MaxLength = 50;
this.columnNome.AllowDBNull = false;
this.columnNome.MaxLength = 50;
this.columnPassword.AllowDBNull = false;
this.columnPassword.MaxLength = 50;
this.columnLivello.AllowDBNull = false;
this.columnLivello.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -3203,6 +3235,28 @@ namespace DB_proxy {
this[this.tableAnagOperatori.NomeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public string Password {
get {
return ((string)(this[this.tableAnagOperatori.PasswordColumn]));
}
set {
this[this.tableAnagOperatori.PasswordColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
public string Livello {
get {
return ((string)(this[this.tableAnagOperatori.LivelloColumn]));
}
set {
this[this.tableAnagOperatori.LivelloColumn] = value;
}
}
}
/// <summary>
@@ -5850,35 +5904,46 @@ SELECT CodAllarme, Descrizione, ReportAttivo, LastStart, LastEnd, CurrStatus FRO
tableMapping.ColumnMappings.Add("Barcode", "Barcode");
tableMapping.ColumnMappings.Add("Cognome", "Cognome");
tableMapping.ColumnMappings.Add("Nome", "Nome");
tableMapping.ColumnMappings.Add("Password", "Password");
tableMapping.ColumnMappings.Add("Livello", "Livello");
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].[AnagOperatori] WHERE (([Barcode] = @Original_Barcode) AND ([Co" +
"gnome] = @Original_Cognome) AND ([Nome] = @Original_Nome))";
"gnome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([Password] = @Ori" +
"ginal_Password) AND ([Livello] = @Original_Livello))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Barcode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Barcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Password", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Password", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Livello", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Livello", 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].[AnagOperatori] ([Barcode], [Cognome], [Nome]) VALUES (@Barcode" +
", @Cognome, @Nome);\r\nSELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Bar" +
"code = @Barcode)";
this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagOperatori] ([Barcode], [Cognome], [Nome], [Password], [Liv" +
"ello]) VALUES (@Barcode, @Cognome, @Nome, @Password, @Livello);\r\nSELECT Barcode," +
" Cognome, Nome, Password, Livello FROM AnagOperatori WHERE (Barcode = @Barcode)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Barcode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Barcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Password", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Password", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Livello", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Livello", 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].[AnagOperatori] SET [Barcode] = @Barcode, [Cognome] = @Cognome, [Nome] = @Nome WHERE (([Barcode] = @Original_Barcode) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome));
SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)";
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagOperatori] SET [Barcode] = @Barcode, [Cognome] = @Cognome, [Nome] = @Nome, [Password] = @Password, [Livello] = @Livello WHERE (([Barcode] = @Original_Barcode) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([Password] = @Original_Password) AND ([Livello] = @Original_Livello));
SELECT Barcode, Cognome, Nome, Password, Livello FROM AnagOperatori WHERE (Barcode = @Barcode)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Barcode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Barcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Password", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Password", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Livello", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Livello", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Barcode", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Barcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Password", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Password", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Livello", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Livello", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -5894,7 +5959,7 @@ SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)";
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT Barcode, Cognome, Nome FROM dbo.AnagOperatori";
this._commandCollection[0].CommandText = "SELECT * FROM dbo.AnagOperatori";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
@@ -5916,6 +5981,8 @@ SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)";
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Barcode", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Password", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Livello", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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_AnagOpr_updateQuery";
@@ -5925,6 +5992,8 @@ SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)";
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Barcode", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Password", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Livello", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -6020,7 +6089,7 @@ SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)";
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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(string Original_Barcode, string Original_Cognome, string Original_Nome) {
public virtual int Delete(string Original_Barcode, string Original_Cognome, string Original_Nome, string Original_Password, string Original_Livello) {
if ((Original_Barcode == null)) {
throw new global::System.ArgumentNullException("Original_Barcode");
}
@@ -6039,6 +6108,18 @@ SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)";
else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Nome));
}
if ((Original_Password == null)) {
throw new global::System.ArgumentNullException("Original_Password");
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_Password));
}
if ((Original_Livello == null)) {
throw new global::System.ArgumentNullException("Original_Livello");
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_Livello));
}
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)) {
@@ -6059,7 +6140,7 @@ SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)";
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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(string Barcode, string Cognome, string Nome) {
public virtual int Insert(string Barcode, string Cognome, string Nome, string Password, string Livello) {
if ((Barcode == null)) {
throw new global::System.ArgumentNullException("Barcode");
}
@@ -6078,6 +6159,18 @@ SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)";
else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Nome));
}
if ((Password == null)) {
throw new global::System.ArgumentNullException("Password");
}
else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Password));
}
if ((Livello == null)) {
throw new global::System.ArgumentNullException("Livello");
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Livello));
}
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)) {
@@ -6098,7 +6191,7 @@ SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)";
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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 Barcode, string Cognome, string Nome, string Original_Barcode, string Original_Cognome, string Original_Nome) {
public virtual int Update(string Barcode, string Cognome, string Nome, string Password, string Livello, string Original_Barcode, string Original_Cognome, string Original_Nome, string Original_Password, string Original_Livello) {
if ((Barcode == null)) {
throw new global::System.ArgumentNullException("Barcode");
}
@@ -6117,23 +6210,47 @@ SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)";
else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Nome));
}
if ((Password == null)) {
throw new global::System.ArgumentNullException("Password");
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Password));
}
if ((Livello == null)) {
throw new global::System.ArgumentNullException("Livello");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Livello));
}
if ((Original_Barcode == null)) {
throw new global::System.ArgumentNullException("Original_Barcode");
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_Barcode));
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_Barcode));
}
if ((Original_Cognome == null)) {
throw new global::System.ArgumentNullException("Original_Cognome");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_Cognome));
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_Cognome));
}
if ((Original_Nome == null)) {
throw new global::System.ArgumentNullException("Original_Nome");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_Nome));
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_Nome));
}
if ((Original_Password == null)) {
throw new global::System.ArgumentNullException("Original_Password");
}
else {
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_Password));
}
if ((Original_Livello == null)) {
throw new global::System.ArgumentNullException("Original_Livello");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_Livello));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
@@ -6155,8 +6272,8 @@ SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)";
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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 Cognome, string Nome, string Original_Barcode, string Original_Cognome, string Original_Nome) {
return this.Update(Original_Barcode, Cognome, Nome, Original_Barcode, Original_Cognome, Original_Nome);
public virtual int Update(string Cognome, string Nome, string Password, string Livello, string Original_Barcode, string Original_Cognome, string Original_Nome, string Original_Password, string Original_Livello) {
return this.Update(Original_Barcode, Cognome, Nome, Password, Livello, Original_Barcode, Original_Cognome, Original_Nome, Original_Password, Original_Livello);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -6190,7 +6307,7 @@ SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int insertQuery(string Barcode, string Cognome, string Nome) {
public virtual int insertQuery(string Barcode, string Cognome, string Nome, string Password, string Livello) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
if ((Barcode == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
@@ -6210,6 +6327,18 @@ SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)";
else {
command.Parameters[3].Value = ((string)(Nome));
}
if ((Password == null)) {
command.Parameters[4].Value = global::System.DBNull.Value;
}
else {
command.Parameters[4].Value = ((string)(Password));
}
if ((Livello == null)) {
command.Parameters[5].Value = global::System.DBNull.Value;
}
else {
command.Parameters[5].Value = ((string)(Livello));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -6230,7 +6359,7 @@ SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int updateQuery(string Original_Barcode, string Barcode, string Cognome, string Nome) {
public virtual int updateQuery(string Original_Barcode, string Barcode, string Cognome, string Nome, string Password, string Livello) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
if ((Original_Barcode == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
@@ -6256,6 +6385,18 @@ SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)";
else {
command.Parameters[4].Value = ((string)(Nome));
}
if ((Password == null)) {
command.Parameters[5].Value = global::System.DBNull.Value;
}
else {
command.Parameters[5].Value = ((string)(Password));
}
if ((Livello == null)) {
command.Parameters[6].Value = global::System.DBNull.Value;
}
else {
command.Parameters[6].Value = ((string)(Livello));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
+46 -18
View File
@@ -4,7 +4,7 @@
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="CMS_OMRConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="CMS_OMRConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.DB_proxy.Properties.Settings.GlobalReference.Default.CMS_OMRConnectionString" Provider="System.Data.SqlClient" />
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="b" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="CMS_OMRConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.DB_proxy.Properties.Settings.GlobalReference.Default.CMS_OMRConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TabOperazioniTableAdapter" GeneratorDataComponentClassName="TabOperazioniTableAdapter" Name="TabOperazioni" UserDataComponentName="TabOperazioniTableAdapter">
@@ -410,42 +410,50 @@ FROM vStoricoAllarmiExp</CommandText>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.AnagOperatori" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[AnagOperatori] WHERE (([Barcode] = @Original_Barcode) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome))</CommandText>
<CommandText>DELETE FROM [dbo].[AnagOperatori] WHERE (([Barcode] = @Original_Barcode) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([Password] = @Original_Password) AND ([Livello] = @Original_Livello))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Livello" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Livello" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[AnagOperatori] ([Barcode], [Cognome], [Nome]) VALUES (@Barcode, @Cognome, @Nome);
SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)</CommandText>
<CommandText>INSERT INTO [dbo].[AnagOperatori] ([Barcode], [Cognome], [Nome], [Password], [Livello]) VALUES (@Barcode, @Cognome, @Nome, @Password, @Livello);
SELECT Barcode, Cognome, Nome, Password, Livello FROM AnagOperatori WHERE (Barcode = @Barcode)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Livello" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Livello" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Barcode, Cognome, Nome FROM dbo.AnagOperatori</CommandText>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM dbo.AnagOperatori</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[AnagOperatori] SET [Barcode] = @Barcode, [Cognome] = @Cognome, [Nome] = @Nome WHERE (([Barcode] = @Original_Barcode) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome));
SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)</CommandText>
<CommandText>UPDATE [dbo].[AnagOperatori] SET [Barcode] = @Barcode, [Cognome] = @Cognome, [Nome] = @Nome, [Password] = @Password, [Livello] = @Livello WHERE (([Barcode] = @Original_Barcode) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([Password] = @Original_Password) AND ([Livello] = @Original_Livello));
SELECT Barcode, Cognome, Nome, Password, Livello FROM AnagOperatori WHERE (Barcode = @Barcode)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Livello" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Livello" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Barcode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Livello" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Livello" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
@@ -455,6 +463,8 @@ SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)</Com
<Mapping SourceColumn="Barcode" DataSetColumn="Barcode" />
<Mapping SourceColumn="Cognome" DataSetColumn="Cognome" />
<Mapping SourceColumn="Nome" DataSetColumn="Nome" />
<Mapping SourceColumn="Password" DataSetColumn="Password" />
<Mapping SourceColumn="Livello" DataSetColumn="Livello" />
</Mappings>
<Sources>
<DbSource ConnectionRef="CMS_OMRConnectionString (Settings)" DbObjectName="[CMS-OMR].dbo.stp_AnagOpr_deleteQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
@@ -488,6 +498,8 @@ SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)</Com
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Livello" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -502,6 +514,8 @@ SELECT Barcode, Cognome, Nome FROM AnagOperatori WHERE (Barcode = @Barcode)</Com
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Barcode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Livello" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -637,7 +651,7 @@ SELECT CodAttr, CodArt_A, CodArt_B, PartProgMain, PartProgAux FROM TabAttrezzatu
<xs:element name="DS_App" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_App" msprop:Generator_UserDSName="DS_App">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="TabOperazioni" msprop:Generator_TableClassName="TabOperazioniDataTable" msprop:Generator_TableVarName="tableTabOperazioni" msprop:Generator_TablePropName="TabOperazioni" msprop:Generator_RowDeletingName="TabOperazioniRowDeleting" msprop:Generator_RowChangingName="TabOperazioniRowChanging" msprop:Generator_RowEvHandlerName="TabOperazioniRowChangeEventHandler" msprop:Generator_RowDeletedName="TabOperazioniRowDeleted" msprop:Generator_UserTableName="TabOperazioni" msprop:Generator_RowChangedName="TabOperazioniRowChanged" msprop:Generator_RowEvArgName="TabOperazioniRowChangeEvent" msprop:Generator_RowClassName="TabOperazioniRow">
<xs:element name="TabOperazioni" msprop:Generator_TableClassName="TabOperazioniDataTable" msprop:Generator_TableVarName="tableTabOperazioni" msprop:Generator_RowChangedName="TabOperazioniRowChanged" msprop:Generator_TablePropName="TabOperazioni" msprop:Generator_RowDeletingName="TabOperazioniRowDeleting" msprop:Generator_RowChangingName="TabOperazioniRowChanging" msprop:Generator_RowEvHandlerName="TabOperazioniRowChangeEventHandler" msprop:Generator_RowDeletedName="TabOperazioniRowDeleted" msprop:Generator_RowClassName="TabOperazioniRow" msprop:Generator_UserTableName="TabOperazioni" msprop:Generator_RowEvArgName="TabOperazioniRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxRec" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxRec" msprop:Generator_ColumnPropNameInRow="IdxRec" msprop:Generator_ColumnPropNameInTable="IdxRecColumn" msprop:Generator_UserColumnName="IdxRec" type="xs:int" />
@@ -680,7 +694,7 @@ SELECT CodAttr, CodArt_A, CodArt_B, PartProgMain, PartProgAux FROM TabAttrezzatu
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TabPezzi" msprop:Generator_TableClassName="TabPezziDataTable" msprop:Generator_TableVarName="tableTabPezzi" msprop:Generator_TablePropName="TabPezzi" msprop:Generator_RowDeletingName="TabPezziRowDeleting" msprop:Generator_RowChangingName="TabPezziRowChanging" msprop:Generator_RowEvHandlerName="TabPezziRowChangeEventHandler" msprop:Generator_RowDeletedName="TabPezziRowDeleted" msprop:Generator_UserTableName="TabPezzi" msprop:Generator_RowChangedName="TabPezziRowChanged" msprop:Generator_RowEvArgName="TabPezziRowChangeEvent" msprop:Generator_RowClassName="TabPezziRow">
<xs:element name="TabPezzi" msprop:Generator_TableClassName="TabPezziDataTable" msprop:Generator_TableVarName="tableTabPezzi" msprop:Generator_RowChangedName="TabPezziRowChanged" msprop:Generator_TablePropName="TabPezzi" msprop:Generator_RowDeletingName="TabPezziRowDeleting" msprop:Generator_RowChangingName="TabPezziRowChanging" msprop:Generator_RowEvHandlerName="TabPezziRowChangeEventHandler" msprop:Generator_RowDeletedName="TabPezziRowDeleted" msprop:Generator_RowClassName="TabPezziRow" msprop:Generator_UserTableName="TabPezzi" msprop:Generator_RowEvArgName="TabPezziRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Datamatrix" msprop:Generator_ColumnVarNameInTable="columnDatamatrix" msprop:Generator_ColumnPropNameInRow="Datamatrix" msprop:Generator_ColumnPropNameInTable="DatamatrixColumn" msprop:Generator_UserColumnName="Datamatrix">
@@ -728,7 +742,7 @@ SELECT CodAttr, CodArt_A, CodArt_B, PartProgMain, PartProgAux FROM TabAttrezzatu
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagArticoli" msprop:Generator_TableClassName="AnagArticoliDataTable" msprop:Generator_TableVarName="tableAnagArticoli" msprop:Generator_TablePropName="AnagArticoli" msprop:Generator_RowDeletingName="AnagArticoliRowDeleting" msprop:Generator_RowChangingName="AnagArticoliRowChanging" msprop:Generator_RowEvHandlerName="AnagArticoliRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagArticoliRowDeleted" msprop:Generator_UserTableName="AnagArticoli" msprop:Generator_RowChangedName="AnagArticoliRowChanged" msprop:Generator_RowEvArgName="AnagArticoliRowChangeEvent" msprop:Generator_RowClassName="AnagArticoliRow">
<xs:element name="AnagArticoli" msprop:Generator_TableClassName="AnagArticoliDataTable" msprop:Generator_TableVarName="tableAnagArticoli" msprop:Generator_RowChangedName="AnagArticoliRowChanged" msprop:Generator_TablePropName="AnagArticoli" msprop:Generator_RowDeletingName="AnagArticoliRowDeleting" msprop:Generator_RowChangingName="AnagArticoliRowChanging" msprop:Generator_RowEvHandlerName="AnagArticoliRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagArticoliRowDeleted" msprop:Generator_RowClassName="AnagArticoliRow" msprop:Generator_UserTableName="AnagArticoli" msprop:Generator_RowEvArgName="AnagArticoliRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodArt" msprop:Generator_ColumnVarNameInTable="columnCodArt" msprop:Generator_ColumnPropNameInRow="CodArt" msprop:Generator_ColumnPropNameInTable="CodArtColumn" msprop:Generator_UserColumnName="CodArt">
@@ -748,7 +762,7 @@ SELECT CodAttr, CodArt_A, CodArt_B, PartProgMain, PartProgAux FROM TabAttrezzatu
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagAllarmi" msprop:Generator_TableClassName="AnagAllarmiDataTable" msprop:Generator_TableVarName="tableAnagAllarmi" msprop:Generator_TablePropName="AnagAllarmi" msprop:Generator_RowDeletingName="AnagAllarmiRowDeleting" msprop:Generator_RowChangingName="AnagAllarmiRowChanging" msprop:Generator_RowEvHandlerName="AnagAllarmiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagAllarmiRowDeleted" msprop:Generator_UserTableName="AnagAllarmi" msprop:Generator_RowChangedName="AnagAllarmiRowChanged" msprop:Generator_RowEvArgName="AnagAllarmiRowChangeEvent" msprop:Generator_RowClassName="AnagAllarmiRow">
<xs:element name="AnagAllarmi" msprop:Generator_TableClassName="AnagAllarmiDataTable" msprop:Generator_TableVarName="tableAnagAllarmi" msprop:Generator_RowChangedName="AnagAllarmiRowChanged" msprop:Generator_TablePropName="AnagAllarmi" msprop:Generator_RowDeletingName="AnagAllarmiRowDeleting" msprop:Generator_RowChangingName="AnagAllarmiRowChanging" msprop:Generator_RowEvHandlerName="AnagAllarmiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagAllarmiRowDeleted" msprop:Generator_RowClassName="AnagAllarmiRow" msprop:Generator_UserTableName="AnagAllarmi" msprop:Generator_RowEvArgName="AnagAllarmiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodAllarme" msprop:Generator_ColumnVarNameInTable="columnCodAllarme" msprop:Generator_ColumnPropNameInRow="CodAllarme" msprop:Generator_ColumnPropNameInTable="CodAllarmeColumn" msprop:Generator_UserColumnName="CodAllarme">
@@ -772,7 +786,7 @@ SELECT CodAttr, CodArt_A, CodArt_B, PartProgMain, PartProgAux FROM TabAttrezzatu
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="StoricoAllarmiExp" msprop:Generator_TableClassName="StoricoAllarmiExpDataTable" msprop:Generator_TableVarName="tableStoricoAllarmiExp" msprop:Generator_TablePropName="StoricoAllarmiExp" msprop:Generator_RowDeletingName="StoricoAllarmiExpRowDeleting" msprop:Generator_RowChangingName="StoricoAllarmiExpRowChanging" msprop:Generator_RowEvHandlerName="StoricoAllarmiExpRowChangeEventHandler" msprop:Generator_RowDeletedName="StoricoAllarmiExpRowDeleted" msprop:Generator_UserTableName="StoricoAllarmiExp" msprop:Generator_RowChangedName="StoricoAllarmiExpRowChanged" msprop:Generator_RowEvArgName="StoricoAllarmiExpRowChangeEvent" msprop:Generator_RowClassName="StoricoAllarmiExpRow">
<xs:element name="StoricoAllarmiExp" msprop:Generator_TableClassName="StoricoAllarmiExpDataTable" msprop:Generator_TableVarName="tableStoricoAllarmiExp" msprop:Generator_RowChangedName="StoricoAllarmiExpRowChanged" msprop:Generator_TablePropName="StoricoAllarmiExp" msprop:Generator_RowDeletingName="StoricoAllarmiExpRowDeleting" msprop:Generator_RowChangingName="StoricoAllarmiExpRowChanging" msprop:Generator_RowEvHandlerName="StoricoAllarmiExpRowChangeEventHandler" msprop:Generator_RowDeletedName="StoricoAllarmiExpRowDeleted" msprop:Generator_RowClassName="StoricoAllarmiExpRow" msprop:Generator_UserTableName="StoricoAllarmiExp" msprop:Generator_RowEvArgName="StoricoAllarmiExpRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="DtEvento" msprop:Generator_ColumnVarNameInTable="columnDtEvento" msprop:Generator_ColumnPropNameInRow="DtEvento" msprop:Generator_ColumnPropNameInTable="DtEventoColumn" msprop:Generator_UserColumnName="DtEvento" type="xs:dateTime" />
@@ -794,7 +808,7 @@ SELECT CodAttr, CodArt_A, CodArt_B, PartProgMain, PartProgAux FROM TabAttrezzatu
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagOperatori" msprop:Generator_TableClassName="AnagOperatoriDataTable" msprop:Generator_TableVarName="tableAnagOperatori" msprop:Generator_TablePropName="AnagOperatori" msprop:Generator_RowDeletingName="AnagOperatoriRowDeleting" msprop:Generator_RowChangingName="AnagOperatoriRowChanging" msprop:Generator_RowEvHandlerName="AnagOperatoriRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagOperatoriRowDeleted" msprop:Generator_UserTableName="AnagOperatori" msprop:Generator_RowChangedName="AnagOperatoriRowChanged" msprop:Generator_RowEvArgName="AnagOperatoriRowChangeEvent" msprop:Generator_RowClassName="AnagOperatoriRow">
<xs:element name="AnagOperatori" msprop:Generator_TableClassName="AnagOperatoriDataTable" msprop:Generator_TableVarName="tableAnagOperatori" msprop:Generator_RowChangedName="AnagOperatoriRowChanged" msprop:Generator_TablePropName="AnagOperatori" msprop:Generator_RowDeletingName="AnagOperatoriRowDeleting" msprop:Generator_RowChangingName="AnagOperatoriRowChanging" msprop:Generator_RowEvHandlerName="AnagOperatoriRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagOperatoriRowDeleted" msprop:Generator_RowClassName="AnagOperatoriRow" msprop:Generator_UserTableName="AnagOperatori" msprop:Generator_RowEvArgName="AnagOperatoriRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Barcode" msprop:Generator_ColumnVarNameInTable="columnBarcode" msprop:Generator_ColumnPropNameInRow="Barcode" msprop:Generator_ColumnPropNameInTable="BarcodeColumn" msprop:Generator_UserColumnName="Barcode">
@@ -818,10 +832,24 @@ SELECT CodAttr, CodArt_A, CodArt_B, PartProgMain, PartProgAux FROM TabAttrezzatu
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Password" msprop:Generator_ColumnVarNameInTable="columnPassword" msprop:Generator_ColumnPropNameInRow="Password" msprop:Generator_ColumnPropNameInTable="PasswordColumn" msprop:Generator_UserColumnName="Password">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Livello" msprop:Generator_ColumnVarNameInTable="columnLivello" msprop:Generator_ColumnPropNameInRow="Livello" msprop:Generator_ColumnPropNameInTable="LivelloColumn" msprop:Generator_UserColumnName="Livello">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TabAttrezzature" msprop:Generator_TableClassName="TabAttrezzatureDataTable" msprop:Generator_TableVarName="tableTabAttrezzature" msprop:Generator_TablePropName="TabAttrezzature" msprop:Generator_RowDeletingName="TabAttrezzatureRowDeleting" msprop:Generator_RowChangingName="TabAttrezzatureRowChanging" msprop:Generator_RowEvHandlerName="TabAttrezzatureRowChangeEventHandler" msprop:Generator_RowDeletedName="TabAttrezzatureRowDeleted" msprop:Generator_UserTableName="TabAttrezzature" msprop:Generator_RowChangedName="TabAttrezzatureRowChanged" msprop:Generator_RowEvArgName="TabAttrezzatureRowChangeEvent" msprop:Generator_RowClassName="TabAttrezzatureRow">
<xs:element name="TabAttrezzature" msprop:Generator_TableClassName="TabAttrezzatureDataTable" msprop:Generator_TableVarName="tableTabAttrezzature" msprop:Generator_RowChangedName="TabAttrezzatureRowChanged" msprop:Generator_TablePropName="TabAttrezzature" msprop:Generator_RowDeletingName="TabAttrezzatureRowDeleting" msprop:Generator_RowChangingName="TabAttrezzatureRowChanging" msprop:Generator_RowEvHandlerName="TabAttrezzatureRowChangeEventHandler" msprop:Generator_RowDeletedName="TabAttrezzatureRowDeleted" msprop:Generator_RowClassName="TabAttrezzatureRow" msprop:Generator_UserTableName="TabAttrezzature" msprop:Generator_RowEvArgName="TabAttrezzatureRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodAttr" msprop:Generator_ColumnVarNameInTable="columnCodAttr" msprop:Generator_ColumnPropNameInRow="CodAttr" msprop:Generator_ColumnPropNameInTable="CodAttrColumn" msprop:Generator_UserColumnName="CodAttr">
@@ -898,9 +926,9 @@ SELECT CodAttr, CodArt_A, CodArt_B, PartProgMain, PartProgAux FROM TabAttrezzatu
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_TabOperazioni_TabPezzi1" msdata:parent="TabPezzi" msdata:child="TabOperazioni" msdata:parentkey="Datamatrix" msdata:childkey="Datamatrix" msprop:Generator_UserChildTable="TabOperazioni" msprop:Generator_ChildPropName="GetTabOperazioniRows" msprop:Generator_UserRelationName="FK_TabOperazioni_TabPezzi1" msprop:Generator_RelationVarName="relationFK_TabOperazioni_TabPezzi1" msprop:Generator_UserParentTable="TabPezzi" msprop:Generator_ParentPropName="TabPezziRow" />
<msdata:Relationship name="FK_TabPezzi_AnagArticoli" msdata:parent="AnagArticoli" msdata:child="TabPezzi" msdata:parentkey="CodArt" msdata:childkey="CodArt" msprop:Generator_UserChildTable="TabPezzi" msprop:Generator_ChildPropName="GetTabPezziRows" msprop:Generator_UserRelationName="FK_TabPezzi_AnagArticoli" msprop:Generator_RelationVarName="relationFK_TabPezzi_AnagArticoli" msprop:Generator_UserParentTable="AnagArticoli" msprop:Generator_ParentPropName="AnagArticoliRow" />
<msdata:Relationship name="FK_StoricoAllarmi_AnagAllarmi" msdata:parent="AnagAllarmi" msdata:child="StoricoAllarmiExp" msdata:parentkey="CodAllarme" msdata:childkey="CodAllarme" msprop:Generator_UserChildTable="StoricoAllarmiExp" msprop:Generator_ChildPropName="GetStoricoAllarmiExpRows" msprop:Generator_UserRelationName="FK_StoricoAllarmi_AnagAllarmi" msprop:Generator_ParentPropName="AnagAllarmiRow" msprop:Generator_RelationVarName="relationFK_StoricoAllarmi_AnagAllarmi" msprop:Generator_UserParentTable="AnagAllarmi" />
<msdata:Relationship name="FK_TabOperazioni_TabPezzi1" msdata:parent="TabPezzi" msdata:child="TabOperazioni" msdata:parentkey="Datamatrix" msdata:childkey="Datamatrix" msprop:Generator_UserChildTable="TabOperazioni" msprop:Generator_ChildPropName="GetTabOperazioniRows" msprop:Generator_UserRelationName="FK_TabOperazioni_TabPezzi1" msprop:Generator_ParentPropName="TabPezziRow" msprop:Generator_RelationVarName="relationFK_TabOperazioni_TabPezzi1" msprop:Generator_UserParentTable="TabPezzi" />
<msdata:Relationship name="FK_TabPezzi_AnagArticoli" msdata:parent="AnagArticoli" msdata:child="TabPezzi" msdata:parentkey="CodArt" msdata:childkey="CodArt" msprop:Generator_UserChildTable="TabPezzi" msprop:Generator_ChildPropName="GetTabPezziRows" msprop:Generator_UserRelationName="FK_TabPezzi_AnagArticoli" msprop:Generator_ParentPropName="AnagArticoliRow" msprop:Generator_RelationVarName="relationFK_TabPezzi_AnagArticoli" msprop:Generator_UserParentTable="AnagArticoli" />
<msdata:Relationship name="FK_StoricoAllarmi_AnagAllarmi" msdata:parent="AnagAllarmi" msdata:child="StoricoAllarmiExp" msdata:parentkey="CodAllarme" msdata:childkey="CodAllarme" msprop:Generator_UserChildTable="StoricoAllarmiExp" msprop:Generator_ChildPropName="GetStoricoAllarmiExpRows" msprop:Generator_UserRelationName="FK_StoricoAllarmi_AnagAllarmi" msprop:Generator_RelationVarName="relationFK_StoricoAllarmi_AnagAllarmi" msprop:Generator_UserParentTable="AnagAllarmi" msprop:Generator_ParentPropName="AnagAllarmiRow" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+4 -4
View File
@@ -8,11 +8,11 @@
<Shapes>
<Shape ID="DesignTable:TabOperazioni" ZOrder="10" X="91" Y="113" Height="342" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="191" />
<Shape ID="DesignTable:TabPezzi" ZOrder="9" X="479" Y="110" Height="227" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
<Shape ID="DesignTable:AnagArticoli" ZOrder="2" X="830" Y="102" Height="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:AnagArticoli" ZOrder="3" X="830" Y="102" Height="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="76" />
<Shape ID="DesignTable:AnagAllarmi" ZOrder="5" X="119" Y="641" Height="227" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
<Shape ID="DesignTable:StoricoAllarmiExp" ZOrder="3" X="469" Y="657" Height="227" Width="290" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
<Shape ID="DesignTable:AnagOperatori" ZOrder="4" X="905" Y="683" Height="250" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="99" />
<Shape ID="DesignTable:TabAttrezzature" ZOrder="1" X="1477" Y="344" Height="296" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:StoricoAllarmiExp" ZOrder="4" X="469" Y="657" Height="227" Width="290" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
<Shape ID="DesignTable:AnagOperatori" ZOrder="1" X="905" Y="683" Height="296" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:TabAttrezzature" ZOrder="2" X="1477" Y="344" Height="296" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_TabOperazioni_TabPezzi1" ZOrder="8" LineWidth="11">