a,领锁,点击+号时,如果获取网络时间失败,不进入下一页,提示必须联网 b. 开锁时:有网络时间则同步,无网络则不同步时间 c. 同步时间功能:必须有网才同步时间,确定和通通锁不一致 2、修改登录、注册、修改密码选择跟当前ip不是用一个国家的时候,弹窗提示
24 lines
760 B
Dart
Executable File
24 lines
760 B
Dart
Executable File
import 'package:flutter_blue_plus/flutter_blue_plus.dart';
|
|
import 'package:get/get.dart';
|
|
|
|
class NearbyLockState {
|
|
RxList<ScanResult> devices = <ScanResult>[].obs;
|
|
RxBool ifCurrentScreen = true.obs; // 是否是当前界面,用于判断是否需要针对当前界面进行展示
|
|
// var sureBtnState = 0.obs;// 0可点击 1 不可点击
|
|
// int differentialTime = 0;
|
|
int serverTime = 0;// 服务器时间即UTC+0时间
|
|
|
|
RxString selectLockName = ''.obs;
|
|
|
|
int timestampValue = 0;
|
|
Map lockInfo = {};
|
|
String featureValue = '';
|
|
String featureSettingValue = '';
|
|
List featureSettingParams = [];
|
|
|
|
RxBool otaState = false.obs; //ota 升级
|
|
RxBool otaUpdateIng = false.obs;
|
|
RxDouble otaProgress = 0.00.obs;
|
|
bool oTAProgressDialog = false;
|
|
}
|