mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
45 lines
803 B
Dart
45 lines
803 B
Dart
part of 'routine_bloc.dart';
|
|
|
|
abstract class RoutineEvent extends Equatable {
|
|
const RoutineEvent();
|
|
|
|
@override
|
|
List<Object> get props => [];
|
|
}
|
|
|
|
class AddToIfContainer extends RoutineEvent {
|
|
final Map<String, String> item;
|
|
|
|
const AddToIfContainer(this.item);
|
|
|
|
@override
|
|
List<Object> get props => [item];
|
|
}
|
|
|
|
class AddToThenContainer extends RoutineEvent {
|
|
final Map<String, String> item;
|
|
|
|
const AddToThenContainer(this.item);
|
|
|
|
@override
|
|
List<Object> get props => [item];
|
|
}
|
|
|
|
class LoadScenes extends RoutineEvent {
|
|
final String unitId;
|
|
|
|
const LoadScenes(this.unitId);
|
|
|
|
@override
|
|
List<Object> get props => [unitId];
|
|
}
|
|
|
|
class LoadAutomation extends RoutineEvent {
|
|
final String unitId;
|
|
|
|
const LoadAutomation(this.unitId);
|
|
|
|
@override
|
|
List<Object> get props => [unitId];
|
|
}
|