20 lines
632 B
Dart
20 lines
632 B
Dart
|
|
|
|
import 'package:flutter/material.dart';
|
|
import 'package:get/get.dart';
|
|
import 'package:star_lock/main/lockMian/entity/lockInfoEntity.dart';
|
|
|
|
class LockSetState {
|
|
final getKeyInfosData = KeyInfos().obs;
|
|
|
|
var isAttendance = 1.obs;// 是否开启考勤
|
|
var currentDeviceUUid = "".obs;// 当前设备的uuid
|
|
var isLockPickingReminder = 1.obs;// 是否开启开锁提醒
|
|
var passwordTF = TextEditingController();
|
|
|
|
LockSetState() {
|
|
getKeyInfosData.value = Get.arguments as KeyInfos;
|
|
isAttendance.value = getKeyInfosData.value.isAttendance!;
|
|
isLockPickingReminder.value = getKeyInfosData.value.monitorFlag!;
|
|
}
|
|
} |