mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-16 01:56:24 +00:00
push sos basic device implementation
This commit is contained in:
39
lib/pages/device_managment/sos/bloc/sos_device_event.dart
Normal file
39
lib/pages/device_managment/sos/bloc/sos_device_event.dart
Normal 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 => [];
|
||||
}
|
Reference in New Issue
Block a user