38 lines
1.2 KiB
Dart
Executable File
38 lines
1.2 KiB
Dart
Executable File
|
|
import 'package:get/get.dart';
|
|
|
|
class AddIrisState {
|
|
AddIrisState() {
|
|
Map map = Get.arguments;
|
|
lockId.value = map['lockId'];
|
|
endDate.value = map['endDate'];
|
|
addType.value = map['addType'];
|
|
faceName.value = map['faceName'];
|
|
faceType.value = map['faceType'];
|
|
startDate.value = map['startDate'];
|
|
lockId.value = map['lockId'];
|
|
cyclicConfig.value = map['cyclicConfig'];
|
|
fromType.value = map['fromType'];
|
|
isAdministrator.value = map['isAdministrator'];
|
|
}
|
|
RxBool ifCurrentScreen = true.obs; // 是否是当前界面,用于判断是否需要针对当前界面进行展示
|
|
|
|
RxBool ifConnectScuess = false.obs;
|
|
RxInt maxRegCount = 0.obs; // 最大注册次数
|
|
RxInt regIndex = 0.obs; // 当前注册次数
|
|
|
|
RxString faceNumber = ''.obs;
|
|
|
|
final RxInt lockId = 0.obs;
|
|
final RxInt endDate = 0.obs;
|
|
final RxString addType = ''.obs;
|
|
final RxString faceName = ''.obs;
|
|
final RxInt faceType = 0.obs;
|
|
final RxInt startDate = 0.obs;
|
|
final RxList cyclicConfig = [].obs;
|
|
final RxInt fromType = 1.obs;
|
|
final RxString featureData = ''.obs;
|
|
final RxBool isClickAddFace = false.obs;
|
|
final RxBool isAdministrator = false.obs;
|
|
}
|