fix(iot): 修复RssiSlidingWindowDetector-component注解
This commit is contained in:
@@ -2,6 +2,7 @@ package com.viewsh.module.iot.service.rule.clean.detector;
|
||||
|
||||
import com.viewsh.module.iot.dal.dataobject.integration.clean.BeaconPresenceConfig;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -12,12 +13,13 @@ import java.util.List;
|
||||
* <p>
|
||||
* 核心思想:
|
||||
* 1. 进入(到岗)使用强阈值(如 -70dBm),只有信号足够强才算到达,避免路过误判
|
||||
* 2. 退出(离岗)使用弱阈值(如 -85dBm),只有信号足够弱或彻底消失才算离开,避免边缘抖动
|
||||
* 2. 退出(离岗)使用弱阈值(如 -85dBm),只有信号足够<EFBFBD><EFBFBD>或彻底消失才算离开,避免边缘抖动
|
||||
* 3. 引入状态粘性:一旦判定进入,需要满足更严格的退出条件才能判定离开
|
||||
*
|
||||
* @author AI
|
||||
*/
|
||||
@Slf4j
|
||||
@Component
|
||||
public class RssiSlidingWindowDetector {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user