add water heater operational values to routines

This commit is contained in:
mohammad
2025-05-13 16:24:08 +03:00
parent 71aa64ba9e
commit 36c5712c79
13 changed files with 662 additions and 12 deletions

View File

@ -76,7 +76,8 @@ class IfContainer extends StatelessWidget {
'WPS',
'GW',
'CPS',
'NCPS'
'NCPS',
'WH',
].contains(state.ifItems[index]
['productType'])) {
@ -136,7 +137,7 @@ class IfContainer extends StatelessWidget {
context
.read<RoutineBloc>()
.add(AddToIfContainer(mutableData, false));
} else if (!['AC', '1G', '2G', '3G', 'WPS', 'GW', 'CPS', 'NCPS']
} else if (!['AC', '1G', '2G', '3G', 'WPS', 'GW', 'CPS', 'NCPS','WH']
.contains(mutableData['productType'])) {
context
.read<RoutineBloc>()