增加单个 PIP 协议
请求地址:
请求参数:
返回数据:
返回字段:
|
http://ip:port/Matrix/AddPIPToDevice?hostid={$hostid}&left={$left}&top={$top}&right={$right}&bottom ={$bottom} |
| 请求方式: GET |
请求参数:
| 参数名 | 类型 | 描述 |
| hostid | int | 解码器设备 ID |
| left | int | 左上角坐标的 X |
| top | int | 左上角坐标的 Y |
| right | int | 右上角坐标的 X |
| bottom | int | 右上角坐标的 Y |
返回数据:
|
{ "result" :{$result}, "winid": {$winid} } |
返回字段:
| 字段名 | 类型 | 描述 |
| result | int | 执行结果: 0 成功, -1 为失败 |
| winid | int | 前端返回的窗口 ID |