Example #1
0
		public static void TestWmassParser()
		{
			string path = @"H:\公司项目\Velo\PKPM样例\20140306  刘亚辉\WMASS.OUT";
			ParserWmass parser = ParserWmass.InstanceLeft;
			if (parser.ReadFile(path)) {				
				DataSummary sumInfo=parser.ParseSummaryInfo();
				parser.ParseSesmicInfo();
			}
		}
 public override bool ReadFile(string filePath)
 {
     m_SumInfo = new DataSummary();
     if (!base.ReadFile(filePath))
     {
         return(false);
     }
     m_key = new ConstSearchKey(1);
     this.ParseSummaryInfo();
     this.ParseSesmicInfo();
     this.ParseEiInfo();
     this.ParseMassInfo();
     this.ParseRvInfo();
     return(true);
 }
Example #3
0
 public List <InfoT> ParseTInfo(int floorCount, string SourceName, DataSummary summaryData)
 {
     m_sourceName = SourceName;
     m_sumaryData = summaryData;
     if (SourceName == PathFinder.PKPM)
     {
         PkpmTInfo(floorCount);
     }
     else if (SourceName == PathFinder.YJK)
     {
         YjkTInfo(floorCount);
     }
     else if (SourceName == PathFinder.MIDAS)
     {
         MidasTInfo(floorCount);
     }
     return(TinfoList);
 }
 public void AnalyseIndex()
 {
     _data        = new DataSummary();
     _richTextBox = new RichTextBoxEx();
 }