36 lines
1000 B
Dart
36 lines
1000 B
Dart
import 'package:get/get.dart';
|
|
|
|
class AddFaceState {
|
|
var ifCurrentScreen = true.obs; // 是否是当前界面,用于判断是否需要针对当前界面进行展示
|
|
|
|
var ifConnectScuess = false.obs;
|
|
var maxRegCount = 0.obs; // 最大注册次数
|
|
var regIndex = 0.obs; // 当前注册次数
|
|
|
|
var faceNumber = "".obs;
|
|
|
|
final lockId = 0.obs;
|
|
final endDate = 0.obs;
|
|
final addType = "".obs;
|
|
final faceName = "".obs;
|
|
final faceType = 0.obs;
|
|
final startDate = 0.obs;
|
|
final cyclicConfig = [].obs;
|
|
final fromType = 1.obs;
|
|
final featureData = ''.obs;
|
|
final isClickAddFace = false.obs;
|
|
|
|
AddFaceState() {
|
|
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"];
|
|
}
|
|
}
|