Sfoglia il codice sorgente

修改样品台坐标系显示

CXS 3 anni fa
parent
commit
ce698be59b

+ 4 - 0
OTSIncAMeasureApp/7-OTSProgMgrInfo/Stage/DlgStageEdit.cs

@@ -552,6 +552,10 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
                 double PixSize = 0;
                 double coordinateSystemEndpointX = nBounderyWidth / 2;
                 double coordinateSystemEndpointY= nBounderyHeight / 2;
+                if(radioButton_BoundaryCircle.Checked)
+                {
+                    coordinateSystemEndpointY = coordinateSystemEndpointX;
+                }
                 if (nBounderyWidth > nBounderyHeight)
                 {
                     PixSize = (long)((double)nBounderyWidth / (double)(nWidth - StageDisplayHelp.PIC_EDGE * 2));

+ 0 - 2
OTSIncAMeasureApp/OTSIncAMeasureAppForm.cs

@@ -147,9 +147,7 @@ namespace OTSMeasureApp
                 {
                     s.GetMsrParams().GetSpecialGrayRangeParam().LoadParam();
                 }
-
             }
-           
         }
 
         private void OTSIncAMeasureAppForm_Load(object sender, EventArgs e)