2024-01-12 19:05:44 +08:00

34 lines
983 B
Dart

import 'package:get/get.dart';
class AddICCardState{
var ifConnectScuess = false.obs;
var ifCurrentScreen = true.obs; // 是否是当前界面,用于判断是否需要针对当前界面进行展示
var addFingerprintProcessNumber = 0.obs;
final lockId = 0.obs;
final endDate = "".obs;
final addType = "".obs;
final cardName = "".obs;
final cardNumber = "".obs;
final cardType = "".obs;
final isCoerced = "".obs;
final startDate = "".obs;
final weekDay = [].obs;
final fromType = 0.obs;
AddICCardState() {
Map map = Get.arguments;
lockId.value = map["lockId"];
endDate.value = map["endDate"];
addType.value = map["addType"];
cardName.value = map["cardName"];
cardNumber.value = map["cardNumber"];
cardType.value = map["cardType"];
isCoerced.value = map["isCoerced"];
startDate.value = map["startDate"];
lockId.value = map["lockId"];
weekDay.value = map["weekDay"];
fromType.value = map["fromType"];
}
}