> ⚠️ **已废弃 (DEPRECATED)**：`daq.json` 已合并进 `conf/sa_daq.conf` 的 `[daq]` 节。请改看 [sa_daq](sa_daq.md)（配置章节）。下文 JSON 仅作历史参考。

# daq.json（历史样例）

> Doc Ver: 1.0（历史）

```json
[
    {
        "Protocol": "UDP",
        "Enable": true,
        "Parameter": {
            "Equipment": [
                {
                    "RECV": [
                        {
                            "Port": 8190,
                            "IP": "0.0.0.0"
                        }
                    ],
                    "CTRL": {
                        "Port": 8193
                    }
                },
                {
                    "RECV": [
                        {
                            "Port": 8191,
                            "IP": "192.168.1.100"
                        }
                    ],
                    "CTRL": {
                        "Port": 8194
                    }
                }
            ]
        }
    },
    {
        "Protocol": "UART",
        "Enable": true,
        "Parameter": {
            "Equipment": [
                {
                    "UART": {
                        "Device": "/dev/ttyAMA4",
                        "BaudRate": 115200,
                        "DataBits": 8,
                        "StopBits": 1,
                        "Parity": "none",
                        "FlowControl": "none"
                    },
                    "CTRL": {}
                },
                {
                    "UART": {
                        "Device": "/dev/ttyUSB0",
                        "BaudRate": 9600,
                        "DataBits": 8,
                        "StopBits": 1,
                        "Parity": "none",
                        "FlowControl": "none"
                    },
                    "CTRL": {}
                }
            ]
        }
    }
]
```
