33 lines
835 B
Dart
33 lines
835 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();
|
|
}
|
|
|
|
/// 考情添加员工卡、指纹之后回调卡、指纹number
|
|
class ChickInAddStaffCardAndFingerprintBlockNumberEvent{
|
|
String number;
|
|
ChickInAddStaffCardAndFingerprintBlockNumberEvent(this.number);
|
|
}
|