回读连接关系为json

555

# 回读连接关系为json

Path:

/api/rcv_layout.json

Method: GET

Content-type: application/json; charset=utf-8

接口描述: 回读连接关系为json

请求BODY参数

名称 类型 示例 描述
portIndex int 0 网口序号

返回数据

名称 类型 示例 描述
errorCode int 错误码
rcvCount int 接收卡数量
rcvRegions List 接收卡参数数组

rcvRegion

名称 类型 示例 描述
portIndex int 0 网口序号,从0开始编号
rcvIndex int 0 接收卡需要,从0开始编号
x int 0 x坐标
y int 0 y坐标
width int 100
height int 100

响应示例

{
	"rcvCount": 2,
	"rcvRegions": [{
		"portIndex": 0,
		"rcvIndex": 0,
		"x": 0,
		"y": 0,
		"width": 220,
		"height": 248
	}, {
		"errorCode": -1,
		"portIndex": 0,
		"rcvIndex": 1,
		"x": 220,
		"y": 0,
		"width": 220,
		"height": 248
	}]
}