Browse Source

显示线程所需要的信息(图片与电镜参数)

wb_han 5 years ago
parent
commit
6743cb67a3
1 changed files with 6 additions and 3 deletions
  1. 6 3
      HOZProject/MeasureMsgDispose/MeasureMsgManage.cs

+ 6 - 3
HOZProject/MeasureMsgDispose/MeasureMsgManage.cs

@@ -22,13 +22,16 @@ namespace HOZProject
             {
             {
                 case "1-3":
                 case "1-3":
                     //设置图像
                     //设置图像
-                    formHOZ.pbImage.Image = null;
+                    formHOZ.pbImage.Image = new Bitmap(args.Picture_Information.Picture_FullPath);
                     //流程内容
                     //流程内容
-                    formHOZ.lblFlowContent.Text = "1-3";
+                    string semParaContent = "电压:"+args.Picture_Information.Work_Voltage;
+                    semParaContent = "  放大倍数:" + args.Picture_Information.Magnification;
+                    semParaContent = "  工作距离:" + args.Picture_Information.Work_Distance;
+                    formHOZ.lblFlowContent.Text = semParaContent;
                     break;
                     break;
                 default:
                 default:
                     //设置图像
                     //设置图像
-                    formHOZ.pbImage.Image = null;//new Bitmap(@"C:\Users\think\Pictures\ico\001.jpg");
+                    formHOZ.pbImage.Image = null;
                     //流程内容
                     //流程内容
                     formHOZ.lblFlowContent.Text = "1";
                     formHOZ.lblFlowContent.Text = "1";
                     break;
                     break;