提交 69e711d4 authored 作者: yangbinjay's avatar yangbinjay

vgs验证

上级 ae9d57c8
# .net ignoer file
/.vs
/GKHTRBC16P/bin
/GKHTRBC16P/obj
/GKHTRBC16P.Bll/bin
/GKHTRBC16P.Bll/obj
/GKHTRBC16P.Escript/bin/Debug
/GKHTRBC16P.Escript/obj
/GKHTRBC16P.Model/bin/Debug
/GKHTRBC16P.Model/obj
/GKHTRBC16P.Setup/Debug
/GKHTRBC16P.Toolbox/bin/Debug
/GKHTRBC16P.Toolbox/obj
/GKHTRBC16P.Protocol/bin
/GKHTRBC16P.Protocol/obj
/GK-HTRB-C16P.Upgradation/bin/Debug/log
/GK-HTRB-C16P.Upgradation/bin/Upgradation.rar
/GK-HTRB-C16P.Upgradation/obj
/GKHTRBC16P.Calibrationfm/
/GKHTRBC16P.Calibrationfm/bin
/GKHTRBC16P.Calibrationfm/obj
\ No newline at end of file
......@@ -637,6 +637,12 @@ namespace GK_HTRB_C16P.Upgradation
}
var infiles = toolExport.AddFiledVarchar(OldPathDb, name, nfiled, ntype, nvalue);
}
//else if (nfiled == "BaudRate")//
//{
// nvalue = WaytypeBtl();
// var infiles = toolExport.AddFiledVarchar(OldPathDb, name, nfiled, ntype, nvalue);
//}
else
{
var infiles = toolExport.AddFiled(OldPathDb, name, nfiled, ntype, nvalue);
......@@ -995,6 +1001,41 @@ namespace GK_HTRB_C16P.Upgradation
uiTextBox1.Text = dir;
DestPath = dir;
}
private int WaytypeBtl(int type)
{
int rbtl = 19200;
switch(type)
{
case 0:
rbtl = 19200;
break;
case 1:
rbtl = 19200;
break;
case 2:
rbtl = 19200;
break;
case 3:
rbtl = 115200;
break;
case 4:
rbtl = 115200;
break;
case 5:
rbtl = 115200;
break;
case 6:
rbtl = 19200;
break;
case 7:
rbtl = 19200;
break;
default:
rbtl = 19200;
break;
}
return rbtl;
}
}
}
......@@ -885,8 +885,9 @@
<poptions>电压超过设置的反偏电压值{0}</poptions>
<positivedata1>没有检测到Vgs数据1</positivedata1>
<positivedata2>没有检测到Vgs数据2</positivedata2>
<positivegrid>正栅压没达标,请检查!</positivegrid>
<negativegate>工位负栅压没达标,请检查!</negativegate>
<positivegrid>上桥栅压没达标,请检查!</positivegrid>
<negativegate>工位下桥栅压没达标,请检查!</negativegate>
<tdpower>请先建批次!</tdpower>
<powervolgate>有通道没有设置Vg,确定继续设置电压?</powervolgate>
<vgnouintit>Vg不能大于0</vgnouintit>
<direction1>正向</direction1>
......
......@@ -874,6 +874,7 @@
<positivedata2>No Vgs data detected 2</positivedata2>
<positivegrid>Positive grid voltage not up to standard, please check!</positivegrid>
<negativegate>Station negative gate voltage not up to standard, please check!</negativegate>
<tdpower>Please create a batch first!</tdpower>
<powervolgate>There is a channel without Vg set, confirm to continue setting the voltage</powervolgate>
<vgnouintit>Vg Cannot be greater than 0</vgnouintit>
<direction1>Forward</direction1>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
差异被折叠。
差异被折叠。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论