pls_update_area_rule
pls_update_area_ruleUpdate area rules in the PLS electronic fence system. Modify parameters such as name, entry/exit base points, and fitting method with a required confirmation step.
Instructions
【🔧 管理】更新区域规则实体。
参数:
confirm: 二次确认(必填),必须传 "确认"
根据实体类型传入对应字段
返回: {success: true/false, entity: 实体名称, action: 操作类型}
提示: 确认+只传需改字段
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | 区域规则ID(更新/删除时必填,长整型以字符串传入) | |
| name | No | 规则名称 | |
| inside | No | 进入基准点数 | |
| confirm | Yes | ⚠️ 写操作需二次确认,必须传 "确认" | |
| outside | No | 离开基准点数 | |
| fittingMethod | No | 拟合方式: 0-无, 1-重心, 2-散点, 3-环绕, 4-直线 | |
| fittingMethodParam | No | 拟合参数 |