import 'package:fis_common/event/event_type.dart'; import 'package:vitalapp/managers/interfaces/base.dart'; import 'models/device.dart'; abstract class IDeviceManager extends IManager { /// 获取授权的设备类型集合 Future> getAccessTypes(); /// 获取授权的设备类型集合(本地缓存) Future> getCacheAccessTypes(); /// 获取设备列表 Future> getDeviceList(); /// 保存设备列表 Future saveDeviceList(List deviceList); /// 添加 Future addDevice(DeviceModel model); /// 删除设备 Future removeDeviceByType(String type); /// 上报设备(平板) Future reportTablet(); /// 扫码事件 final FEventHandler onScanCode = FEventHandler(); }