Example #1
0
 public ActionResult <Object> GetMetaData()
 {
     return(new
     {
         interval = _sc.GetInterval(),
         threshold = _sc.GetThreshold(),
         dataSource = _sc.GetSourcePath()
     });
 }
Example #2
0
 public static void StartSensor()
 {
     //currLine = 0;
     lastRadiation = 0;
     SetTimer(_sc.GetInterval());
 }