Faris Armoush
d6f0b53b59
Sp 1494 api integration ( #180 )
...
* SP-1494-api-integration.
* fixed left stide titles intervals in total energy consumption chart.
* Adjusted tooltip and title intervals in energy management charts to improve accuracy by incrementing displayed values by one.
* Refactor AnalyticsCommunitiesSidebar to use AnalyticsSpaceTreeView and enhance community/space selection handling
* Gave every tab its own selection logic using the strategy design pattern, along with clearing the selection when changing tabes to avoid collision between features.
2025-05-11 16:46:00 +03:00
Faris Armoush
2e2bc99501
Merge pull request #176 from SyncrowIOT/SP-1510-FE-Build-Occupancy-Bar-Chart-Monthly-Consumption-View
...
Sp 1510 fe build occupancy bar chart monthly consumption view
2025-05-08 16:32:21 +03:00
Faris Armoush
bfb9158652
Replaced hardcoded device id from RemotePowerClampInfoService.getInfo, and instead used the one from the method parameter.
2025-05-07 15:47:41 +03:00
Faris Armoush
38ff20f86a
Created initial remote implementation for all the services in the energy management module.
2025-05-07 11:28:31 +03:00
Faris Armoush
682e69e65f
modify data to migrate to days instead of months.
2025-05-06 15:44:33 +03:00
Faris Armoush
d89e227599
removed unnecesary type annotations from FirebaseRealtimeDeviceService.
2025-05-06 09:06:33 +03:00
Faris Armoush
38184ca8b2
Integrated realtime data.
2025-05-05 16:58:48 +03:00
Faris Armoush
4d5de7bc05
making good progress on realtime data integration.
2025-05-05 16:34:56 +03:00
Faris Armoush
1a3006fa43
Power clamp info integration.
2025-05-05 12:57:27 +03:00
Faris Armoush
06637a16bb
Add EnergyConsumptionPerDevice functionality and update related components
2025-05-05 10:32:12 +03:00
Faris Armoush
af877d7839
Created EnergyConsumptionPerDeviceService and a fake implementation for it.
2025-05-05 10:15:35 +03:00
Faris Armoush
c3cce334ab
data populator.
2025-05-05 09:56:29 +03:00
Faris Armoush
947e9e404c
left side intervals.
2025-05-05 09:54:17 +03:00
Faris Armoush
11fb9e4894
Abstracted EnergyConsumptionByPhasesService, and created a fake implementation that returns mock data, which also simulates a network delay.
2025-05-04 14:20:52 +03:00
Faris Armoush
f29ff2551f
Rename method getTotalEnergyConsumption to load in TotalEnergyConsumptionService and FakeTotalEnergyConsumptionService for consistency.
2025-04-30 15:34:10 +03:00
Faris Armoush
67dd59ee9c
Add GetTotalEnergyConsumptionParam and FakeTotalEnergyConsumptionService implementations
2025-04-30 15:30:25 +03:00