mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-27 12:54:54 +00:00
fixes
This commit is contained in:
@ -285,13 +285,6 @@ class WaterHeaterBloc extends Bloc<WaterHeaterEvent, WaterHeaterState> {
|
||||
}
|
||||
}
|
||||
|
||||
// void toggleCreateSchedule() {
|
||||
// emit(WHLoadingState());
|
||||
// createSchedule = !createSchedule;
|
||||
// selectedDays.clear();
|
||||
// selectedTime=DateTime.now();
|
||||
// emit(UpdateCreateScheduleState(createSchedule));
|
||||
// }
|
||||
|
||||
void toggleCreateCirculate() {
|
||||
emit(WHLoadingState());
|
||||
@ -301,11 +294,7 @@ class WaterHeaterBloc extends Bloc<WaterHeaterEvent, WaterHeaterState> {
|
||||
emit(UpdateCreateScheduleState(createCirculate));
|
||||
}
|
||||
|
||||
// void toggleSelectedIndex(index) {
|
||||
// emit(WHLoadingState());
|
||||
// selectedTabIndex = index;
|
||||
// emit(ChangeSlidingSegmentState(value: selectedTabIndex));
|
||||
// }
|
||||
|
||||
void toggleSelectedIndex(
|
||||
ToggleSelectedEvent event, Emitter<WaterHeaterState> emit) {
|
||||
emit(WHLoadingState());
|
||||
|
||||
@ -14,13 +14,8 @@ class WHInitialState extends WaterHeaterState {}
|
||||
class WHLoadingState extends WaterHeaterState {}
|
||||
|
||||
class WHChangeLoading extends WaterHeaterState {
|
||||
// final WHStatusModel WHStatusModel;
|
||||
const WHChangeLoading(
|
||||
// {required this. WHStatusModel}
|
||||
);
|
||||
|
||||
// @override
|
||||
// List<Object> get props => [acStatusModel];
|
||||
}
|
||||
|
||||
class WHModifyingState extends WaterHeaterState {
|
||||
|
||||
@ -6,9 +6,7 @@ import 'package:syncrow_app/features/devices/bloc/water_heater_bloc/water_heater
|
||||
import 'package:syncrow_app/features/devices/model/GroupWHModel.dart';
|
||||
import 'package:syncrow_app/features/devices/model/device_model.dart';
|
||||
import 'package:syncrow_app/features/devices/model/water_heater.dart';
|
||||
import 'package:syncrow_app/features/devices/view/widgets/one_gang/one_gang_list.dart';
|
||||
import 'package:syncrow_app/features/devices/view/widgets/water_heater/wh_list.dart';
|
||||
import 'package:syncrow_app/features/menu/bloc/manage_unit_bloc/manage_unit_state.dart';
|
||||
import 'package:syncrow_app/features/shared_widgets/default_container.dart';
|
||||
import 'package:syncrow_app/features/shared_widgets/default_scaffold.dart';
|
||||
|
||||
|
||||
@ -2,11 +2,8 @@ import 'package:flutter/material.dart';
|
||||
import 'package:flutter_svg/svg.dart';
|
||||
import 'package:syncrow_app/features/devices/model/device_category_model.dart';
|
||||
import 'package:syncrow_app/features/devices/view/widgets/ACs/acs_view.dart';
|
||||
import 'package:syncrow_app/features/devices/view/widgets/one_gang/one_gang_Interface.dart';
|
||||
import 'package:syncrow_app/features/devices/view/widgets/one_gang/one_gang_wizard.dart';
|
||||
import 'package:syncrow_app/features/devices/view/widgets/three_gang/three_gang_interface.dart';
|
||||
import 'package:syncrow_app/features/devices/view/widgets/three_gang/three_gang_wizard.dart';
|
||||
import 'package:syncrow_app/features/devices/view/widgets/two_gang/two_gang_Interface.dart';
|
||||
import 'package:syncrow_app/features/devices/view/widgets/two_gang/two_gang_wizard.dart';
|
||||
import 'package:syncrow_app/features/devices/view/widgets/water_heater/wh_wizard.dart';
|
||||
import 'package:syncrow_app/features/shared_widgets/default_container.dart';
|
||||
|
||||
Reference in New Issue
Block a user