Browse Source

delete CProjMgr.cs and CStdioFile.cs

CXS 5 years ago
parent
commit
7bb03f3b49

+ 0 - 72
OTS/OTSModelSharp/CProjMgr.cs

@@ -1,72 +0,0 @@
-using OTSDataType;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace OTSModelSharp
-{
-   public class CProjMgr
-    {
-        public bool IsValid() { return false; }
-
-        public bool SetStage(CStage Stage) { return false; }
-
-        public bool SetSEMStageData(CSEMStageData SEMData) { return false; }
-
-      //  public bool SetGenParam(COTSProgMgrParamFile GenParam) { return false; }
-
-      //  public bool SetImageScanParam(COTSProgMgrParamFile ImageScan) { return false; }
-
-      //  public bool SetImageProcParam(COTSProgMgrParamFile ImageProc) { return false; }
-
-      //  public bool SetXRayParam(COTSProgMgrParamFile XRayParam) { return false; }
-
-        public bool NewFile() { return false; }
-
-        public CStage GetStage() { return null; }
-
-     //   public bool IsModified() { return false; }
-
-        public bool Save() { return false; }
-        public bool Load() { return false; }
-
-        public bool SaveAs() { return false; }
-
-        public COTSSample AddSample(string name) { return null; }
-
-        public COTSSample GetWorkingSample() { return null; }
-
-        public bool IsValidSampleName(string name) { return false; }
-
-        public bool SetModify(bool modify) { return false; }
-
-        public bool SetWorkingSampleByName(string sampleName) { return false; }
-
-        public bool DeleteSampleByName(string sampleName) { return false; }
-
-        public List<COTSSample> GetSampleList() {
-            List<COTSSample> OTSSample = new List<COTSSample>();
-
-
-            return OTSSample;
-        }
-
-        public bool ResetSamplesListOrder(List<string> SNameList) { return false; }
-
-        public string GetFileName() { return ""; }
-
-        public bool GetSTDFileList(ref int iNamePos, ref List<string> STDFileNameList) { return false; }
-
-        public bool ChangeSTDFromList(int iNamePos) { return false; }
-
-      //  public bool GetImageScanParam() { return false; }
-
-
-
-
-    }
-
- 
-}

+ 0 - 12
OTS/OTSModelSharp/CStdioFile.cs

@@ -1,12 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace OTSModelSharp
-{
-    class CStdioFile
-    {
-    }
-}

+ 1 - 1
OTS/OTSModelSharp/Measure/GetStageInfo/StageFile.cs

@@ -423,7 +423,7 @@ namespace OTSModelSharp
             try
             {
                 // open the file
-                CStdioFile file;
+                //CStdioFile file;
               //  file.Open(a_strPathName, CFile::modeRead | CFile::shareDenyWrite);
 
                 // read the file

+ 0 - 2
OTS/OTSModelSharp/OTSModelSharp.csproj

@@ -87,9 +87,7 @@
   </ItemGroup>
   <ItemGroup>
     <Compile Include="ARACrypt.cs" />
-    <Compile Include="CProjMgr.cs" />
     <Compile Include="CSmallParticleInfo.cs" />
-    <Compile Include="CStdioFile.cs" />
     <Compile Include="DataPublic.cs" />
     <Compile Include="DTLBase\CSQLiteDB.cs" />
     <Compile Include="DTLBase\CSQLiteDBFile.cs" />