public void Post(MotionSensorConfigList config) { MotionSensorSetup setup = config.UpdateConfig(); MotionSensorStartup startup = new MotionSensorStartup(setup); }
public void TestConfig() { MotionSensorConfigList config = new MotionSensorConfigList(); config.LoadTemplate(); Assert.IsTrue(config.list.Count > 1); }
public IHttpActionResult Get() { try { MotionSensorConfigList list = new MotionSensorConfigList(); list.LoadTemplate(); return Ok(list); } catch { return InternalServerError(); } }