修复Call命令计时问题

This commit is contained in:
2024-04-18 05:23:04 +08:00
parent 60b17d82e1
commit 71ec6193ed
36 changed files with 2540 additions and 5 deletions

Binary file not shown.

View File

@@ -135,7 +135,9 @@
<Import Include="System.Threading.Tasks" />
</ItemGroup>
<ItemGroup>
<Compile Include="FrmMain.vb" />
<Compile Include="FrmMain.vb">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmMain.Designer.vb">
<DependentUpon>FrmMain.vb</DependentUpon>
<SubType>Form</SubType>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,48 @@
[2024-04-06 04:52:34:922][Info ][12236 ][1 ]AUTS_Win 1.8.0.0 运行程序加载中。
[2024-04-06 04:53:00:071][Info ][12236 ][1 ]服务基础信息BoMei-(C)-JH_Admin_Qi(55)
[2024-04-06 04:53:00:108][Info ][12236 ][1 ]运行程序装载发布页面中。
[2024-04-06 04:53:00:486][Info ][12236 ][1 ]发布页面加载中。
[2024-04-06 04:53:00:487][Info ][12236 ][1 ]发布页面加载完成。
[2024-04-06 04:53:00:551][Info ][12236 ][1 ]运行程序装载发布页面完成。
[2024-04-06 04:53:00:551][Info ][12236 ][1 ]运行程序装载编辑页面中。
[2024-04-06 04:53:01:143][Info ][12236 ][1 ]编辑页面加载中。
[2024-04-06 04:53:01:316][Info ][12236 ][1 ]编辑页面加载完成。
[2024-04-06 04:53:01:386][Info ][12236 ][1 ]运行程序装载编辑页面完成。
[2024-04-06 04:53:01:387][Info ][12236 ][1 ]运行程序装载测试页面中。
[2024-04-06 04:53:02:285][Info ][12236 ][1 ]测试页面加载中。
[2024-04-06 04:53:02:295][Info ][12236 ][1 ]测试器初始化中。
[2024-04-06 04:53:02:296][Info ][12236 ][1 ]测试器初始化完成。
[2024-04-06 04:53:02:297][Info ][12236 ][1 ]测试页面加载完成。
[2024-04-06 04:53:02:327][Info ][12236 ][1 ]运行程序装载测试页面完成。
[2024-04-06 04:53:02:328][Info ][12236 ][1 ]运行程序装载设置页面中。
[2024-04-06 04:53:02:370][Info ][12236 ][1 ]运行程序装载设置页面完成。
[2024-04-06 04:53:02:655][Info ][12236 ][1 ]当前页面:测试页面。
[2024-04-06 04:53:02:656][Info ][12236 ][1 ]PN: SN: 站位信息加载中。
[2024-04-06 04:53:02:656][Info ][12236 ][1 ]站位信息加载完成。
[2024-04-06 04:53:02:938][Info ][12236 ][1 ]网络连接状态变更,网络已连接。
[2024-04-06 04:53:03:219][Info ][12236 ][1 ]测试流程编辑状态变更,未修改。
[2024-04-06 04:53:03:220][Info ][12236 ][1 ]数据库同步状态变更,已同步。
[2024-04-06 04:53:03:222][Warn ][12236 ][1 ]测试设备连接状态变更,已断接。
[2024-04-06 04:53:03:229][Warn ][12236 ][1 ]控制设备连接状态变更,已断接。
[2024-04-06 04:53:03:230][Info ][12236 ][1 ]运行程序加载完成。
[2024-04-06 04:53:03:500][Info ][12236 ][1 ]测试设备连接状态变更,连接中。
[2024-04-06 04:53:16:258][Info ][12236 ][1 ]解锁打开项目。
[2024-04-06 04:53:48:707][Info ][12236 ][1 ]解锁打开项目。
[2024-04-06 04:53:54:194][Info ][12236 ][1 ]主页面站位变更中PNGTM-W53 - SN:T1 - TP:TP_3_5_REV_08_20220225091518。
[2024-04-06 04:53:54:196][Info ][12236 ][1 ]主页面站位变更完成。
[2024-04-06 04:53:54:196][Info ][12236 ][1 ]发布页面站位变更中PNGTM-W53 - SN:T1 - TP:TP_3_5_REV_08_20220225091518!
[2024-04-06 04:53:54:210][Info ][12236 ][1 ]发布页面站位变更完成。
[2024-04-06 04:53:54:211][Info ][12236 ][1 ]编辑页面站位变更中PNGTM-W53 - SN:T1 - TP:TP_3_5_REV_08_20220225091518!
[2024-04-06 04:53:54:445][Info ][12236 ][1 ]测试流程编辑状态变更,已修改。
[2024-04-06 04:53:54:497][Info ][12236 ][1 ]测试流程编辑状态变更,未修改。
[2024-04-06 04:53:54:499][Info ][12236 ][1 ]编辑页面站位变更完成。
[2024-04-06 04:53:54:499][Info ][12236 ][1 ]测试页面站位变更中PNGTM-W53 - SN:T1 - TP:TP_3_5_REV_08_20220225091518!
[2024-04-06 04:53:55:392][Info ][12236 ][1 ]测试页面统计图表绘制中。
[2024-04-06 04:53:55:403][Info ][12236 ][1 ]测试页面统计图表绘制完成。
[2024-04-06 04:53:55:407][Info ][12236 ][1 ]测试页面站位变更完成!
[2024-04-06 04:54:02:631][Warn ][12236 ][1 ]编辑页面第[2]次解锁失败。
[2024-04-06 04:54:20:404][Warn ][12236 ][1 ]编辑页面第[3]次解锁失败。
[2024-04-06 04:54:38:695][Info ][12236 ][1 ]AUTS_Win 1.8.0.0 运行程序关闭中。
[2024-04-06 04:54:38:696][Info ][12236 ][1 ]运行程序设置保存中。
[2024-04-06 04:54:38:748][Info ][12236 ][1 ]运行程序设置保存完成。
[2024-04-06 04:54:38:748][Info ][12236 ][1 ]运行程序已关闭。

View File

@@ -0,0 +1,14 @@
,20240406,04:53:55,Start
,20240406,04:53:55,Load,TP_3_5_REV_08_20220225091518.uts
,20240406,04:53:55,TestStep,,53,87,94,99,101,109,112,128,136,142,172,174,175,177,182
,20240406,04:53:55,TestItem,,Static_Curr_NoFW,Static_Curr,FW_VER,DUT_SN,BackPanel_SN,ReadBack_SN,AliKeyCmd,RF_PER_RSSI,RF_PER_RSSI_2,RF_PER_RSSI_3,SIMCard_Status,4G_RSSI,Login_Curr,ServerConn_Status,Run_StandbyCurr
,20240406,04:53:55,CmdType,,UtsComPort,UtsComPort,UtsComPort,System,System,UtsComPort,System,UtsComPort,UtsComPort,UtsComPort,UtsComPort,UtsComPort,UtsComPort,UtsComPort,UtsComPort
,20240406,04:53:55,Command,,UTS_WR_Text_Double,UTS_WR_Text_Double,UTS_WR_Text_Byte,Show_InputBox,Show_InputBox,UTS_WR_Text_String,Get_DB_Data,UTS_WR_Text_Byte,UTS_WR_Text_Byte,UTS_WR_Text_Byte,UTS_WR_Text_String,UTS_WR_Text_Byte,UTS_WR_Text_Double,UTS_WR_Text_String,UTS_WR_Text_Double
,20240406,04:53:55,Parameter_1,,01,01,01,请扫码输入设备序列号,请扫码输入外壳条码,01,0,01,01,01,01,01,01,01,01
,20240406,04:53:55,Parameter_2,,U1_WR_STR,U1_WR_STR,U3_WR_HEX,扫码输入,扫码输入,READ_SN_TEXT?,,U3_WR_HEX,U3_WR_HEX,U3_WR_HEX,U3_WR_HEX,U3_WR_HEX,U1_WR_STR,U3_WR_HEX,U1_WR_STR
,20240406,04:53:55,Parameter_3,,IOUT1?,IOUT1?,48 00 04 10 10 00 02 4E 48,,,,TBL_ImportInfo,00:01:U3_RD_HEX?,00:01:U3_RD_HEX?,00:01:U3_RD_HEX?,48 00 05 10 90 00 02 07 C8 48,48 00 05 10 90 00 02 08 C7 48,IOUT1?,48 00 05 10 90 00 02 09 C6 48,IOUT1?
,20240406,04:53:55,Parameter_4,,300,300,1000,,{DUT_SN},300,MQTT_KEY_CMD,500,300,300,300,300,300,500,300
,20240406,04:53:55,Parameter_5,,0.000,0.003,B8:B9:B10,,{DUT_SN},{DUT_SN},Barcode = '{DUT_SN}',B8:B9,B8:B9,B8:B9,48 00 06 C0 90 00 02 00 01 1D 48,B8,0.025,48 00 06 C0 90 00 02 00 01 1D 48,0.008
,20240406,04:53:55,Parameter_6,,0.030,0.015,1:2:44,,,{DUT_SN},,10:10,10:10,10:10,48 00 06 C0 90 00 02 00 01 1D 48,16,0.050,48 00 06 C0 90 00 02 00 01 1D 48,0.025
,20240406,04:53:55,Parameter_7,,,,1:2:44,,,,,90:90,90:90,90:90,,31,,,
,20240406,04:53:55,Parameter_8,,,,,,,,,,,,,,,,
1 ,20240406,04:53:55,Start
2 ,20240406,04:53:55,Load,TP_3_5_REV_08_20220225091518.uts
3 ,20240406,04:53:55,TestStep,,53,87,94,99,101,109,112,128,136,142,172,174,175,177,182
4 ,20240406,04:53:55,TestItem,,Static_Curr_NoFW,Static_Curr,FW_VER,DUT_SN,BackPanel_SN,ReadBack_SN,AliKeyCmd,RF_PER_RSSI,RF_PER_RSSI_2,RF_PER_RSSI_3,SIMCard_Status,4G_RSSI,Login_Curr,ServerConn_Status,Run_StandbyCurr
5 ,20240406,04:53:55,CmdType,,UtsComPort,UtsComPort,UtsComPort,System,System,UtsComPort,System,UtsComPort,UtsComPort,UtsComPort,UtsComPort,UtsComPort,UtsComPort,UtsComPort,UtsComPort
6 ,20240406,04:53:55,Command,,UTS_WR_Text_Double,UTS_WR_Text_Double,UTS_WR_Text_Byte,Show_InputBox,Show_InputBox,UTS_WR_Text_String,Get_DB_Data,UTS_WR_Text_Byte,UTS_WR_Text_Byte,UTS_WR_Text_Byte,UTS_WR_Text_String,UTS_WR_Text_Byte,UTS_WR_Text_Double,UTS_WR_Text_String,UTS_WR_Text_Double
7 ,20240406,04:53:55,Parameter_1,,01,01,01,请扫码输入设备序列号,请扫码输入外壳条码,01,0,01,01,01,01,01,01,01,01
8 ,20240406,04:53:55,Parameter_2,,U1_WR_STR,U1_WR_STR,U3_WR_HEX,扫码输入,扫码输入,READ_SN_TEXT?,,U3_WR_HEX,U3_WR_HEX,U3_WR_HEX,U3_WR_HEX,U3_WR_HEX,U1_WR_STR,U3_WR_HEX,U1_WR_STR
9 ,20240406,04:53:55,Parameter_3,,IOUT1?,IOUT1?,48 00 04 10 10 00 02 4E 48,,,,TBL_ImportInfo,00:01:U3_RD_HEX?,00:01:U3_RD_HEX?,00:01:U3_RD_HEX?,48 00 05 10 90 00 02 07 C8 48,48 00 05 10 90 00 02 08 C7 48,IOUT1?,48 00 05 10 90 00 02 09 C6 48,IOUT1?
10 ,20240406,04:53:55,Parameter_4,,300,300,1000,,{DUT_SN},300,MQTT_KEY_CMD,500,300,300,300,300,300,500,300
11 ,20240406,04:53:55,Parameter_5,,0.000,0.003,B8:B9:B10,,{DUT_SN},{DUT_SN},Barcode = '{DUT_SN}',B8:B9,B8:B9,B8:B9,48 00 06 C0 90 00 02 00 01 1D 48,B8,0.025,48 00 06 C0 90 00 02 00 01 1D 48,0.008
12 ,20240406,04:53:55,Parameter_6,,0.030,0.015,1:2:44,,,{DUT_SN},,10:10,10:10,10:10,48 00 06 C0 90 00 02 00 01 1D 48,16,0.050,48 00 06 C0 90 00 02 00 01 1D 48,0.025
13 ,20240406,04:53:55,Parameter_7,,,,1:2:44,,,,,90:90,90:90,90:90,,31,,,
14 ,20240406,04:53:55,Parameter_8,,,,,,,,,,,,,,,,

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

View File

@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<Configs>
<StationInfo>
<AppVersion>1.4.1.0</AppVersion>
<CreateTime>2022-01-10 19:38:05</CreateTime>
<ModifiedTime>2022-02-25 09:15:18</ModifiedTime>
<PassWord>clH5vg4eIbHVUstyxrVQkw==</PassWord>
<ReleasePwd>clH5vg4eIbHVUstyxrVQkw==</ReleasePwd>
<ValidDate>1IF2udIg4lss6OPMHk37nA==</ValidDate>
<StationVersion>8</StationVersion>
<ImageName>5.jpg</ImageName>
<HistoryImprints>
<HistoryImprint PacketName="TP_3_5_REV_08_20220225091518.uts" Creator="19">
<Imprints>
<Imprint>hu </Imprint>
<Imprint>1 v1.2.44</Imprint>
<Imprint />
</Imprints>
</HistoryImprint>
<HistoryImprint PacketName="TP_3_5_REV_07_20220112113258.uts" Creator="4">
<Imprints>
<Imprint>Momo</Imprint>
<Imprint>根据葛工微信通知将4G RSSI 标准修正为 18-31原10-30</Imprint>
</Imprints>
</HistoryImprint>
<HistoryImprint PacketName="TP_3_5_REV_06_20220111215653.uts" Creator="19">
<Imprints>
<Imprint>稳定版</Imprint>
</Imprints>
</HistoryImprint>
<HistoryImprint PacketName="TP_3_5_REV_05_20220111204425.uts" Creator="19">
<Imprints>
<Imprint>改回网络注册测试时间</Imprint>
<Imprint />
<Imprint />
</Imprints>
</HistoryImprint>
<HistoryImprint PacketName="TP_3_5_REV_04_20220111202651.uts" Creator="19">
<Imprints>
<Imprint>加长网络注册时间</Imprint>
</Imprints>
</HistoryImprint>
<HistoryImprint PacketName="TP_3_5_REV_03_20220111200812.uts" Creator="19">
<Imprints>
<Imprint>博美网关烧录测试正式发布版,范围调整</Imprint>
</Imprints>
</HistoryImprint>
<HistoryImprint PacketName="TP_3_5_REV_02_20220111173521.uts" Creator="19">
<Imprints>
<Imprint>博美网关烧录测试正式发布版代码版本1.2.33</Imprint>
</Imprints>
</HistoryImprint>
<HistoryImprint PacketName="TP_3_5_REV_01_20220110195026.uts" Creator="3">
<Imprints>
<Imprint>博美网关初版测试</Imprint>
</Imprints>
</HistoryImprint>
</HistoryImprints>
</StationInfo>
</Configs>

View File

@@ -720,8 +720,7 @@ Namespace UTSModule.Test
Dim result As New TestCommandReturn
If String.IsNullOrWhiteSpace(node.Command) Then Return result
_stepWatch.Restart() '启单步测试计时
Dim watch As Stopwatch = Stopwatch.StartNew() '启单步计时
Dim cmd As New TestCommand(node) '获取执行参数
ReplaceValue(cmd, localVariable) '执行前变量替换
Dim executor As TestCommandExecutor = TestCommandManger.CreateExecutor(cmd) '创建执行器
@@ -742,8 +741,8 @@ Namespace UTSModule.Test
Thread.Sleep(node.RetryInterval)
Next
_stepWatch.Stop()
result.StepTimeSpan = _stepWatch.Elapsed
watch.Stop()
result.StepTimeSpan = watch.Elapsed
'进度修改
If node.RowListIndex > _startTestIndex AndAlso node.RowIndex < _endTestIndex Then