Darien Figueroa / Mbed OS Final_Program

Dependencies:   USBDevice

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers IRawFileLogView.cs Source File

IRawFileLogView.cs

00001 /*******************************************************************************
00002 * Copyright (C) 2016 Maxim Integrated Products, Inc., All rights Reserved.
00003 * 
00004 * This software is protected by copyright laws of the United States and
00005 * of foreign countries. This material may also be protected by patent laws
00006 * and technology transfer regulations of the United States and of foreign
00007 * countries. This software is furnished under a license agreement and/or a
00008 * nondisclosure agreement and may only be used or reproduced in accordance
00009 * with the terms of those agreements. Dissemination of this information to
00010 * any party or parties not specified in the license agreement and/or
00011 * nondisclosure agreement is expressly prohibited.
00012 *
00013 * The above copyright notice and this permission notice shall be included
00014 * in all copies or substantial portions of the Software.
00015 *
00016 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
00017 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00018 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
00019 * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
00020 * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
00021 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
00022 * OTHER DEALINGS IN THE SOFTWARE.
00023 *
00024 * Except as contained in this notice, the name of Maxim Integrated
00025 * Products, Inc. shall not be used except as stated in the Maxim Integrated
00026 * Products, Inc. Branding Policy.
00027 *
00028 * The mere transfer of this software does not imply any licenses
00029 * of trade secrets, proprietary technology, copyrights, patents,
00030 * trademarks, maskwork rights, or any other form of intellectual
00031 * property whatsoever. Maxim Integrated Products, Inc. retains all
00032 * ownership rights.
00033 *******************************************************************************
00034 */
00035 
00036 using System;
00037 using System.Collections.Generic;
00038 using System.Linq;
00039 using System.Text;
00040 
00041 using HealthSensorPlatform.Model;
00042 using Maxim.Global;
00043 
00044 namespace HealthSensorPlatform.View
00045 {
00046     public interface IRawFileLogView
00047     {
00048         bool Enable { get; set; }
00049 
00050         string FileDirectory { get; set; }
00051 
00052         event EventHandler<ErrorEventArgs> Error;
00053 
00054         bool SelectCSVFile(string fileName);
00055 
00056         void StreamStartStop();
00057 
00058         void WriteLine(string str);
00059 
00060         void DisplayEcg(double[] time, EcgFifo[] ecgData);
00061         void DisplayEcg(double[] time, EcgFifo[] ecgData, DCLeadOff leadOff);
00062 
00063         void DisplayBioZ(double[] time, BioZFifo[] bioZData);
00064         void DisplayBioZ(double[] time, BioZFifo[] bioZData, DCLeadOff leadOff);
00065         void DisplayBioZ(double[] time, BioZFifo[] bioZData, ACLeadOff acLeadOff);
00066         void DisplayBioZ(double[] time, BioZFifo[] bioZData, DCLeadOff leadOff, ACLeadOff acLeadOff);
00067 
00068         void DisplayRToR(int rToRData, double rToRCorrectedSeconds);
00069 
00070         void DisplayPace(double[] time, PaceData.PaceEdge[] paceData);
00071 
00072         void DisplayPressure(int[] hexTemperature, double[] temperature, int[] hexPressure, double[] pressure);
00073 
00074         void DisplayTemperature(int[] hex, double[] temperature);
00075 
00076         /// <summary>
00077         /// Save Fifo Data for optical
00078         /// </summary>
00079         //void DisplayPpg(int[][] data);
00080         void DisplayPpg(double[] time, int[][] data);
00081         /// <summary>
00082         /// Save Fifo data for accelerometer 
00083         /// </summary>
00084         /// <param name="data"></param>
00085         //void DisplayXYZ(int[][] data);
00086         void DisplayXYZ(double[] time, int[][] data);
00087     }
00088 }