mirror of
https://github.com/ckaczor/WeatherService.git
synced 2026-01-13 17:23:11 -05:00
Initial support for custom reporting
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user