Add 2-Year and 5-Year Timespan
This commit is contained in:
@@ -37,6 +37,8 @@ nlohmann::json GraphClient::GetGraphData(int deviceId, const std::vector<int>& d
|
||||
table = "datalog-monthly";
|
||||
break;
|
||||
case DataStorage::Timespan::Year:
|
||||
case DataStorage::Timespan::_2_Year:
|
||||
case DataStorage::Timespan::_5_Year:
|
||||
table = "datalog-yearly";
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user