|
@@ -215,8 +215,6 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.button_ReadDebugParam = new System.Windows.Forms.Button();
|
|
|
this.richTextBox_DebugParam = new System.Windows.Forms.RichTextBox();
|
|
|
this.tabPage_RecordInfo = new System.Windows.Forms.TabPage();
|
|
|
- this.label89 = new System.Windows.Forms.Label();
|
|
|
- this.label88 = new System.Windows.Forms.Label();
|
|
|
this.textBox_LogAddrEnd = new System.Windows.Forms.TextBox();
|
|
|
this.label_LogAddrBegin = new System.Windows.Forms.Label();
|
|
|
this.textBox_LogAddrBegin = new System.Windows.Forms.TextBox();
|
|
@@ -662,6 +660,15 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.label124 = new System.Windows.Forms.Label();
|
|
|
this.label46 = new System.Windows.Forms.Label();
|
|
|
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
|
|
+ this.button_ReadLogAddr = new System.Windows.Forms.Button();
|
|
|
+ this.label88 = new System.Windows.Forms.Label();
|
|
|
+ this.button_WriteHW = new System.Windows.Forms.Button();
|
|
|
+ this.Button_FacModeSetHW = new System.Windows.Forms.Button();
|
|
|
+ this.button_ReadUserNum = new System.Windows.Forms.Button();
|
|
|
+ this.button_WriteUserNum = new System.Windows.Forms.Button();
|
|
|
+ this.textBox_UserNum = new System.Windows.Forms.TextBox();
|
|
|
+ this.label89 = new System.Windows.Forms.Label();
|
|
|
+ this.label155 = new System.Windows.Forms.Label();
|
|
|
this.menuStrip_Set.SuspendLayout();
|
|
|
this.statusStrip1.SuspendLayout();
|
|
|
this.groupBox1.SuspendLayout();
|
|
@@ -2509,8 +2516,8 @@ namespace Welling_Motor_Debug_Tool
|
|
|
// tabPage_RecordInfo
|
|
|
//
|
|
|
this.tabPage_RecordInfo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
- this.tabPage_RecordInfo.Controls.Add(this.label89);
|
|
|
this.tabPage_RecordInfo.Controls.Add(this.label88);
|
|
|
+ this.tabPage_RecordInfo.Controls.Add(this.button_ReadLogAddr);
|
|
|
this.tabPage_RecordInfo.Controls.Add(this.textBox_LogAddrEnd);
|
|
|
this.tabPage_RecordInfo.Controls.Add(this.label_LogAddrBegin);
|
|
|
this.tabPage_RecordInfo.Controls.Add(this.textBox_LogAddrBegin);
|
|
@@ -2524,31 +2531,13 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.tabPage_RecordInfo.TabIndex = 6;
|
|
|
this.tabPage_RecordInfo.Text = "历史信息";
|
|
|
//
|
|
|
- // label89
|
|
|
- //
|
|
|
- this.label89.BackColor = System.Drawing.Color.Silver;
|
|
|
- this.label89.Location = new System.Drawing.Point(858, 136);
|
|
|
- this.label89.Name = "label89";
|
|
|
- this.label89.Size = new System.Drawing.Size(126, 1);
|
|
|
- this.label89.TabIndex = 14;
|
|
|
- //
|
|
|
- // label88
|
|
|
- //
|
|
|
- this.label88.AutoSize = true;
|
|
|
- this.label88.Location = new System.Drawing.Point(868, 70);
|
|
|
- this.label88.Name = "label88";
|
|
|
- this.label88.Size = new System.Drawing.Size(106, 21);
|
|
|
- this.label88.TabIndex = 10;
|
|
|
- this.label88.Text = "日志结束地址";
|
|
|
- this.label88.DoubleClick += new System.EventHandler(this.label88_DoubleClick);
|
|
|
- //
|
|
|
// textBox_LogAddrEnd
|
|
|
//
|
|
|
this.textBox_LogAddrEnd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
this.textBox_LogAddrEnd.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
|
|
- this.textBox_LogAddrEnd.Location = new System.Drawing.Point(858, 97);
|
|
|
+ this.textBox_LogAddrEnd.Location = new System.Drawing.Point(897, 47);
|
|
|
this.textBox_LogAddrEnd.Name = "textBox_LogAddrEnd";
|
|
|
- this.textBox_LogAddrEnd.Size = new System.Drawing.Size(126, 28);
|
|
|
+ this.textBox_LogAddrEnd.Size = new System.Drawing.Size(87, 28);
|
|
|
this.textBox_LogAddrEnd.TabIndex = 11;
|
|
|
this.textBox_LogAddrEnd.Text = "0801FFFF";
|
|
|
this.textBox_LogAddrEnd.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
@@ -2557,20 +2546,21 @@ namespace Welling_Motor_Debug_Tool
|
|
|
// label_LogAddrBegin
|
|
|
//
|
|
|
this.label_LogAddrBegin.AutoSize = true;
|
|
|
- this.label_LogAddrBegin.Location = new System.Drawing.Point(868, 9);
|
|
|
+ this.label_LogAddrBegin.Font = new System.Drawing.Font("Microsoft YaHei UI", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.label_LogAddrBegin.Location = new System.Drawing.Point(856, 13);
|
|
|
this.label_LogAddrBegin.Name = "label_LogAddrBegin";
|
|
|
- this.label_LogAddrBegin.Size = new System.Drawing.Size(106, 21);
|
|
|
+ this.label_LogAddrBegin.Size = new System.Drawing.Size(37, 20);
|
|
|
this.label_LogAddrBegin.TabIndex = 8;
|
|
|
- this.label_LogAddrBegin.Text = "日志起始地址";
|
|
|
+ this.label_LogAddrBegin.Text = "起始";
|
|
|
this.label_LogAddrBegin.DoubleClick += new System.EventHandler(this.label_LogAddrBegin_DoubleClick_1);
|
|
|
//
|
|
|
// textBox_LogAddrBegin
|
|
|
//
|
|
|
this.textBox_LogAddrBegin.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
this.textBox_LogAddrBegin.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F);
|
|
|
- this.textBox_LogAddrBegin.Location = new System.Drawing.Point(858, 36);
|
|
|
+ this.textBox_LogAddrBegin.Location = new System.Drawing.Point(897, 9);
|
|
|
this.textBox_LogAddrBegin.Name = "textBox_LogAddrBegin";
|
|
|
- this.textBox_LogAddrBegin.Size = new System.Drawing.Size(126, 28);
|
|
|
+ this.textBox_LogAddrBegin.Size = new System.Drawing.Size(87, 28);
|
|
|
this.textBox_LogAddrBegin.TabIndex = 9;
|
|
|
this.textBox_LogAddrBegin.Text = "0801F800";
|
|
|
this.textBox_LogAddrBegin.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
@@ -2749,6 +2739,11 @@ namespace Welling_Motor_Debug_Tool
|
|
|
//
|
|
|
// groupBox23
|
|
|
//
|
|
|
+ this.groupBox23.Controls.Add(this.label155);
|
|
|
+ this.groupBox23.Controls.Add(this.label89);
|
|
|
+ this.groupBox23.Controls.Add(this.button_ReadUserNum);
|
|
|
+ this.groupBox23.Controls.Add(this.button_WriteUserNum);
|
|
|
+ this.groupBox23.Controls.Add(this.textBox_UserNum);
|
|
|
this.groupBox23.Controls.Add(this.button_ReadTag);
|
|
|
this.groupBox23.Controls.Add(this.button_WriteTag);
|
|
|
this.groupBox23.Controls.Add(this.textBox_TagInfo);
|
|
@@ -2757,12 +2752,12 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.groupBox23.Size = new System.Drawing.Size(381, 107);
|
|
|
this.groupBox23.TabIndex = 4;
|
|
|
this.groupBox23.TabStop = false;
|
|
|
- this.groupBox23.Text = "产品标签";
|
|
|
+ this.groupBox23.Text = "产品标签/定制编号";
|
|
|
//
|
|
|
// button_ReadTag
|
|
|
//
|
|
|
this.button_ReadTag.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
|
|
|
- this.button_ReadTag.Location = new System.Drawing.Point(268, 67);
|
|
|
+ this.button_ReadTag.Location = new System.Drawing.Point(268, 35);
|
|
|
this.button_ReadTag.Name = "button_ReadTag";
|
|
|
this.button_ReadTag.Size = new System.Drawing.Size(50, 29);
|
|
|
this.button_ReadTag.TabIndex = 2;
|
|
@@ -2773,7 +2768,7 @@ namespace Welling_Motor_Debug_Tool
|
|
|
// button_WriteTag
|
|
|
//
|
|
|
this.button_WriteTag.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
|
- this.button_WriteTag.Location = new System.Drawing.Point(323, 67);
|
|
|
+ this.button_WriteTag.Location = new System.Drawing.Point(323, 35);
|
|
|
this.button_WriteTag.Name = "button_WriteTag";
|
|
|
this.button_WriteTag.Size = new System.Drawing.Size(50, 29);
|
|
|
this.button_WriteTag.TabIndex = 2;
|
|
@@ -2784,9 +2779,9 @@ namespace Welling_Motor_Debug_Tool
|
|
|
// textBox_TagInfo
|
|
|
//
|
|
|
this.textBox_TagInfo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
- this.textBox_TagInfo.Location = new System.Drawing.Point(9, 35);
|
|
|
+ this.textBox_TagInfo.Location = new System.Drawing.Point(54, 35);
|
|
|
this.textBox_TagInfo.Name = "textBox_TagInfo";
|
|
|
- this.textBox_TagInfo.Size = new System.Drawing.Size(364, 28);
|
|
|
+ this.textBox_TagInfo.Size = new System.Drawing.Size(212, 28);
|
|
|
this.textBox_TagInfo.TabIndex = 1;
|
|
|
//
|
|
|
// groupBox9
|
|
@@ -3196,6 +3191,7 @@ namespace Welling_Motor_Debug_Tool
|
|
|
//
|
|
|
// groupBox4
|
|
|
//
|
|
|
+ this.groupBox4.Controls.Add(this.button_WriteHW);
|
|
|
this.groupBox4.Controls.Add(this.label85);
|
|
|
this.groupBox4.Controls.Add(this.textBox_SP);
|
|
|
this.groupBox4.Controls.Add(this.button_ReadVersion);
|
|
@@ -3237,9 +3233,9 @@ namespace Welling_Motor_Debug_Tool
|
|
|
// button_ReadVersion
|
|
|
//
|
|
|
this.button_ReadVersion.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
|
|
|
- this.button_ReadVersion.Location = new System.Drawing.Point(287, 85);
|
|
|
+ this.button_ReadVersion.Location = new System.Drawing.Point(287, 111);
|
|
|
this.button_ReadVersion.Name = "button_ReadVersion";
|
|
|
- this.button_ReadVersion.Size = new System.Drawing.Size(50, 83);
|
|
|
+ this.button_ReadVersion.Size = new System.Drawing.Size(50, 57);
|
|
|
this.button_ReadVersion.TabIndex = 2;
|
|
|
this.button_ReadVersion.Text = "查询";
|
|
|
this.button_ReadVersion.UseVisualStyleBackColor = false;
|
|
@@ -4185,6 +4181,7 @@ namespace Welling_Motor_Debug_Tool
|
|
|
//
|
|
|
// groupBox25
|
|
|
//
|
|
|
+ this.groupBox25.Controls.Add(this.Button_FacModeSetHW);
|
|
|
this.groupBox25.Controls.Add(this.button_FacModeSetName);
|
|
|
this.groupBox25.Controls.Add(this.label87);
|
|
|
this.groupBox25.Controls.Add(this.textBox_FacModeGit);
|
|
@@ -4307,7 +4304,7 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.textBox_FacModeHW.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
this.textBox_FacModeHW.Location = new System.Drawing.Point(54, 87);
|
|
|
this.textBox_FacModeHW.Name = "textBox_FacModeHW";
|
|
|
- this.textBox_FacModeHW.Size = new System.Drawing.Size(234, 28);
|
|
|
+ this.textBox_FacModeHW.Size = new System.Drawing.Size(153, 28);
|
|
|
this.textBox_FacModeHW.TabIndex = 10;
|
|
|
//
|
|
|
// Button_FacModeSetNum
|
|
@@ -7541,6 +7538,99 @@ namespace Welling_Motor_Debug_Tool
|
|
|
this.pictureBox2.TabIndex = 16;
|
|
|
this.pictureBox2.TabStop = false;
|
|
|
//
|
|
|
+ // button_ReadLogAddr
|
|
|
+ //
|
|
|
+ this.button_ReadLogAddr.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
|
+ this.button_ReadLogAddr.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.button_ReadLogAddr.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
+ this.button_ReadLogAddr.Location = new System.Drawing.Point(858, 91);
|
|
|
+ this.button_ReadLogAddr.Name = "button_ReadLogAddr";
|
|
|
+ this.button_ReadLogAddr.Size = new System.Drawing.Size(126, 50);
|
|
|
+ this.button_ReadLogAddr.TabIndex = 26;
|
|
|
+ this.button_ReadLogAddr.Text = "读取日志地址";
|
|
|
+ this.button_ReadLogAddr.UseVisualStyleBackColor = false;
|
|
|
+ this.button_ReadLogAddr.Click += new System.EventHandler(this.button_ReadLogAddr_Click);
|
|
|
+ //
|
|
|
+ // label88
|
|
|
+ //
|
|
|
+ this.label88.AutoSize = true;
|
|
|
+ this.label88.Font = new System.Drawing.Font("Microsoft YaHei UI", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.label88.Location = new System.Drawing.Point(856, 51);
|
|
|
+ this.label88.Name = "label88";
|
|
|
+ this.label88.Size = new System.Drawing.Size(37, 20);
|
|
|
+ this.label88.TabIndex = 27;
|
|
|
+ this.label88.Text = "结束";
|
|
|
+ //
|
|
|
+ // button_WriteHW
|
|
|
+ //
|
|
|
+ this.button_WriteHW.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
|
+ this.button_WriteHW.Location = new System.Drawing.Point(287, 82);
|
|
|
+ this.button_WriteHW.Name = "button_WriteHW";
|
|
|
+ this.button_WriteHW.Size = new System.Drawing.Size(50, 29);
|
|
|
+ this.button_WriteHW.TabIndex = 5;
|
|
|
+ this.button_WriteHW.Text = "写入";
|
|
|
+ this.button_WriteHW.UseVisualStyleBackColor = false;
|
|
|
+ this.button_WriteHW.Click += new System.EventHandler(this.button_WriteHW_Click);
|
|
|
+ //
|
|
|
+ // Button_FacModeSetHW
|
|
|
+ //
|
|
|
+ this.Button_FacModeSetHW.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
|
+ this.Button_FacModeSetHW.Location = new System.Drawing.Point(213, 87);
|
|
|
+ this.Button_FacModeSetHW.Name = "Button_FacModeSetHW";
|
|
|
+ this.Button_FacModeSetHW.Size = new System.Drawing.Size(75, 29);
|
|
|
+ this.Button_FacModeSetHW.TabIndex = 29;
|
|
|
+ this.Button_FacModeSetHW.Text = "写入";
|
|
|
+ this.Button_FacModeSetHW.UseVisualStyleBackColor = false;
|
|
|
+ this.Button_FacModeSetHW.Click += new System.EventHandler(this.Button_FacModeSetHW_Click);
|
|
|
+ //
|
|
|
+ // button_ReadUserNum
|
|
|
+ //
|
|
|
+ this.button_ReadUserNum.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
|
|
|
+ this.button_ReadUserNum.Location = new System.Drawing.Point(268, 72);
|
|
|
+ this.button_ReadUserNum.Name = "button_ReadUserNum";
|
|
|
+ this.button_ReadUserNum.Size = new System.Drawing.Size(50, 29);
|
|
|
+ this.button_ReadUserNum.TabIndex = 5;
|
|
|
+ this.button_ReadUserNum.Text = "查询";
|
|
|
+ this.button_ReadUserNum.UseVisualStyleBackColor = false;
|
|
|
+ this.button_ReadUserNum.Click += new System.EventHandler(this.button_ReadUserNum_Click);
|
|
|
+ //
|
|
|
+ // button_WriteUserNum
|
|
|
+ //
|
|
|
+ this.button_WriteUserNum.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
|
+ this.button_WriteUserNum.Location = new System.Drawing.Point(323, 72);
|
|
|
+ this.button_WriteUserNum.Name = "button_WriteUserNum";
|
|
|
+ this.button_WriteUserNum.Size = new System.Drawing.Size(50, 29);
|
|
|
+ this.button_WriteUserNum.TabIndex = 4;
|
|
|
+ this.button_WriteUserNum.Text = "写入";
|
|
|
+ this.button_WriteUserNum.UseVisualStyleBackColor = false;
|
|
|
+ this.button_WriteUserNum.Click += new System.EventHandler(this.button_WriteUserNum_Click);
|
|
|
+ //
|
|
|
+ // textBox_UserNum
|
|
|
+ //
|
|
|
+ this.textBox_UserNum.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
|
|
+ this.textBox_UserNum.Location = new System.Drawing.Point(54, 72);
|
|
|
+ this.textBox_UserNum.Name = "textBox_UserNum";
|
|
|
+ this.textBox_UserNum.Size = new System.Drawing.Size(212, 28);
|
|
|
+ this.textBox_UserNum.TabIndex = 3;
|
|
|
+ //
|
|
|
+ // label89
|
|
|
+ //
|
|
|
+ this.label89.AutoSize = true;
|
|
|
+ this.label89.Location = new System.Drawing.Point(6, 39);
|
|
|
+ this.label89.Name = "label89";
|
|
|
+ this.label89.Size = new System.Drawing.Size(42, 21);
|
|
|
+ this.label89.TabIndex = 3;
|
|
|
+ this.label89.Text = "标签";
|
|
|
+ //
|
|
|
+ // label155
|
|
|
+ //
|
|
|
+ this.label155.AutoSize = true;
|
|
|
+ this.label155.Location = new System.Drawing.Point(6, 76);
|
|
|
+ this.label155.Name = "label155";
|
|
|
+ this.label155.Size = new System.Drawing.Size(42, 21);
|
|
|
+ this.label155.TabIndex = 6;
|
|
|
+ this.label155.Text = "编号";
|
|
|
+ //
|
|
|
// mainForm
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
|
|
@@ -7928,10 +8018,8 @@ namespace Welling_Motor_Debug_Tool
|
|
|
private CheckBox checkBox_ReadRanFlash_AutoSW;
|
|
|
private CheckBox checkBox_ReadRanFlash_ChangeFormat;
|
|
|
private CheckBox checkBox_ReadRanFlash_AutoClear;
|
|
|
- private Label label88;
|
|
|
private TextBox textBox_LogAddrEnd;
|
|
|
private TextBox textBox_LogAddrBegin;
|
|
|
- private Label label89;
|
|
|
private Label label_LogAddrBegin;
|
|
|
private Label label87;
|
|
|
private TextBox textBox_FacModeGit;
|
|
@@ -8310,5 +8398,14 @@ namespace Welling_Motor_Debug_Tool
|
|
|
private Label label1_TorqueCal2;
|
|
|
private Label label1_TorqueCal3;
|
|
|
private Label label1_TorqueCal4;
|
|
|
+ private Button button_ReadLogAddr;
|
|
|
+ private Label label88;
|
|
|
+ private Button button_WriteHW;
|
|
|
+ private Button Button_FacModeSetHW;
|
|
|
+ private Label label89;
|
|
|
+ private Button button_ReadUserNum;
|
|
|
+ private Button button_WriteUserNum;
|
|
|
+ private TextBox textBox_UserNum;
|
|
|
+ private Label label155;
|
|
|
}
|
|
|
}
|