mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-11-27 17:24:56 +00:00
Add CpsDialogSliderSelector for enhanced slider functionality and integrate with CeilingSensorDialog
This commit is contained in:
@ -46,20 +46,8 @@ class SliderValueSelector extends StatelessWidget {
|
||||
const SizedBox(height: 20),
|
||||
FunctionSlider(
|
||||
initialValue: initialValue,
|
||||
range: sliderRange, onChanged: onSliderChanged,
|
||||
// void _updateValue(BuildContext context, int value) {
|
||||
// context.read<FunctionBloc>().add(
|
||||
// AddFunction(
|
||||
// functionData: DeviceFunctionData(
|
||||
// entityId: device?.uuid ?? '',
|
||||
// functionCode: functionCode,
|
||||
// operationName: functionData.operationName,
|
||||
// value: value,
|
||||
// condition: functionData.condition,
|
||||
// ),
|
||||
// ),
|
||||
// );
|
||||
// }
|
||||
range: sliderRange,
|
||||
onChanged: onSliderChanged,
|
||||
),
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user