# 风场集群专区 — sa_wfs

> Doc Ver: 1.0 · 2026-10-11  
> 风场集群，不进 device / server / wind 包

同时看多场时的帮助索引。一台 `sa_wt` 仍是一个风场。

**[← 帮助门户](index.html ':ignore')** · [wfs 专区 Hub](wfs/index.html ':ignore') · [wind 专区](edition-wind.md) · [sa_wt](sa_wt.md)

## 这是什么

| 项 | 内容 |
|----|------|
| 场景 | 公司 GIS 大屏看多场在线、告警和风机落点 |
| 组成 | 单独安装的 **sa_wfs**。各场 `sa_wt` 仍在场站 |
| 关键端口 | `3040` 网页大屏；`3041` 场站连入的消息端口 |
| 账户 | 口令 `temppwd`。示例：超级用户 `admin`、管理员 `operator`、普通用户 `viewer`。普通用户不能改场站名单 |

## 程序快捷入口

| 程序 | 打开 | 帮助 |
|------|------|------|
| sa_wfs GIS 大屏 | `http://<集群地址>:3040/` | [快速使用](sa_wfs-quickstart.md) · [详解](sa_wfs.md) · [专区 Hub](wfs/index.html ':ignore') · 进程内 `:3040/help/` |
| 设置 | `http://<集群地址>:3040/settings.html` | 场站名单、账户、汇报日志 |
| 摘要表 | `http://<集群地址>:3040/table.html` | 同上 |
| 场站三维 | 大屏「进入场站」 | 场站仍是 [sa_wt](sa_wt.md) `:3010/farm.html` |
| 其他系统接入 | 向 `sa/wfs/v1/{id}/report` 发布摘要 | [sa_wfs-api.md](sa_wfs-api.md) |

独立在线帮助：  
http://192.168.3.9/sa2/help/wfs/ · http://sc.casstk.com/sa2/help/wfs/

## center 版是不是和 device 打在同一个包里？

**不是。** device、server、wind 是三种安装包。风场集群（center）不在这三种包里，中心机单独执行 `cspkg install sa_wfs --edition center`。

## sa_wfs 的 Docker 镜像怎么拉取？

```bash
docker pull 192.168.3.8:5050/casstk/sa2/sa-wfs:0.4.8
```

网页端口 `-port 3040`。普通包是 `cspkg install sa_wfs --edition center -y`。

## 安装

中心机单独安装，不装进各风场包：

```bash
cspkg install sa_wfs --edition center -y
```

Docker 用下面这一行拉取，网页端口 `-port 3040`。消息端口在 `conf/app.yaml` 的 `mqtt_port`，默认 `3041`。配置和汇报日志挂在容器外。

```bash
docker pull 192.168.3.8:5050/casstk/sa2/sa-wfs:0.4.8
```

## 和场站怎么接

场站编号两边相同。中心 `conf/farms.yaml` 的 `id` 等于场站 `conf/farm.json` 的 `farmId`。密钥两边相同，不写人机口令。场站 `conf/northbound.yaml` 的 `broker` 写 `tcp://<集群地址>:3041`。改完场站这份后重启该场 `sa_wt`。中心名单保存后约 2 秒生效。

`base_url` 只给浏览器打开该场三维页。测点历史留在场内。

## 建议阅读顺序

1. [sa_wfs 快速使用](sa_wfs-quickstart.md) → [sa_wfs 详解](sa_wfs.md)
2. 场站侧 [sa_wt 快速使用](sa_wt-quickstart.md) 的「向 sa_wfs 汇报」
3. 其他系统接入 [sa_wfs-api.md](sa_wfs-api.md)
4. 单场仍按 [wind 专区](edition-wind.md) 部署

## 日常入口

| 我想… | 去哪 |
|--------|------|
| 看多场大屏 | [sa_wfs](sa_wfs.md) `:3040` |
| 改允许汇报的场站 | `:3040/settings.html` |
| 打开某一场三维 | 大屏「进入场站」，场站 [sa_wt](sa_wt.md) `:3010` |
| 问手册 | [http://112.74.47.129:9999](http://112.74.47.129:9999) · [说明](assistant.md) |
