mohammad
63da660ece
refactor: update function handling in routine dialogs
2025-06-18 14:40:25 +03:00
Faris Armoush
c642ba2644
Revert "formatted all files."
...
This reverts commit 04250ebc98 .
2025-06-12 16:04:49 +03:00
Faris Armoush
04250ebc98
formatted all files.
2025-06-12 15:33:32 +03:00
mohammad
50fc5f9562
Add 'PC' device to routine
2025-05-27 09:54:21 +03:00
mohammad
0d45a155e3
add step parameter in onTapFunction.
...
Add dialogType parameter in WaterHeaterPresenceSensor and CeilingSensorDialog.
Update step parameter in FlushValueSelectorWidget.
Update step parameter in FunctionBloc and WaterHeaterFunctions.
Update step, unit, min, and max parameters in ACFunction subclasses.
2025-05-19 11:22:15 +03:00
Faris Armoush
c03b8f290c
refactor function tap handlers to use RoutineTapFunctionHelper for improved code reuse and readability, and to remove code duplication.
2025-04-24 10:25:41 +03:00
Faris Armoush
2c684a9495
SP-1441 rework.
2025-04-23 16:58:50 +03:00
Faris Armoush
e45f57ca03
SP-1441
2025-04-17 16:55:44 +03:00
Faris Armoush
be0533645e
Refactor dialog header text assignment in CeilingSensorDialog for clarity and readability.
2025-04-15 11:20:15 +03:00
Faris Armoush
254e03e3c7
Add mapping for 'sports_para' in slider range function
2025-04-15 11:19:58 +03:00
Faris Armoush
6bea4c2f4a
Add mappings for moving_range and presence_range in slider helpers
2025-04-15 10:34:05 +03:00
Faris Armoush
e2ec986bb9
Refactor mappable stepped functions to a static constant for improved readability and maintainability
2025-04-15 10:03:47 +03:00
Faris Armoush
ceb1e1d23a
Remove TODO comments.
2025-04-15 10:03:37 +03:00
Faris Armoush
ee12980b47
Fix value parsing in CpsDialogSliderSelector to ensure two decimal precision
2025-04-15 10:03:21 +03:00
Faris Armoush
ebcd89d2a5
Refactor ceiling sensor functions and update slider helper mappings for improved value handling
2025-04-14 16:24:50 +03:00
Faris Armoush
1493e35f6a
removed unused method.
2025-04-14 14:35:24 +03:00
Faris Armoush
f19cc616be
moved CpsSliderHelpers to its own file.
2025-04-14 14:32:49 +03:00
Faris Armoush
06383018b9
refactored helpers into a helper class to release some complexity out of the widget.
2025-04-14 14:32:22 +03:00
Faris Armoush
9e3a78f6b7
Update dialog header to reflect sensor condition type dynamically
2025-04-14 12:10:42 +03:00
Faris Armoush
11feaf7c87
passed correct operation name to onSliderChanged and onConditionChanged. in CpsDialogSliderSelector`.
2025-04-13 11:10:51 +03:00
Faris Armoush
c54fd780b7
Update sensitivity function to adjust max value and add image assets; modify dialog logic for sensitivity handling
2025-04-13 10:43:17 +03:00
Faris Armoush
c62e8b3f15
Update _displayText method to format values with two decimal places for improved precision
2025-04-13 10:14:35 +03:00
Faris Armoush
60a1a9ad6f
Add dividendOfRange parameter to FunctionSlider and related components for improved range handling
2025-04-13 10:09:39 +03:00
Faris Armoush
828db5d5e4
Refactor CpsDialogSliderSelector to improve value parsing and formatting in _displayText method
2025-04-13 09:57:45 +03:00
Faris Armoush
ebbecb9738
Update toggleCodes in CeilingSensorHelper to replace 'self_test_result' and 'movement' with 'checking_result' and 'body_movement' for improved clarity.
2025-04-13 09:18:09 +03:00
Faris Armoush
a5d26d04eb
Remove unused variables from CeilingSensorDialog to streamline state management
2025-04-10 16:35:19 +03:00
Faris Armoush
74046c5aed
Refactor SliderValueSelector and ValueDisplay to include unit handling and improve UI consistency across sensor dialogs.
2025-04-10 16:22:02 +03:00
Faris Armoush
cf103d5a7c
Add CpsDialogSliderSelector for enhanced slider functionality and integrate with CeilingSensorDialog
2025-04-10 15:25:29 +03:00
Faris Armoush
551779c33a
moved widgets to their own files.
2025-04-10 14:41:58 +03:00
Faris Armoush
6d612398ed
Update operation names in CpsFunctions and add toggle codes to CeilingSensorHelper
2025-04-09 16:41:03 +03:00
Faris Armoush
3f565788d5
Refactor CeilingSensorDialog to be a StatefulWidget.
2025-04-09 15:42:22 +03:00
Faris Armoush
c1d9846899
Enhance CeilingSensorHelper: Add deviceName and deviceId parameters to sensor functions
2025-04-09 15:41:21 +03:00
Faris Armoush
4ea91b9333
SP-1276/ Show Configuration Pop-up on Drop.
2025-04-09 13:16:36 +03:00