Exemplo n.º 1
0
        public Form1()
        {
            InitializeComponent();

            /****************** /
            *      Init
            *  / ******************/
            battery  = 900; //Initial setup with battery containing 500 MaH
            sHandler = new SensorHandler(@".\SensorPackage\DataSets\location1\December.csv");
            deviceHandler.generateDebugList();
            //DEBUG
            iSensor mockSensor = iSensor.makeSensor("DATE", "01/01/2017", "String", false);
            //SensorParser sparse = new SensorParser();
            //sparse.filename = @"C:\Users\Justin\Dropbox\class\CS5860\project\SensorPackage\DataSets\location1\December.csv";
            //sparse.readFile();

            /****************** /
            *       Program
            *  / ******************/
            //TODO run program
        }
Exemplo n.º 2
0
 public void associateTimeSensor(iSensor a)
 {
     time      = a;
     isTimeSet = true;
 }