app-starlock/star_lock/lib/tools/eventBusEventManage.dart

22 lines
510 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);
}