فهرست منبع

improve the logic of open an exist project

gsp 7 ماه پیش
والد
کامیت
e69a941ea1
2فایلهای تغییر یافته به همراه4 افزوده شده و 3 حذف شده
  1. 1 1
      OTSCPP/OTSData/OTSData.vcxproj
  2. 3 2
      OTSIncAMeasureApp/1-OTSMeasure/Measure/ParamData/COTSMsrPrjResultData.cs

+ 1 - 1
OTSCPP/OTSData/OTSData.vcxproj

@@ -537,7 +537,7 @@
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_oxford61sp1|x64'">
     <ClCompile>
-      <PrecompiledHeader>Create</PrecompiledHeader>
+      <PrecompiledHeader>Use</PrecompiledHeader>
       <WarningLevel>Level3</WarningLevel>
       <Optimization>MaxSpeed</Optimization>
       <PreprocessorDefinitions>_WINDOWS;NDEBUG;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>

+ 3 - 2
OTSIncAMeasureApp/1-OTSMeasure/Measure/ParamData/COTSMsrPrjResultData.cs

@@ -176,9 +176,10 @@ namespace OTSModelSharp
                 // file validation
                 smpl.SetMsrStatus(poMsrStatus);
                 smpl.SetMsrResults(poMsrResults);
+                List<Point> listCenterPoint = new List<Point>();
+                Size rectSize = new Size();
+                smpl.InitFieldPosData(out listCenterPoint, out rectSize);//init the underlevel fieldmgr object ,so that we can use it later
 
-                
-               
 
             }