mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
20 lines
466 B
Dart
20 lines
466 B
Dart
import 'package:equatable/equatable.dart';
|
|
|
|
abstract class CeilingSensorEvent extends Equatable {
|
|
const CeilingSensorEvent();
|
|
|
|
@override
|
|
List<Object> get props => [];
|
|
}
|
|
|
|
class CeilingInitialEvent extends CeilingSensorEvent {}
|
|
|
|
class CeilingChangeValueEvent extends CeilingSensorEvent {
|
|
final int value;
|
|
final String code;
|
|
const CeilingChangeValueEvent({required this.value, required this.code});
|
|
|
|
@override
|
|
List<Object> get props => [value, code];
|
|
}
|