# 获取屏幕测试模式
该接口可以获取指定屏幕的测试模式。
# 请求路径
{CLTPlatform-ip}:8086/processor/getTestMode
- 请求地址替换为对应的 ip 地址
- 请求端口号为
8086
# 请求协议
HTTP
# 请求方法
POST
# 请求参数
- 请求体的
Content-Type
请设置为application/json
参数名 | 说明 | 必填 | 类型 | 数据字典 | 限制 | 示例 |
---|---|---|---|---|---|---|
command | 指令类型 | 是 | [string] | processor/getTestMode | ||
data | 数据 | 是 | [object] | |||
data>>index | 发送器序号(从0开始) | 是 | [int] | 0 | ||
data>>groupIndex | 屏幕分组序号(从0开始) | 是 | [int] | 0 |
# 请求示例
{
"command": "processor/getTestMode",
"data": {
"index": 0,
"groupIndex": 0
}
}
# 返回结果
参数名 | 说明 | 必填 | 类型 | 数据字典 | 限制 | 示例 |
---|---|---|---|---|---|---|
command | 指令类型 | 是 | [string] | processor/getTestMode | ||
code | 状态码 | 是 | [int] | 20000 | ||
message | 消息 | 是 | [string] | Common_Success | ||
data | 数据 | 是 | [object] | |||
data>>testMode | 测试模式 | 是 | [string] | Normal:正常;Red:纯红;Green:纯绿;Blue:纯蓝;White:纯白;Horizontal Moving Line:水平移动坚条;Vertical Moving Line:垂直移动横条;Left Slash Move Down:垂直移动左斜条;Right Slash Move Down:垂直移动右斜条;Grid Move Down:下移白方格;Gradient Red:渐变红;Gradient Green:渐变绿;Gradient Blue:渐变蓝;Gradient White:渐变白;Black:黑; | Normal |
# 返回示例
{
"command": "processor/getTestMode",
"code": 20000,
"message": "Common_Success",
"data": {
"testMode": "Normal"
}
}