push sos basic device implementation

This commit is contained in:
ashrafzarkanisala
2024-10-31 11:32:34 +03:00
parent 13622c1dcf
commit 0fc709a5b1
10 changed files with 464 additions and 80 deletions

View File

@ -0,0 +1,39 @@
part of 'sos_device_bloc.dart';
sealed class SosDeviceEvent extends Equatable {
const SosDeviceEvent();
}
class GetDeviceStatus extends SosDeviceEvent {
final String uuid;
const GetDeviceStatus(this.uuid);
@override
List<Object?> get props => [uuid];
}
class GetBatchStatus extends SosDeviceEvent {
final List<String> uuids;
const GetBatchStatus(this.uuids);
@override
List<Object?> get props => [uuids];
}
class GetDeviceRecords extends SosDeviceEvent {
final String uuid;
const GetDeviceRecords(this.uuid);
@override
List<Object?> get props => [uuid];
}
class GetDeviceAutomationRecords extends SosDeviceEvent {
final String uuid;
const GetDeviceAutomationRecords(this.uuid);
@override
List<Object?> get props => [uuid];
}
class BackToSosStatusView extends SosDeviceEvent {
@override
List<Object?> get props => [];
}