using EWS.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Txgy.Microseismic.BaseLib
{
    public class WaveDataModel
    {
        public WaveHeader waveHeader { get; set; }
        public List<int> Points { get; set; }
        public MmEvent mmEvent { get; set; }
        public WaveDataModel()
        {

        }
        public WaveDataModel(WaveHeader wha,string[] datas)
        {
            //waveHeader=wha;
            //Points = new double[waveHeader.Samples];
            //int qsCnt=Points.Length-datas.Length;
            //for (int i = 0; i < waveHeader.Samples - qsCnt; i++)
            //{
            //    Points[i] = double.Parse(datas[i]);
            //}
            //if (qsCnt > 0)
            //{
            //    for (int i = 0; i < qsCnt; i++)
            //    {
            //        Points[waveHeader.Samples - i - 1] = double.Parse(datas[datas.Length - 1]);
            //    }
            //}
        }
        //public WaveDataModel CreateWaveModelFromText(string fn)
        //{ 
        
        //}
        //public Wa
    }
}
