app-starlock/star_lock/lib/tools/eventBusEventManage.dart
2023-09-19 15:20:58 +08:00

27 lines
627 B
Dart

import 'package:event_bus/event_bus.dart';
import 'package:star_lock/main/lockMian/entity/lockInfoEntity.dart';
/// 创建EventBus
EventBus eventBus = EventBus();
/// 刷新锁列表数据
class RefreshLockListInfoDataEvent{
RefreshLockListInfoDataEvent();
}
/// 刷新考勤员工列表
class RefreshCheckInStaffListDataEvent{
RefreshCheckInStaffListDataEvent();
}
/// 传递当前锁信息
class PassCurrentLockInformationEvent{
KeyInfos keyInfo;
PassCurrentLockInformationEvent(this.keyInfo);
}
/// 卡、密码、指纹修改之后刷新列表
class OtherTypeRefreshListEvent{
OtherTypeRefreshListEvent();
}