# Test

### 1. 目的 <a href="#title-0-1.-09-e7-9b-ae-e7-9a-84" id="title-0-1.-09-e7-9b-ae-e7-9a-84"></a>

插座&排插成品的功能项测试

### 2. 适用范围 <a href="#title-1-2.-09-e9-80-82-e7-94-a8-e8-8c-83-e5-9b-b4" id="title-1-2.-09-e9-80-82-e7-94-a8-e8-8c-83-e5-9b-b4"></a>

适用对象：线上免开发插座&排插（非计量）方案

### 3. 测试准备 <a href="#title-2-3.-09-e6-b5-8b-e8-af-95-e5-87-86-e5-a4-87" id="title-2-3.-09-e6-b5-8b-e8-af-95-e5-87-86-e5-a4-87"></a>

**信标产测**

1、可主动发送产测信标的 dongle 2、产测信标拨码开关4拨向ON 3、待测成品若干

![Socket & row production test process](https://airtake-public-data-1254153901.cos.ap-shanghai.myqcloud.com/goat/20200228/a31d1c2224fb4092a2ca69141e8c7843.png)

**网关产测**

1、上位机测试软件：涂鸦生产测试平台

![Socket & row production test process](https://airtake-public-data-1254153901.cos.ap-shanghai.myqcloud.com/goat/20200228/318f8b4b18044071a2b56604643ff9eb.png)

2、zigbee 自研网关：至少准备 1 个 3、待测成品若干

### 4. 测试具体流程 <a href="#title-3-4.-09-e6-b5-8b-e8-af-95-e5-85-b7-e4-bd-93-e6-b5-81-e7-a8-8b" id="title-3-4.-09-e6-b5-8b-e8-af-95-e5-85-b7-e4-bd-93-e6-b5-81-e7-a8-8b"></a>

**信标产测**

1. dongle/Zigbee 网关切换到主动发送模式
2. 将待测成品放置在信号源 1 米范围内，上电
3. 待测成品所有指示灯（IO 口控制的电源指示灯、总电源灯、网络指示灯）点亮
4. 点击通道开关，对应通道的继电器和电源指示灯，总电源灯，网络指示灯翻转 6 次，间隔 500ms
5. 点击总开关，所有通道的继电器和电源指示灯，总电源灯，网络指示灯翻转 6 次，间隔500ms
6. 测试结束

**网关产测**

1. 将待测成品连接到 zigbee 网关
2. 在上位机测试软件输入 SN 码
3. 等待上位机测试软件执行自动化测试
4. 上位机测试软件发送指示灯测试，观察指示灯是否翻转
5. 上位机测试软件发送继电器测试，观察继电器是否翻转
6. 上位机测试软件发送按键测试，手动触发所有按键
7. 测试结束

**插座&排插-测试操作流程（产测流程示意图）**

**1. 信标产测方式**

![Socket & row production test process](https://airtake-public-data-1254153901.cos.ap-shanghai.myqcloud.com/goat/20200228/f051809a9dd9429f83b0ed581e200de8.png)

**2. 网关产测**

![Socket & row production test process](https://airtake-public-data-1254153901.cos.ap-shanghai.myqcloud.com/goat/20200228/0df3f8823d5b43d6bb3c3b6ae759b4bb.png)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ifreeq.com/developer/device-development/access-mode-soc/electrician/test.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
