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 dynamic value;
  final String code;
  const CeilingChangeValueEvent({required this.value, required this.code});

  @override
  List<Object> get props => [value, code];
}

class GetCeilingDeviceReportsEvent extends CeilingSensorEvent {
  final String code;
  final String deviceUuid;

  const GetCeilingDeviceReportsEvent(
      {required this.code, required this.deviceUuid});

  @override
  List<Object> get props => [code, deviceUuid];
}

class ShowCeilingDescriptionEvent extends CeilingSensorEvent {
  final String description;

  const ShowCeilingDescriptionEvent({required this.description});

  @override
  List<Object> get props => [description];
}

class BackToCeilingGridViewEvent extends CeilingSensorEvent {}
