measure_controller.dart 812 B

12345678910111213141516171819202122232425262728293031323334353637
  1. import 'package:fis_common/event/event_type.dart';
  2. import 'package:fis_vid/data_host/data_host.dart';
  3. import '../config/style_config.dart';
  4. import '../player/play_controller.dart';
  5. import 'application.dart';
  6. import 'exam_info.dart';
  7. /// 测量模块控制器
  8. abstract class IMeasureController {
  9. /// 检查信息
  10. ExamInfo get examInfo;
  11. /// 当前vid链接地址
  12. String get currentVidUrl;
  13. /// 播放控制器
  14. IPlayerController get playerController;
  15. /// 当前工作应用
  16. IApplication get workingApplication;
  17. /// 测量工具样式配置
  18. IStyeConfiguration get styleConfiguration;
  19. /// 图像加载完成事件
  20. late FEventHandler<ExamImageInfo?> imageLoaded;
  21. /// 是否可测量
  22. bool get canDoMeasure;
  23. /// 加载
  24. Future<void> load();
  25. /// 释放资源
  26. void dispose();
  27. }