mirror of
https://github.com/SyncrowIOT/web.git
synced 2026-10-23 11:47:57 +00:00
Add GetTotalEnergyConsumptionParam and FakeTotalEnergyConsumptionService implementations
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
class GetTotalEnergyConsumptionParam {
|
||||
final String? startDate;
|
||||
final String? endDate;
|
||||
final String? spaceId;
|
||||
|
||||
GetTotalEnergyConsumptionParam({
|
||||
this.startDate,
|
||||
this.endDate,
|
||||
this.spaceId,
|
||||
});
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
return {
|
||||
'startDate': startDate,
|
||||
'endDate': endDate,
|
||||
'spaceId': spaceId,
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user