Re-implement existing website template (from PHP). Add all assets.
This commit is contained in:
parent
a87a334bc7
commit
ddf6c5b8ce
60 changed files with 2514 additions and 87 deletions
13
Website/wwwroot/js/services/temperatureService.js
Normal file
13
Website/wwwroot/js/services/temperatureService.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
angular.module("robware").service('temperatureService', ["$http", function($http) {
|
||||
this.getReadings = function() {
|
||||
return $http.get('/temperature/getreadings', {dontShowSpinner:true}).then(function(response) {
|
||||
return response.data;
|
||||
});
|
||||
};
|
||||
|
||||
this.getCurrentTemperatureData = function() {
|
||||
return $http.get("/temperature/GetTemperatureData", {dontShowSpinner:true}).then(function(response) {
|
||||
return response.data;
|
||||
});
|
||||
}
|
||||
}]);
|
Loading…
Add table
Add a link
Reference in a new issue