コード例 #1
0
ファイル: XMLConverter.cs プロジェクト: Nefarin/DadmProject
        public static void Main()
        {
            IECGPath pathBuilder = new DebugECGPath();
            XMLConverter xml = new XMLConverter("TestAnalysis");
            xml.ConvertFile(System.IO.Path.Combine(pathBuilder.getDataPath(), "6.xml"));
            xml.SaveResult();

            //xml.loadXMLFile(@"C:\temp\6.xml");

            uint f = xml.getFrequency();
            Console.WriteLine("Frequency: " + f + " Hz");

            uint samples = xml.sampleAmount;
            Console.WriteLine("Sample amount: " + samples.ToString());
            Console.WriteLine();

            List<Tuple<string, Vector<double>>> signals = xml.getSignals();
            foreach (var tuple in signals)
            {
                Console.WriteLine("Lead name: " + tuple.Item1);
                Console.WriteLine("Signal Vector in uV: " + tuple.Item2);
                Console.WriteLine();

            }

            Console.Read();
        }
コード例 #2
0
 public Sleep_Apnea_Data_Worker()
 {
     IECGPath pathBuilder = new DebugECGPath();
     directory = pathBuilder.getTempPath();
     Data = null;
 }
コード例 #3
0
 public Flutter_Data_Worker()
 {
     IECGPath pathBuilder = new DebugECGPath();
     directory = pathBuilder.getTempPath();
     Data = null;
 }
コード例 #4
0
 public ECG_Baseline_Data_Worker()
 {
     IECGPath pathBuilder = new DebugECGPath();
     directory = pathBuilder.getTempPath();
     Data = null;
 }
コード例 #5
0
 public Heart_Axis_Data_Worker()
 {
     IECGPath pathBuilder = new DebugECGPath();
     directory = pathBuilder.getTempPath();
     Data = null;
 }
コード例 #6
0
 public Basic_Data_Worker()
 {
     IECGPath pathBuilder = new DebugECGPath();
     directory = pathBuilder.getTempPath();
     BasicData = null;
 }
コード例 #7
0
 public TestModule3_Data_Worker()
 {
     IECGPath pathBuilder = new DebugECGPath();
     directory = pathBuilder.getTempPath();
     Data = null;
 }