47 lines
1.3 KiB
Dart
47 lines
1.3 KiB
Dart
import 'dart:async';
|
|
|
|
// import 'package:flutter_reactive_ble/flutter_reactive_ble.dart';
|
|
import 'package:flutter_blue_plus/flutter_blue_plus.dart';
|
|
import 'package:get/get.dart';
|
|
import 'package:star_lock/blue/io_protocol/io_addFace.dart';
|
|
import 'package:star_lock/blue/io_type.dart';
|
|
import 'package:star_lock/main/lockDetail/face/addFace/addFace_state.dart';
|
|
import 'package:star_lock/tools/eventBusEventManage.dart';
|
|
|
|
import '../../../../../blue/blue_manage.dart';
|
|
import '../../../../../blue/io_reply.dart';
|
|
import '../../../../../blue/io_tool/io_tool.dart';
|
|
import '../../../../../blue/io_tool/manager_event_bus.dart';
|
|
import '../../../../../blue/sender_manage.dart';
|
|
import '../../../../../network/api_repository.dart';
|
|
import '../../../../../tools/baseGetXController.dart';
|
|
import '../../../../../tools/storage.dart';
|
|
|
|
class AddIrisLogic extends BaseGetXController {
|
|
final AddFaceState state = AddFaceState();
|
|
|
|
@override
|
|
void onReady() {
|
|
// TODO: implement onReady
|
|
super.onReady();
|
|
|
|
// _initReplySubscription();
|
|
}
|
|
|
|
@override
|
|
void onInit() {
|
|
// TODO: implement onInit
|
|
super.onInit();
|
|
//开始添加后发送指令
|
|
// senderAddFace();
|
|
}
|
|
|
|
@override
|
|
void onClose() {
|
|
// TODO: implement onClose
|
|
super.onClose();
|
|
|
|
// _replySubscription.cancel();
|
|
}
|
|
}
|