22 lines
592 B
Dart
Executable File
22 lines
592 B
Dart
Executable File
|
|
import 'package:get/get.dart';
|
|
|
|
import '../lockSet/lockSetInfo_entity.dart';
|
|
|
|
class ResetButtonState{// 0普通状态(可用) 1连接中(不可用)
|
|
|
|
ResetButtonState() {
|
|
var map = Get.arguments;
|
|
lockSetInfoData.value = map['lockSetInfoData'];
|
|
|
|
resetButtonEnable.value = lockSetInfoData.value.lockSettingInfo!.resetSwitch!;
|
|
}
|
|
Rx<LockSetInfoData> lockSetInfoData = LockSetInfoData().obs;
|
|
|
|
RxInt resetButtonEnable = 1.obs;
|
|
|
|
RxBool ifCurrentScreen = true.obs; // 是否是当前界面,用于判断是否需要针对当前界面进行展示
|
|
RxInt sureBtnState = 0.obs;
|
|
|
|
}
|