提交 0c5604cb authored 作者: yangbinjay's avatar yangbinjay

CH2

上级 b8aaef9f
......@@ -43,6 +43,10 @@ namespace GKHTRBC16P.Bll
Csql2 = Csql2 + string.Format("'F_WMD' float(10,3),");
Csql2 = Csql2 + string.Format("'F_WMP' float(10,3),");
Csql2 = Csql2 + string.Format("'F_WMA' float(10,3),");
Csql2 = Csql2 + string.Format("'F_WMF2' float(10,3),");
Csql2 = Csql2 + string.Format("'F_WMD2' float(10,3),");
Csql2 = Csql2 + string.Format("'F_WMP2' float(10,3),");
Csql2 = Csql2 + string.Format("'F_WMA2' float(10,3),");
if (Csql2.Length > 0)
Csql2 = Csql2.Substring(0, Csql2.Length - 1);
string Csql3 = string.Format(@");CREATE TABLE 'Summary'( 'Id' integer PRIMARY KEY AUTOINCREMENT,'Invalid' int,'RecordNum' integer,'MaxStatin'varchar,'Transfinite'varchar,'AgvStatin'varchar);
......
......@@ -41,8 +41,8 @@ namespace GKHTRBC16P.Bll
int result = 0;
using (IDbConnection cnn = new SQLiteConnection(DapperConntionData.Conectionvoidstring()))
{
result = cnn.Execute("insert into Dev_Device(MainId,DevName,TestId,AgingNo,AgingTime,EleLower,EleUpper,BackVol,TjUpper,Rqaw,AgeingImage,F_WMF,F_WMD,F_WMP,F_WMA,Vdd,Vcc,Vee,Idd,Icc,Iee,Devimage,VgsP,VgsN,Vg,PowerIf,OvenIf,Stage,OnVoltage1,OnVoltage2,OffVoltage1,OffVoltage2,WhereTemp,OnTemp,OnHimi,OffTemp,OffHimi,ReachTime,HimiReachTime,Status,UserId,Createtime) " +
"values(@MainId,@DevName,@TestId,@AgingNo,@AgingTime,@EleLower,@EleUpper,@BackVol,@TjUpper,@Rqaw,@AgeingImage,@F_WMF,@F_WMD,@F_WMP,@F_WMA,@Vdd,@Vcc,@Vee,@Idd,@Icc,@Iee,@Devimage,@VgsP,@VgsN,@Vg,@PowerIf,@OvenIf,@Stage,@OnVoltage1,@OnVoltage2,@OffVoltage1,@OffVoltage2,@WhereTemp,@OnTemp,@OnHimi,@OffTemp,@OffHimi,@ReachTime,@HimiReachTime,@Status,@UserId,@Createtime)", dev_Device);
result = cnn.Execute("insert into Dev_Device(MainId,DevName,TestId,AgingNo,AgingTime,EleLower,EleUpper,BackVol,TjUpper,Rqaw,AgeingImage,F_WMF,F_WMD,F_WMP,F_WMA,F_WMF2,F_WMD2,F_WMP2,F_WMA2,Vdd,Vcc,Vee,Idd,Icc,Iee,Devimage,VgsP,VgsN,Vg,PowerIf,OvenIf,Stage,OnVoltage1,OnVoltage2,OffVoltage1,OffVoltage2,WhereTemp,OnTemp,OnHimi,OffTemp,OffHimi,ReachTime,HimiReachTime,Status,UserId,Createtime) " +
"values(@MainId,@DevName,@TestId,@AgingNo,@AgingTime,@EleLower,@EleUpper,@BackVol,@TjUpper,@Rqaw,@AgeingImage,@F_WMF,@F_WMD,@F_WMP,@F_WMA,@F_WMF2,@F_WMD2,@F_WMP2,@F_WMA2,@Vdd,@Vcc,@Vee,@Idd,@Icc,@Iee,@Devimage,@VgsP,@VgsN,@Vg,@PowerIf,@OvenIf,@Stage,@OnVoltage1,@OnVoltage2,@OffVoltage1,@OffVoltage2,@WhereTemp,@OnTemp,@OnHimi,@OffTemp,@OffHimi,@ReachTime,@HimiReachTime,@Status,@UserId,@Createtime)", dev_Device);
}
return result;
}
......@@ -51,7 +51,7 @@ namespace GKHTRBC16P.Bll
int result = 0;
using (IDbConnection cnn = new SQLiteConnection(DapperConntionData.Conectionvoidstring()))
{
result = cnn.Execute("update Dev_Device set MainId = @MainId,DevName=@DevName,TestId =@TestId,AgingNo = @AgingNo,AgingTime = @AgingTime,F_WMF=@F_WMF,F_WMD=@F_WMD,F_WMP=@F_WMP,F_WMA=@F_WMA,Vdd=@Vdd,Vcc=@Vcc,Vee=@Vee,Idd=@Idd,Icc=@Icc,Iee=@Iee,EleLower=@EleLower,EleUpper=@EleUpper,BackVol=@BackVol,VgsP=@VgsP,VgsN=@VgsN,Vg=@Vg," +
result = cnn.Execute("update Dev_Device set MainId = @MainId,DevName=@DevName,TestId =@TestId,AgingNo = @AgingNo,AgingTime = @AgingTime,F_WMF=@F_WMF,F_WMD=@F_WMD,F_WMP=@F_WMP,F_WMA=@F_WMA,F_WMF2=@F_WMF2,F_WMD2=@F_WMD2,F_WMP2=@F_WMP2,F_WMA2=@F_WMA2,Vdd=@Vdd,Vcc=@Vcc,Vee=@Vee,Idd=@Idd,Icc=@Icc,Iee=@Iee,EleLower=@EleLower,EleUpper=@EleUpper,BackVol=@BackVol,VgsP=@VgsP,VgsN=@VgsN,Vg=@Vg," +
"PowerIf=@PowerIf,OvenIf=@OvenIf,Stage=@Stage,OnVoltage1=@OnVoltage1,OnVoltage2=@OnVoltage2,OffVoltage1=@OffVoltage1,OffVoltage2=@OffVoltage2,WhereTemp=@WhereTemp,OnTemp=@OnTemp,OnHimi=@OnHimi,OffTemp=@OffTemp,OffHimi=@OffHimi,ReachTime=@ReachTime,HimiReachTime=@HimiReachTime," +
"TjUpper=@TjUpper,Rqaw=@Rqaw,AgeingImage=@AgeingImage,Devimage=@Devimage,Status=@Status,UserId=@UserId,Createtime=@Createtime " +
"where Id=" + dev_Device.Id, dev_Device);
......
......@@ -150,7 +150,7 @@ namespace GKHTRBC16P.Bll
listsq.Add("Vg");
}
dic_StationSp.Dlen = list0.Count;
string[] st = { "F_WMF", "F_WMD", "F_WMP", "F_WMA" };
string[] st = { "F_WMF", "F_WMD", "F_WMP", "F_WMA", "F_WMF2", "F_WMD2", "F_WMP2", "F_WMA2" };
for (int i = 0; i < station; i++)
{
list0.Add(st[i]);
......@@ -447,6 +447,10 @@ namespace GKHTRBC16P.Bll
station_Data.F_WMD = SaveStation[1] / 1000;
station_Data.F_WMP = SaveStation[2] / 1000;
station_Data.F_WMA = SaveStation[3] / 10000;
station_Data.F_WMF2 = SaveStation[10];
station_Data.F_WMD2 = SaveStation[11] / 1000;
station_Data.F_WMP2 = SaveStation[12] / 1000;
station_Data.F_WMA2 = SaveStation[13] / 10000;
DataTable StationList = new DataTable(test_Parameter.BatchName);
DevAlarmLogBll devAlarmLogBll = new DevAlarmLogBll();
......
......@@ -31,7 +31,7 @@ namespace GKHTRBC16P.Bll
{
result = cnn.Execute("update Test_Parameter set Id = @Id, DeviceId = @DeviceId,Ishtrb =@Ishtrb,BatStatus=@BatStatus,PowerUnit=@PowerUnit,BatchName =@BatchName,LotInfo = @LotInfo,BoardInfo = @BoardInfo,SrefStart=@SrefStart,SrefEnd=@SrefEnd," +
"SingeRefresh=@SingeRefresh,EleLower=@EleLower,EleUpper=@EleUpper,TjUpper=@TjUpper,Rqaw=@Rqaw,SupplyRGPW=@SupplyRGPW,PolarityRG=@PolarityRG,BeginTime=@BeginTime,SupTime=@SupTime,SupSeconds=@SupSeconds,EndTime=@EndTime," +
"RecordNum=@RecordNum,BatchFileName=@BatchFileName,PowerNo=@PowerNo,OvenNo=@OvenNo,VgsP=@VgsP,VgsN=@VgsN,Ch1=@Ch1,Ch2=@Ch1," +
"RecordNum=@RecordNum,BatchFileName=@BatchFileName,PowerNo=@PowerNo,OvenNo=@OvenNo,VgsP=@VgsP,VgsN=@VgsN,Ch1=@Ch1,Ch2=@Ch2," +
"TestTime=@TestTime,Remarks=@Remarks,Status=@Status,UserId=@UserId,CreateTime=@CreateTime where ParmId=" + test_Parameter.ParmId, test_Parameter);
}
return result;
......
......@@ -23,6 +23,10 @@ namespace GKHTRBC16P.Model
public decimal F_WMD { get; set; }
public decimal F_WMP { get; set; }
public decimal F_WMA { get; set; }
public decimal F_WMF2 { get; set; }
public decimal F_WMD2 { get; set; }
public decimal F_WMP2 { get; set; }
public decimal F_WMA2 { get; set; }
public string Vdd { get; set; }
public string Vcc { get; set; }
......@@ -70,6 +74,7 @@ namespace GKHTRBC16P.Model
{
public string Item { get; set; }
public string Value { get; set; }
public string Value2 { get; set; }
}
public class Dev_Devicest_Grid
{
......
......@@ -231,6 +231,10 @@ namespace GKHTRBC16P.Model
public double F_WMD { get; set; }
public double F_WMP { get; set; }
public double F_WMA { get; set; }
public double F_WMF2 { get; set; }
public double F_WMD2 { get; set; }
public double F_WMP2 { get; set; }
public double F_WMA2 { get; set; }
}
}
......@@ -34,6 +34,7 @@ namespace GKHTRBC16P.FunMov
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
......@@ -50,7 +51,6 @@ namespace GKHTRBC16P.FunMov
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle();
......@@ -71,10 +71,21 @@ namespace GKHTRBC16P.FunMov
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
this.uiSplitContainer1 = new Sunny.UI.UISplitContainer();
this.uiPanel1 = new Sunny.UI.UIPanel();
this.uiDataGridView1 = new Sunny.UI.UIDataGridView();
this.Id = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.G1Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.G1Column2 = new System.Windows.Forms.DataGridViewImageColumn();
this.G1Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.G1Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.G1Column5 = new GKHTRBC16P.Drowing.WDataGridViewColumn_Progress();
this.G1Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.G1Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.G1Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.G1Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.G1Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.uiTabControl1 = new Sunny.UI.UITabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.uiDataGridView3 = new Sunny.UI.UIDataGridView();
......@@ -85,8 +96,6 @@ namespace GKHTRBC16P.FunMov
this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.uiDataGridView2 = new Sunny.UI.UIDataGridView();
this.G2Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.uiDataGridView5 = new Sunny.UI.UIDataGridView();
this.dataGridViewTextBoxColumn34 = new System.Windows.Forms.DataGridViewTextBoxColumn();
......@@ -156,17 +165,9 @@ namespace GKHTRBC16P.FunMov
this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.wDataGridViewColumn_Progress1 = new GKHTRBC16P.Drowing.WDataGridViewColumn_Progress();
this.Id = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.G1Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.G1Column2 = new System.Windows.Forms.DataGridViewImageColumn();
this.G1Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.G1Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.G1Column5 = new GKHTRBC16P.Drowing.WDataGridViewColumn_Progress();
this.G1Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.G1Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.G1Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.G1Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.G1Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.G2Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.uiSplitContainer1)).BeginInit();
this.uiSplitContainer1.Panel1.SuspendLayout();
this.uiSplitContainer1.Panel2.SuspendLayout();
......@@ -295,6 +296,116 @@ namespace GKHTRBC16P.FunMov
this.uiDataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.uiDataGridView1_CellClick);
this.uiDataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.uiDataGridView1_CellDoubleClick);
//
// Id
//
this.Id.DataPropertyName = "Id";
this.Id.HeaderText = "Id";
this.Id.MinimumWidth = 6;
this.Id.Name = "Id";
this.Id.ReadOnly = true;
this.Id.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.Id.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.Id.Visible = false;
this.Id.Width = 20;
//
// G1Column1
//
this.G1Column1.DataPropertyName = "Ids";
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.G1Column1.DefaultCellStyle = dataGridViewCellStyle3;
this.G1Column1.HeaderText = "通道";
this.G1Column1.MinimumWidth = 6;
this.G1Column1.Name = "G1Column1";
this.G1Column1.ReadOnly = true;
this.G1Column1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.G1Column1.Width = 50;
//
// G1Column2
//
this.G1Column2.HeaderText = "输出";
this.G1Column2.Image = global::GKHTRBC16P.Properties.Resources.Image1;
this.G1Column2.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
this.G1Column2.MinimumWidth = 6;
this.G1Column2.Name = "G1Column2";
this.G1Column2.ReadOnly = true;
this.G1Column2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.G1Column2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.G1Column2.Width = 50;
//
// G1Column3
//
this.G1Column3.DataPropertyName = "Fundo";
this.G1Column3.HeaderText = "运行状态";
this.G1Column3.MinimumWidth = 6;
this.G1Column3.Name = "G1Column3";
this.G1Column3.ReadOnly = true;
this.G1Column3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.G1Column3.Width = 80;
//
// G1Column4
//
this.G1Column4.DataPropertyName = "DevName";
this.G1Column4.HeaderText = "器件名称";
this.G1Column4.MinimumWidth = 6;
this.G1Column4.Name = "G1Column4";
this.G1Column4.ReadOnly = true;
this.G1Column4.Width = 80;
//
// G1Column5
//
this.G1Column5.DataPropertyName = "Press";
this.G1Column5.HeaderText = "进度";
this.G1Column5.MinimumWidth = 6;
this.G1Column5.Name = "G1Column5";
this.G1Column5.ReadOnly = true;
this.G1Column5.Resizable = System.Windows.Forms.DataGridViewTriState.False;
this.G1Column5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.G1Column5.Width = 80;
//
// G1Column6
//
this.G1Column6.HeaderText = "运行时间";
this.G1Column6.MinimumWidth = 6;
this.G1Column6.Name = "G1Column6";
this.G1Column6.ReadOnly = true;
this.G1Column6.Width = 120;
//
// G1Column7
//
this.G1Column7.DataPropertyName = "Invalids";
this.G1Column7.HeaderText = "失效";
this.G1Column7.MinimumWidth = 6;
this.G1Column7.Name = "G1Column7";
this.G1Column7.ReadOnly = true;
this.G1Column7.Width = 60;
//
// G1Column8
//
this.G1Column8.DataPropertyName = "BatchFileName";
this.G1Column8.HeaderText = "批次名称";
this.G1Column8.MinimumWidth = 6;
this.G1Column8.Name = "G1Column8";
this.G1Column8.ReadOnly = true;
this.G1Column8.Width = 160;
//
// G1Column9
//
this.G1Column9.DataPropertyName = "CreateTime";
this.G1Column9.HeaderText = "创建时间";
this.G1Column9.MinimumWidth = 6;
this.G1Column9.Name = "G1Column9";
this.G1Column9.ReadOnly = true;
this.G1Column9.Width = 150;
//
// G1Column10
//
this.G1Column10.DataPropertyName = "EleUpper";
this.G1Column10.HeaderText = "上限";
this.G1Column10.MinimumWidth = 6;
this.G1Column10.Name = "G1Column10";
this.G1Column10.ReadOnly = true;
this.G1Column10.Width = 80;
//
// uiTabControl1
//
this.uiTabControl1.Controls.Add(this.tabPage1);
......@@ -475,7 +586,8 @@ namespace GKHTRBC16P.FunMov
this.uiDataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.uiDataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.G2Column11,
this.Column12});
this.Column12,
this.Column1});
dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle21.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle21.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
......@@ -518,26 +630,6 @@ namespace GKHTRBC16P.FunMov
this.uiDataGridView2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.uiDataGridView2.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.uiDataGridView2_CellDoubleClick);
//
// G2Column11
//
this.G2Column11.DataPropertyName = "Item";
dataGridViewCellStyle20.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.G2Column11.DefaultCellStyle = dataGridViewCellStyle20;
this.G2Column11.HeaderText = "Parameter";
this.G2Column11.MinimumWidth = 6;
this.G2Column11.Name = "G2Column11";
this.G2Column11.ReadOnly = true;
this.G2Column11.Width = 60;
//
// Column12
//
this.Column12.DataPropertyName = "Value";
this.Column12.HeaderText = "Nnm Value";
this.Column12.MinimumWidth = 6;
this.Column12.Name = "Column12";
this.Column12.ReadOnly = true;
this.Column12.Width = 68;
//
// tabPage3
//
this.tabPage3.Controls.Add(this.uiDataGridView5);
......@@ -1461,115 +1553,32 @@ namespace GKHTRBC16P.FunMov
this.wDataGridViewColumn_Progress1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.wDataGridViewColumn_Progress1.Width = 125;
//
// Id
//
this.Id.DataPropertyName = "Id";
this.Id.HeaderText = "Id";
this.Id.MinimumWidth = 6;
this.Id.Name = "Id";
this.Id.ReadOnly = true;
this.Id.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.Id.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.Id.Visible = false;
this.Id.Width = 20;
//
// G1Column1
//
this.G1Column1.DataPropertyName = "Ids";
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.G1Column1.DefaultCellStyle = dataGridViewCellStyle3;
this.G1Column1.HeaderText = "通道";
this.G1Column1.MinimumWidth = 6;
this.G1Column1.Name = "G1Column1";
this.G1Column1.ReadOnly = true;
this.G1Column1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.G1Column1.Width = 50;
//
// G1Column2
//
this.G1Column2.HeaderText = "输出";
this.G1Column2.Image = global::GKHTRBC16P.Properties.Resources.Image1;
this.G1Column2.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
this.G1Column2.MinimumWidth = 6;
this.G1Column2.Name = "G1Column2";
this.G1Column2.ReadOnly = true;
this.G1Column2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.G1Column2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.G1Column2.Width = 50;
//
// G1Column3
//
this.G1Column3.DataPropertyName = "Fundo";
this.G1Column3.HeaderText = "运行状态";
this.G1Column3.MinimumWidth = 6;
this.G1Column3.Name = "G1Column3";
this.G1Column3.ReadOnly = true;
this.G1Column3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.G1Column3.Width = 80;
//
// G1Column4
//
this.G1Column4.DataPropertyName = "DevName";
this.G1Column4.HeaderText = "器件名称";
this.G1Column4.MinimumWidth = 6;
this.G1Column4.Name = "G1Column4";
this.G1Column4.ReadOnly = true;
this.G1Column4.Width = 80;
//
// G1Column5
//
this.G1Column5.DataPropertyName = "Press";
this.G1Column5.HeaderText = "进度";
this.G1Column5.MinimumWidth = 6;
this.G1Column5.Name = "G1Column5";
this.G1Column5.ReadOnly = true;
this.G1Column5.Resizable = System.Windows.Forms.DataGridViewTriState.False;
this.G1Column5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.G1Column5.Width = 80;
//
// G1Column6
//
this.G1Column6.HeaderText = "运行时间";
this.G1Column6.MinimumWidth = 6;
this.G1Column6.Name = "G1Column6";
this.G1Column6.ReadOnly = true;
this.G1Column6.Width = 120;
//
// G1Column7
//
this.G1Column7.DataPropertyName = "Invalids";
this.G1Column7.HeaderText = "失效";
this.G1Column7.MinimumWidth = 6;
this.G1Column7.Name = "G1Column7";
this.G1Column7.ReadOnly = true;
this.G1Column7.Width = 60;
//
// G1Column8
// G2Column11
//
this.G1Column8.DataPropertyName = "BatchFileName";
this.G1Column8.HeaderText = "批次名称";
this.G1Column8.MinimumWidth = 6;
this.G1Column8.Name = "G1Column8";
this.G1Column8.ReadOnly = true;
this.G1Column8.Width = 160;
this.G2Column11.DataPropertyName = "Item";
dataGridViewCellStyle20.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.G2Column11.DefaultCellStyle = dataGridViewCellStyle20;
this.G2Column11.HeaderText = "Parameter";
this.G2Column11.MinimumWidth = 6;
this.G2Column11.Name = "G2Column11";
this.G2Column11.ReadOnly = true;
//
// G1Column9
// Column12
//
this.G1Column9.DataPropertyName = "CreateTime";
this.G1Column9.HeaderText = "创建时间";
this.G1Column9.MinimumWidth = 6;
this.G1Column9.Name = "G1Column9";
this.G1Column9.ReadOnly = true;
this.G1Column9.Width = 150;
this.Column12.DataPropertyName = "Value";
this.Column12.HeaderText = "CH1";
this.Column12.MinimumWidth = 6;
this.Column12.Name = "Column12";
this.Column12.ReadOnly = true;
this.Column12.Width = 125;
//
// G1Column10
// Column1
//
this.G1Column10.DataPropertyName = "EleUpper";
this.G1Column10.HeaderText = "上限";
this.G1Column10.MinimumWidth = 6;
this.G1Column10.Name = "G1Column10";
this.G1Column10.ReadOnly = true;
this.G1Column10.Width = 80;
this.Column1.DataPropertyName = "Value2";
this.Column1.HeaderText = "CH2";
this.Column1.Name = "Column1";
this.Column1.ReadOnly = true;
this.Column1.Width = 125;
//
// Home_Status
//
......@@ -1690,8 +1699,6 @@ namespace GKHTRBC16P.FunMov
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn31;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn32;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn33;
private System.Windows.Forms.DataGridViewTextBoxColumn G2Column11;
private System.Windows.Forms.DataGridViewTextBoxColumn Column12;
private System.Windows.Forms.DataGridViewCheckBoxColumn Id;
private System.Windows.Forms.DataGridViewTextBoxColumn G1Column1;
private System.Windows.Forms.DataGridViewImageColumn G1Column2;
......@@ -1703,5 +1710,8 @@ namespace GKHTRBC16P.FunMov
private System.Windows.Forms.DataGridViewTextBoxColumn G1Column8;
private System.Windows.Forms.DataGridViewTextBoxColumn G1Column9;
private System.Windows.Forms.DataGridViewTextBoxColumn G1Column10;
private System.Windows.Forms.DataGridViewTextBoxColumn G2Column11;
private System.Windows.Forms.DataGridViewTextBoxColumn Column12;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
}
}
\ No newline at end of file
......@@ -421,27 +421,31 @@ namespace GKHTRBC16P.FunMov
Txt_direction.Visible = false;
EdZFConfig.Visible = false;
List<Dev_Station_Grid> dev_Device_Grids = new List<Dev_Station_Grid>();
string[] htitle = new string[12]{ "波形", "主波频率(Hz)", "主波占空(%)", "主波相位(°)", "主波幅度(V)","Vdd(V)", "Vcc(V)", "Vee(V)", "Idd(A)", "Icc(A)", "Iee(A)", "时间" };
string[] htitle = new string[12]{ "波形", "频率(Hz)", "占空(%)", "相位(°)", "幅度(V)","Vdd(V)", "Vcc(V)", "Vee(V)", "Idd(A)", "Icc(A)", "Iee(A)", "时间" };
for (int i = 0; i < htitle.Length; i++)
{
Dev_Station_Grid device_Grid = new Dev_Station_Grid();
device_Grid.Item = htitle[i];
device_Grid.Value = "0";
device_Grid.Value2 = "";
dev_Device_Grids.Add(device_Grid);
}
uiDataGridView2.Columns[0].Width = 140;
uiDataGridView2.Columns[0].Width = 130;
var valueht = (uiDataGridView2.Width - uiDataGridView2.Columns[0].Width - 5) / 2;
//uiDataGridView2.Columns[j].CellTemplate.Style.BackColor = Color.Gainsboro;
uiDataGridView2.Columns[1].Width = uiDataGridView2.Width - uiDataGridView2.Columns[0].Width - 5;
uiDataGridView2.Columns[1].Width = valueht;
uiDataGridView2.Columns[2].Width = valueht;
//uiDataGridView2.Columns[j + 1].HeaderText = CalculationAo.Thorous[board].PowerUnit;
uiDataGridView2.Columns[0].CellTemplate.Style.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Italic);
uiDataGridView2.Columns[1].CellTemplate.Style.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
uiDataGridView2.Columns[2].CellTemplate.Style.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
HeadShowLocal();
uiDataGridView2.RowTemplate.Height = 32;
uiDataGridView2.DataSource = dev_Device_Grids;
uiDataGridView2.AllowUserToResizeColumns = false;
uiDataGridView2.AllowUserToResizeRows = false;
uiDataGridView2.AllowUserToAddRows = false;
uiDataGridView2.Rows[5].Cells[1].AdjustCellBorderStyle(new DataGridViewAdvancedBorderStyle(), new DataGridViewAdvancedBorderStyle(), false, false, false, false);
Txt_direction.Visible = false;
StationPost.Nodes.Clear();
if ((CalculationAo.Thorous[board].Waytype == 7 || CalculationAo.Thorous[board].Waytype == 6)&& CalculationAo.Thorous[board].Vg == 1)
......
......@@ -174,6 +174,9 @@
<metadata name="Column12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="uiContextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
......
......@@ -361,10 +361,10 @@
<Control name="uiLabel3" text="创建时间:"/>
<Control name="uiLabel4" text="器件库:"/>
<Control name="uiLabel2" text="器件名称:"/>
<Control name="uiLabel7" text="主波频率(Hz):"/>
<Control name="uiLabel7" text="CH1波形频率(Hz):"/>
<Control name="uiLabel9" text="反偏电压值(V):"/>
<Control name="uiLabel6" text="老化时间(h):"/>
<Control name="uiLabel8" text="占空(%):"/>
<Control name="uiLabel8" text="CH1占空(%):"/>
<Control name="Com_Text_Type" text="0"/>
<Control name="uiLabel10" text="上电电压(上桥):"/>
<Control name="uiLabel11" text="下电电压(上桥):"/>
......
......@@ -359,10 +359,10 @@
<Control name="uiLabel3" text="Create Time:"/>
<Control name="uiLabel4" text="Device Library:"/>
<Control name="uiLabel2" text="Device Name:"/>
<Control name="uiLabel7" text="IR-min(uA):"/>
<Control name="uiLabel7" text="Main wave frequency:"/>
<Control name="uiLabel9" text="VR(V):"/>
<Control name="uiLabel6" text="Burn-in Time(h):"/>
<Control name="uiLabel8" text="IR-max(uA):"/>
<Control name="uiLabel8" text="Duty cycle:"/>
<Control name="Com_Text_Type" text="0"/>
<Control name="uiLabel10" text="Power on voltage:"/>
<Control name="uiLabel11" text="Power down voltage:"/>
......
......@@ -443,6 +443,13 @@ namespace GKHTRBC16P.RunLibrary
bok = Feelelec.Instance.Fboarddata(uIForm, thor.ComId - 1, WayId + 1, "RMP", 2, 20);//读取主波相位
bok = Feelelec.Instance.Fboarddata(uIForm, thor.ComId - 1, WayId + 1, "RMA", 3, 20);//读取主波幅度
bok = Feelelec.Instance.Fboarddata(uIForm, thor.ComId - 1, WayId + 1, "RMN", 4, 20);//读取主波输出开始/停止
bok = Feelelec.Instance.Fboarddata(uIForm, thor.ComId - 1, WayId + 1, "RFF", 10, 20);//读取副波频率(单位Hz)
bok = Feelelec.Instance.Fboarddata(uIForm, thor.ComId - 1, WayId + 1, "RFD", 11, 20);//读取副波占空(比例50.1%)
bok = Feelelec.Instance.Fboarddata(uIForm, thor.ComId - 1, WayId + 1, "RFP", 12, 20);//读取副波相位
bok = Feelelec.Instance.Fboarddata(uIForm, thor.ComId - 1, WayId + 1, "RFA", 13, 20);//读取副波幅度
bok = Feelelec.Instance.Fboarddata(uIForm, thor.ComId - 1, WayId + 1, "RFN", 14, 20);//读取副波输出开始/停止
CalculationAo.HTRBCheck[WayId, 0] = 1; //驱动板检测是否正常
CalculationAo.HTRBCheck[WayId, 1] = 0; //是否插板
CalculationAo.HTRBCheck[WayId, 2] = 0; //运行状态
......
......@@ -1755,7 +1755,7 @@ namespace GKHTRBC16P.RunLibrary
if (WayId == CalculationAo.BoardSS) ////刷新到当前通道时,该指示灯才指示
{
int tdm = CalculationAo.Thorous[WayId + 1].Snum;
if (tdm.Equals(4) || tdm.Equals(40) || tdm.Equals(20))
if (tdm.Equals(8) || tdm.Equals(40) || tdm.Equals(20))
{
Home_Status.home_Status.Invoke((EventHandler)(delegate
{
......@@ -1768,6 +1768,17 @@ namespace GKHTRBC16P.RunLibrary
Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 3, 1, ConvertDataOpear.GetShowDouble(SI, CalculationAo.ThisDevConfig.DataLength));
SI = (double)Convert.ToInt32(ComRxdData[3]) / 10000;
Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 4, 1, ConvertDataOpear.GetShowDouble(SI, CalculationAo.ThisDevConfig.DataLength));
Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 0, 2, "方波");
SI2 = (double)Convert.ToInt32(ComRxdData[10]);
Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 1, 2, ConvertDataOpear.GetShowDouble(SI, CalculationAo.ThisDevConfig.DataLength));
SI2 = (double)Convert.ToInt32(ComRxdData[11]) / 1000;
Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 2, 2, ConvertDataOpear.GetShowDouble(SI, CalculationAo.ThisDevConfig.DataLength));
SI2 = (double)Convert.ToInt32(ComRxdData[12]) / 1000;
Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 3, 2, ConvertDataOpear.GetShowDouble(SI, CalculationAo.ThisDevConfig.DataLength));
SI2 = (double)Convert.ToInt32(ComRxdData[13]) / 10000;
Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 4, 2, ConvertDataOpear.GetShowDouble(SI, CalculationAo.ThisDevConfig.DataLength));
var corr = Home_Status.home_Status.CorrList.FirstOrDefault(x => x.PassagewayId == WayId + 1);
Dictionary<int, Power_Data> power_Data = ConvertDataOpear.GetPowerDic(corr.PowerId, CalculationAo.PowerList);
if (power_Data != null && tes.PowerNo != null)
......@@ -1778,17 +1789,25 @@ namespace GKHTRBC16P.RunLibrary
Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 8, 1, power_Data[0].Current.ToString("0.0"));
Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 9, 1, power_Data[1].Current.ToString("0.0"));
Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 10, 1, power_Data[2].Current.ToString("0.0"));
}
//Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 5, 2, power_Data[0].Voltage.ToString("0.0"));
//Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 6, 2, power_Data[1].Voltage.ToString("0.0"));
//Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 7, 2, power_Data[2].Voltage.ToString("0.0"));
//Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 8, 2, power_Data[0].Current.ToString("0.0"));
//Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 9, 2, power_Data[1].Current.ToString("0.0"));
//Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 10, 2, power_Data[2].Current.ToString("0.0"));
}
Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 11, 1, DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 11, 1, DateTime.Now.ToString("yyyy-MM-dd"));
Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, 11, 2, DateTime.Now.ToString("HH:mm:ss"));
}));
}
else
{
for (int r = 0; r < 5; r++)
for (int r = 0; r <= 10; r++)
{
Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, r, 1, "888");
Home_Status.home_Status.inGridviewValue(Home_Status.home_Status.uiDataGridView2, r, 2, "888");
}
}
//将数据显示在datagridview
......
......@@ -43,6 +43,18 @@
this.uiSymbolButton1 = new Sunny.UI.UISymbolButton();
this.uiSymbolButton2 = new Sunny.UI.UISymbolButton();
this.uiGroupBox3 = new Sunny.UI.UIGroupBox();
this.Txt_Iee = new Sunny.UI.UITextBox();
this.uiLabel28 = new Sunny.UI.UILabel();
this.Txt_Icc = new Sunny.UI.UITextBox();
this.uiLabel27 = new Sunny.UI.UILabel();
this.Txt_Idd = new Sunny.UI.UITextBox();
this.uiLabel26 = new Sunny.UI.UILabel();
this.Txt_Vee = new Sunny.UI.UITextBox();
this.uiLabel25 = new Sunny.UI.UILabel();
this.Txt_Vcc = new Sunny.UI.UITextBox();
this.uiLabel24 = new Sunny.UI.UILabel();
this.Txt_Vdd = new Sunny.UI.UITextBox();
this.uiLabel23 = new Sunny.UI.UILabel();
this.Txt_WMA = new Sunny.UI.UITextBox();
this.uiLabel22 = new Sunny.UI.UILabel();
this.Txt_WMP = new Sunny.UI.UITextBox();
......@@ -89,18 +101,14 @@
this.uiLabel4 = new Sunny.UI.UILabel();
this.Txt_Dev_Name = new Sunny.UI.UITextBox();
this.uiLabel2 = new Sunny.UI.UILabel();
this.uiLabel23 = new Sunny.UI.UILabel();
this.Txt_Vdd = new Sunny.UI.UITextBox();
this.Txt_Vcc = new Sunny.UI.UITextBox();
this.uiLabel24 = new Sunny.UI.UILabel();
this.Txt_Vee = new Sunny.UI.UITextBox();
this.uiLabel25 = new Sunny.UI.UILabel();
this.Txt_Idd = new Sunny.UI.UITextBox();
this.uiLabel26 = new Sunny.UI.UILabel();
this.Txt_Icc = new Sunny.UI.UITextBox();
this.uiLabel27 = new Sunny.UI.UILabel();
this.Txt_Iee = new Sunny.UI.UITextBox();
this.uiLabel28 = new Sunny.UI.UILabel();
this.Txt_WMA2 = new Sunny.UI.UITextBox();
this.uiLabel29 = new Sunny.UI.UILabel();
this.Txt_WMP2 = new Sunny.UI.UITextBox();
this.uiLabel30 = new Sunny.UI.UILabel();
this.Txt_WMD2 = new Sunny.UI.UITextBox();
this.uiLabel31 = new Sunny.UI.UILabel();
this.Txt_WMF2 = new Sunny.UI.UITextBox();
this.uiLabel32 = new Sunny.UI.UILabel();
this.uiPanel1.SuspendLayout();
this.uiGroupBox1.SuspendLayout();
this.uiGroupBox3.SuspendLayout();
......@@ -354,6 +362,14 @@
//
// uiGroupBox3
//
this.uiGroupBox3.Controls.Add(this.Txt_WMA2);
this.uiGroupBox3.Controls.Add(this.uiLabel29);
this.uiGroupBox3.Controls.Add(this.Txt_WMP2);
this.uiGroupBox3.Controls.Add(this.uiLabel30);
this.uiGroupBox3.Controls.Add(this.Txt_WMD2);
this.uiGroupBox3.Controls.Add(this.uiLabel31);
this.uiGroupBox3.Controls.Add(this.Txt_WMF2);
this.uiGroupBox3.Controls.Add(this.uiLabel32);
this.uiGroupBox3.Controls.Add(this.Txt_Iee);
this.uiGroupBox3.Controls.Add(this.uiLabel28);
this.uiGroupBox3.Controls.Add(this.Txt_Icc);
......@@ -401,12 +417,168 @@
this.uiGroupBox3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.uiGroupBox3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Txt_Iee
//
this.Txt_Iee.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_Iee.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_Iee.Location = new System.Drawing.Point(601, 138);
this.Txt_Iee.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_Iee.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_Iee.Name = "Txt_Iee";
this.Txt_Iee.ShowText = false;
this.Txt_Iee.Size = new System.Drawing.Size(79, 23);
this.Txt_Iee.TabIndex = 55;
this.Txt_Iee.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.Txt_Iee.Watermark = "";
this.Txt_Iee.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel28
//
this.uiLabel28.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel28.Location = new System.Drawing.Point(503, 138);
this.uiLabel28.Name = "uiLabel28";
this.uiLabel28.Size = new System.Drawing.Size(94, 23);
this.uiLabel28.TabIndex = 54;
this.uiLabel28.Text = "Iee:";
this.uiLabel28.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel28.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Txt_Icc
//
this.Txt_Icc.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_Icc.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_Icc.Location = new System.Drawing.Point(418, 138);
this.Txt_Icc.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_Icc.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_Icc.Name = "Txt_Icc";
this.Txt_Icc.ShowText = false;
this.Txt_Icc.Size = new System.Drawing.Size(79, 23);
this.Txt_Icc.TabIndex = 53;
this.Txt_Icc.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.Txt_Icc.Watermark = "";
this.Txt_Icc.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel27
//
this.uiLabel27.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel27.Location = new System.Drawing.Point(275, 138);
this.uiLabel27.Name = "uiLabel27";
this.uiLabel27.Size = new System.Drawing.Size(132, 23);
this.uiLabel27.TabIndex = 52;
this.uiLabel27.Text = "Icc:";
this.uiLabel27.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel27.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Txt_Idd
//
this.Txt_Idd.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_Idd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_Idd.Location = new System.Drawing.Point(147, 138);
this.Txt_Idd.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_Idd.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_Idd.Name = "Txt_Idd";
this.Txt_Idd.ShowText = false;
this.Txt_Idd.Size = new System.Drawing.Size(114, 23);
this.Txt_Idd.TabIndex = 51;
this.Txt_Idd.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.Txt_Idd.Watermark = "";
this.Txt_Idd.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel26
//
this.uiLabel26.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel26.Location = new System.Drawing.Point(18, 138);
this.uiLabel26.Name = "uiLabel26";
this.uiLabel26.Size = new System.Drawing.Size(132, 23);
this.uiLabel26.TabIndex = 50;
this.uiLabel26.Text = "Idd:";
this.uiLabel26.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel26.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Txt_Vee
//
this.Txt_Vee.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_Vee.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_Vee.Location = new System.Drawing.Point(601, 104);
this.Txt_Vee.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_Vee.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_Vee.Name = "Txt_Vee";
this.Txt_Vee.ShowText = false;
this.Txt_Vee.Size = new System.Drawing.Size(79, 23);
this.Txt_Vee.TabIndex = 49;
this.Txt_Vee.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.Txt_Vee.Watermark = "";
this.Txt_Vee.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel25
//
this.uiLabel25.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel25.Location = new System.Drawing.Point(503, 104);
this.uiLabel25.Name = "uiLabel25";
this.uiLabel25.Size = new System.Drawing.Size(70, 23);
this.uiLabel25.TabIndex = 48;
this.uiLabel25.Text = "Vee:";
this.uiLabel25.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel25.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Txt_Vcc
//
this.Txt_Vcc.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_Vcc.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_Vcc.Location = new System.Drawing.Point(418, 104);
this.Txt_Vcc.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_Vcc.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_Vcc.Name = "Txt_Vcc";
this.Txt_Vcc.ShowText = false;
this.Txt_Vcc.Size = new System.Drawing.Size(79, 23);
this.Txt_Vcc.TabIndex = 47;
this.Txt_Vcc.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.Txt_Vcc.Watermark = "";
this.Txt_Vcc.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel24
//
this.uiLabel24.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel24.Location = new System.Drawing.Point(275, 104);
this.uiLabel24.Name = "uiLabel24";
this.uiLabel24.Size = new System.Drawing.Size(132, 23);
this.uiLabel24.TabIndex = 46;
this.uiLabel24.Text = "Vcc:";
this.uiLabel24.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel24.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Txt_Vdd
//
this.Txt_Vdd.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_Vdd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_Vdd.Location = new System.Drawing.Point(147, 104);
this.Txt_Vdd.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_Vdd.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_Vdd.Name = "Txt_Vdd";
this.Txt_Vdd.ShowText = false;
this.Txt_Vdd.Size = new System.Drawing.Size(114, 23);
this.Txt_Vdd.TabIndex = 45;
this.Txt_Vdd.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.Txt_Vdd.Watermark = "";
this.Txt_Vdd.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel23
//
this.uiLabel23.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel23.Location = new System.Drawing.Point(18, 104);
this.uiLabel23.Name = "uiLabel23";
this.uiLabel23.Size = new System.Drawing.Size(132, 23);
this.uiLabel23.TabIndex = 44;
this.uiLabel23.Text = "Vdd:";
this.uiLabel23.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel23.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Txt_WMA
//
this.Txt_WMA.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_WMA.DoubleValue = 50D;
this.Txt_WMA.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_WMA.Location = new System.Drawing.Point(601, 108);
this.Txt_WMA.Location = new System.Drawing.Point(351, 223);
this.Txt_WMA.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_WMA.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_WMA.Name = "Txt_WMA";
......@@ -422,11 +594,11 @@
// uiLabel22
//
this.uiLabel22.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel22.Location = new System.Drawing.Point(503, 108);
this.uiLabel22.Location = new System.Drawing.Point(253, 223);
this.uiLabel22.Name = "uiLabel22";
this.uiLabel22.Size = new System.Drawing.Size(111, 23);
this.uiLabel22.TabIndex = 42;
this.uiLabel22.Text = "幅度(V):";
this.uiLabel22.Text = "CH1幅度(V):";
this.uiLabel22.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel22.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
......@@ -435,7 +607,7 @@
this.Txt_WMP.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_WMP.DoubleValue = 100D;
this.Txt_WMP.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_WMP.Location = new System.Drawing.Point(418, 108);
this.Txt_WMP.Location = new System.Drawing.Point(168, 223);
this.Txt_WMP.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_WMP.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_WMP.Name = "Txt_WMP";
......@@ -451,11 +623,11 @@
// uiLabel21
//
this.uiLabel21.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel21.Location = new System.Drawing.Point(271, 114);
this.uiLabel21.Location = new System.Drawing.Point(21, 229);
this.uiLabel21.Name = "uiLabel21";
this.uiLabel21.Size = new System.Drawing.Size(146, 23);
this.uiLabel21.TabIndex = 40;
this.uiLabel21.Text = "相位(°):";
this.uiLabel21.Text = "CH1相位(°):";
this.uiLabel21.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel21.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
......@@ -464,7 +636,7 @@
this.Txt_WMD.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_WMD.DoubleValue = 50D;
this.Txt_WMD.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_WMD.Location = new System.Drawing.Point(601, 65);
this.Txt_WMD.Location = new System.Drawing.Point(351, 180);
this.Txt_WMD.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_WMD.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_WMD.Name = "Txt_WMD";
......@@ -480,11 +652,11 @@
// uiLabel8
//
this.uiLabel8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel8.Location = new System.Drawing.Point(501, 71);
this.uiLabel8.Location = new System.Drawing.Point(251, 186);
this.uiLabel8.Name = "uiLabel8";
this.uiLabel8.Size = new System.Drawing.Size(111, 23);
this.uiLabel8.TabIndex = 38;
this.uiLabel8.Text = "占空(%):";
this.uiLabel8.Text = "CH1占空(%):";
this.uiLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel8.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
......@@ -495,7 +667,7 @@
this.Txt_WMF.DecLength = 4;
this.Txt_WMF.DoubleValue = 100D;
this.Txt_WMF.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_WMF.Location = new System.Drawing.Point(415, 65);
this.Txt_WMF.Location = new System.Drawing.Point(165, 180);
this.Txt_WMF.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_WMF.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_WMF.Name = "Txt_WMF";
......@@ -511,11 +683,11 @@
// uiLabel7
//
this.uiLabel7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel7.Location = new System.Drawing.Point(268, 71);
this.uiLabel7.Location = new System.Drawing.Point(18, 186);
this.uiLabel7.Name = "uiLabel7";
this.uiLabel7.Size = new System.Drawing.Size(146, 23);
this.uiLabel7.TabIndex = 36;
this.uiLabel7.Text = "主波频率(Hz):";
this.uiLabel7.Text = "CH1波形频率(Hz):";
this.uiLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel7.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
......@@ -525,7 +697,7 @@
this.Txt_Rqaw.DecimalPlaces = 3;
this.Txt_Rqaw.DecLength = 3;
this.Txt_Rqaw.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_Rqaw.Location = new System.Drawing.Point(601, 227);
this.Txt_Rqaw.Location = new System.Drawing.Point(538, 465);
this.Txt_Rqaw.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_Rqaw.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_Rqaw.Name = "Txt_Rqaw";
......@@ -542,7 +714,7 @@
// Rqaw
//
this.Rqaw.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Rqaw.Location = new System.Drawing.Point(503, 227);
this.Rqaw.Location = new System.Drawing.Point(440, 465);
this.Rqaw.Name = "Rqaw";
this.Rqaw.Size = new System.Drawing.Size(94, 23);
this.Rqaw.TabIndex = 34;
......@@ -555,7 +727,7 @@
//
this.Check_OvenIf.Cursor = System.Windows.Forms.Cursors.Hand;
this.Check_OvenIf.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Check_OvenIf.Location = new System.Drawing.Point(297, 253);
this.Check_OvenIf.Location = new System.Drawing.Point(297, 354);
this.Check_OvenIf.MinimumSize = new System.Drawing.Size(1, 1);
this.Check_OvenIf.Name = "Check_OvenIf";
this.Check_OvenIf.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
......@@ -569,7 +741,7 @@
//
this.Check_PowerIf.Cursor = System.Windows.Forms.Cursors.Hand;
this.Check_PowerIf.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Check_PowerIf.Location = new System.Drawing.Point(22, 253);
this.Check_PowerIf.Location = new System.Drawing.Point(22, 354);
this.Check_PowerIf.MinimumSize = new System.Drawing.Size(1, 1);
this.Check_PowerIf.Name = "Check_PowerIf";
this.Check_PowerIf.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
......@@ -594,11 +766,11 @@
this.uiPanel3.Controls.Add(this.Txt_OffTemp);
this.uiPanel3.Controls.Add(this.uiLabel15);
this.uiPanel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiPanel3.Location = new System.Drawing.Point(22, 352);
this.uiPanel3.Location = new System.Drawing.Point(22, 433);
this.uiPanel3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel3.Name = "uiPanel3";
this.uiPanel3.Size = new System.Drawing.Size(598, 108);
this.uiPanel3.Size = new System.Drawing.Size(598, 27);
this.uiPanel3.TabIndex = 23;
this.uiPanel3.Text = null;
this.uiPanel3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
......@@ -792,11 +964,11 @@
this.uiPanel2.Controls.Add(this.Txt_OffVoltage1);
this.uiPanel2.Controls.Add(this.Txt_OnVoltage2);
this.uiPanel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiPanel2.Location = new System.Drawing.Point(22, 290);
this.uiPanel2.Location = new System.Drawing.Point(22, 391);
this.uiPanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel2.Name = "uiPanel2";
this.uiPanel2.Size = new System.Drawing.Size(598, 52);
this.uiPanel2.Size = new System.Drawing.Size(598, 32);
this.uiPanel2.TabIndex = 22;
this.uiPanel2.Text = null;
this.uiPanel2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
......@@ -1089,161 +1261,123 @@
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel23
//
this.uiLabel23.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel23.Location = new System.Drawing.Point(18, 147);
this.uiLabel23.Name = "uiLabel23";
this.uiLabel23.Size = new System.Drawing.Size(132, 23);
this.uiLabel23.TabIndex = 44;
this.uiLabel23.Text = "Vdd:";
this.uiLabel23.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel23.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Txt_Vdd
//
this.Txt_Vdd.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_Vdd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_Vdd.Location = new System.Drawing.Point(147, 147);
this.Txt_Vdd.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_Vdd.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_Vdd.Name = "Txt_Vdd";
this.Txt_Vdd.ShowText = false;
this.Txt_Vdd.Size = new System.Drawing.Size(114, 23);
this.Txt_Vdd.TabIndex = 45;
this.Txt_Vdd.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.Txt_Vdd.Watermark = "";
this.Txt_Vdd.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Txt_Vcc
//
this.Txt_Vcc.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_Vcc.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_Vcc.Location = new System.Drawing.Point(418, 147);
this.Txt_Vcc.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_Vcc.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_Vcc.Name = "Txt_Vcc";
this.Txt_Vcc.ShowText = false;
this.Txt_Vcc.Size = new System.Drawing.Size(79, 23);
this.Txt_Vcc.TabIndex = 47;
this.Txt_Vcc.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.Txt_Vcc.Watermark = "";
this.Txt_Vcc.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel24
//
this.uiLabel24.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel24.Location = new System.Drawing.Point(275, 147);
this.uiLabel24.Name = "uiLabel24";
this.uiLabel24.Size = new System.Drawing.Size(132, 23);
this.uiLabel24.TabIndex = 46;
this.uiLabel24.Text = "Vcc:";
this.uiLabel24.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel24.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Txt_Vee
//
this.Txt_Vee.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_Vee.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_Vee.Location = new System.Drawing.Point(601, 147);
this.Txt_Vee.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_Vee.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_Vee.Name = "Txt_Vee";
this.Txt_Vee.ShowText = false;
this.Txt_Vee.Size = new System.Drawing.Size(79, 23);
this.Txt_Vee.TabIndex = 49;
this.Txt_Vee.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.Txt_Vee.Watermark = "";
this.Txt_Vee.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel25
//
this.uiLabel25.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel25.Location = new System.Drawing.Point(503, 147);
this.uiLabel25.Name = "uiLabel25";
this.uiLabel25.Size = new System.Drawing.Size(70, 23);
this.uiLabel25.TabIndex = 48;
this.uiLabel25.Text = "Vee:";
this.uiLabel25.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel25.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Txt_Idd
//
this.Txt_Idd.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_Idd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_Idd.Location = new System.Drawing.Point(147, 181);
this.Txt_Idd.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_Idd.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_Idd.Name = "Txt_Idd";
this.Txt_Idd.ShowText = false;
this.Txt_Idd.Size = new System.Drawing.Size(114, 23);
this.Txt_Idd.TabIndex = 51;
this.Txt_Idd.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.Txt_Idd.Watermark = "";
this.Txt_Idd.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel26
//
this.uiLabel26.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel26.Location = new System.Drawing.Point(18, 181);
this.uiLabel26.Name = "uiLabel26";
this.uiLabel26.Size = new System.Drawing.Size(132, 23);
this.uiLabel26.TabIndex = 50;
this.uiLabel26.Text = "Idd:";
this.uiLabel26.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel26.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Txt_Icc
//
this.Txt_Icc.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_Icc.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_Icc.Location = new System.Drawing.Point(418, 181);
this.Txt_Icc.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_Icc.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_Icc.Name = "Txt_Icc";
this.Txt_Icc.ShowText = false;
this.Txt_Icc.Size = new System.Drawing.Size(79, 23);
this.Txt_Icc.TabIndex = 53;
this.Txt_Icc.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.Txt_Icc.Watermark = "";
this.Txt_Icc.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel27
//
this.uiLabel27.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel27.Location = new System.Drawing.Point(275, 181);
this.uiLabel27.Name = "uiLabel27";
this.uiLabel27.Size = new System.Drawing.Size(132, 23);
this.uiLabel27.TabIndex = 52;
this.uiLabel27.Text = "Icc:";
this.uiLabel27.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel27.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Txt_Iee
//
this.Txt_Iee.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_Iee.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_Iee.Location = new System.Drawing.Point(601, 181);
this.Txt_Iee.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_Iee.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_Iee.Name = "Txt_Iee";
this.Txt_Iee.ShowText = false;
this.Txt_Iee.Size = new System.Drawing.Size(79, 23);
this.Txt_Iee.TabIndex = 55;
this.Txt_Iee.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.Txt_Iee.Watermark = "";
this.Txt_Iee.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel28
//
this.uiLabel28.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel28.Location = new System.Drawing.Point(503, 181);
this.uiLabel28.Name = "uiLabel28";
this.uiLabel28.Size = new System.Drawing.Size(94, 23);
this.uiLabel28.TabIndex = 54;
this.uiLabel28.Text = "Iee:";
this.uiLabel28.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel28.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
// Txt_WMA2
//
this.Txt_WMA2.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_WMA2.DoubleValue = 50D;
this.Txt_WMA2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_WMA2.Location = new System.Drawing.Point(351, 305);
this.Txt_WMA2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_WMA2.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_WMA2.Name = "Txt_WMA2";
this.Txt_WMA2.ShowText = false;
this.Txt_WMA2.Size = new System.Drawing.Size(79, 29);
this.Txt_WMA2.TabIndex = 63;
this.Txt_WMA2.Text = "50.00";
this.Txt_WMA2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.Txt_WMA2.Type = Sunny.UI.UITextBox.UIEditType.Double;
this.Txt_WMA2.Watermark = "";
this.Txt_WMA2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel29
//
this.uiLabel29.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel29.Location = new System.Drawing.Point(253, 305);
this.uiLabel29.Name = "uiLabel29";
this.uiLabel29.Size = new System.Drawing.Size(111, 23);
this.uiLabel29.TabIndex = 62;
this.uiLabel29.Text = "CH2幅度(V):";
this.uiLabel29.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel29.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Txt_WMP2
//
this.Txt_WMP2.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_WMP2.DoubleValue = 100D;
this.Txt_WMP2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_WMP2.Location = new System.Drawing.Point(168, 305);
this.Txt_WMP2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_WMP2.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_WMP2.Name = "Txt_WMP2";
this.Txt_WMP2.ShowText = false;
this.Txt_WMP2.Size = new System.Drawing.Size(79, 29);
this.Txt_WMP2.TabIndex = 61;
this.Txt_WMP2.Text = "100.00";
this.Txt_WMP2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.Txt_WMP2.Type = Sunny.UI.UITextBox.UIEditType.Double;
this.Txt_WMP2.Watermark = "";
this.Txt_WMP2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel30
//
this.uiLabel30.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel30.Location = new System.Drawing.Point(21, 311);
this.uiLabel30.Name = "uiLabel30";
this.uiLabel30.Size = new System.Drawing.Size(146, 23);
this.uiLabel30.TabIndex = 60;
this.uiLabel30.Text = "CH2相位(°):";
this.uiLabel30.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel30.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Txt_WMD2
//
this.Txt_WMD2.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_WMD2.DoubleValue = 50D;
this.Txt_WMD2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_WMD2.Location = new System.Drawing.Point(351, 262);
this.Txt_WMD2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_WMD2.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_WMD2.Name = "Txt_WMD2";
this.Txt_WMD2.ShowText = false;
this.Txt_WMD2.Size = new System.Drawing.Size(79, 29);
this.Txt_WMD2.TabIndex = 59;
this.Txt_WMD2.Text = "50.00";
this.Txt_WMD2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.Txt_WMD2.Type = Sunny.UI.UITextBox.UIEditType.Double;
this.Txt_WMD2.Watermark = "";
this.Txt_WMD2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel31
//
this.uiLabel31.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel31.Location = new System.Drawing.Point(251, 268);
this.uiLabel31.Name = "uiLabel31";
this.uiLabel31.Size = new System.Drawing.Size(111, 23);
this.uiLabel31.TabIndex = 58;
this.uiLabel31.Text = "CH2占空(%):";
this.uiLabel31.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel31.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Txt_WMF2
//
this.Txt_WMF2.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Txt_WMF2.DecimalPlaces = 4;
this.Txt_WMF2.DecLength = 4;
this.Txt_WMF2.DoubleValue = 100D;
this.Txt_WMF2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Txt_WMF2.Location = new System.Drawing.Point(165, 262);
this.Txt_WMF2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Txt_WMF2.MinimumSize = new System.Drawing.Size(1, 16);
this.Txt_WMF2.Name = "Txt_WMF2";
this.Txt_WMF2.ShowText = false;
this.Txt_WMF2.Size = new System.Drawing.Size(79, 29);
this.Txt_WMF2.TabIndex = 57;
this.Txt_WMF2.Text = "100.0000";
this.Txt_WMF2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.Txt_WMF2.Type = Sunny.UI.UITextBox.UIEditType.Double;
this.Txt_WMF2.Watermark = "";
this.Txt_WMF2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiLabel32
//
this.uiLabel32.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel32.Location = new System.Drawing.Point(18, 268);
this.uiLabel32.Name = "uiLabel32";
this.uiLabel32.Size = new System.Drawing.Size(146, 23);
this.uiLabel32.TabIndex = 56;
this.uiLabel32.Text = "CH2波形频率(Hz):";
this.uiLabel32.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uiLabel32.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// Devicelibrary
//
......@@ -1346,5 +1480,13 @@
private Sunny.UI.UILabel uiLabel27;
private Sunny.UI.UITextBox Txt_Idd;
private Sunny.UI.UILabel uiLabel26;
private Sunny.UI.UITextBox Txt_WMA2;
private Sunny.UI.UILabel uiLabel29;
private Sunny.UI.UITextBox Txt_WMP2;
private Sunny.UI.UILabel uiLabel30;
private Sunny.UI.UITextBox Txt_WMD2;
private Sunny.UI.UILabel uiLabel31;
private Sunny.UI.UITextBox Txt_WMF2;
private Sunny.UI.UILabel uiLabel32;
}
}
\ No newline at end of file
......@@ -338,6 +338,10 @@ namespace GKHTRBC16P.ToolLibrary
sdev_device.F_WMD = Txt_WMD.Text.ToDecimal();
sdev_device.F_WMP = Txt_WMP.Text.ToDecimal();
sdev_device.F_WMA = Txt_WMA.Text.ToDecimal();
sdev_device.F_WMF2 = Txt_WMF2.Text.ToDecimal();
sdev_device.F_WMD2 = Txt_WMD2.Text.ToDecimal();
sdev_device.F_WMP2 = Txt_WMP2.Text.ToDecimal();
sdev_device.F_WMA2 = Txt_WMA2.Text.ToDecimal();
sdev_device.Vdd = Txt_Vdd.Text.Trim();
sdev_device.Vcc = Txt_Vcc.Text.Trim();
sdev_device.Vee = Txt_Vee.Text.Trim();
......@@ -410,6 +414,10 @@ namespace GKHTRBC16P.ToolLibrary
sdev_device.F_WMD = Txt_WMD.Text.ToDecimal();
sdev_device.F_WMP = Txt_WMP.Text.ToDecimal();
sdev_device.F_WMA = Txt_WMA.Text.ToDecimal();
sdev_device.F_WMF2 = Txt_WMF2.Text.ToDecimal();
sdev_device.F_WMD2 = Txt_WMD2.Text.ToDecimal();
sdev_device.F_WMP2 = Txt_WMP2.Text.ToDecimal();
sdev_device.F_WMA2 = Txt_WMA2.Text.ToDecimal();
sdev_device.Vdd = Txt_Vdd.Text.Trim();
sdev_device.Vcc = Txt_Vcc.Text.Trim();
sdev_device.Vee = Txt_Vee.Text.Trim();
......@@ -514,6 +522,10 @@ namespace GKHTRBC16P.ToolLibrary
Txt_WMD.Text = curenode.F_WMD.ToString();
Txt_WMP.Text = curenode.F_WMP.ToString();
Txt_WMA.Text = curenode.F_WMA.ToString();
Txt_WMF2.Text = curenode.F_WMF2.ToString();
Txt_WMD2.Text = curenode.F_WMD2.ToString();
Txt_WMP2.Text = curenode.F_WMP2.ToString();
Txt_WMA2.Text = curenode.F_WMA2.ToString();
Txt_Vdd.Text = curenode.Vdd;
Txt_Vcc.Text = curenode.Vcc;
......
......@@ -37,13 +37,6 @@ namespace GKHTRBC16P.ToolLibrary
this.uiSplitContainer1 = new Sunny.UI.UISplitContainer();
this.uiDataGridViewTd = new Sunny.UI.UIDataGridView();
this.Column1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.uiGroupBox3 = new Sunny.UI.UIGroupBox();
this.Txt_Vgsn = new Sunny.UI.UIComboBox();
this.uiSymbolButton10 = new Sunny.UI.UISymbolButton();
......@@ -85,6 +78,9 @@ namespace GKHTRBC16P.ToolLibrary
this.uiLabel4 = new Sunny.UI.UILabel();
this.uiLabel3 = new Sunny.UI.UILabel();
this.uiLabel2 = new Sunny.UI.UILabel();
this.uiGroupBox4 = new Sunny.UI.UIGroupBox();
this.uicheck_CH1 = new Sunny.UI.UICheckBox();
this.uicheck_CH2 = new Sunny.UI.UICheckBox();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
......@@ -92,9 +88,13 @@ namespace GKHTRBC16P.ToolLibrary
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.uiGroupBox4 = new Sunny.UI.UIGroupBox();
this.uicheck_CH1 = new Sunny.UI.UICheckBox();
this.uicheck_CH2 = new Sunny.UI.UICheckBox();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.uiSplitContainer1)).BeginInit();
this.uiSplitContainer1.Panel1.SuspendLayout();
this.uiSplitContainer1.Panel2.SuspendLayout();
......@@ -210,71 +210,6 @@ namespace GKHTRBC16P.ToolLibrary
this.Column1.ReadOnly = true;
this.Column1.Width = 50;
//
// Column2
//
this.Column2.DataPropertyName = "Ids";
this.Column2.FillWeight = 23.09821F;
this.Column2.HeaderText = "板号";
this.Column2.MinimumWidth = 10;
this.Column2.Name = "Column2";
this.Column2.ReadOnly = true;
this.Column2.Width = 50;
//
// Column3
//
this.Column3.HeaderText = "运行转态";
this.Column3.MinimumWidth = 10;
this.Column3.Name = "Column3";
this.Column3.ReadOnly = true;
this.Column3.Width = 200;
//
// Column4
//
this.Column4.DataPropertyName = "BatchFileName";
this.Column4.FillWeight = 90.79295F;
this.Column4.HeaderText = "批次信息";
this.Column4.MinimumWidth = 210;
this.Column4.Name = "Column4";
this.Column4.ReadOnly = true;
this.Column4.Width = 210;
//
// Column5
//
this.Column5.DataPropertyName = "DevName";
this.Column5.FillWeight = 204.8906F;
this.Column5.HeaderText = "器件名称";
this.Column5.MinimumWidth = 22;
this.Column5.Name = "Column5";
this.Column5.ReadOnly = true;
this.Column5.Width = 120;
//
// Column6
//
this.Column6.DataPropertyName = "TestTime";
this.Column6.HeaderText = "试验时间";
this.Column6.MinimumWidth = 10;
this.Column6.Name = "Column6";
this.Column6.ReadOnly = true;
this.Column6.Width = 200;
//
// Column7
//
this.Column7.DataPropertyName = "BeginTime";
this.Column7.HeaderText = "开始时间";
this.Column7.MinimumWidth = 10;
this.Column7.Name = "Column7";
this.Column7.ReadOnly = true;
this.Column7.Width = 180;
//
// Column8
//
this.Column8.DataPropertyName = "CreateTime";
this.Column8.HeaderText = "创建时间";
this.Column8.MinimumWidth = 10;
this.Column8.Name = "Column8";
this.Column8.ReadOnly = true;
this.Column8.Width = 180;
//
// uiGroupBox3
//
this.uiGroupBox3.Controls.Add(this.Txt_Vgsn);
......@@ -919,6 +854,48 @@ namespace GKHTRBC16P.ToolLibrary
this.uiLabel2.Visible = false;
this.uiLabel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uiGroupBox4
//
this.uiGroupBox4.Controls.Add(this.uicheck_CH2);
this.uiGroupBox4.Controls.Add(this.uicheck_CH1);
this.uiGroupBox4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiGroupBox4.Location = new System.Drawing.Point(333, 113);
this.uiGroupBox4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiGroupBox4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiGroupBox4.Name = "uiGroupBox4";
this.uiGroupBox4.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
this.uiGroupBox4.Size = new System.Drawing.Size(250, 76);
this.uiGroupBox4.TabIndex = 20;
this.uiGroupBox4.Text = ":";
this.uiGroupBox4.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.uiGroupBox4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uicheck_CH1
//
this.uicheck_CH1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uicheck_CH1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uicheck_CH1.Location = new System.Drawing.Point(26, 32);
this.uicheck_CH1.MinimumSize = new System.Drawing.Size(1, 1);
this.uicheck_CH1.Name = "uicheck_CH1";
this.uicheck_CH1.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
this.uicheck_CH1.Size = new System.Drawing.Size(92, 29);
this.uicheck_CH1.TabIndex = 0;
this.uicheck_CH1.Text = "CH1";
this.uicheck_CH1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// uicheck_CH2
//
this.uicheck_CH2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uicheck_CH2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uicheck_CH2.Location = new System.Drawing.Point(140, 32);
this.uicheck_CH2.MinimumSize = new System.Drawing.Size(1, 1);
this.uicheck_CH2.Name = "uicheck_CH2";
this.uicheck_CH2.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
this.uicheck_CH2.Size = new System.Drawing.Size(92, 29);
this.uicheck_CH2.TabIndex = 1;
this.uicheck_CH2.Text = "CH2";
this.uicheck_CH2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "Ids";
......@@ -986,48 +963,70 @@ namespace GKHTRBC16P.ToolLibrary
this.dataGridViewTextBoxColumn7.ReadOnly = true;
this.dataGridViewTextBoxColumn7.Width = 180;
//
// uiGroupBox4
// Column2
//
this.uiGroupBox4.Controls.Add(this.uicheck_CH2);
this.uiGroupBox4.Controls.Add(this.uicheck_CH1);
this.uiGroupBox4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiGroupBox4.Location = new System.Drawing.Point(333, 113);
this.uiGroupBox4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiGroupBox4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiGroupBox4.Name = "uiGroupBox4";
this.uiGroupBox4.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
this.uiGroupBox4.Size = new System.Drawing.Size(250, 76);
this.uiGroupBox4.TabIndex = 20;
this.uiGroupBox4.Text = ":";
this.uiGroupBox4.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
this.uiGroupBox4.Visible = false;
this.uiGroupBox4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.Column2.DataPropertyName = "Ids";
this.Column2.FillWeight = 23.09821F;
this.Column2.HeaderText = "板号";
this.Column2.MinimumWidth = 10;
this.Column2.Name = "Column2";
this.Column2.ReadOnly = true;
this.Column2.Width = 50;
//
// uicheck_CH1
// Column3
//
this.uicheck_CH1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uicheck_CH1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uicheck_CH1.Location = new System.Drawing.Point(26, 32);
this.uicheck_CH1.MinimumSize = new System.Drawing.Size(1, 1);
this.uicheck_CH1.Name = "uicheck_CH1";
this.uicheck_CH1.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
this.uicheck_CH1.Size = new System.Drawing.Size(92, 29);
this.uicheck_CH1.TabIndex = 0;
this.uicheck_CH1.Text = "CH1";
this.uicheck_CH1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.Column3.HeaderText = "运行转态";
this.Column3.MinimumWidth = 10;
this.Column3.Name = "Column3";
this.Column3.ReadOnly = true;
this.Column3.Width = 200;
//
// uicheck_CH2
// Column4
//
this.uicheck_CH2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uicheck_CH2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uicheck_CH2.Location = new System.Drawing.Point(140, 32);
this.uicheck_CH2.MinimumSize = new System.Drawing.Size(1, 1);
this.uicheck_CH2.Name = "uicheck_CH2";
this.uicheck_CH2.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
this.uicheck_CH2.Size = new System.Drawing.Size(92, 29);
this.uicheck_CH2.TabIndex = 1;
this.uicheck_CH2.Text = "CH2";
this.uicheck_CH2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
this.Column4.DataPropertyName = "BatchFileName";
this.Column4.FillWeight = 90.79295F;
this.Column4.HeaderText = "批次信息";
this.Column4.MinimumWidth = 210;
this.Column4.Name = "Column4";
this.Column4.ReadOnly = true;
this.Column4.Width = 210;
//
// Column5
//
this.Column5.DataPropertyName = "DevName";
this.Column5.FillWeight = 204.8906F;
this.Column5.HeaderText = "器件名称";
this.Column5.MinimumWidth = 22;
this.Column5.Name = "Column5";
this.Column5.ReadOnly = true;
this.Column5.Width = 120;
//
// Column6
//
this.Column6.DataPropertyName = "TestTime";
this.Column6.HeaderText = "试验时间";
this.Column6.MinimumWidth = 10;
this.Column6.Name = "Column6";
this.Column6.ReadOnly = true;
this.Column6.Width = 200;
//
// Column7
//
this.Column7.DataPropertyName = "BeginTime";
this.Column7.HeaderText = "开始时间";
this.Column7.MinimumWidth = 10;
this.Column7.Name = "Column7";
this.Column7.ReadOnly = true;
this.Column7.Width = 180;
//
// Column8
//
this.Column8.DataPropertyName = "CreateTime";
this.Column8.HeaderText = "创建时间";
this.Column8.MinimumWidth = 10;
this.Column8.Name = "Column8";
this.Column8.ReadOnly = true;
this.Column8.Width = 180;
//
// RunSetting
//
......
......@@ -524,7 +524,7 @@ namespace GKHTRBC16P.ToolLibrary
if (bDialog)
{
CalculationAo.HTRBOT[iChangeID, 5] = 0X4000 + Txt_SrefEnd.Value; //标志位为2
Htgb.Instance.FboarddataTestParm(this, thor.ComId - 1, iChangeID + 1, 0x03, 0xA5, 3, CalculationAo.Thorous[ChangeID + 1].Snum / 2, 0x01, Convert.ToInt32(Txt_EleUpper.DoubleValue), dBackVol / 10, 120, Txt_SupplyRGPW.SelectedIndex, 39);
Htgb.Instance.FboarddataTestParm(this, thor.ComId - 1, iChangeID + 1, 0x03, 0xA5, 3, CalculationAo.Thorous[iChangeID + 1].Snum / 2, 0x01, Convert.ToInt32(Txt_EleUpper.DoubleValue), dBackVol / 10, 120, Txt_SupplyRGPW.SelectedIndex, 39);
Thread.Sleep(200);
Htgb.Instance.FboarddataTestStatus(this, thor.ComId - 1, iChangeID + 1, 0x04, 0xA5, 0x02, 20);
bResult = true;
......@@ -606,53 +606,53 @@ namespace GKHTRBC16P.ToolLibrary
if (uicheck_CH1.Checked)
{
this.ShowWaitForm("CH1命令下发开始");
this.SetWaitFormDescription((ChangeID + 1) + "CH1--开启输出");
this.SetWaitFormDescription((iChangeID + 1) + "CH1--开启输出");
string cmd = "WMN1";//开启输出
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd, 39);
this.SetWaitFormDescription((ChangeID + 1) + "CH1--设置波形--方波");
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd, 39);
this.SetWaitFormDescription((iChangeID + 1) + "CH1--设置波形--方波");
cmd = "WMW01";//设置波形--方波
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd, 39);
this.SetWaitFormDescription((ChangeID + 1) + "CH1--设置主波频率");
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd, 39);
this.SetWaitFormDescription((iChangeID + 1) + "CH1--设置波频率");
cmd = "WMF" + (dev.F_WMF).ToString("000000000");//设置主波频率(100Hz)1000000
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd, 39);
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd, 39);
Thread.Sleep(200);
this.SetWaitFormDescription((ChangeID + 1) + "CH1--设置主波占空");
this.SetWaitFormDescription((iChangeID + 1) + "CH1--设置波占空");
cmd = "WMD" + dev.F_WMD;//设置主波占空(比例50.1%)
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd, 39);
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd, 39);
Thread.Sleep(200);
this.SetWaitFormDescription((ChangeID + 1) + "CH1--设置主波相位");
this.SetWaitFormDescription((iChangeID + 1) + "CH1--设置波相位");
cmd = "WMP" + dev.F_WMP;//设置主波相位
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd, 39);
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd, 39);
Thread.Sleep(200);
this.SetWaitFormDescription((ChangeID + 1) + "CH1--设置主波幅度");
this.SetWaitFormDescription((iChangeID + 1) + "CH1--设置波幅度");
cmd = "WMA" + dev.F_WMA;//设置主波幅度
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd, 39);
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd, 39);
this.HideWaitForm();
}
if (uicheck_CH2.Checked)
{
this.ShowWaitForm("CH2命令下发开始");
this.SetWaitFormDescription((ChangeID + 1) + "CH2--开启输出");
this.SetWaitFormDescription((iChangeID + 1) + "CH2--开启输出");
string cmd2 = "WFN1";//开启输出
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd2, 39);
this.SetWaitFormDescription((ChangeID + 1) + "CH2--设置波形--方波");
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd2, 39);
this.SetWaitFormDescription((iChangeID + 1) + "CH2--设置波形--方波");
cmd2 = "WFW01";//设置波形--方波
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd2, 39);
this.SetWaitFormDescription((ChangeID + 1) + "CH1--设置主波频率");
cmd2 = "WFF" + (dev.F_WMF).ToString("000000000");//设置主波频率(100Hz)1000000
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd2, 39);
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd2, 39);
this.SetWaitFormDescription((iChangeID + 1) + "CH2--设置波频率");
cmd2 = "WFF" + (dev.F_WMF2).ToString("000000000");//设置主波频率(100Hz)1000000
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd2, 39);
Thread.Sleep(200);
this.SetWaitFormDescription((ChangeID + 1) + "CH1--设置主波占空");
cmd2 = "WFD" + dev.F_WMD;//设置主波占空(比例50.1%)
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd2, 39);
this.SetWaitFormDescription((iChangeID + 1) + "CH2--设置波占空");
cmd2 = "WFD" + dev.F_WMD2;//设置主波占空(比例50.1%)
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd2, 39);
Thread.Sleep(200);
this.SetWaitFormDescription((ChangeID + 1) + "CH1--设置主波相位");
cmd2 = "WFP" + dev.F_WMP;//设置主波相位
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd2, 39);
this.SetWaitFormDescription((iChangeID + 1) + "CH2--设置波相位");
cmd2 = "WFP" + dev.F_WMP2;//设置主波相位
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd2, 39);
Thread.Sleep(200);
this.SetWaitFormDescription((ChangeID + 1) + "CH1--设置主波幅度");
cmd2 = "WFA" + dev.F_WMA;//设置主波幅度
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd2, 39);
this.SetWaitFormDescription((iChangeID + 1) + "CH2--设置波幅度");
cmd2 = "WFA" + dev.F_WMA2;//设置主波幅度
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd2, 39);
this.HideWaitForm();
}
......@@ -802,12 +802,12 @@ namespace GKHTRBC16P.ToolLibrary
if (uicheck_CH1.Checked)
{
string cmd = "WMN0";//关闭输出
int rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd, 39);
int rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd, 39);
}
if (uicheck_CH2.Checked)
{
string cmd = "WFN0";//关闭输出
int rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd, 39);
int rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd, 39);
}
}
if (bResult)
......@@ -980,53 +980,53 @@ namespace GKHTRBC16P.ToolLibrary
if (uicheck_CH1.Checked)
{
this.ShowWaitForm("CH1命令下发开始");
this.SetWaitFormDescription((ChangeID + 1) + "CH1--开启输出");
this.SetWaitFormDescription((iChangeID + 1) + "CH1--开启输出");
string cmd = "WMN1";//开启输出
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd, 39);
this.SetWaitFormDescription((ChangeID + 1) + "CH1--设置波形--方波");
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd, 39);
this.SetWaitFormDescription((iChangeID + 1) + "CH1--设置波形--方波");
cmd = "WMW01";//设置波形--方波
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd, 39);
this.SetWaitFormDescription((ChangeID + 1) + "CH1--设置主波频率");
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd, 39);
this.SetWaitFormDescription((iChangeID + 1) + "CH1--设置波频率");
cmd = "WMF" + (dev.F_WMF).ToString("000000000");//设置主波频率(100Hz)1000000
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd, 39);
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd, 39);
Thread.Sleep(200);
this.SetWaitFormDescription((ChangeID + 1) + "CH1--设置主波占空");
this.SetWaitFormDescription((iChangeID + 1) + "CH1--设置波占空");
cmd = "WMD" + dev.F_WMD;//设置主波占空(比例50.1%)
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd, 39);
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd, 39);
Thread.Sleep(200);
this.SetWaitFormDescription((ChangeID + 1) + "CH1--设置主波相位");
this.SetWaitFormDescription((iChangeID + 1) + "CH1--设置波相位");
cmd = "WMP" + dev.F_WMP;//设置主波相位
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd, 39);
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd, 39);
Thread.Sleep(200);
this.SetWaitFormDescription((ChangeID + 1) + "CH1--设置主波幅度");
this.SetWaitFormDescription((iChangeID + 1) + "CH1--设置波幅度");
cmd = "WMA" + dev.F_WMA;//设置主波幅度
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd, 39);
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd, 39);
this.HideWaitForm();
}
if (uicheck_CH2.Checked)
{
this.ShowWaitForm("CH2命令下发开始");
this.SetWaitFormDescription((ChangeID + 1) + "CH2--开启输出");
this.SetWaitFormDescription((iChangeID + 1) + "CH2--开启输出");
string cmd2 = "WFN1";//开启输出
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd2, 39);
this.SetWaitFormDescription((ChangeID + 1) + "CH2--设置波形--方波");
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd2, 39);
this.SetWaitFormDescription((iChangeID + 1) + "CH2--设置波形--方波");
cmd2 = "WFW01";//设置波形--方波
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd2, 39);
this.SetWaitFormDescription((ChangeID + 1) + "CH1--设置主波频率");
cmd2 = "WFF" + (dev.F_WMF).ToString("000000000");//设置主波频率(100Hz)1000000
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd2, 39);
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd2, 39);
this.SetWaitFormDescription((iChangeID + 1) + "CH2--设置波频率");
cmd2 = "WFF" + (dev.F_WMF2).ToString("000000000");//设置主波频率(100Hz)1000000
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd2, 39);
Thread.Sleep(200);
this.SetWaitFormDescription((ChangeID + 1) + "CH1--设置主波占空");
cmd2 = "WFD" + dev.F_WMD;//设置主波占空(比例50.1%)
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd2, 39);
this.SetWaitFormDescription((iChangeID + 1) + "CH2--设置波占空");
cmd2 = "WFD" + dev.F_WMD2;//设置主波占空(比例50.1%)
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd2, 39);
Thread.Sleep(200);
this.SetWaitFormDescription((ChangeID + 1) + "CH1--设置主波相位");
cmd2 = "WFP" + dev.F_WMP;//设置主波相位
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd2, 39);
this.SetWaitFormDescription((iChangeID + 1) + "CH2--设置波相位");
cmd2 = "WFP" + dev.F_WMP2;//设置主波相位
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd2, 39);
Thread.Sleep(200);
this.SetWaitFormDescription((ChangeID + 1) + "CH1--设置主波幅度");
cmd2 = "WFA" + dev.F_WMA;//设置主波幅度
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd2, 39);
this.SetWaitFormDescription((iChangeID + 1) + "CH2--设置波幅度");
cmd2 = "WFA" + dev.F_WMA2;//设置主波幅度
rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd2, 39);
this.HideWaitForm();
}
}
......@@ -1184,12 +1184,12 @@ namespace GKHTRBC16P.ToolLibrary
if (uicheck_CH1.Checked)
{
string cmd = "WMN0";//关闭输出
int rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd, 39);
int rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd, 39);
}
if (uicheck_CH2.Checked)
{
string cmd = "WFN0";//关闭输出
int rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, ChangeID + 1, cmd, 39);
int rest = Feelelec.Instance.FboarddataTestWStatus(this, thor.ComId - 1, iChangeID + 1, cmd, 39);
}
}
if (result == 0)
......
......@@ -361,10 +361,10 @@
<Control name="uiLabel3" text="创建时间:"/>
<Control name="uiLabel4" text="器件库:"/>
<Control name="uiLabel2" text="器件名称:"/>
<Control name="uiLabel7" text="主波频率(Hz):"/>
<Control name="uiLabel7" text="CH1波形频率(Hz):"/>
<Control name="uiLabel9" text="反偏电压值(V):"/>
<Control name="uiLabel6" text="老化时间(h):"/>
<Control name="uiLabel8" text="占空(%):"/>
<Control name="uiLabel8" text="CH1占空(%):"/>
<Control name="Com_Text_Type" text="0"/>
<Control name="uiLabel10" text="上电电压(上桥):"/>
<Control name="uiLabel11" text="下电电压(上桥):"/>
......
......@@ -359,10 +359,10 @@
<Control name="uiLabel3" text="Create Time:"/>
<Control name="uiLabel4" text="Device Library:"/>
<Control name="uiLabel2" text="Device Name:"/>
<Control name="uiLabel7" text="IR-min(uA):"/>
<Control name="uiLabel7" text="Main wave frequency:"/>
<Control name="uiLabel9" text="VR(V):"/>
<Control name="uiLabel6" text="Burn-in Time(h):"/>
<Control name="uiLabel8" text="IR-max(uA):"/>
<Control name="uiLabel8" text="Duty cycle:"/>
<Control name="Com_Text_Type" text="0"/>
<Control name="uiLabel10" text="Power on voltage:"/>
<Control name="uiLabel11" text="Power down voltage:"/>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论