mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
passed correct operation name to onSliderChanged
and onConditionChanged. in
CpsDialogSliderSelector`.
This commit is contained in:
@ -40,7 +40,7 @@ class CpsDialogSliderSelector extends StatelessWidget {
|
|||||||
functionData: DeviceFunctionData(
|
functionData: DeviceFunctionData(
|
||||||
entityId: device?.uuid ?? '',
|
entityId: device?.uuid ?? '',
|
||||||
functionCode: selectedFunction,
|
functionCode: selectedFunction,
|
||||||
operationName: selectedFunctionData.operationName,
|
operationName: operationName,
|
||||||
condition: condition,
|
condition: condition,
|
||||||
value: selectedFunctionData.value,
|
value: selectedFunctionData.value,
|
||||||
),
|
),
|
||||||
@ -51,7 +51,7 @@ class CpsDialogSliderSelector extends StatelessWidget {
|
|||||||
functionData: DeviceFunctionData(
|
functionData: DeviceFunctionData(
|
||||||
entityId: device?.uuid ?? '',
|
entityId: device?.uuid ?? '',
|
||||||
functionCode: selectedFunction,
|
functionCode: selectedFunction,
|
||||||
operationName: selectedFunctionData.operationName,
|
operationName: operationName,
|
||||||
value: value,
|
value: value,
|
||||||
condition: selectedFunctionData.condition,
|
condition: selectedFunctionData.condition,
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user