Initial support for custom reporting

This commit is contained in:
2015-03-14 21:07:18 -04:00
parent 60fa893205
commit 340a486f95
4 changed files with 56 additions and 1 deletions

View File

@@ -1,8 +1,10 @@
using System.Linq;
using System;
using System.Linq;
using Microsoft.AspNet.SignalR;
using System.Collections.Generic;
using WeatherService.Devices;
using WeatherService.Remote;
using WeatherService.Reporting;
using WeatherService.Values;
namespace WeatherService.SignalR
@@ -38,5 +40,10 @@ namespace WeatherService.SignalR
{
return WeatherServiceCommon.GetWindDirectionHistory().ToList();
}
public List<DailySummary> GetDailySummary(int deviceId, int valueType, DateTime startDate, DateTime endDate)
{
return WeatherServiceCommon.GetDailySummary(deviceId, valueType, startDate, endDate);
}
}
}