switchDetector method

void switchDetector(
  1. bool on
)

检测功能开关

Implementation

void switchDetector(bool on) {
  _isDetectorClose = on;
}