Files
TJWaterServerBinary/.github/skills/business/network-assets/general/SKILL.md
T
2026-03-27 13:05:22 +08:00

55 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
name: api-operations-business-network-assets-general
description: business/network-assets 场景下 general 操作接口。
version: 1.0.0
---
# 何时使用
当你只需要处理 **general** 相关接口时,使用本技能。
# 输入要求
- 可选:`BASE_URL`(默认 `http://127.0.0.1:8000`
- 可选:`AUTH_TOKEN`(按环境鉴权策略)
- 覆盖方法:`GET`, `POST`
# 操作列表
- `POST /api/v1/deletelink/` - 删除管线
- `POST /api/v1/deletenode/` - 删除节点
- `GET /api/v1/getallscadaproperties/` - 获取所有SCADA点属性
- `GET /api/v1/getelementproperties/` - 获取元素属性
- `GET /api/v1/getelementpropertieswithtype/` - 获取指定类型元素属性
- `GET /api/v1/getelementtype/` - 获取元素类型
- `GET /api/v1/getelementtypevalue/` - 获取元素类型值
- `GET /api/v1/getlinkproperties/` - 获取管线属性
- `GET /api/v1/getlinks/` - 获取所有管线
- `GET /api/v1/getlinktype/` - 获取管线类型
- `GET /api/v1/getnodelinks/` - 获取节点的关联管线
- `GET /api/v1/getnodeproperties/` - 获取节点属性
- `GET /api/v1/getnodes/` - 获取所有节点
- `GET /api/v1/getnodetype/` - 获取节点类型
- `GET /api/v1/getscadaproperties/` - 获取SCADA点属性
- `GET /api/v1/getstatus/` - 获取管线状态
- `GET /api/v1/getstatusschema` - 获取状态属性架构
- `GET /api/v1/gettitle/` - 获取水网标题属性
- `GET /api/v1/gettitleschema/` - 获取标题属性架构
- `GET /api/v1/isjunction/` - 检查是否为接点
- `GET /api/v1/islink/` - 检查管线有效性
- `GET /api/v1/isnode/` - 检查节点有效性
- `GET /api/v1/ispipe/` - 检查是否为管道
- `GET /api/v1/ispump/` - 检查是否为泵
- `GET /api/v1/isreservoir/` - 检查是否为水源
- `GET /api/v1/istank/` - 检查是否为蓄水池
- `GET /api/v1/isvalve/` - 检查是否为阀门
- `POST /api/v1/setstatus/` - 设置管线状态
- `GET /api/v1/settitle/` - 设置水网标题属性
# See Also
- 关联场景: `../`
- 关联总览: `../../../SKILL.md`
- 关联组件配置: `../component-config`
- 关联仿真分析: `../../analytics/simulation-analysis`