Commit d2a9636c by Martin Kotula

Documentation and clean up

parent 05a91eb1
using Microsoft.AspNetCore.Mvc;
namespace Pi.Hub.Api.Controllers
{
[Route("api/[controller]")]
public class DashboardController : Controller
{
public object Get()
{
//string text = System.IO.File.ReadAllText("C:\\apps\\msgs.txt");
//return $"{{\"data\":[{text}]}}";
return new { };
}
}
}
\ No newline at end of file
[
{ "name": "Sensor 1", "isOccupied": true, "timestamp": "2017-06-17T21:10:59.948Z"},
{ "name": "Sensor 2", "isOccupied": true, "timestamp": "2017-06-17T21:10:59.948Z"},
{ "name": "Sensor 1", "isOccupied": true, "timestamp": "2017-06-17T21:11:59.948Z"},
{ "name": "Sensor 2", "isOccupied": true, "timestamp": "2017-06-17T21:11:59.948Z"},
{ "name": "Sensor 1", "isOccupied": true, "timestamp": "2017-06-17T21:12:59.948Z"},
{ "name": "Sensor 1", "isOccupied": false, "timestamp": "2017-06-17T21:13:59.948Z"},
{ "name": "Sensor 3", "isOccupied": false, "timestamp": "2017-06-17T21:13:59.948Z"},
{ "name": "Sensor 3", "isOccupied": true, "timestamp": "2017-06-17T21:13:59.949Z"}
]
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
1. Run `npm install` 1. Run `npm install`
1. Run `gulp webserver` 1. Run `gulp webserver`
# Build # Build
1. Install .net core https://www.microsoft.com/net/core#windowscmd 1. Install .net core https://www.microsoft.com/net/core#windowscmd
1. Install npm https://www.npmjs.com/ 1. Install npm https://www.npmjs.com/
......
...@@ -72,6 +72,7 @@ We have prepared an example client in a form of a static web page which subsribe ...@@ -72,6 +72,7 @@ We have prepared an example client in a form of a static web page which subsribe
Example instance has been exposed under [http://edge1-iot.azurewebsites.net/](http://edge1-iot.azurewebsites.net/) Example instance has been exposed under [http://edge1-iot.azurewebsites.net/](http://edge1-iot.azurewebsites.net/)
using Azure App Service hosting using Azure App Service hosting
This app exposes a [http://edge1-iot.azurewebsites.net/#test](http://edge1-iot.azurewebsites.net/#test) page which lets to publish example messages to the MQTT broker.
#### Installation guide #### Installation guide
Installation guide can be found [here](/UI.Web.Dashboard) Installation guide can be found [here](/UI.Web.Dashboard)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment