ceac_pqy@163.com 3 vuotta sitten
vanhempi
commit
e53cf4b0ec
5 muutettua tiedostoa jossa 45 lisäystä ja 16 poistoa
  1. 2 0
      .gitignore
  2. 27 0
      exe/logs/202109.log
  3. BIN
      exe0822.rar
  4. 16 16
      tps/TpsLabStudio/MainTps.cs
  5. BIN
      tps/TpsLabStudio/config.zip

+ 2 - 0
.gitignore

@@ -4,3 +4,5 @@
 
 /exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试
 /exe/发射机/9B发射机/测试数据/常温测试
+/tps/TpsLabStudio/obj/Debug
+/exe0902001.zip

+ 27 - 0
exe/logs/202109.log

@@ -0,0 +1,27 @@
+2021-09-07 11:52:51.9170 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-09-07 11:52:51.9440 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS\Tps_LQ_Transmitter\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-09-07 11:52:51.9880 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS\Tps_LQ_Transmitter\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-09-07 11:52:51.9990 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS\Tps_LQ_Transmitter\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-09-07 11:52:52.0140 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-09-07 11:52:52.0140 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-09-07 11:52:52.0140 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-09-07 11:52:52.0140 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-09-07 11:52:52.0140 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-09-07 11:52:55.1080 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-09-07 11:52:55.1730 Error:                [source]:资源管理器 LoadDevice,[msg]:初始化本地配置文件的设备异常:USB0::0x0957::0x0D0B::US49230327::INSTR,请确认设备是否存在。原因:调用的目标发生了异常。 
+2021-09-07 12:27:38.9518 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-09-07 12:27:38.9708 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS\Tps_LQ_Transmitter\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-09-07 12:27:39.0028 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS\Tps_LQ_Transmitter\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-09-07 12:27:39.0118 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS\Tps_LQ_Transmitter\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-09-07 12:27:39.0118 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-09-07 12:27:39.0238 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-09-07 12:27:39.0238 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-09-07 12:27:39.0238 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-09-07 12:27:39.0238 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-09-07 12:27:40.7228 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-09-07 12:27:40.7588 Error:                [source]:资源管理器 LoadDevice,[msg]:初始化本地配置文件的设备异常:USB0::0x0957::0x0D0B::US49230327::INSTR,请确认设备是否存在。原因:调用的目标发生了异常。 
+2021-09-07 12:28:31.9599 Info:                [source]:runtime,[msg]:AppHost 停止插件 
+2021-09-07 12:28:31.9599 Info:                [source]:runtime,[msg]:插件"数据管理"停止成功 
+2021-09-07 12:28:31.9599 Info:                [source]:runtime,[msg]:插件"资源管理器"停止成功 
+2021-09-07 12:28:31.9599 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"停止成功 
+2021-09-07 12:28:31.9599 Info:                [source]:runtime,[msg]:Runtime 关闭 

BIN
exe0822.rar


+ 16 - 16
tps/TpsLabStudio/MainTps.cs

@@ -863,22 +863,22 @@ namespace Tps_LQ_Transmitter
                 tableInfo.table.ProductCode = Product;
                 tableInfo.table.ProductName = Product;
                 tableInfo.table.Name = TestProject + "#" + Product;
-                try
-                {
-                    if (report.WriteAndReplaceTable(tableInfo))
-                    {
-                        ShowMessage(MsgType.Info, "自动测试记录表保存成功");
-                    }
-                    else
-                    {
-                        ShowMessage(MsgType.Info, "自动测试记录表保存失败");
-                    }
-                }
-                catch (Exception ex)
-                {
-
-                    ShowMessage(MsgType.Error, "自动测试记录表保存失败");
-                }
+                //try
+                //{
+                //    if (report.WriteAndReplaceTable(tableInfo))
+                //    {
+                //        ShowMessage(MsgType.Info, "自动测试记录表保存成功");
+                //    }
+                //    else
+                //    {
+                //        ShowMessage(MsgType.Info, "自动测试记录表保存失败");
+                //    }
+                //}
+                //catch (Exception ex)
+                //{
+
+                //    ShowMessage(MsgType.Error, "自动测试记录表保存失败");
+                //}
              
             }
             else

BIN
tps/TpsLabStudio/config.zip