Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ {
- "pumpId": 33,
- "pVVoltage": "214",
- "pVCurrent": "0",
- "epochTime": 1482690480000
- },
- {
- "pumpId": 33,
- "pVVoltage": "214",
- "pVCurrent": "0",
- "epochTime": 1482690480000
- }
- ]
- <button type="button" class="btn btn-primary btn-sm" ng-click="get_report(report_from_time, report_to_time)">Download</button>
- PumpService.getReport($scope.id, $scope.timestamp_report_from_time, $scope.timestamp_report_to_time).success(function (data) {
- $scope.reportData = data;
- }).error(function (error) {
- console.error('ERROR OCCURED:', +error);
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement