巡视系统接口文档
第一步:获取图形验证码
接口地址:/platform/api/v1/user/captcha/code
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
暂无
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | 返回图片二进制内容 |
响应状态码-200:
直接返回图形验证码图片的二进制内容,不是 CommonResult JSON 结构。
第二步:登录,获取 AccessToken
使用用户名、密码、上一步获取的验证码进行登录,获取到AccessToken后,在后续的所有调用在要在 header 中带上这个 AccessToken
接口地址:/auth/api/v1/login
请求方式:POST
请求数据类型:application/x-www-form-urlencoded,application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"username": "",
"password": "",
"captchaCode": "",
"otpCode": "",
"facePath": "",
"flag": 0
}请求参数:
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| login | Login | body | true | Login | Login |
| username | 用户名 | false | string | ||
| password | 密码 | false | string | ||
| captchaCode | 图形验证码 | false | string | ||
| otpCode | 两步验证码 | false | string | ||
| facePath | 人脸文件路径 | false | string | ||
| flag | 前端登录标识:1-Web 2-Pilot | false | integer(int32) |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultTokenResponse |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | TokenResponse | TokenResponse | |
| accessToken | access_token | string | |
| tokenType | 令牌类型 | string | |
| refreshToken | refresh_token | string | |
| expiresIn | 令牌过期时间-秒 | integer(int32) | |
| scope | 范围 | array | string |
| iat | 签发时间-毫秒 | number(double) | |
| license | string | ||
| userId | 用户id | integer(int64) | |
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": {
"accessToken": "",
"tokenType": "",
"refreshToken": "",
"expiresIn": 0,
"scope": [],
"iat": 0,
"license": "",
"userId": 0
},
"timestamp": ""
}巡视任务
任务新增
接口地址:/task/api/v1/tasks/add
请求方式:POST
请求数据类型:application/x-www-form-urlencoded,application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"id": 0,
"taskCode": "",
"type": 0,
"types": [],
"inspectionType": 0,
"name": "",
"priority": 0,
"singleton": 0,
"releaseStatus": 0,
"firstPlanTime": "",
"linkageType": 0,
"pointNum": 0,
"verifiedType": 0,
"executors": [],
"schedules": [
{
"id": 0,
"taskId": 0,
"executeType": 0,
"invalidStart": "",
"invalidDue": "",
"fixedStartTime": "",
"startTime": "",
"endTime": "",
"cycleMonth": [],
"cycleWeek": [],
"cycleDay": [],
"intervalType": 0,
"intervalNumber": 0,
"executeTime": "",
"cron": "",
"jobId": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"recurrentExecution": 0
}
],
"version": 0,
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"testRun": 0,
"deviceId": 0,
"mspId": 0,
"workCardId": 0,
"workCardName": "",
"ids": [],
"filter": "",
"extraInfo": "",
"executedCount": 0,
"treeIds": [],
"beuTypes": [],
"taskDevs": [
{
"id": 0,
"type": 0,
"areaName": "",
"bayName": "",
"mainDeviceName": "",
"partName": "",
"pointAndPhaseName": "",
"devTypes": [],
"step": 0,
"bisId": 0,
"devLevel": 0,
"devId": 0,
"devPointId": ""
}
]
}请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| taskDto | 任务模板 | body | true | TaskDto | TaskDto |
| id | 主键 | true | integer(int64) | ||
| taskCode | 任务编码 | false | string | ||
| type | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | true | integer(int32) | ||
| types | 任务多种类型查询 | false | array | integer(int32) | |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | false | integer(int32) | ||
| name | 任务名称 | true | string | ||
| priority | 优先级1、2、3、4,数字越大优先级越高 | false | integer(int32) | ||
| singleton | 0 单例 1 多例 | false | integer(int32) | ||
| releaseStatus | 0 已发布,1 未发布 | false | integer(int32) | ||
| firstPlanTime | 首次执行时间 | false | string(date-time) | ||
| linkageType | 联动类型 1:联动/2:顺控 | false | integer(int32) | ||
| pointNum | 点位数量 | false | integer(int32) | ||
| verifiedType | 审核方式:0人工审核,1自动审核 | false | integer(int32) | ||
| executors | 执行人 | false | array | string | |
| schedules | 计划任务 | false | array | TaskScheduleDto | |
| id | 主键ID' | true | integer | ||
| taskId | task_id | false | integer | ||
| executeType | 执行类型,1定期执行,2周期执行(月周天),3间隔执行 4立即执行 5(静默专用)一次性执行 | false | integer | ||
| invalidStart | 不可用开始时间 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| invalidDue | 不可用结束时间 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| fixedStartTime | 定期时间点集合 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| startTime | 开始时间,包含,格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| endTime | 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| cycleMonth | 周期月份集合 | false | array | integer | |
| cycleWeek | 周期周集合 | false | array | integer | |
| cycleDay | 周期天集合 | false | array | integer | |
| intervalType | 间隔类型,0表示分钟,1表示小时,2表示天,3表示周,4表示月 | false | integer | ||
| intervalNumber | 间隔数量 | false | integer | ||
| executeTime | 执行时间,单位秒,HH:mm:ss | false | string | ||
| cron | cron表达式 | false | string | ||
| jobId | xxl-job定时任务id | false | string | ||
| isDeleted | 逻辑删除 | false | integer | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 更新时间 | false | string | ||
| recurrentExecution | 是否循环执行1:循环执行 0:非循环执行 | false | integer | ||
| version | 乐观锁 | false | integer(int32) | ||
| isDeleted | 逻辑删除 | false | integer(int32) | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string(date-time) | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 更新时间 | false | string(date-time) | ||
| testRun | 0 试运行,1 运行 | false | integer(int32) | ||
| deviceId | deviceId | false | integer(int64) | ||
| mspId | 场景id | false | integer(int64) | ||
| workCardId | 作业卡id | false | integer(int64) | ||
| workCardName | 作业卡名称 | false | string | ||
| ids | 任务id集合 | false | array | integer(int64) | |
| filter | 过滤是否为AR任务 | false | string | ||
| extraInfo | 额外信息 | false | string | ||
| executedCount | 执行记录数量 | false | integer(int64) | ||
| treeIds | 前端存储的树节点ids | false | array | integer(int64) | |
| beuTypes | 任务包含的所有任务点类型 | false | array | integer(int32) | |
| taskDevs | 业务设备 | false | array | BisDevDto | |
| id | 主键 | false | integer | ||
| type | type 1任务点 2检修区域点 | false | integer | ||
| areaName | 区域名称 | false | string | ||
| bayName | 间隔名称 | false | string | ||
| mainDeviceName | 设备名称 | false | string | ||
| partName | 部件名称 | false | string | ||
| pointAndPhaseName | 五级点位和相别名称 | false | string | ||
| devTypes | 采集设备 | false | array | integer | |
| step | 执行步骤 | false | integer | ||
| bisId | bis_id | false | integer | ||
| devLevel | 巡视点位层级,支持关联不同层级的巡视点位,1场地、2间隔、3设备、4部件、5点位 | true | integer | ||
| devId | 巡视设备、点位ID,相应层级的电力设备或者电力点位ID | true | integer | ||
| devPointId | 机器人或无人机点位 | false | string |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultTaskDto |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | TaskDto | TaskDto | |
| id | 主键 | integer(int64) | |
| taskCode | 任务编码 | string | |
| type | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | integer(int32) | |
| types | 任务多种类型查询 | array | integer(int32) |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | integer(int32) | |
| name | 任务名称 | string | |
| priority | 优先级1、2、3、4,数字越大优先级越高 | integer(int32) | |
| singleton | 0 单例 1 多例 | integer(int32) | |
| releaseStatus | 0 已发布,1 未发布 | integer(int32) | |
| firstPlanTime | 首次执行时间 | string(date-time) | |
| linkageType | 联动类型 1:联动/2:顺控 | integer(int32) | |
| pointNum | 点位数量 | integer(int32) | |
| verifiedType | 审核方式:0人工审核,1自动审核 | integer(int32) | |
| executors | 执行人 | array | string |
| schedules | 计划任务 | array | TaskScheduleDto |
| id | 主键ID' | integer | |
| taskId | task_id | integer | |
| executeType | 执行类型,1定期执行,2周期执行(月周天),3间隔执行 4立即执行 5(静默专用)一次性执行 | integer | |
| invalidStart | 不可用开始时间 格式 yyyy-MM-dd HH:mm:ss | string | |
| invalidDue | 不可用结束时间 格式 yyyy-MM-dd HH:mm:ss | string | |
| fixedStartTime | 定期时间点集合 格式 yyyy-MM-dd HH:mm:ss | string | |
| startTime | 开始时间,包含,格式 yyyy-MM-dd HH:mm:ss | string | |
| endTime | 格式 yyyy-MM-dd HH:mm:ss | string | |
| cycleMonth | 周期月份集合 | array | integer |
| cycleWeek | 周期周集合 | array | integer |
| cycleDay | 周期天集合 | array | integer |
| intervalType | 间隔类型,0表示分钟,1表示小时,2表示天,3表示周,4表示月 | integer | |
| intervalNumber | 间隔数量 | integer | |
| executeTime | 执行时间,单位秒,HH:mm:ss | string | |
| cron | cron表达式 | string | |
| jobId | xxl-job定时任务id | string | |
| isDeleted | 逻辑删除 | integer | |
| createdBy | 创建人 | string | |
| createdTime | 创建时间 | string | |
| updatedBy | 更新人 | string | |
| updatedTime | 更新时间 | string | |
| recurrentExecution | 是否循环执行1:循环执行 0:非循环执行 | integer | |
| version | 乐观锁 | integer(int32) | |
| isDeleted | 逻辑删除 | integer(int32) | |
| createdBy | 创建人 | string | |
| createdTime | 创建时间 | string(date-time) | |
| updatedBy | 更新人 | string | |
| updatedTime | 更新时间 | string(date-time) | |
| testRun | 0 试运行,1 运行 | integer(int32) | |
| deviceId | deviceId | integer(int64) | |
| mspId | 场景id | integer(int64) | |
| workCardId | 作业卡id | integer(int64) | |
| workCardName | 作业卡名称 | string | |
| ids | 任务id集合 | array | integer(int64) |
| filter | 过滤是否为AR任务 | string | |
| extraInfo | 额外信息 | string | |
| executedCount | 执行记录数量 | integer(int64) | |
| treeIds | 前端存储的树节点ids | array | integer(int64) |
| beuTypes | 任务包含的所有任务点类型 | array | integer(int32) |
| taskDevs | 业务设备 | array | BisDevDto |
| id | 主键 | integer | |
| type | type 1任务点 2检修区域点 | integer | |
| areaName | 区域名称 | string | |
| bayName | 间隔名称 | string | |
| mainDeviceName | 设备名称 | string | |
| partName | 部件名称 | string | |
| pointAndPhaseName | 五级点位和相别名称 | string | |
| devTypes | 采集设备 | array | integer |
| step | 执行步骤 | integer | |
| bisId | bis_id | integer | |
| devLevel | 巡视点位层级,支持关联不同层级的巡视点位,1场地、2间隔、3设备、4部件、5点位 | integer | |
| devId | 巡视设备、点位ID,相应层级的电力设备或者电力点位ID | integer | |
| devPointId | 机器人或无人机点位 | string | |
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": {
"id": 0,
"taskCode": "",
"type": 0,
"types": [],
"inspectionType": 0,
"name": "",
"priority": 0,
"singleton": 0,
"releaseStatus": 0,
"firstPlanTime": "",
"linkageType": 0,
"pointNum": 0,
"verifiedType": 0,
"executors": [],
"schedules": [
{
"id": 0,
"taskId": 0,
"executeType": 0,
"invalidStart": "",
"invalidDue": "",
"fixedStartTime": "",
"startTime": "",
"endTime": "",
"cycleMonth": [],
"cycleWeek": [],
"cycleDay": [],
"intervalType": 0,
"intervalNumber": 0,
"executeTime": "",
"cron": "",
"jobId": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"recurrentExecution": 0
}
],
"version": 0,
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"testRun": 0,
"deviceId": 0,
"mspId": 0,
"workCardId": 0,
"workCardName": "",
"ids": [],
"filter": "",
"extraInfo": "",
"executedCount": 0,
"treeIds": [],
"beuTypes": [],
"taskDevs": [
{
"id": 0,
"type": 0,
"areaName": "",
"bayName": "",
"mainDeviceName": "",
"partName": "",
"pointAndPhaseName": "",
"devTypes": [],
"step": 0,
"bisId": 0,
"devLevel": 0,
"devId": 0,
"devPointId": ""
}
]
},
"timestamp": ""
}任务更新状态
主要是通过如下参数组合,启用任务
接口地址:/platform/api/v1/task/tasks/update-status
请求方式:POST
请求数据类型:application/x-www-form-urlencoded,application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"id": 0,
"taskCode": "",
"type": 0,
"types": [],
"inspectionType": 0,
"name": "",
"priority": 0,
"singleton": 0,
"releaseStatus": 0,
"firstPlanTime": "",
"linkageType": 0,
"pointNum": 0,
"verifiedType": 0,
"executors": [],
"schedules": [
{
"id": 0,
"taskId": 0,
"executeType": 0,
"invalidStart": "",
"invalidDue": "",
"fixedStartTime": "",
"startTime": "",
"endTime": "",
"cycleMonth": [],
"cycleWeek": [],
"cycleDay": [],
"intervalType": 0,
"intervalNumber": 0,
"executeTime": "",
"cron": "",
"jobId": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"recurrentExecution": 0
}
],
"version": 0,
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"testRun": 0,
"deviceId": 0,
"mspId": 0,
"workCardId": 0,
"workCardName": "",
"ids": [],
"filter": "",
"extraInfo": "",
"executedCount": 0,
"treeIds": [],
"beuTypes": [],
"taskDevs": [
{
"id": 0,
"type": 0,
"areaName": "",
"bayName": "",
"mainDeviceName": "",
"partName": "",
"pointAndPhaseName": "",
"devTypes": [],
"step": 0,
"bisId": 0,
"devLevel": 0,
"devId": 0,
"devPointId": ""
}
]
}请求参数:
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| taskDto | 任务模板 | body | true | TaskDto | TaskDto |
| id | 主键 | true | integer(int64) | ||
| taskCode | 任务编码 | false | string | ||
| type | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | true | integer(int32) | ||
| types | 任务多种类型查询 | false | array | integer(int32) | |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | false | integer(int32) | ||
| name | 任务名称 | true | string | ||
| priority | 优先级1、2、3、4,数字越大优先级越高 | false | integer(int32) | ||
| singleton | 0 单例 1 多例 | false | integer(int32) | ||
| releaseStatus | 0 已发布,1 未发布 | false | integer(int32) | ||
| firstPlanTime | 首次执行时间 | false | string(date-time) | ||
| linkageType | 联动类型 1:联动/2:顺控 | false | integer(int32) | ||
| pointNum | 点位数量 | false | integer(int32) | ||
| verifiedType | 审核方式:0人工审核,1自动审核 | false | integer(int32) | ||
| executors | 执行人 | false | array | string | |
| schedules | 计划任务 | false | array | TaskScheduleDto | |
| id | 主键ID' | true | integer | ||
| taskId | task_id | false | integer | ||
| executeType | 执行类型,1定期执行,2周期执行(月周天),3间隔执行 4立即执行 5(静默专用)一次性执行 | false | integer | ||
| invalidStart | 不可用开始时间 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| invalidDue | 不可用结束时间 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| fixedStartTime | 定期时间点集合 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| startTime | 开始时间,包含,格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| endTime | 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| cycleMonth | 周期月份集合 | false | array | integer | |
| cycleWeek | 周期周集合 | false | array | integer | |
| cycleDay | 周期天集合 | false | array | integer | |
| intervalType | 间隔类型,0表示分钟,1表示小时,2表示天,3表示周,4表示月 | false | integer | ||
| intervalNumber | 间隔数量 | false | integer | ||
| executeTime | 执行时间,单位秒,HH:mm:ss | false | string | ||
| cron | cron表达式 | false | string | ||
| jobId | xxl-job定时任务id | false | string | ||
| isDeleted | 逻辑删除 | false | integer | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 更新时间 | false | string | ||
| recurrentExecution | 是否循环执行1:循环执行 0:非循环执行 | false | integer | ||
| version | 乐观锁 | false | integer(int32) | ||
| isDeleted | 逻辑删除 | false | integer(int32) | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string(date-time) | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 更新时间 | false | string(date-time) | ||
| testRun | 0 试运行,1 运行 | false | integer(int32) | ||
| deviceId | deviceId | false | integer(int64) | ||
| mspId | 场景id | false | integer(int64) | ||
| workCardId | 作业卡id | false | integer(int64) | ||
| workCardName | 作业卡名称 | false | string | ||
| ids | 任务id集合 | false | array | integer(int64) | |
| filter | 过滤是否为AR任务 | false | string | ||
| extraInfo | 额外信息 | false | string | ||
| executedCount | 执行记录数量 | false | integer(int64) | ||
| treeIds | 前端存储的树节点ids | false | array | integer(int64) | |
| beuTypes | 任务包含的所有任务点类型 | false | array | integer(int32) | |
| taskDevs | 业务设备 | false | array | BisDevDto | |
| id | 主键 | false | integer | ||
| type | type 1任务点 2检修区域点 | false | integer | ||
| areaName | 区域名称 | false | string | ||
| bayName | 间隔名称 | false | string | ||
| mainDeviceName | 设备名称 | false | string | ||
| partName | 部件名称 | false | string | ||
| pointAndPhaseName | 五级点位和相别名称 | false | string | ||
| devTypes | 采集设备 | false | array | integer | |
| step | 执行步骤 | false | integer | ||
| bisId | bis_id | false | integer | ||
| devLevel | 巡视点位层级,支持关联不同层级的巡视点位,1场地、2间隔、3设备、4部件、5点位 | true | integer | ||
| devId | 巡视设备、点位ID,相应层级的电力设备或者电力点位ID | true | integer | ||
| devPointId | 机器人或无人机点位 | false | string |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultTaskDto |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | TaskDto | TaskDto | |
| id | 主键 | integer(int64) | |
| taskCode | 任务编码 | string | |
| type | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | integer(int32) | |
| types | 任务多种类型查询 | array | integer(int32) |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | integer(int32) | |
| name | 任务名称 | string | |
| priority | 优先级1、2、3、4,数字越大优先级越高 | integer(int32) | |
| singleton | 0 单例 1 多例 | integer(int32) | |
| releaseStatus | 0 已发布,1 未发布 | integer(int32) | |
| firstPlanTime | 首次执行时间 | string(date-time) | |
| linkageType | 联动类型 1:联动/2:顺控 | integer(int32) | |
| pointNum | 点位数量 | integer(int32) | |
| verifiedType | 审核方式:0人工审核,1自动审核 | integer(int32) | |
| executors | 执行人 | array | string |
| schedules | 计划任务 | array | TaskScheduleDto |
| id | 主键ID' | integer | |
| taskId | task_id | integer | |
| executeType | 执行类型,1定期执行,2周期执行(月周天),3间隔执行 4立即执行 5(静默专用)一次性执行 | integer | |
| invalidStart | 不可用开始时间 格式 yyyy-MM-dd HH:mm:ss | string | |
| invalidDue | 不可用结束时间 格式 yyyy-MM-dd HH:mm:ss | string | |
| fixedStartTime | 定期时间点集合 格式 yyyy-MM-dd HH:mm:ss | string | |
| startTime | 开始时间,包含,格式 yyyy-MM-dd HH:mm:ss | string | |
| endTime | 格式 yyyy-MM-dd HH:mm:ss | string | |
| cycleMonth | 周期月份集合 | array | integer |
| cycleWeek | 周期周集合 | array | integer |
| cycleDay | 周期天集合 | array | integer |
| intervalType | 间隔类型,0表示分钟,1表示小时,2表示天,3表示周,4表示月 | integer | |
| intervalNumber | 间隔数量 | integer | |
| executeTime | 执行时间,单位秒,HH:mm:ss | string | |
| cron | cron表达式 | string | |
| jobId | xxl-job定时任务id | string | |
| isDeleted | 逻辑删除 | integer | |
| createdBy | 创建人 | string | |
| createdTime | 创建时间 | string | |
| updatedBy | 更新人 | string | |
| updatedTime | 更新时间 | string | |
| recurrentExecution | 是否循环执行1:循环执行 0:非循环执行 | integer | |
| version | 乐观锁 | integer(int32) | |
| isDeleted | 逻辑删除 | integer(int32) | |
| createdBy | 创建人 | string | |
| createdTime | 创建时间 | string(date-time) | |
| updatedBy | 更新人 | string | |
| updatedTime | 更新时间 | string(date-time) | |
| testRun | 0 试运行,1 运行 | integer(int32) | |
| deviceId | deviceId | integer(int64) | |
| mspId | 场景id | integer(int64) | |
| workCardId | 作业卡id | integer(int64) | |
| workCardName | 作业卡名称 | string | |
| ids | 任务id集合 | array | integer(int64) |
| filter | 过滤是否为AR任务 | string | |
| extraInfo | 额外信息 | string | |
| executedCount | 执行记录数量 | integer(int64) | |
| treeIds | 前端存储的树节点ids | array | integer(int64) |
| beuTypes | 任务包含的所有任务点类型 | array | integer(int32) |
| taskDevs | 业务设备 | array | BisDevDto |
| id | 主键 | integer | |
| type | type 1任务点 2检修区域点 | integer | |
| areaName | 区域名称 | string | |
| bayName | 间隔名称 | string | |
| mainDeviceName | 设备名称 | string | |
| partName | 部件名称 | string | |
| pointAndPhaseName | 五级点位和相别名称 | string | |
| devTypes | 采集设备 | array | integer |
| step | 执行步骤 | integer | |
| bisId | bis_id | integer | |
| devLevel | 巡视点位层级,支持关联不同层级的巡视点位,1场地、2间隔、3设备、4部件、5点位 | integer | |
| devId | 巡视设备、点位ID,相应层级的电力设备或者电力点位ID | integer | |
| devPointId | 机器人或无人机点位 | string | |
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": {
"id": 0,
"taskCode": "",
"type": 0,
"types": [],
"inspectionType": 0,
"name": "",
"priority": 0,
"singleton": 0,
"releaseStatus": 0,
"firstPlanTime": "",
"linkageType": 0,
"pointNum": 0,
"verifiedType": 0,
"executors": [],
"schedules": [
{
"id": 0,
"taskId": 0,
"executeType": 0,
"invalidStart": "",
"invalidDue": "",
"fixedStartTime": "",
"startTime": "",
"endTime": "",
"cycleMonth": [],
"cycleWeek": [],
"cycleDay": [],
"intervalType": 0,
"intervalNumber": 0,
"executeTime": "",
"cron": "",
"jobId": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"recurrentExecution": 0
}
],
"version": 0,
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"testRun": 0,
"deviceId": 0,
"mspId": 0,
"workCardId": 0,
"workCardName": "",
"ids": [],
"filter": "",
"extraInfo": "",
"executedCount": 0,
"treeIds": [],
"beuTypes": [],
"taskDevs": [
{
"id": 0,
"type": 0,
"areaName": "",
"bayName": "",
"mainDeviceName": "",
"partName": "",
"pointAndPhaseName": "",
"devTypes": [],
"step": 0,
"bisId": 0,
"devLevel": 0,
"devId": 0,
"devPointId": ""
}
]
},
"timestamp": ""
}任务控制
接口地址:/platform/api/v1/task/ctls
请求方式:POST
请求数据类型:application/x-www-form-urlencoded,application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"taskId": 0,
"taskCode": "",
"execId": "",
"operate": 0,
"planStartTime": "",
"executeType": 0,
"taskDto": {
"id": 0,
"taskCode": "",
"type": 0,
"types": [],
"inspectionType": 0,
"name": "",
"priority": 0,
"singleton": 0,
"releaseStatus": 0,
"firstPlanTime": "",
"linkageType": 0,
"pointNum": 0,
"verifiedType": 0,
"executors": [],
"schedules": [
{
"id": 0,
"taskId": 0,
"executeType": 0,
"invalidStart": "",
"invalidDue": "",
"fixedStartTime": "",
"startTime": "",
"endTime": "",
"cycleMonth": [],
"cycleWeek": [],
"cycleDay": [],
"intervalType": 0,
"intervalNumber": 0,
"executeTime": "",
"cron": "",
"jobId": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"recurrentExecution": 0
}
],
"version": 0,
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"testRun": 0,
"deviceId": 0,
"mspId": 0,
"workCardId": 0,
"workCardName": "",
"ids": [],
"filter": "",
"extraInfo": "",
"executedCount": 0,
"treeIds": [],
"beuTypes": [],
"taskDevs": [
{
"id": 0,
"type": 0,
"areaName": "",
"bayName": "",
"mainDeviceName": "",
"partName": "",
"pointAndPhaseName": "",
"devTypes": [],
"step": 0,
"bisId": 0,
"devLevel": 0,
"devId": 0,
"devPointId": ""
}
]
},
"instanceDto": {
"id": 0,
"taskId": 0,
"taskCode": "",
"taskName": "",
"taskType": 0,
"pointNum": 0,
"singleton": 0,
"inspectionType": 0,
"executeType": 0,
"taskPatrolledId": "",
"execId": "",
"priority": 0,
"runtimeStatus": 0,
"planStartTime": "",
"startTime": "",
"endTime": "",
"verified": 0,
"verifiedPerson": "",
"verifiedTime": "",
"progress": "",
"abnormalPtCnt": 0,
"normalPtCnt": 0,
"linkageType": 0,
"taskBeuStatus": 0,
"video": "",
"version": 0,
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"patrolConclusion": "",
"reportUrl": "",
"testRun": 0,
"mspId": 0,
"patrolPersonIds": "",
"patrolPersonNames": "",
"workCardId": 0,
"workCardName": "",
"executors": [],
"conclusion": 0,
"extraInfo": ""
},
"testRun": 0,
"singleton": 0,
"extraInfo": "",
"video": "",
"highest": true,
"basicExecuteUnitEnumList": []
}请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| taskCtlRequestDto | 任务控制请求 | body | true | TaskCtlRequestDto | TaskCtlRequestDto |
| taskId | 任务id | false | integer(int64) | ||
| taskCode | 任务code | false | string | ||
| execId | 执行id | false | string | ||
| operate | 1开始执行,2暂停,3继续执行,4停止 | false | integer(int32) | ||
| planStartTime | 任务计划执行时间 | false | string(date-time) | ||
| executeType | 执行类型,1定期执行,2周期执行(月周天),3间隔执行 4.立即执行 | false | integer(int32) | ||
| taskDto | 任务模板 | false | TaskDto | TaskDto | |
| id | 主键 | true | integer | ||
| taskCode | 任务编码 | false | string | ||
| type | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | true | integer | ||
| types | 任务多种类型查询 | false | array | integer | |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | false | integer | ||
| name | 任务名称 | true | string | ||
| priority | 优先级1、2、3、4,数字越大优先级越高 | false | integer | ||
| singleton | 0 单例 1 多例 | false | integer | ||
| releaseStatus | 0 已发布,1 未发布 | false | integer | ||
| firstPlanTime | 首次执行时间 | false | string | ||
| linkageType | 联动类型 1:联动/2:顺控 | false | integer | ||
| pointNum | 点位数量 | false | integer | ||
| verifiedType | 审核方式:0人工审核,1自动审核 | false | integer | ||
| executors | 执行人 | false | array | string | |
| schedules | 计划任务 | false | array | TaskScheduleDto | |
| id | 主键ID' | true | integer | ||
| taskId | task_id | false | integer | ||
| executeType | 执行类型,1定期执行,2周期执行(月周天),3间隔执行 4立即执行 5(静默专用)一次性执行 | false | integer | ||
| invalidStart | 不可用开始时间 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| invalidDue | 不可用结束时间 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| fixedStartTime | 定期时间点集合 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| startTime | 开始时间,包含,格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| endTime | 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| cycleMonth | 周期月份集合 | false | array | integer | |
| cycleWeek | 周期周集合 | false | array | integer | |
| cycleDay | 周期天集合 | false | array | integer | |
| intervalType | 间隔类型,0表示分钟,1表示小时,2表示天,3表示周,4表示月 | false | integer | ||
| intervalNumber | 间隔数量 | false | integer | ||
| executeTime | 执行时间,单位秒,HH:mm:ss | false | string | ||
| cron | cron表达式 | false | string | ||
| jobId | xxl-job定时任务id | false | string | ||
| isDeleted | 逻辑删除 | false | integer | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 更新时间 | false | string | ||
| recurrentExecution | 是否循环执行1:循环执行 0:非循环执行 | false | integer | ||
| version | 乐观锁 | false | integer | ||
| isDeleted | 逻辑删除 | false | integer | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 更新时间 | false | string | ||
| testRun | 0 试运行,1 运行 | false | integer | ||
| deviceId | deviceId | false | integer | ||
| mspId | 场景id | false | integer | ||
| workCardId | 作业卡id | false | integer | ||
| workCardName | 作业卡名称 | false | string | ||
| ids | 任务id集合 | false | array | integer | |
| filter | 过滤是否为AR任务 | false | string | ||
| extraInfo | 额外信息 | false | string | ||
| executedCount | 执行记录数量 | false | integer | ||
| treeIds | 前端存储的树节点ids | false | array | integer | |
| beuTypes | 任务包含的所有任务点类型 | false | array | integer | |
| taskDevs | 业务设备 | false | array | BisDevDto | |
| id | 主键 | false | integer | ||
| type | type 1任务点 2检修区域点 | false | integer | ||
| areaName | 区域名称 | false | string | ||
| bayName | 间隔名称 | false | string | ||
| mainDeviceName | 设备名称 | false | string | ||
| partName | 部件名称 | false | string | ||
| pointAndPhaseName | 五级点位和相别名称 | false | string | ||
| devTypes | 采集设备 | false | array | integer | |
| step | 执行步骤 | false | integer | ||
| bisId | bis_id | false | integer | ||
| devLevel | 巡视点位层级,支持关联不同层级的巡视点位,1场地、2间隔、3设备、4部件、5点位 | true | integer | ||
| devId | 巡视设备、点位ID,相应层级的电力设备或者电力点位ID | true | integer | ||
| devPointId | 机器人或无人机点位 | false | string | ||
| instanceDto | 实例 | false | InstanceDto | InstanceDto | |
| id | 主键 | false | integer | ||
| taskId | task_id | false | integer | ||
| taskCode | task_code | false | string | ||
| taskName | 任务名称 | false | string | ||
| taskType | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | false | integer | ||
| pointNum | 点位数量 | false | integer | ||
| singleton | 0 单例 1 多例 | false | integer | ||
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | false | integer | ||
| executeType | 执行类型,1定期执行,2周期执行(月周天),3间隔执行 4.立即执行 | false | integer | ||
| taskPatrolledId | task_patrolled_id | false | string | ||
| execId | 执行id | false | string | ||
| priority | 巡视优先级 | false | integer | ||
| runtimeStatus | 执行状态,1已经完成、2正在执行、3等待执行、4 任务停止、5 可能是执行或者暂停、6 任务暂停 、7 任务处理中 、8 有更高优先级任务 9 异常 | false | integer | ||
| planStartTime | 任务计划执行时间 | false | string | ||
| startTime | 任务执行开始时间 | false | string | ||
| endTime | 任务执行结束时间 | false | string | ||
| verified | 审核状态 | false | integer | ||
| verifiedPerson | 审核人 | false | string | ||
| verifiedTime | 审核时间 | false | string | ||
| progress | 任务执行进度 | false | string | ||
| abnormalPtCnt | AI审核未通过的结果数 | false | integer | ||
| normalPtCnt | AI审核通过的结果数 | false | integer | ||
| linkageType | 联动类型 1智能联动 2反向联动 | false | integer | ||
| taskBeuStatus | 0 正常 1 异常 | false | integer | ||
| video | 视频地址 | false | string | ||
| version | 版本号 | false | integer | ||
| isDeleted | 逻辑删除:逻辑已删除值(默认为 1)、逻辑未删除值(默认为 0) | false | integer | ||
| createdBy | 创建者 | false | string | ||
| createdTime | 创建时间 | false | string | ||
| updatedBy | 更新者 | false | string | ||
| updatedTime | 更新时间 | false | string | ||
| patrolConclusion | 巡视结论 | false | string | ||
| reportUrl | 报告下载地址 | false | string | ||
| testRun | 0 试运行,1 运行 | false | integer | ||
| mspId | 场景id | false | integer | ||
| patrolPersonIds | 巡视人员id | false | string | ||
| patrolPersonNames | 巡视人员 | false | string | ||
| workCardId | 作业卡id | false | integer | ||
| workCardName | 作业卡名称 | false | string | ||
| executors | 执行人 | false | array | string | |
| conclusion | 0表示待执行,1表示正常,2表示异常,3表示执行故障,5表示未知 | false | integer | ||
| extraInfo | 额外信息 | false | string | ||
| testRun | 0 试运行,1 运行 | false | integer(int32) | ||
| singleton | 0 单例 1 多例 | false | integer(int32) | ||
| extraInfo | 额外信息 | false | string | ||
| video | 视频地址 | false | string | ||
| highest | 是否是最高优的控制 | false | boolean | ||
| basicExecuteUnitEnumList | 需要执行的硬件 | false | array | string |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultTaskCtlResultDto |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | TaskCtlResultDto | TaskCtlResultDto | |
| taskId | 任务id | integer(int64) | |
| taskName | 任务名称 | string | |
| taskCode | 任务编码 | string | |
| status | 控制结果状态,1成功;2失败 | integer(int32) | |
| taskInsId | 任务实例id | integer(int64) | |
| execId | 执行ID | string | |
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": {
"taskId": 0,
"taskName": "",
"taskCode": "",
"status": 0,
"taskInsId": 0,
"execId": ""
},
"timestamp": ""
}任务更新
接口地址:/platform/api/v1/task/tasks/update
请求方式:POST
请求数据类型:application/x-www-form-urlencoded,application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"id": 0,
"taskCode": "",
"type": 0,
"types": [],
"inspectionType": 0,
"name": "",
"priority": 0,
"singleton": 0,
"releaseStatus": 0,
"firstPlanTime": "",
"linkageType": 0,
"pointNum": 0,
"verifiedType": 0,
"executors": [],
"schedules": [
{
"id": 0,
"taskId": 0,
"executeType": 0,
"invalidStart": "",
"invalidDue": "",
"fixedStartTime": "",
"startTime": "",
"endTime": "",
"cycleMonth": [],
"cycleWeek": [],
"cycleDay": [],
"intervalType": 0,
"intervalNumber": 0,
"executeTime": "",
"cron": "",
"jobId": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"recurrentExecution": 0
}
],
"version": 0,
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"testRun": 0,
"deviceId": 0,
"mspId": 0,
"workCardId": 0,
"workCardName": "",
"ids": [],
"filter": "",
"extraInfo": "",
"executedCount": 0,
"treeIds": [],
"beuTypes": [],
"taskDevs": [
{
"id": 0,
"type": 0,
"areaName": "",
"bayName": "",
"mainDeviceName": "",
"partName": "",
"pointAndPhaseName": "",
"devTypes": [],
"step": 0,
"bisId": 0,
"devLevel": 0,
"devId": 0,
"devPointId": ""
}
]
}请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| taskDto | 任务模板 | body | true | TaskDto | TaskDto |
| id | 主键 | true | integer(int64) | ||
| taskCode | 任务编码 | false | string | ||
| type | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | true | integer(int32) | ||
| types | 任务多种类型查询 | false | array | integer(int32) | |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | false | integer(int32) | ||
| name | 任务名称 | true | string | ||
| priority | 优先级1、2、3、4,数字越大优先级越高 | false | integer(int32) | ||
| singleton | 0 单例 1 多例 | false | integer(int32) | ||
| releaseStatus | 0 已发布,1 未发布 | false | integer(int32) | ||
| firstPlanTime | 首次执行时间 | false | string(date-time) | ||
| linkageType | 联动类型 1:联动/2:顺控 | false | integer(int32) | ||
| pointNum | 点位数量 | false | integer(int32) | ||
| verifiedType | 审核方式:0人工审核,1自动审核 | false | integer(int32) | ||
| executors | 执行人 | false | array | string | |
| schedules | 计划任务 | false | array | TaskScheduleDto | |
| id | 主键ID' | true | integer | ||
| taskId | task_id | false | integer | ||
| executeType | 执行类型,1定期执行,2周期执行(月周天),3间隔执行 4立即执行 5(静默专用)一次性执行 | false | integer | ||
| invalidStart | 不可用开始时间 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| invalidDue | 不可用结束时间 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| fixedStartTime | 定期时间点集合 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| startTime | 开始时间,包含,格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| endTime | 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| cycleMonth | 周期月份集合 | false | array | integer | |
| cycleWeek | 周期周集合 | false | array | integer | |
| cycleDay | 周期天集合 | false | array | integer | |
| intervalType | 间隔类型,0表示分钟,1表示小时,2表示天,3表示周,4表示月 | false | integer | ||
| intervalNumber | 间隔数量 | false | integer | ||
| executeTime | 执行时间,单位秒,HH:mm:ss | false | string | ||
| cron | cron表达式 | false | string | ||
| jobId | xxl-job定时任务id | false | string | ||
| isDeleted | 逻辑删除 | false | integer | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 更新时间 | false | string | ||
| recurrentExecution | 是否循环执行1:循环执行 0:非循环执行 | false | integer | ||
| version | 乐观锁 | false | integer(int32) | ||
| isDeleted | 逻辑删除 | false | integer(int32) | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string(date-time) | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 更新时间 | false | string(date-time) | ||
| testRun | 0 试运行,1 运行 | false | integer(int32) | ||
| deviceId | deviceId | false | integer(int64) | ||
| mspId | 场景id | false | integer(int64) | ||
| workCardId | 作业卡id | false | integer(int64) | ||
| workCardName | 作业卡名称 | false | string | ||
| ids | 任务id集合 | false | array | integer(int64) | |
| filter | 过滤是否为AR任务 | false | string | ||
| extraInfo | 额外信息 | false | string | ||
| executedCount | 执行记录数量 | false | integer(int64) | ||
| treeIds | 前端存储的树节点ids | false | array | integer(int64) | |
| beuTypes | 任务包含的所有任务点类型 | false | array | integer(int32) | |
| taskDevs | 业务设备 | false | array | BisDevDto | |
| id | 主键 | false | integer | ||
| type | type 1任务点 2检修区域点 | false | integer | ||
| areaName | 区域名称 | false | string | ||
| bayName | 间隔名称 | false | string | ||
| mainDeviceName | 设备名称 | false | string | ||
| partName | 部件名称 | false | string | ||
| pointAndPhaseName | 五级点位和相别名称 | false | string | ||
| devTypes | 采集设备 | false | array | integer | |
| step | 执行步骤 | false | integer | ||
| bisId | bis_id | false | integer | ||
| devLevel | 巡视点位层级,支持关联不同层级的巡视点位,1场地、2间隔、3设备、4部件、5点位 | true | integer | ||
| devId | 巡视设备、点位ID,相应层级的电力设备或者电力点位ID | true | integer | ||
| devPointId | 机器人或无人机点位 | false | string |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultTaskDto |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | TaskDto | TaskDto | |
| id | 主键 | integer(int64) | |
| taskCode | 任务编码 | string | |
| type | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | integer(int32) | |
| types | 任务多种类型查询 | array | integer(int32) |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | integer(int32) | |
| name | 任务名称 | string | |
| priority | 优先级1、2、3、4,数字越大优先级越高 | integer(int32) | |
| singleton | 0 单例 1 多例 | integer(int32) | |
| releaseStatus | 0 已发布,1 未发布 | integer(int32) | |
| firstPlanTime | 首次执行时间 | string(date-time) | |
| linkageType | 联动类型 1:联动/2:顺控 | integer(int32) | |
| pointNum | 点位数量 | integer(int32) | |
| verifiedType | 审核方式:0人工审核,1自动审核 | integer(int32) | |
| executors | 执行人 | array | string |
| schedules | 计划任务 | array | TaskScheduleDto |
| id | 主键ID' | integer | |
| taskId | task_id | integer | |
| executeType | 执行类型,1定期执行,2周期执行(月周天),3间隔执行 4立即执行 5(静默专用)一次性执行 | integer | |
| invalidStart | 不可用开始时间 格式 yyyy-MM-dd HH:mm:ss | string | |
| invalidDue | 不可用结束时间 格式 yyyy-MM-dd HH:mm:ss | string | |
| fixedStartTime | 定期时间点集合 格式 yyyy-MM-dd HH:mm:ss | string | |
| startTime | 开始时间,包含,格式 yyyy-MM-dd HH:mm:ss | string | |
| endTime | 格式 yyyy-MM-dd HH:mm:ss | string | |
| cycleMonth | 周期月份集合 | array | integer |
| cycleWeek | 周期周集合 | array | integer |
| cycleDay | 周期天集合 | array | integer |
| intervalType | 间隔类型,0表示分钟,1表示小时,2表示天,3表示周,4表示月 | integer | |
| intervalNumber | 间隔数量 | integer | |
| executeTime | 执行时间,单位秒,HH:mm:ss | string | |
| cron | cron表达式 | string | |
| jobId | xxl-job定时任务id | string | |
| isDeleted | 逻辑删除 | integer | |
| createdBy | 创建人 | string | |
| createdTime | 创建时间 | string | |
| updatedBy | 更新人 | string | |
| updatedTime | 更新时间 | string | |
| recurrentExecution | 是否循环执行1:循环执行 0:非循环执行 | integer | |
| version | 乐观锁 | integer(int32) | |
| isDeleted | 逻辑删除 | integer(int32) | |
| createdBy | 创建人 | string | |
| createdTime | 创建时间 | string(date-time) | |
| updatedBy | 更新人 | string | |
| updatedTime | 更新时间 | string(date-time) | |
| testRun | 0 试运行,1 运行 | integer(int32) | |
| deviceId | deviceId | integer(int64) | |
| mspId | 场景id | integer(int64) | |
| workCardId | 作业卡id | integer(int64) | |
| workCardName | 作业卡名称 | string | |
| ids | 任务id集合 | array | integer(int64) |
| filter | 过滤是否为AR任务 | string | |
| extraInfo | 额外信息 | string | |
| executedCount | 执行记录数量 | integer(int64) | |
| treeIds | 前端存储的树节点ids | array | integer(int64) |
| beuTypes | 任务包含的所有任务点类型 | array | integer(int32) |
| taskDevs | 业务设备 | array | BisDevDto |
| id | 主键 | integer | |
| type | type 1任务点 2检修区域点 | integer | |
| areaName | 区域名称 | string | |
| bayName | 间隔名称 | string | |
| mainDeviceName | 设备名称 | string | |
| partName | 部件名称 | string | |
| pointAndPhaseName | 五级点位和相别名称 | string | |
| devTypes | 采集设备 | array | integer |
| step | 执行步骤 | integer | |
| bisId | bis_id | integer | |
| devLevel | 巡视点位层级,支持关联不同层级的巡视点位,1场地、2间隔、3设备、4部件、5点位 | integer | |
| devId | 巡视设备、点位ID,相应层级的电力设备或者电力点位ID | integer | |
| devPointId | 机器人或无人机点位 | string | |
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": {
"id": 0,
"taskCode": "",
"type": 0,
"types": [],
"inspectionType": 0,
"name": "",
"priority": 0,
"singleton": 0,
"releaseStatus": 0,
"firstPlanTime": "",
"linkageType": 0,
"pointNum": 0,
"verifiedType": 0,
"executors": [],
"schedules": [
{
"id": 0,
"taskId": 0,
"executeType": 0,
"invalidStart": "",
"invalidDue": "",
"fixedStartTime": "",
"startTime": "",
"endTime": "",
"cycleMonth": [],
"cycleWeek": [],
"cycleDay": [],
"intervalType": 0,
"intervalNumber": 0,
"executeTime": "",
"cron": "",
"jobId": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"recurrentExecution": 0
}
],
"version": 0,
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"testRun": 0,
"deviceId": 0,
"mspId": 0,
"workCardId": 0,
"workCardName": "",
"ids": [],
"filter": "",
"extraInfo": "",
"executedCount": 0,
"treeIds": [],
"beuTypes": [],
"taskDevs": [
{
"id": 0,
"type": 0,
"areaName": "",
"bayName": "",
"mainDeviceName": "",
"partName": "",
"pointAndPhaseName": "",
"devTypes": [],
"step": 0,
"bisId": 0,
"devLevel": 0,
"devId": 0,
"devPointId": ""
}
]
},
"timestamp": ""
}任务删除
接口地址:/platform/api/v1/task/tasks/delete
请求方式:POST
请求数据类型:application/x-www-form-urlencoded,application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"id": 0,
"taskCode": "",
"type": 0,
"types": [],
"inspectionType": 0,
"name": "",
"priority": 0,
"singleton": 0,
"releaseStatus": 0,
"firstPlanTime": "",
"linkageType": 0,
"pointNum": 0,
"verifiedType": 0,
"executors": [],
"schedules": [
{
"id": 0,
"taskId": 0,
"executeType": 0,
"invalidStart": "",
"invalidDue": "",
"fixedStartTime": "",
"startTime": "",
"endTime": "",
"cycleMonth": [],
"cycleWeek": [],
"cycleDay": [],
"intervalType": 0,
"intervalNumber": 0,
"executeTime": "",
"cron": "",
"jobId": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"recurrentExecution": 0
}
],
"version": 0,
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"testRun": 0,
"deviceId": 0,
"mspId": 0,
"workCardId": 0,
"workCardName": "",
"ids": [],
"filter": "",
"extraInfo": "",
"executedCount": 0,
"treeIds": [],
"beuTypes": [],
"taskDevs": [
{
"id": 0,
"type": 0,
"areaName": "",
"bayName": "",
"mainDeviceName": "",
"partName": "",
"pointAndPhaseName": "",
"devTypes": [],
"step": 0,
"bisId": 0,
"devLevel": 0,
"devId": 0,
"devPointId": ""
}
]
}请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| taskDto | 任务模板 | body | true | TaskDto | TaskDto |
| id | 主键 | true | integer(int64) | ||
| taskCode | 任务编码 | false | string | ||
| type | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | true | integer(int32) | ||
| types | 任务多种类型查询 | false | array | integer(int32) | |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | false | integer(int32) | ||
| name | 任务名称 | true | string | ||
| priority | 优先级1、2、3、4,数字越大优先级越高 | false | integer(int32) | ||
| singleton | 0 单例 1 多例 | false | integer(int32) | ||
| releaseStatus | 0 已发布,1 未发布 | false | integer(int32) | ||
| firstPlanTime | 首次执行时间 | false | string(date-time) | ||
| linkageType | 联动类型 1:联动/2:顺控 | false | integer(int32) | ||
| pointNum | 点位数量 | false | integer(int32) | ||
| verifiedType | 审核方式:0人工审核,1自动审核 | false | integer(int32) | ||
| executors | 执行人 | false | array | string | |
| schedules | 计划任务 | false | array | TaskScheduleDto | |
| id | 主键ID' | true | integer | ||
| taskId | task_id | false | integer | ||
| executeType | 执行类型,1定期执行,2周期执行(月周天),3间隔执行 4立即执行 5(静默专用)一次性执行 | false | integer | ||
| invalidStart | 不可用开始时间 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| invalidDue | 不可用结束时间 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| fixedStartTime | 定期时间点集合 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| startTime | 开始时间,包含,格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| endTime | 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| cycleMonth | 周期月份集合 | false | array | integer | |
| cycleWeek | 周期周集合 | false | array | integer | |
| cycleDay | 周期天集合 | false | array | integer | |
| intervalType | 间隔类型,0表示分钟,1表示小时,2表示天,3表示周,4表示月 | false | integer | ||
| intervalNumber | 间隔数量 | false | integer | ||
| executeTime | 执行时间,单位秒,HH:mm:ss | false | string | ||
| cron | cron表达式 | false | string | ||
| jobId | xxl-job定时任务id | false | string | ||
| isDeleted | 逻辑删除 | false | integer | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 更新时间 | false | string | ||
| recurrentExecution | 是否循环执行1:循环执行 0:非循环执行 | false | integer | ||
| version | 乐观锁 | false | integer(int32) | ||
| isDeleted | 逻辑删除 | false | integer(int32) | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string(date-time) | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 更新时间 | false | string(date-time) | ||
| testRun | 0 试运行,1 运行 | false | integer(int32) | ||
| deviceId | deviceId | false | integer(int64) | ||
| mspId | 场景id | false | integer(int64) | ||
| workCardId | 作业卡id | false | integer(int64) | ||
| workCardName | 作业卡名称 | false | string | ||
| ids | 任务id集合 | false | array | integer(int64) | |
| filter | 过滤是否为AR任务 | false | string | ||
| extraInfo | 额外信息 | false | string | ||
| executedCount | 执行记录数量 | false | integer(int64) | ||
| treeIds | 前端存储的树节点ids | false | array | integer(int64) | |
| beuTypes | 任务包含的所有任务点类型 | false | array | integer(int32) | |
| taskDevs | 业务设备 | false | array | BisDevDto | |
| id | 主键 | false | integer | ||
| type | type 1任务点 2检修区域点 | false | integer | ||
| areaName | 区域名称 | false | string | ||
| bayName | 间隔名称 | false | string | ||
| mainDeviceName | 设备名称 | false | string | ||
| partName | 部件名称 | false | string | ||
| pointAndPhaseName | 五级点位和相别名称 | false | string | ||
| devTypes | 采集设备 | false | array | integer | |
| step | 执行步骤 | false | integer | ||
| bisId | bis_id | false | integer | ||
| devLevel | 巡视点位层级,支持关联不同层级的巡视点位,1场地、2间隔、3设备、4部件、5点位 | true | integer | ||
| devId | 巡视设备、点位ID,相应层级的电力设备或者电力点位ID | true | integer | ||
| devPointId | 机器人或无人机点位 | false | string |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultTaskDto |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | TaskDto | TaskDto | |
| id | 主键 | integer(int64) | |
| taskCode | 任务编码 | string | |
| type | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | integer(int32) | |
| types | 任务多种类型查询 | array | integer(int32) |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | integer(int32) | |
| name | 任务名称 | string | |
| priority | 优先级1、2、3、4,数字越大优先级越高 | integer(int32) | |
| singleton | 0 单例 1 多例 | integer(int32) | |
| releaseStatus | 0 已发布,1 未发布 | integer(int32) | |
| firstPlanTime | 首次执行时间 | string(date-time) | |
| linkageType | 联动类型 1:联动/2:顺控 | integer(int32) | |
| pointNum | 点位数量 | integer(int32) | |
| verifiedType | 审核方式:0人工审核,1自动审核 | integer(int32) | |
| executors | 执行人 | array | string |
| schedules | 计划任务 | array | TaskScheduleDto |
| id | 主键ID' | integer | |
| taskId | task_id | integer | |
| executeType | 执行类型,1定期执行,2周期执行(月周天),3间隔执行 4立即执行 5(静默专用)一次性执行 | integer | |
| invalidStart | 不可用开始时间 格式 yyyy-MM-dd HH:mm:ss | string | |
| invalidDue | 不可用结束时间 格式 yyyy-MM-dd HH:mm:ss | string | |
| fixedStartTime | 定期时间点集合 格式 yyyy-MM-dd HH:mm:ss | string | |
| startTime | 开始时间,包含,格式 yyyy-MM-dd HH:mm:ss | string | |
| endTime | 格式 yyyy-MM-dd HH:mm:ss | string | |
| cycleMonth | 周期月份集合 | array | integer |
| cycleWeek | 周期周集合 | array | integer |
| cycleDay | 周期天集合 | array | integer |
| intervalType | 间隔类型,0表示分钟,1表示小时,2表示天,3表示周,4表示月 | integer | |
| intervalNumber | 间隔数量 | integer | |
| executeTime | 执行时间,单位秒,HH:mm:ss | string | |
| cron | cron表达式 | string | |
| jobId | xxl-job定时任务id | string | |
| isDeleted | 逻辑删除 | integer | |
| createdBy | 创建人 | string | |
| createdTime | 创建时间 | string | |
| updatedBy | 更新人 | string | |
| updatedTime | 更新时间 | string | |
| recurrentExecution | 是否循环执行1:循环执行 0:非循环执行 | integer | |
| version | 乐观锁 | integer(int32) | |
| isDeleted | 逻辑删除 | integer(int32) | |
| createdBy | 创建人 | string | |
| createdTime | 创建时间 | string(date-time) | |
| updatedBy | 更新人 | string | |
| updatedTime | 更新时间 | string(date-time) | |
| testRun | 0 试运行,1 运行 | integer(int32) | |
| deviceId | deviceId | integer(int64) | |
| mspId | 场景id | integer(int64) | |
| workCardId | 作业卡id | integer(int64) | |
| workCardName | 作业卡名称 | string | |
| ids | 任务id集合 | array | integer(int64) |
| filter | 过滤是否为AR任务 | string | |
| extraInfo | 额外信息 | string | |
| executedCount | 执行记录数量 | integer(int64) | |
| treeIds | 前端存储的树节点ids | array | integer(int64) |
| beuTypes | 任务包含的所有任务点类型 | array | integer(int32) |
| taskDevs | 业务设备 | array | BisDevDto |
| id | 主键 | integer | |
| type | type 1任务点 2检修区域点 | integer | |
| areaName | 区域名称 | string | |
| bayName | 间隔名称 | string | |
| mainDeviceName | 设备名称 | string | |
| partName | 部件名称 | string | |
| pointAndPhaseName | 五级点位和相别名称 | string | |
| devTypes | 采集设备 | array | integer |
| step | 执行步骤 | integer | |
| bisId | bis_id | integer | |
| devLevel | 巡视点位层级,支持关联不同层级的巡视点位,1场地、2间隔、3设备、4部件、5点位 | integer | |
| devId | 巡视设备、点位ID,相应层级的电力设备或者电力点位ID | integer | |
| devPointId | 机器人或无人机点位 | string | |
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": {
"id": 0,
"taskCode": "",
"type": 0,
"types": [],
"inspectionType": 0,
"name": "",
"priority": 0,
"singleton": 0,
"releaseStatus": 0,
"firstPlanTime": "",
"linkageType": 0,
"pointNum": 0,
"verifiedType": 0,
"executors": [],
"schedules": [
{
"id": 0,
"taskId": 0,
"executeType": 0,
"invalidStart": "",
"invalidDue": "",
"fixedStartTime": "",
"startTime": "",
"endTime": "",
"cycleMonth": [],
"cycleWeek": [],
"cycleDay": [],
"intervalType": 0,
"intervalNumber": 0,
"executeTime": "",
"cron": "",
"jobId": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"recurrentExecution": 0
}
],
"version": 0,
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"testRun": 0,
"deviceId": 0,
"mspId": 0,
"workCardId": 0,
"workCardName": "",
"ids": [],
"filter": "",
"extraInfo": "",
"executedCount": 0,
"treeIds": [],
"beuTypes": [],
"taskDevs": [
{
"id": 0,
"type": 0,
"areaName": "",
"bayName": "",
"mainDeviceName": "",
"partName": "",
"pointAndPhaseName": "",
"devTypes": [],
"step": 0,
"bisId": 0,
"devLevel": 0,
"devId": 0,
"devPointId": ""
}
]
},
"timestamp": ""
}任务查询分页
接口地址:/platform/api/v1/task/tasks/page
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| query | 分页查询条件 | query | true | Query | Query |
| current | 当前页,默认第一页 | false | integer(int32) | ||
| size | 每页的数量,默认每页10条记录 | false | integer(int32) | ||
| column | 排序字段 | false | array | string | |
| asc | 是否升序 | false | array | boolean | |
| taskDto | 任务模板 | query | true | TaskDto | TaskDto |
| id | 主键 | true | integer(int64) | ||
| taskCode | 任务编码 | false | string | ||
| type | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | true | integer(int32) | ||
| types | 任务多种类型查询 | false | array | integer(int32) | |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | false | integer(int32) | ||
| name | 任务名称 | true | string | ||
| priority | 优先级1、2、3、4,数字越大优先级越高 | false | integer(int32) | ||
| singleton | 0 单例 1 多例 | false | integer(int32) | ||
| releaseStatus | 0 已发布,1 未发布 | false | integer(int32) | ||
| firstPlanTime | 首次执行时间 | false | string(date-time) | ||
| linkageType | 联动类型 1:联动/2:顺控 | false | integer(int32) | ||
| pointNum | 点位数量 | false | integer(int32) | ||
| verifiedType | 审核方式:0人工审核,1自动审核 | false | integer(int32) | ||
| executors | 执行人 | false | array | string | |
| schedules | 计划任务 | false | array | TaskScheduleDto | |
| id | 主键ID' | true | integer | ||
| taskId | task_id | false | integer | ||
| executeType | 执行类型,1定期执行,2周期执行(月周天),3间隔执行 4立即执行 5(静默专用)一次性执行 | false | integer | ||
| invalidStart | 不可用开始时间 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| invalidDue | 不可用结束时间 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| fixedStartTime | 定期时间点集合 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| startTime | 开始时间,包含,格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| endTime | 格式 yyyy-MM-dd HH:mm:ss | false | string | ||
| cycleMonth | 周期月份集合 | false | array | integer | |
| cycleWeek | 周期周集合 | false | array | integer | |
| cycleDay | 周期天集合 | false | array | integer | |
| intervalType | 间隔类型,0表示分钟,1表示小时,2表示天,3表示周,4表示月 | false | integer | ||
| intervalNumber | 间隔数量 | false | integer | ||
| executeTime | 执行时间,单位秒,HH:mm:ss | false | string | ||
| cron | cron表达式 | false | string | ||
| jobId | xxl-job定时任务id | false | string | ||
| isDeleted | 逻辑删除 | false | integer | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 更新时间 | false | string | ||
| recurrentExecution | 是否循环执行1:循环执行 0:非循环执行 | false | integer | ||
| version | 乐观锁 | false | integer(int32) | ||
| isDeleted | 逻辑删除 | false | integer(int32) | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string(date-time) | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 更新时间 | false | string(date-time) | ||
| testRun | 0 试运行,1 运行 | false | integer(int32) | ||
| deviceId | deviceId | false | integer(int64) | ||
| mspId | 场景id | false | integer(int64) | ||
| workCardId | 作业卡id | false | integer(int64) | ||
| workCardName | 作业卡名称 | false | string | ||
| ids | 任务id集合 | false | array | integer(int64) | |
| filter | 过滤是否为AR任务 | false | string | ||
| extraInfo | 额外信息 | false | string | ||
| executedCount | 执行记录数量 | false | integer(int64) | ||
| treeIds | 前端存储的树节点ids | false | array | integer(int64) | |
| beuTypes | 任务包含的所有任务点类型 | false | array | integer(int32) | |
| taskDevs | 业务设备 | false | array | BisDevDto | |
| id | 主键 | false | integer | ||
| type | type 1任务点 2检修区域点 | false | integer | ||
| areaName | 区域名称 | false | string | ||
| bayName | 间隔名称 | false | string | ||
| mainDeviceName | 设备名称 | false | string | ||
| partName | 部件名称 | false | string | ||
| pointAndPhaseName | 五级点位和相别名称 | false | string | ||
| devTypes | 采集设备 | false | array | integer | |
| step | 执行步骤 | false | integer | ||
| bisId | bis_id | false | integer | ||
| devLevel | 巡视点位层级,支持关联不同层级的巡视点位,1场地、2间隔、3设备、4部件、5点位 | true | integer | ||
| devId | 巡视设备、点位ID,相应层级的电力设备或者电力点位ID | true | integer | ||
| devPointId | 机器人或无人机点位 | false | string |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultPageTaskDto |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | PageTaskDto | PageTaskDto | |
| records | 任务模板 | array | TaskDto |
| id | 主键 | integer | |
| taskCode | 任务编码 | string | |
| type | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | integer | |
| types | 任务多种类型查询 | array | integer |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | integer | |
| name | 任务名称 | string | |
| priority | 优先级1、2、3、4,数字越大优先级越高 | integer | |
| singleton | 0 单例 1 多例 | integer | |
| releaseStatus | 0 已发布,1 未发布 | integer | |
| firstPlanTime | 首次执行时间 | string | |
| linkageType | 联动类型 1:联动/2:顺控 | integer | |
| pointNum | 点位数量 | integer | |
| verifiedType | 审核方式:0人工审核,1自动审核 | integer | |
| executors | 执行人 | array | string |
| schedules | 计划任务 | array | TaskScheduleDto |
| id | 主键ID' | integer | |
| taskId | task_id | integer | |
| executeType | 执行类型,1定期执行,2周期执行(月周天),3间隔执行 4立即执行 5(静默专用)一次性执行 | integer | |
| invalidStart | 不可用开始时间 格式 yyyy-MM-dd HH:mm:ss | string | |
| invalidDue | 不可用结束时间 格式 yyyy-MM-dd HH:mm:ss | string | |
| fixedStartTime | 定期时间点集合 格式 yyyy-MM-dd HH:mm:ss | string | |
| startTime | 开始时间,包含,格式 yyyy-MM-dd HH:mm:ss | string | |
| endTime | 格式 yyyy-MM-dd HH:mm:ss | string | |
| cycleMonth | 周期月份集合 | array | integer |
| cycleWeek | 周期周集合 | array | integer |
| cycleDay | 周期天集合 | array | integer |
| intervalType | 间隔类型,0表示分钟,1表示小时,2表示天,3表示周,4表示月 | integer | |
| intervalNumber | 间隔数量 | integer | |
| executeTime | 执行时间,单位秒,HH:mm:ss | string | |
| cron | cron表达式 | string | |
| jobId | xxl-job定时任务id | string | |
| isDeleted | 逻辑删除 | integer | |
| createdBy | 创建人 | string | |
| createdTime | 创建时间 | string | |
| updatedBy | 更新人 | string | |
| updatedTime | 更新时间 | string | |
| recurrentExecution | 是否循环执行1:循环执行 0:非循环执行 | integer | |
| version | 乐观锁 | integer | |
| isDeleted | 逻辑删除 | integer | |
| createdBy | 创建人 | string | |
| createdTime | 创建时间 | string | |
| updatedBy | 更新人 | string | |
| updatedTime | 更新时间 | string | |
| testRun | 0 试运行,1 运行 | integer | |
| deviceId | deviceId | integer | |
| mspId | 场景id | integer | |
| workCardId | 作业卡id | integer | |
| workCardName | 作业卡名称 | string | |
| ids | 任务id集合 | array | integer |
| filter | 过滤是否为AR任务 | string | |
| extraInfo | 额外信息 | string | |
| executedCount | 执行记录数量 | integer | |
| treeIds | 前端存储的树节点ids | array | integer |
| beuTypes | 任务包含的所有任务点类型 | array | integer |
| taskDevs | 业务设备 | array | BisDevDto |
| id | 主键 | integer | |
| type | type 1任务点 2检修区域点 | integer | |
| areaName | 区域名称 | string | |
| bayName | 间隔名称 | string | |
| mainDeviceName | 设备名称 | string | |
| partName | 部件名称 | string | |
| pointAndPhaseName | 五级点位和相别名称 | string | |
| devTypes | 采集设备 | array | integer |
| step | 执行步骤 | integer | |
| bisId | bis_id | integer | |
| devLevel | 巡视点位层级,支持关联不同层级的巡视点位,1场地、2间隔、3设备、4部件、5点位 | integer | |
| devId | 巡视设备、点位ID,相应层级的电力设备或者电力点位ID | integer | |
| devPointId | 机器人或无人机点位 | string | |
| total | integer(int64) | ||
| size | integer(int64) | ||
| current | integer(int64) | ||
| orders | array | OrderItem | |
| column | string | ||
| asc | boolean | ||
| optimizeCountSql | boolean | ||
| searchCount | boolean | ||
| optimizeJoinOfCountSql | boolean | ||
| maxLimit | integer(int64) | ||
| countId | string | ||
| pages | integer(int64) | ||
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": {
"records": [
{
"id": 0,
"taskCode": "",
"type": 0,
"types": [],
"inspectionType": 0,
"name": "",
"priority": 0,
"singleton": 0,
"releaseStatus": 0,
"firstPlanTime": "",
"linkageType": 0,
"pointNum": 0,
"verifiedType": 0,
"executors": [],
"schedules": [
{
"id": 0,
"taskId": 0,
"executeType": 0,
"invalidStart": "",
"invalidDue": "",
"fixedStartTime": "",
"startTime": "",
"endTime": "",
"cycleMonth": [],
"cycleWeek": [],
"cycleDay": [],
"intervalType": 0,
"intervalNumber": 0,
"executeTime": "",
"cron": "",
"jobId": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"recurrentExecution": 0
}
],
"version": 0,
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"testRun": 0,
"deviceId": 0,
"mspId": 0,
"workCardId": 0,
"workCardName": "",
"ids": [],
"filter": "",
"extraInfo": "",
"executedCount": 0,
"treeIds": [],
"beuTypes": [],
"taskDevs": [
{
"id": 0,
"type": 0,
"areaName": "",
"bayName": "",
"mainDeviceName": "",
"partName": "",
"pointAndPhaseName": "",
"devTypes": [],
"step": 0,
"bisId": 0,
"devLevel": 0,
"devId": 0,
"devPointId": ""
}
]
}
],
"total": 0,
"size": 0,
"current": 0,
"orders": [
{
"column": "",
"asc": true
}
],
"optimizeCountSql": true,
"searchCount": true,
"optimizeJoinOfCountSql": true,
"maxLimit": 0,
"countId": "",
"pages": 0
},
"timestamp": ""
}任务实例记录
接口地址:/platform/api/v1/task/instances/page
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| instanceQueryDto | 任务实例查询 | query | true | InstanceQueryDto | InstanceQueryDto |
| id | 任务实例id | false | integer(int64) | ||
| taskId | 任务id | false | integer(int64) | ||
| taskIds | 任务ids | false | array | integer(int64) | |
| taskName | 任务名模糊匹配 | false | string | ||
| taskCode | 任务code | false | string | ||
| taskPatrolledId | 机器人执行id | false | string | ||
| taskType | 巡视任务类型筛选 | false | integer(int32) | ||
| taskTypes | 巡视任务类型集合 | false | array | integer(int32) | |
| priority | 巡视优先级 | false | integer(int32) | ||
| linkageType | 联动任务标识 | false | integer(int32) | ||
| minPlanStartTime | 最小计划开始时间 | false | string(date-time) | ||
| maxPlanStartTime | 最大计划开始时间 | false | string(date-time) | ||
| minStartTime | 最小开始时间 | false | string(date-time) | ||
| maxStartTime | 最大开始时间 | false | string(date-time) | ||
| createdBy | 创建人 | false | string | ||
| runtimeStatuses | 执行状态 | false | array | integer(int32) | |
| testRun | 0 试运行,1 运行 | false | integer(int32) | ||
| mspId | 场景id | false | integer(int64) | ||
| lastInstanceId | 最近一次执行实例id | false | integer(int64) | ||
| query | 分页查询条件 | query | true | Query | Query |
| current | 当前页,默认第一页 | false | integer(int32) | ||
| size | 每页的数量,默认每页10条记录 | false | integer(int32) | ||
| column | 排序字段 | false | array | string | |
| asc | 是否升序 | false | array | boolean |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultPageInstanceDto |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | PageInstanceDto | PageInstanceDto | |
| records | 实例 | array | InstanceDto |
| id | 主键 | integer | |
| taskId | task_id | integer | |
| taskCode | task_code | string | |
| taskName | 任务名称 | string | |
| taskType | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | integer | |
| pointNum | 点位数量 | integer | |
| singleton | 0 单例 1 多例 | integer | |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | integer | |
| executeType | 执行类型,1定期执行,2周期执行(月周天),3间隔执行,4立即执行 | integer | |
| taskPatrolledId | task_patrolled_id | string | |
| execId | 执行id | string | |
| priority | 巡视优先级 | integer | |
| runtimeStatus | 执行状态,1已经完成、2正在执行、3等待执行、4 任务停止、5 可能是执行或者暂停、6 任务暂停 、7 任务处理中 、8 有更高优先级任务 9 异常 | integer | |
| planStartTime | 任务计划执行时间 | string | |
| startTime | 任务执行开始时间 | string | |
| endTime | 任务执行结束时间 | string | |
| verified | 审核状态 | integer | |
| verifiedPerson | 审核人 | string | |
| verifiedTime | 审核时间 | string | |
| progress | 任务执行进度 | string | |
| abnormalPtCnt | AI审核未通过的结果数 | integer | |
| normalPtCnt | AI审核通过的结果数 | integer | |
| linkageType | 联动类型 1智能联动 2反向联动 | integer | |
| taskBeuStatus | 0 正常 1 异常 | integer | |
| video | 视频地址 | string | |
| version | 版本号 | integer | |
| isDeleted | 逻辑删除:逻辑已删除值(默认为 1)、逻辑未删除值(默认为 0) | integer | |
| createdBy | 创建者 | string | |
| createdTime | 创建时间 | string | |
| updatedBy | 更新者 | string | |
| updatedTime | 更新时间 | string | |
| patrolConclusion | 巡视结论 | string | |
| reportUrl | 报告下载地址 | string | |
| testRun | 0 试运行,1 运行 | integer | |
| mspId | 场景id | integer | |
| patrolPersonIds | 巡视人员id | string | |
| patrolPersonNames | 巡视人员 | string | |
| workCardId | 作业卡id | integer | |
| workCardName | 作业卡名称 | string | |
| executors | 执行人 | array | string |
| conclusion | 0表示待执行,1表示正常,2表示异常,3表示执行故障,5表示未知 | integer | |
| extraInfo | 额外信息 | string | |
| total | integer(int64) | ||
| size | integer(int64) | ||
| current | integer(int64) | ||
| orders | array | OrderItem | |
| column | string | ||
| asc | boolean | ||
| optimizeCountSql | boolean | ||
| searchCount | boolean | ||
| optimizeJoinOfCountSql | boolean | ||
| maxLimit | integer(int64) | ||
| countId | string | ||
| pages | integer(int64) | ||
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": {
"records": [
{
"id": 0,
"taskId": 0,
"taskCode": "",
"taskName": "",
"taskType": 0,
"pointNum": 0,
"singleton": 0,
"inspectionType": 0,
"executeType": 0,
"taskPatrolledId": "",
"execId": "",
"priority": 0,
"runtimeStatus": 0,
"planStartTime": "",
"startTime": "",
"endTime": "",
"verified": 0,
"verifiedPerson": "",
"verifiedTime": "",
"progress": "",
"abnormalPtCnt": 0,
"normalPtCnt": 0,
"linkageType": 0,
"taskBeuStatus": 0,
"video": "",
"version": 0,
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"patrolConclusion": "",
"reportUrl": "",
"testRun": 0,
"mspId": 0,
"patrolPersonIds": "",
"patrolPersonNames": "",
"workCardId": 0,
"workCardName": "",
"executors": [],
"conclusion": 0,
"extraInfo": ""
}
],
"total": 0,
"size": 0,
"current": 0,
"orders": [
{
"column": "",
"asc": true
}
],
"optimizeCountSql": true,
"searchCount": true,
"optimizeJoinOfCountSql": true,
"maxLimit": 0,
"countId": "",
"pages": 0
},
"timestamp": ""
}查询任务实例对应的任务点列表
接口地址:/platform/api/v1/task/results/result-page-beu
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| query | 分页查询条件 | query | true | Query | Query |
| current | 当前页,默认第一页 | false | integer(int32) | ||
| size | 每页的数量,默认每页10条记录 | false | integer(int32) | ||
| column | 排序字段 | false | array | string | |
| asc | 是否升序 | false | array | boolean | |
| resultDto | 结果 | query | true | ResultDto | ResultDto |
| id | 主键 | true | integer(int64) | ||
| requestId | 请求分析数据唯一标识,UUID | false | string | ||
| taskId | 任务id | false | integer(int64) | ||
| taskType | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | false | integer(int32) | ||
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | false | integer(int32) | ||
| taskTypes | 巡视任务类型集合 | false | array | integer(int32) | |
| taskInsId | 巡视任务记录ID | false | integer(int64) | ||
| pointId | 任务点id | false | integer(int64) | ||
| beuId | 执行单元id | false | integer(int64) | ||
| beuType | 1. 流式摄像机,2机器人,3 拍照摄像机 4.声纹 等 | false | integer(int32) | ||
| algName | 算法名称 | false | string | ||
| algId | 算法id | false | integer(int64) | ||
| defectType | 大类型 | false | string | ||
| defectSubtype | 小类型 | false | string | ||
| deviceCode | 设备的唯一标识 | false | string | ||
| hostCode | 机器人,无人机唯一标识 | false | string | ||
| deviceId | 设备主键id | false | integer(int64) | ||
| deviceName | 设备名称 | false | string | ||
| stepId | 步骤Id | false | integer(int32) | ||
| runtimeStatus | 执行状态 | false | integer(int32) | ||
| startTime | 执行开始时间 | false | string(date-time) | ||
| endTime | 完成时间 | false | string(date-time) | ||
| result | 结果 | false | string | ||
| resCode | 分析状态码 | false | integer(int32) | ||
| conclusion | 结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| modifyConclusion | 修订结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| finalConclusion | 最终结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| abnormalReason | 异常原因,记录点位结果状态为异常的原因。原因可能是多条,异常原因内容是字符串数组 | false | array | string | |
| modifyResult | 修订结果 | false | string | ||
| ftpImageUrl | ftp文件地址 | false | string | ||
| srcUrl | minio文件 | false | string | ||
| srcStreamUrl | 流地址 | false | string | ||
| handleImageUrl | 算法处理过的文件 | false | string | ||
| handleVideoUrl | 算法处理过的视频 | false | string | ||
| qualityResult | 图像质量 | false | integer(int32) | ||
| frequency | 频率 | false | string | ||
| soundPressure | 声压 | false | string | ||
| sensitivityLabel | 敏感标记 | false | integer(int32) | ||
| verified | 审核状态 | false | integer(int32) | ||
| verifiedCause | 人工确认原因 | false | array | integer(int32) | |
| verifiedPerson | 审核人 | false | string | ||
| verifiedTime | 审核时间 | false | string(date-time) | ||
| isDeleted | 逻辑删除 | false | integer(int32) | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string(date-time) | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 上报时间 | false | string(date-time) | ||
| minUpdatedTime | 最小上报时间 | false | string | ||
| maxUpdatedTime | 最大上报时间 | false | string | ||
| taskName | 任务名称 | false | string | ||
| beuName | 执行单元名称 | false | string | ||
| resultDesc | 结果描述 | false | string | ||
| processRecord | 流程记录 | false | integer(int32) | ||
| remark | 备注 | false | string | ||
| pointGroupName | 任务点组名称 | false | string | ||
| testRun | 试运行 0 试运行,1 运行 | false | integer(int32) | ||
| sequence | 唯一序列号 | false | string | ||
| mspId | 场景id | false | integer(int64) | ||
| manualCheck | 人工审核, 参考ManualCheckEnum | false | string | ||
| roiArea | ROI区域, 包含算法和审核人员标注的ROI区域 | false | string | ||
| extraInfo | 额外信息 | false | string | ||
| areaId | 区域id | false | integer(int64) | ||
| bayId | 间隔id | false | integer(int64) | ||
| mainDeviceId | 主设备id | false | integer(int64) | ||
| partId | 部件id | false | integer(int64) | ||
| algoRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| manualRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| realRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| positiveSampleAlg | 是否正样本算法 | false | boolean | ||
| modifyImageUrl | 人工审核后的图片 | false | string | ||
| positiveSampleImageUrl | 正样本图片 | false | string | ||
| defect | 是否是缺陷 | false | boolean | ||
| turnDefectTime | 转缺陷时间 | false | string(date-time) | ||
| alarmLevel | 告警等级 | false | integer(int32) | ||
| realResult | false | string | |||
| realConclusion | false | integer(int32) |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultPageBeuResultVO |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | PageBeuResultVO | PageBeuResultVO | |
| records | Beu维度结果 | array | BeuResultVO |
| beuId | 任务点id | integer | |
| beuName | 任务点名称 | string | |
| beuType | 任务点类型 | integer | |
| conclusion | 结果状态, 0表示待执行,1表示正常,2表示异常,3表示执行故障,5表示未知 | integer | |
| needAuditCount | 总审核数量 | integer | |
| hasAuditCount | 已审核数量 | integer | |
| totalResultCount | 结果数量 | integer | |
| latestResult | 结果 | ResultDto | ResultDto |
| id | 主键 | integer | |
| requestId | 请求分析数据唯一标识,UUID | string | |
| taskId | 任务id | integer | |
| taskType | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | integer | |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | integer | |
| taskTypes | 巡视任务类型集合 | array | integer |
| taskInsId | 巡视任务记录ID | integer | |
| pointId | 任务点id | integer | |
| beuId | 执行单元id | integer | |
| beuType | 1. 流式摄像机,2机器人,3 拍照摄像机 4.声纹 等 | integer | |
| algName | 算法名称 | string | |
| algId | 算法id | integer | |
| defectType | 大类型 | string | |
| defectSubtype | 小类型 | string | |
| deviceCode | 设备的唯一标识 | string | |
| hostCode | 机器人,无人机唯一标识 | string | |
| deviceId | 设备主键id | integer | |
| deviceName | 设备名称 | string | |
| stepId | 步骤Id | integer | |
| runtimeStatus | 执行状态 | integer | |
| startTime | 执行开始时间 | string | |
| endTime | 完成时间 | string | |
| result | 结果 | string | |
| resCode | 分析状态码 | integer | |
| conclusion | 结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer | |
| modifyConclusion | 修订结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer | |
| finalConclusion | 最终结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer | |
| abnormalReason | 异常原因,记录点位结果状态为异常的原因。原因可能是多条,异常原因内容是字符串数组 | array | string |
| modifyResult | 修订结果 | string | |
| ftpImageUrl | ftp文件地址 | string | |
| srcUrl | minio文件 | string | |
| srcStreamUrl | 流地址 | string | |
| handleImageUrl | 算法处理过的文件 | string | |
| handleVideoUrl | 算法处理过的视频 | string | |
| qualityResult | 图像质量 | integer | |
| frequency | 频率 | string | |
| soundPressure | 声压 | string | |
| sensitivityLabel | 敏感标记 | integer | |
| verified | 审核状态 | integer | |
| verifiedCause | 人工确认原因 | array | integer |
| verifiedPerson | 审核人 | string | |
| verifiedTime | 审核时间 | string | |
| isDeleted | 逻辑删除 | integer | |
| createdBy | 创建人 | string | |
| createdTime | 创建时间 | string | |
| updatedBy | 更新人 | string | |
| updatedTime | 上报时间 | string | |
| minUpdatedTime | 最小上报时间 | string | |
| maxUpdatedTime | 最大上报时间 | string | |
| taskName | 任务名称 | string | |
| beuName | 执行单元名称 | string | |
| resultDesc | 结果描述 | string | |
| processRecord | 流程记录 | integer | |
| remark | 备注 | string | |
| pointGroupName | 任务点组名称 | string | |
| testRun | 试运行 0 试运行,1 运行 | integer | |
| sequence | 唯一序列号 | string | |
| mspId | 场景id | integer | |
| manualCheck | 人工审核, 参考ManualCheckEnum | string | |
| roiArea | ROI区域, 包含算法和审核人员标注的ROI区域 | string | |
| extraInfo | 额外信息 | string | |
| areaId | 区域id | integer | |
| bayId | 间隔id | integer | |
| mainDeviceId | 主设备id | integer | |
| partId | 部件id | integer | |
| algoRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| manualRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| realRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| positiveSampleAlg | 是否正样本算法 | boolean | |
| modifyImageUrl | 人工审核后的图片 | string | |
| positiveSampleImageUrl | 正样本图片 | string | |
| defect | 是否是缺陷 | boolean | |
| turnDefectTime | 转缺陷时间 | string | |
| alarmLevel | 告警等级 | integer | |
| realResult | string | ||
| realConclusion | integer | ||
| positiveSampleAlg | boolean | ||
| total | integer(int64) | ||
| size | integer(int64) | ||
| current | integer(int64) | ||
| orders | array | OrderItem | |
| column | string | ||
| asc | boolean | ||
| optimizeCountSql | boolean | ||
| searchCount | boolean | ||
| optimizeJoinOfCountSql | boolean | ||
| maxLimit | integer(int64) | ||
| countId | string | ||
| pages | integer(int64) | ||
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": {
"records": [
{
"beuId": 0,
"beuName": "",
"beuType": 0,
"conclusion": 0,
"needAuditCount": 0,
"hasAuditCount": 0,
"totalResultCount": 0,
"latestResult": {
"id": 0,
"requestId": "",
"taskId": 0,
"taskType": 0,
"inspectionType": 0,
"taskTypes": [],
"taskInsId": 0,
"pointId": 0,
"beuId": 0,
"beuType": 0,
"algName": "",
"algId": 0,
"defectType": "",
"defectSubtype": "",
"deviceCode": "",
"hostCode": "",
"deviceId": 0,
"deviceName": "",
"stepId": 0,
"runtimeStatus": 0,
"startTime": "",
"endTime": "",
"result": "",
"resCode": 0,
"conclusion": 0,
"modifyConclusion": 0,
"finalConclusion": 0,
"abnormalReason": [],
"modifyResult": "",
"ftpImageUrl": "",
"srcUrl": "",
"srcStreamUrl": "",
"handleImageUrl": "",
"handleVideoUrl": "",
"qualityResult": 0,
"frequency": "",
"soundPressure": "",
"sensitivityLabel": 0,
"verified": 0,
"verifiedCause": [],
"verifiedPerson": "",
"verifiedTime": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"minUpdatedTime": "",
"maxUpdatedTime": "",
"taskName": "",
"beuName": "",
"resultDesc": "",
"processRecord": 0,
"remark": "",
"pointGroupName": "",
"testRun": 0,
"sequence": "",
"mspId": 0,
"manualCheck": "",
"roiArea": "",
"extraInfo": "",
"areaId": 0,
"bayId": 0,
"mainDeviceId": 0,
"partId": 0,
"algoRoiList": [
{
"rectType": "",
"rectValue": "",
"areas": [
{
"x": "",
"y": ""
}
]
}
],
"manualRoiList": [
{}
],
"realRoiList": [
{}
],
"positiveSampleAlg": true,
"modifyImageUrl": "",
"positiveSampleImageUrl": "",
"defect": true,
"turnDefectTime": "",
"alarmLevel": 0,
"realResult": "",
"realConclusion": 0
},
"positiveSampleAlg": true
}
],
"total": 0,
"size": 0,
"current": 0,
"orders": [
{
"column": "",
"asc": true
}
],
"optimizeCountSql": true,
"searchCount": true,
"optimizeJoinOfCountSql": true,
"maxLimit": 0,
"countId": "",
"pages": 0
},
"timestamp": ""
}查询任务实例对应的任务点统计信息
接口地址:/platform/api/v1/task/results/beu-result-statistics
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| resultDto | 结果 | query | true | ResultDto | ResultDto |
| id | 主键 | true | integer(int64) | ||
| requestId | 请求分析数据唯一标识,UUID | false | string | ||
| taskId | 任务id | false | integer(int64) | ||
| taskType | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | false | integer(int32) | ||
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | false | integer(int32) | ||
| taskTypes | 巡视任务类型集合 | false | array | integer(int32) | |
| taskInsId | 巡视任务记录ID | false | integer(int64) | ||
| pointId | 任务点id | false | integer(int64) | ||
| beuId | 执行单元id | false | integer(int64) | ||
| beuType | 1. 流式摄像机,2机器人,3 拍照摄像机 4.声纹 等 | false | integer(int32) | ||
| algName | 算法名称 | false | string | ||
| algId | 算法id | false | integer(int64) | ||
| defectType | 大类型 | false | string | ||
| defectSubtype | 小类型 | false | string | ||
| deviceCode | 设备的唯一标识 | false | string | ||
| hostCode | 机器人,无人机唯一标识 | false | string | ||
| deviceId | 设备主键id | false | integer(int64) | ||
| deviceName | 设备名称 | false | string | ||
| stepId | 步骤Id | false | integer(int32) | ||
| runtimeStatus | 执行状态 | false | integer(int32) | ||
| startTime | 执行开始时间 | false | string(date-time) | ||
| endTime | 完成时间 | false | string(date-time) | ||
| result | 结果 | false | string | ||
| resCode | 分析状态码 | false | integer(int32) | ||
| conclusion | 结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| modifyConclusion | 修订结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| finalConclusion | 最终结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| abnormalReason | 异常原因,记录点位结果状态为异常的原因。原因可能是多条,异常原因内容是字符串数组 | false | array | string | |
| modifyResult | 修订结果 | false | string | ||
| ftpImageUrl | ftp文件地址 | false | string | ||
| srcUrl | minio文件 | false | string | ||
| srcStreamUrl | 流地址 | false | string | ||
| handleImageUrl | 算法处理过的文件 | false | string | ||
| handleVideoUrl | 算法处理过的视频 | false | string | ||
| qualityResult | 图像质量 | false | integer(int32) | ||
| frequency | 频率 | false | string | ||
| soundPressure | 声压 | false | string | ||
| sensitivityLabel | 敏感标记 | false | integer(int32) | ||
| verified | 审核状态 | false | integer(int32) | ||
| verifiedCause | 人工确认原因 | false | array | integer(int32) | |
| verifiedPerson | 审核人 | false | string | ||
| verifiedTime | 审核时间 | false | string(date-time) | ||
| isDeleted | 逻辑删除 | false | integer(int32) | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string(date-time) | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 上报时间 | false | string(date-time) | ||
| minUpdatedTime | 最小上报时间 | false | string | ||
| maxUpdatedTime | 最大上报时间 | false | string | ||
| taskName | 任务名称 | false | string | ||
| beuName | 执行单元名称 | false | string | ||
| resultDesc | 结果描述 | false | string | ||
| processRecord | 流程记录 | false | integer(int32) | ||
| remark | 备注 | false | string | ||
| pointGroupName | 任务点组名称 | false | string | ||
| testRun | 试运行 0 试运行,1 运行 | false | integer(int32) | ||
| sequence | 唯一序列号 | false | string | ||
| mspId | 场景id | false | integer(int64) | ||
| manualCheck | 人工审核, 参考ManualCheckEnum | false | string | ||
| roiArea | ROI区域, 包含算法和审核人员标注的ROI区域 | false | string | ||
| extraInfo | 额外信息 | false | string | ||
| areaId | 区域id | false | integer(int64) | ||
| bayId | 间隔id | false | integer(int64) | ||
| mainDeviceId | 主设备id | false | integer(int64) | ||
| partId | 部件id | false | integer(int64) | ||
| algoRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| manualRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| realRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| positiveSampleAlg | 是否正样本算法 | false | boolean | ||
| modifyImageUrl | 人工审核后的图片 | false | string | ||
| positiveSampleImageUrl | 正样本图片 | false | string | ||
| defect | 是否是缺陷 | false | boolean | ||
| turnDefectTime | 转缺陷时间 | false | string(date-time) | ||
| alarmLevel | 告警等级 | false | integer(int32) | ||
| realResult | false | string | |||
| realConclusion | false | integer(int32) |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultBeuResultStatisticsVO |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | BeuResultStatisticsVO | BeuResultStatisticsVO | |
| showType | 统计信息展示方式, 对应BeuResultStatisticShowTypeEnum | integer(int32) | |
| robotBeuCount | 机器人任务点数量 | integer(int64) | |
| totalBeuCount | 总任务点数量 | integer(int64) | |
| abnormalBeuCount | 异常任务点数量 | integer(int64) | |
| finishBeuCount | 已完成任务点数量 | integer(int64) | |
| notFinishBeuCount | 未完成任务点数量 | integer(int64) | |
| needAuditBeuCount | 所有需要审核的任务点数量 | integer(int64) | |
| auditBeuCount | 已审核任务点数量 | integer(int64) | |
| notAuditBeuCount | 未审核任务点数量 | integer(int64) | |
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": {
"showType": 0,
"robotBeuCount": 0,
"totalBeuCount": 0,
"abnormalBeuCount": 0,
"finishBeuCount": 0,
"notFinishBeuCount": 0,
"needAuditBeuCount": 0,
"auditBeuCount": 0,
"notAuditBeuCount": 0
},
"timestamp": ""
}巡视结果
巡视报告
接口地址:/task/api/v1/records/task-report
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| id | 任务执行记录id | query | true | integer(int64) |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultPatrolReport |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | PatrolReport | PatrolReport | |
| head | 巡视报告表头 | PatrolReportHead | PatrolReportHead |
| stationName | 变电站 | string | |
| voltageLevel | 电压等级 | string | |
| patrolDate | 巡视日期 | string | |
| stationType | 变电站类型 | string | |
| taskName | 巡视任务 | string | |
| weatherInterval | 环境信息 | string | |
| verifiedPerson | 审核人 | string | |
| verifiedTime | 审核时间 | string | |
| startTime | 巡视开始时间 | string | |
| endTime | 巡视结束时间 | string | |
| patrolStatistic | 巡视统计 | string | |
| patrolConclusion | 巡视结论 | string | |
| abnormalPoints | 正常点位汇总 | array | PatrolReportDetailExtend |
| areaName | 区域 | string | |
| bayName | 间隔 | string | |
| mainDeviceName | 主设备 | string | |
| partName | 部件 | string | |
| pointName | 点位 | string | |
| dataSource | 数据来源 | string | |
| collectTime | 采集时间 | string | |
| result | 巡视结果 | string | |
| pointStatus | 点位状态 | string | |
| abnormalReason | 异常原因 | array | string |
| labeledPicture | 巡视图像 | string | |
| picture | 原图 | string | |
| baseImageUrl | 基准图 | string | |
| labeledPictureWithPicture | string | ||
| levelAndPhaseName | 五级加相别拼接的名称 | string | |
| pointAndPhaseName | 点位加相别拼接的名称 | string | |
| id | id | integer | |
| elepointId | 点位id | integer | |
| dsId | 数据来源ID | integer | |
| presetNo | 预置位编号 | integer | |
| defectType | 识别类型 | string | |
| defectSubtype | 识别子类型 | string | |
| video | 视频URL | string | |
| unverifiedPoints | 正常点位汇总 | array | PatrolReportDetailExtend |
| areaName | 区域 | string | |
| bayName | 间隔 | string | |
| mainDeviceName | 主设备 | string | |
| partName | 部件 | string | |
| pointName | 点位 | string | |
| dataSource | 数据来源 | string | |
| collectTime | 采集时间 | string | |
| result | 巡视结果 | string | |
| pointStatus | 点位状态 | string | |
| abnormalReason | 异常原因 | array | string |
| labeledPicture | 巡视图像 | string | |
| picture | 原图 | string | |
| baseImageUrl | 基准图 | string | |
| labeledPictureWithPicture | string | ||
| levelAndPhaseName | 五级加相别拼接的名称 | string | |
| pointAndPhaseName | 点位加相别拼接的名称 | string | |
| id | id | integer | |
| elepointId | 点位id | integer | |
| dsId | 数据来源ID | integer | |
| presetNo | 预置位编号 | integer | |
| defectType | 识别类型 | string | |
| defectSubtype | 识别子类型 | string | |
| video | 视频URL | string | |
| normalPoints | 正常点位汇总 | array | PatrolReportDetailExtend |
| areaName | 区域 | string | |
| bayName | 间隔 | string | |
| mainDeviceName | 主设备 | string | |
| partName | 部件 | string | |
| pointName | 点位 | string | |
| dataSource | 数据来源 | string | |
| collectTime | 采集时间 | string | |
| result | 巡视结果 | string | |
| pointStatus | 点位状态 | string | |
| abnormalReason | 异常原因 | array | string |
| labeledPicture | 巡视图像 | string | |
| picture | 原图 | string | |
| baseImageUrl | 基准图 | string | |
| labeledPictureWithPicture | string | ||
| levelAndPhaseName | 五级加相别拼接的名称 | string | |
| pointAndPhaseName | 点位加相别拼接的名称 | string | |
| id | id | integer | |
| elepointId | 点位id | integer | |
| dsId | 数据来源ID | integer | |
| presetNo | 预置位编号 | integer | |
| defectType | 识别类型 | string | |
| defectSubtype | 识别子类型 | string | |
| video | 视频URL | string | |
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": {
"head": {
"stationName": "",
"voltageLevel": "",
"patrolDate": "",
"stationType": "",
"taskName": "",
"weatherInterval": "",
"verifiedPerson": "",
"verifiedTime": "",
"startTime": "",
"endTime": "",
"patrolStatistic": "",
"patrolConclusion": ""
},
"abnormalPoints": [
{
"areaName": "",
"bayName": "",
"mainDeviceName": "",
"partName": "",
"pointName": "",
"dataSource": "",
"collectTime": "",
"result": "",
"pointStatus": "",
"abnormalReason": [],
"labeledPicture": "",
"picture": "",
"baseImageUrl": "",
"labeledPictureWithPicture": "",
"levelAndPhaseName": "",
"pointAndPhaseName": "",
"id": 0,
"elepointId": 0,
"dsId": 0,
"presetNo": 0,
"defectType": "",
"defectSubtype": "",
"video": ""
}
],
"unverifiedPoints": [
{
"areaName": "",
"bayName": "",
"mainDeviceName": "",
"partName": "",
"pointName": "",
"dataSource": "",
"collectTime": "",
"result": "",
"pointStatus": "",
"abnormalReason": [],
"labeledPicture": "",
"picture": "",
"baseImageUrl": "",
"labeledPictureWithPicture": "",
"levelAndPhaseName": "",
"pointAndPhaseName": "",
"id": 0,
"elepointId": 0,
"dsId": 0,
"presetNo": 0,
"defectType": "",
"defectSubtype": "",
"video": ""
}
],
"normalPoints": [
{
"areaName": "",
"bayName": "",
"mainDeviceName": "",
"partName": "",
"pointName": "",
"dataSource": "",
"collectTime": "",
"result": "",
"pointStatus": "",
"abnormalReason": [],
"labeledPicture": "",
"picture": "",
"baseImageUrl": "",
"labeledPictureWithPicture": "",
"levelAndPhaseName": "",
"pointAndPhaseName": "",
"id": 0,
"elepointId": 0,
"dsId": 0,
"presetNo": 0,
"defectType": "",
"defectSubtype": "",
"video": ""
}
]
},
"timestamp": ""
}结果更新
接口地址:/platform/api/v1/task/results/update
请求方式:POST
请求数据类型:application/x-www-form-urlencoded,application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"id": 0,
"requestId": "",
"taskId": 0,
"taskType": 0,
"inspectionType": 0,
"taskTypes": [],
"taskInsId": 0,
"pointId": 0,
"beuId": 0,
"beuType": 0,
"algName": "",
"algId": 0,
"defectType": "",
"defectSubtype": "",
"deviceCode": "",
"hostCode": "",
"deviceId": 0,
"deviceName": "",
"stepId": 0,
"runtimeStatus": 0,
"startTime": "",
"endTime": "",
"result": "",
"resCode": 0,
"conclusion": 0,
"modifyConclusion": 0,
"finalConclusion": 0,
"abnormalReason": [],
"modifyResult": "",
"ftpImageUrl": "",
"srcUrl": "",
"srcStreamUrl": "",
"handleImageUrl": "",
"handleVideoUrl": "",
"qualityResult": 0,
"frequency": "",
"soundPressure": "",
"sensitivityLabel": 0,
"verified": 0,
"verifiedCause": [],
"verifiedPerson": "",
"verifiedTime": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"minUpdatedTime": "",
"maxUpdatedTime": "",
"taskName": "",
"beuName": "",
"resultDesc": "",
"processRecord": 0,
"remark": "",
"pointGroupName": "",
"testRun": 0,
"sequence": "",
"mspId": 0,
"manualCheck": "",
"roiArea": "",
"extraInfo": "",
"areaId": 0,
"bayId": 0,
"mainDeviceId": 0,
"partId": 0,
"algoRoiList": [
{
"rectType": "",
"rectValue": "",
"areas": [
{
"x": "",
"y": ""
}
]
}
],
"manualRoiList": [
{
"rectType": "",
"rectValue": "",
"areas": [
{
"x": "",
"y": ""
}
]
}
],
"realRoiList": [
{
"rectType": "",
"rectValue": "",
"areas": [
{
"x": "",
"y": ""
}
]
}
],
"positiveSampleAlg": true,
"modifyImageUrl": "",
"positiveSampleImageUrl": "",
"defect": true,
"turnDefectTime": "",
"alarmLevel": 0,
"realResult": "",
"realConclusion": 0
}请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| resultDto | 结果 | body | true | ResultDto | ResultDto |
| id | 主键 | true | integer(int64) | ||
| requestId | 请求分析数据唯一标识,UUID | false | string | ||
| taskId | 任务id | false | integer(int64) | ||
| taskType | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | false | integer(int32) | ||
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | false | integer(int32) | ||
| taskTypes | 巡视任务类型集合 | false | array | integer(int32) | |
| taskInsId | 巡视任务记录ID | false | integer(int64) | ||
| pointId | 任务点id | false | integer(int64) | ||
| beuId | 执行单元id | false | integer(int64) | ||
| beuType | 1. 流式摄像机,2机器人,3 拍照摄像机 4.声纹 等 | false | integer(int32) | ||
| algName | 算法名称 | false | string | ||
| algId | 算法id | false | integer(int64) | ||
| defectType | 大类型 | false | string | ||
| defectSubtype | 小类型 | false | string | ||
| deviceCode | 设备的唯一标识 | false | string | ||
| hostCode | 机器人,无人机唯一标识 | false | string | ||
| deviceId | 设备主键id | false | integer(int64) | ||
| deviceName | 设备名称 | false | string | ||
| stepId | 步骤Id | false | integer(int32) | ||
| runtimeStatus | 执行状态 | false | integer(int32) | ||
| startTime | 执行开始时间 | false | string(date-time) | ||
| endTime | 完成时间 | false | string(date-time) | ||
| result | 结果 | false | string | ||
| resCode | 分析状态码 | false | integer(int32) | ||
| conclusion | 结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| modifyConclusion | 修订结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| finalConclusion | 最终结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| abnormalReason | 异常原因,记录点位结果状态为异常的原因。原因可能是多条,异常原因内容是字符串数组 | false | array | string | |
| modifyResult | 修订结果 | false | string | ||
| ftpImageUrl | ftp文件地址 | false | string | ||
| srcUrl | minio文件 | false | string | ||
| srcStreamUrl | 流地址 | false | string | ||
| handleImageUrl | 算法处理过的文件 | false | string | ||
| handleVideoUrl | 算法处理过的视频 | false | string | ||
| qualityResult | 图像质量 | false | integer(int32) | ||
| frequency | 频率 | false | string | ||
| soundPressure | 声压 | false | string | ||
| sensitivityLabel | 敏感标记 | false | integer(int32) | ||
| verified | 审核状态 | false | integer(int32) | ||
| verifiedCause | 人工确认原因 | false | array | integer(int32) | |
| verifiedPerson | 审核人 | false | string | ||
| verifiedTime | 审核时间 | false | string(date-time) | ||
| isDeleted | 逻辑删除 | false | integer(int32) | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string(date-time) | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 上报时间 | false | string(date-time) | ||
| minUpdatedTime | 最小上报时间 | false | string | ||
| maxUpdatedTime | 最大上报时间 | false | string | ||
| taskName | 任务名称 | false | string | ||
| beuName | 执行单元名称 | false | string | ||
| resultDesc | 结果描述 | false | string | ||
| processRecord | 流程记录 | false | integer(int32) | ||
| remark | 备注 | false | string | ||
| pointGroupName | 任务点组名称 | false | string | ||
| testRun | 试运行 0 试运行,1 运行 | false | integer(int32) | ||
| sequence | 唯一序列号 | false | string | ||
| mspId | 场景id | false | integer(int64) | ||
| manualCheck | 人工审核, 参考ManualCheckEnum | false | string | ||
| roiArea | ROI区域, 包含算法和审核人员标注的ROI区域 | false | string | ||
| extraInfo | 额外信息 | false | string | ||
| areaId | 区域id | false | integer(int64) | ||
| bayId | 间隔id | false | integer(int64) | ||
| mainDeviceId | 主设备id | false | integer(int64) | ||
| partId | 部件id | false | integer(int64) | ||
| algoRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| manualRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| realRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| positiveSampleAlg | 是否正样本算法 | false | boolean | ||
| modifyImageUrl | 人工审核后的图片 | false | string | ||
| positiveSampleImageUrl | 正样本图片 | false | string | ||
| defect | 是否是缺陷 | false | boolean | ||
| turnDefectTime | 转缺陷时间 | false | string(date-time) | ||
| alarmLevel | 告警等级 | false | integer(int32) | ||
| realResult | false | string | |||
| realConclusion | false | integer(int32) |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultResultDto |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | ResultDto | ResultDto | |
| id | 主键 | integer(int64) | |
| requestId | 请求分析数据唯一标识,UUID | string | |
| taskId | 任务id | integer(int64) | |
| taskType | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | integer(int32) | |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | integer(int32) | |
| taskTypes | 巡视任务类型集合 | array | integer(int32) |
| taskInsId | 巡视任务记录ID | integer(int64) | |
| pointId | 任务点id | integer(int64) | |
| beuId | 执行单元id | integer(int64) | |
| beuType | 1. 流式摄像机,2机器人,3 拍照摄像机 4.声纹 等 | integer(int32) | |
| algName | 算法名称 | string | |
| algId | 算法id | integer(int64) | |
| defectType | 大类型 | string | |
| defectSubtype | 小类型 | string | |
| deviceCode | 设备的唯一标识 | string | |
| hostCode | 机器人,无人机唯一标识 | string | |
| deviceId | 设备主键id | integer(int64) | |
| deviceName | 设备名称 | string | |
| stepId | 步骤Id | integer(int32) | |
| runtimeStatus | 执行状态 | integer(int32) | |
| startTime | 执行开始时间 | string(date-time) | |
| endTime | 完成时间 | string(date-time) | |
| result | 结果 | string | |
| resCode | 分析状态码 | integer(int32) | |
| conclusion | 结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer(int32) | |
| modifyConclusion | 修订结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer(int32) | |
| finalConclusion | 最终结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer(int32) | |
| abnormalReason | 异常原因,记录点位结果状态为异常的原因。原因可能是多条,异常原因内容是字符串数组 | array | string |
| modifyResult | 修订结果 | string | |
| ftpImageUrl | ftp文件地址 | string | |
| srcUrl | minio文件 | string | |
| srcStreamUrl | 流地址 | string | |
| handleImageUrl | 算法处理过的文件 | string | |
| handleVideoUrl | 算法处理过的视频 | string | |
| qualityResult | 图像质量 | integer(int32) | |
| frequency | 频率 | string | |
| soundPressure | 声压 | string | |
| sensitivityLabel | 敏感标记 | integer(int32) | |
| verified | 审核状态 | integer(int32) | |
| verifiedCause | 人工确认原因 | array | integer(int32) |
| verifiedPerson | 审核人 | string | |
| verifiedTime | 审核时间 | string(date-time) | |
| isDeleted | 逻辑删除 | integer(int32) | |
| createdBy | 创建人 | string | |
| createdTime | 创建时间 | string(date-time) | |
| updatedBy | 更新人 | string | |
| updatedTime | 上报时间 | string(date-time) | |
| minUpdatedTime | 最小上报时间 | string | |
| maxUpdatedTime | 最大上报时间 | string | |
| taskName | 任务名称 | string | |
| beuName | 执行单元名称 | string | |
| resultDesc | 结果描述 | string | |
| processRecord | 流程记录 | integer(int32) | |
| remark | 备注 | string | |
| pointGroupName | 任务点组名称 | string | |
| testRun | 试运行 0 试运行,1 运行 | integer(int32) | |
| sequence | 唯一序列号 | string | |
| mspId | 场景id | integer(int64) | |
| manualCheck | 人工审核, 参考ManualCheckEnum | string | |
| roiArea | ROI区域, 包含算法和审核人员标注的ROI区域 | string | |
| extraInfo | 额外信息 | string | |
| areaId | 区域id | integer(int64) | |
| bayId | 间隔id | integer(int64) | |
| mainDeviceId | 主设备id | integer(int64) | |
| partId | 部件id | integer(int64) | |
| algoRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| manualRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| realRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| positiveSampleAlg | 是否正样本算法 | boolean | |
| modifyImageUrl | 人工审核后的图片 | string | |
| positiveSampleImageUrl | 正样本图片 | string | |
| defect | 是否是缺陷 | boolean | |
| turnDefectTime | 转缺陷时间 | string(date-time) | |
| alarmLevel | 告警等级 | integer(int32) | |
| realResult | string | ||
| realConclusion | integer(int32) | ||
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": {
"id": 0,
"requestId": "",
"taskId": 0,
"taskType": 0,
"inspectionType": 0,
"taskTypes": [],
"taskInsId": 0,
"pointId": 0,
"beuId": 0,
"beuType": 0,
"algName": "",
"algId": 0,
"defectType": "",
"defectSubtype": "",
"deviceCode": "",
"hostCode": "",
"deviceId": 0,
"deviceName": "",
"stepId": 0,
"runtimeStatus": 0,
"startTime": "",
"endTime": "",
"result": "",
"resCode": 0,
"conclusion": 0,
"modifyConclusion": 0,
"finalConclusion": 0,
"abnormalReason": [],
"modifyResult": "",
"ftpImageUrl": "",
"srcUrl": "",
"srcStreamUrl": "",
"handleImageUrl": "",
"handleVideoUrl": "",
"qualityResult": 0,
"frequency": "",
"soundPressure": "",
"sensitivityLabel": 0,
"verified": 0,
"verifiedCause": [],
"verifiedPerson": "",
"verifiedTime": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"minUpdatedTime": "",
"maxUpdatedTime": "",
"taskName": "",
"beuName": "",
"resultDesc": "",
"processRecord": 0,
"remark": "",
"pointGroupName": "",
"testRun": 0,
"sequence": "",
"mspId": 0,
"manualCheck": "",
"roiArea": "",
"extraInfo": "",
"areaId": 0,
"bayId": 0,
"mainDeviceId": 0,
"partId": 0,
"algoRoiList": [
{
"rectType": "",
"rectValue": "",
"areas": [
{
"x": "",
"y": ""
}
]
}
],
"manualRoiList": [
{}
],
"realRoiList": [
{}
],
"positiveSampleAlg": true,
"modifyImageUrl": "",
"positiveSampleImageUrl": "",
"defect": true,
"turnDefectTime": "",
"alarmLevel": 0,
"realResult": "",
"realConclusion": 0
},
"timestamp": ""
}结果删除
接口地址:/platform/api/v1/task/results/delete
请求方式:POST
请求数据类型:application/x-www-form-urlencoded,application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"id": 0,
"requestId": "",
"taskId": 0,
"taskType": 0,
"inspectionType": 0,
"taskTypes": [],
"taskInsId": 0,
"pointId": 0,
"beuId": 0,
"beuType": 0,
"algName": "",
"algId": 0,
"defectType": "",
"defectSubtype": "",
"deviceCode": "",
"hostCode": "",
"deviceId": 0,
"deviceName": "",
"stepId": 0,
"runtimeStatus": 0,
"startTime": "",
"endTime": "",
"result": "",
"resCode": 0,
"conclusion": 0,
"modifyConclusion": 0,
"finalConclusion": 0,
"abnormalReason": [],
"modifyResult": "",
"ftpImageUrl": "",
"srcUrl": "",
"srcStreamUrl": "",
"handleImageUrl": "",
"handleVideoUrl": "",
"qualityResult": 0,
"frequency": "",
"soundPressure": "",
"sensitivityLabel": 0,
"verified": 0,
"verifiedCause": [],
"verifiedPerson": "",
"verifiedTime": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"minUpdatedTime": "",
"maxUpdatedTime": "",
"taskName": "",
"beuName": "",
"resultDesc": "",
"processRecord": 0,
"remark": "",
"pointGroupName": "",
"testRun": 0,
"sequence": "",
"mspId": 0,
"manualCheck": "",
"roiArea": "",
"extraInfo": "",
"areaId": 0,
"bayId": 0,
"mainDeviceId": 0,
"partId": 0,
"algoRoiList": [
{
"rectType": "",
"rectValue": "",
"areas": [
{
"x": "",
"y": ""
}
]
}
],
"manualRoiList": [
{
"rectType": "",
"rectValue": "",
"areas": [
{
"x": "",
"y": ""
}
]
}
],
"realRoiList": [
{
"rectType": "",
"rectValue": "",
"areas": [
{
"x": "",
"y": ""
}
]
}
],
"positiveSampleAlg": true,
"modifyImageUrl": "",
"positiveSampleImageUrl": "",
"defect": true,
"turnDefectTime": "",
"alarmLevel": 0,
"realResult": "",
"realConclusion": 0
}请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| resultDto | 结果 | body | true | ResultDto | ResultDto |
| id | 主键 | true | integer(int64) | ||
| requestId | 请求分析数据唯一标识,UUID | false | string | ||
| taskId | 任务id | false | integer(int64) | ||
| taskType | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | false | integer(int32) | ||
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | false | integer(int32) | ||
| taskTypes | 巡视任务类型集合 | false | array | integer(int32) | |
| taskInsId | 巡视任务记录ID | false | integer(int64) | ||
| pointId | 任务点id | false | integer(int64) | ||
| beuId | 执行单元id | false | integer(int64) | ||
| beuType | 1. 流式摄像机,2机器人,3 拍照摄像机 4.声纹 等 | false | integer(int32) | ||
| algName | 算法名称 | false | string | ||
| algId | 算法id | false | integer(int64) | ||
| defectType | 大类型 | false | string | ||
| defectSubtype | 小类型 | false | string | ||
| deviceCode | 设备的唯一标识 | false | string | ||
| hostCode | 机器人,无人机唯一标识 | false | string | ||
| deviceId | 设备主键id | false | integer(int64) | ||
| deviceName | 设备名称 | false | string | ||
| stepId | 步骤Id | false | integer(int32) | ||
| runtimeStatus | 执行状态 | false | integer(int32) | ||
| startTime | 执行开始时间 | false | string(date-time) | ||
| endTime | 完成时间 | false | string(date-time) | ||
| result | 结果 | false | string | ||
| resCode | 分析状态码 | false | integer(int32) | ||
| conclusion | 结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| modifyConclusion | 修订结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| finalConclusion | 最终结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| abnormalReason | 异常原因,记录点位结果状态为异常的原因。原因可能是多条,异常原因内容是字符串数组 | false | array | string | |
| modifyResult | 修订结果 | false | string | ||
| ftpImageUrl | ftp文件地址 | false | string | ||
| srcUrl | minio文件 | false | string | ||
| srcStreamUrl | 流地址 | false | string | ||
| handleImageUrl | 算法处理过的文件 | false | string | ||
| handleVideoUrl | 算法处理过的视频 | false | string | ||
| qualityResult | 图像质量 | false | integer(int32) | ||
| frequency | 频率 | false | string | ||
| soundPressure | 声压 | false | string | ||
| sensitivityLabel | 敏感标记 | false | integer(int32) | ||
| verified | 审核状态 | false | integer(int32) | ||
| verifiedCause | 人工确认原因 | false | array | integer(int32) | |
| verifiedPerson | 审核人 | false | string | ||
| verifiedTime | 审核时间 | false | string(date-time) | ||
| isDeleted | 逻辑删除 | false | integer(int32) | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string(date-time) | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 上报时间 | false | string(date-time) | ||
| minUpdatedTime | 最小上报时间 | false | string | ||
| maxUpdatedTime | 最大上报时间 | false | string | ||
| taskName | 任务名称 | false | string | ||
| beuName | 执行单元名称 | false | string | ||
| resultDesc | 结果描述 | false | string | ||
| processRecord | 流程记录 | false | integer(int32) | ||
| remark | 备注 | false | string | ||
| pointGroupName | 任务点组名称 | false | string | ||
| testRun | 试运行 0 试运行,1 运行 | false | integer(int32) | ||
| sequence | 唯一序列号 | false | string | ||
| mspId | 场景id | false | integer(int64) | ||
| manualCheck | 人工审核, 参考ManualCheckEnum | false | string | ||
| roiArea | ROI区域, 包含算法和审核人员标注的ROI区域 | false | string | ||
| extraInfo | 额外信息 | false | string | ||
| areaId | 区域id | false | integer(int64) | ||
| bayId | 间隔id | false | integer(int64) | ||
| mainDeviceId | 主设备id | false | integer(int64) | ||
| partId | 部件id | false | integer(int64) | ||
| algoRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| manualRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| realRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| positiveSampleAlg | 是否正样本算法 | false | boolean | ||
| modifyImageUrl | 人工审核后的图片 | false | string | ||
| positiveSampleImageUrl | 正样本图片 | false | string | ||
| defect | 是否是缺陷 | false | boolean | ||
| turnDefectTime | 转缺陷时间 | false | string(date-time) | ||
| alarmLevel | 告警等级 | false | integer(int32) | ||
| realResult | false | string | |||
| realConclusion | false | integer(int32) |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultResultDto |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | ResultDto | ResultDto | |
| id | 主键 | integer(int64) | |
| requestId | 请求分析数据唯一标识,UUID | string | |
| taskId | 任务id | integer(int64) | |
| taskType | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | integer(int32) | |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | integer(int32) | |
| taskTypes | 巡视任务类型集合 | array | integer(int32) |
| taskInsId | 巡视任务记录ID | integer(int64) | |
| pointId | 任务点id | integer(int64) | |
| beuId | 执行单元id | integer(int64) | |
| beuType | 1. 流式摄像机,2机器人,3 拍照摄像机 4.声纹 等 | integer(int32) | |
| algName | 算法名称 | string | |
| algId | 算法id | integer(int64) | |
| defectType | 大类型 | string | |
| defectSubtype | 小类型 | string | |
| deviceCode | 设备的唯一标识 | string | |
| hostCode | 机器人,无人机唯一标识 | string | |
| deviceId | 设备主键id | integer(int64) | |
| deviceName | 设备名称 | string | |
| stepId | 步骤Id | integer(int32) | |
| runtimeStatus | 执行状态 | integer(int32) | |
| startTime | 执行开始时间 | string(date-time) | |
| endTime | 完成时间 | string(date-time) | |
| result | 结果 | string | |
| resCode | 分析状态码 | integer(int32) | |
| conclusion | 结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer(int32) | |
| modifyConclusion | 修订结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer(int32) | |
| finalConclusion | 最终结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer(int32) | |
| abnormalReason | 异常原因,记录点位结果状态为异常的原因。原因可能是多条,异常原因内容是字符串数组 | array | string |
| modifyResult | 修订结果 | string | |
| ftpImageUrl | ftp文件地址 | string | |
| srcUrl | minio文件 | string | |
| srcStreamUrl | 流地址 | string | |
| handleImageUrl | 算法处理过的文件 | string | |
| handleVideoUrl | 算法处理过的视频 | string | |
| qualityResult | 图像质量 | integer(int32) | |
| frequency | 频率 | string | |
| soundPressure | 声压 | string | |
| sensitivityLabel | 敏感标记 | integer(int32) | |
| verified | 审核状态 | integer(int32) | |
| verifiedCause | 人工确认原因 | array | integer(int32) |
| verifiedPerson | 审核人 | string | |
| verifiedTime | 审核时间 | string(date-time) | |
| isDeleted | 逻辑删除 | integer(int32) | |
| createdBy | 创建人 | string | |
| createdTime | 创建时间 | string(date-time) | |
| updatedBy | 更新人 | string | |
| updatedTime | 上报时间 | string(date-time) | |
| minUpdatedTime | 最小上报时间 | string | |
| maxUpdatedTime | 最大上报时间 | string | |
| taskName | 任务名称 | string | |
| beuName | 执行单元名称 | string | |
| resultDesc | 结果描述 | string | |
| processRecord | 流程记录 | integer(int32) | |
| remark | 备注 | string | |
| pointGroupName | 任务点组名称 | string | |
| testRun | 试运行 0 试运行,1 运行 | integer(int32) | |
| sequence | 唯一序列号 | string | |
| mspId | 场景id | integer(int64) | |
| manualCheck | 人工审核, 参考ManualCheckEnum | string | |
| roiArea | ROI区域, 包含算法和审核人员标注的ROI区域 | string | |
| extraInfo | 额外信息 | string | |
| areaId | 区域id | integer(int64) | |
| bayId | 间隔id | integer(int64) | |
| mainDeviceId | 主设备id | integer(int64) | |
| partId | 部件id | integer(int64) | |
| algoRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| manualRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| realRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| positiveSampleAlg | 是否正样本算法 | boolean | |
| modifyImageUrl | 人工审核后的图片 | string | |
| positiveSampleImageUrl | 正样本图片 | string | |
| defect | 是否是缺陷 | boolean | |
| turnDefectTime | 转缺陷时间 | string(date-time) | |
| alarmLevel | 告警等级 | integer(int32) | |
| realResult | string | ||
| realConclusion | integer(int32) | ||
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": {
"id": 0,
"requestId": "",
"taskId": 0,
"taskType": 0,
"inspectionType": 0,
"taskTypes": [],
"taskInsId": 0,
"pointId": 0,
"beuId": 0,
"beuType": 0,
"algName": "",
"algId": 0,
"defectType": "",
"defectSubtype": "",
"deviceCode": "",
"hostCode": "",
"deviceId": 0,
"deviceName": "",
"stepId": 0,
"runtimeStatus": 0,
"startTime": "",
"endTime": "",
"result": "",
"resCode": 0,
"conclusion": 0,
"modifyConclusion": 0,
"finalConclusion": 0,
"abnormalReason": [],
"modifyResult": "",
"ftpImageUrl": "",
"srcUrl": "",
"srcStreamUrl": "",
"handleImageUrl": "",
"handleVideoUrl": "",
"qualityResult": 0,
"frequency": "",
"soundPressure": "",
"sensitivityLabel": 0,
"verified": 0,
"verifiedCause": [],
"verifiedPerson": "",
"verifiedTime": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"minUpdatedTime": "",
"maxUpdatedTime": "",
"taskName": "",
"beuName": "",
"resultDesc": "",
"processRecord": 0,
"remark": "",
"pointGroupName": "",
"testRun": 0,
"sequence": "",
"mspId": 0,
"manualCheck": "",
"roiArea": "",
"extraInfo": "",
"areaId": 0,
"bayId": 0,
"mainDeviceId": 0,
"partId": 0,
"algoRoiList": [
{
"rectType": "",
"rectValue": "",
"areas": [
{
"x": "",
"y": ""
}
]
}
],
"manualRoiList": [
{}
],
"realRoiList": [
{}
],
"positiveSampleAlg": true,
"modifyImageUrl": "",
"positiveSampleImageUrl": "",
"defect": true,
"turnDefectTime": "",
"alarmLevel": 0,
"realResult": "",
"realConclusion": 0
},
"timestamp": ""
}结果新增
接口地址:/platform/api/v1/task/results/add
请求方式:POST
请求数据类型:application/x-www-form-urlencoded,application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"id": 0,
"requestId": "",
"taskId": 0,
"taskType": 0,
"inspectionType": 0,
"taskTypes": [],
"taskInsId": 0,
"pointId": 0,
"beuId": 0,
"beuType": 0,
"algName": "",
"algId": 0,
"defectType": "",
"defectSubtype": "",
"deviceCode": "",
"hostCode": "",
"deviceId": 0,
"deviceName": "",
"stepId": 0,
"runtimeStatus": 0,
"startTime": "",
"endTime": "",
"result": "",
"resCode": 0,
"conclusion": 0,
"modifyConclusion": 0,
"finalConclusion": 0,
"abnormalReason": [],
"modifyResult": "",
"ftpImageUrl": "",
"srcUrl": "",
"srcStreamUrl": "",
"handleImageUrl": "",
"handleVideoUrl": "",
"qualityResult": 0,
"frequency": "",
"soundPressure": "",
"sensitivityLabel": 0,
"verified": 0,
"verifiedCause": [],
"verifiedPerson": "",
"verifiedTime": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"minUpdatedTime": "",
"maxUpdatedTime": "",
"taskName": "",
"beuName": "",
"resultDesc": "",
"processRecord": 0,
"remark": "",
"pointGroupName": "",
"testRun": 0,
"sequence": "",
"mspId": 0,
"manualCheck": "",
"roiArea": "",
"extraInfo": "",
"areaId": 0,
"bayId": 0,
"mainDeviceId": 0,
"partId": 0,
"algoRoiList": [
{
"rectType": "",
"rectValue": "",
"areas": [
{
"x": "",
"y": ""
}
]
}
],
"manualRoiList": [
{
"rectType": "",
"rectValue": "",
"areas": [
{
"x": "",
"y": ""
}
]
}
],
"realRoiList": [
{
"rectType": "",
"rectValue": "",
"areas": [
{
"x": "",
"y": ""
}
]
}
],
"positiveSampleAlg": true,
"modifyImageUrl": "",
"positiveSampleImageUrl": "",
"defect": true,
"turnDefectTime": "",
"alarmLevel": 0,
"realResult": "",
"realConclusion": 0
}请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| resultDto | 结果 | body | true | ResultDto | ResultDto |
| id | 主键 | true | integer(int64) | ||
| requestId | 请求分析数据唯一标识,UUID | false | string | ||
| taskId | 任务id | false | integer(int64) | ||
| taskType | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | false | integer(int32) | ||
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | false | integer(int32) | ||
| taskTypes | 巡视任务类型集合 | false | array | integer(int32) | |
| taskInsId | 巡视任务记录ID | false | integer(int64) | ||
| pointId | 任务点id | false | integer(int64) | ||
| beuId | 执行单元id | false | integer(int64) | ||
| beuType | 1. 流式摄像机,2机器人,3 拍照摄像机 4.声纹 等 | false | integer(int32) | ||
| algName | 算法名称 | false | string | ||
| algId | 算法id | false | integer(int64) | ||
| defectType | 大类型 | false | string | ||
| defectSubtype | 小类型 | false | string | ||
| deviceCode | 设备的唯一标识 | false | string | ||
| hostCode | 机器人,无人机唯一标识 | false | string | ||
| deviceId | 设备主键id | false | integer(int64) | ||
| deviceName | 设备名称 | false | string | ||
| stepId | 步骤Id | false | integer(int32) | ||
| runtimeStatus | 执行状态 | false | integer(int32) | ||
| startTime | 执行开始时间 | false | string(date-time) | ||
| endTime | 完成时间 | false | string(date-time) | ||
| result | 结果 | false | string | ||
| resCode | 分析状态码 | false | integer(int32) | ||
| conclusion | 结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| modifyConclusion | 修订结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| finalConclusion | 最终结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| abnormalReason | 异常原因,记录点位结果状态为异常的原因。原因可能是多条,异常原因内容是字符串数组 | false | array | string | |
| modifyResult | 修订结果 | false | string | ||
| ftpImageUrl | ftp文件地址 | false | string | ||
| srcUrl | minio文件 | false | string | ||
| srcStreamUrl | 流地址 | false | string | ||
| handleImageUrl | 算法处理过的文件 | false | string | ||
| handleVideoUrl | 算法处理过的视频 | false | string | ||
| qualityResult | 图像质量 | false | integer(int32) | ||
| frequency | 频率 | false | string | ||
| soundPressure | 声压 | false | string | ||
| sensitivityLabel | 敏感标记 | false | integer(int32) | ||
| verified | 审核状态 | false | integer(int32) | ||
| verifiedCause | 人工确认原因 | false | array | integer(int32) | |
| verifiedPerson | 审核人 | false | string | ||
| verifiedTime | 审核时间 | false | string(date-time) | ||
| isDeleted | 逻辑删除 | false | integer(int32) | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string(date-time) | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 上报时间 | false | string(date-time) | ||
| minUpdatedTime | 最小上报时间 | false | string | ||
| maxUpdatedTime | 最大上报时间 | false | string | ||
| taskName | 任务名称 | false | string | ||
| beuName | 执行单元名称 | false | string | ||
| resultDesc | 结果描述 | false | string | ||
| processRecord | 流程记录 | false | integer(int32) | ||
| remark | 备注 | false | string | ||
| pointGroupName | 任务点组名称 | false | string | ||
| testRun | 试运行 0 试运行,1 运行 | false | integer(int32) | ||
| sequence | 唯一序列号 | false | string | ||
| mspId | 场景id | false | integer(int64) | ||
| manualCheck | 人工审核, 参考ManualCheckEnum | false | string | ||
| roiArea | ROI区域, 包含算法和审核人员标注的ROI区域 | false | string | ||
| extraInfo | 额外信息 | false | string | ||
| areaId | 区域id | false | integer(int64) | ||
| bayId | 间隔id | false | integer(int64) | ||
| mainDeviceId | 主设备id | false | integer(int64) | ||
| partId | 部件id | false | integer(int64) | ||
| algoRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| manualRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| realRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| positiveSampleAlg | 是否正样本算法 | false | boolean | ||
| modifyImageUrl | 人工审核后的图片 | false | string | ||
| positiveSampleImageUrl | 正样本图片 | false | string | ||
| defect | 是否是缺陷 | false | boolean | ||
| turnDefectTime | 转缺陷时间 | false | string(date-time) | ||
| alarmLevel | 告警等级 | false | integer(int32) | ||
| realResult | false | string | |||
| realConclusion | false | integer(int32) |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultResultDto |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | ResultDto | ResultDto | |
| id | 主键 | integer(int64) | |
| requestId | 请求分析数据唯一标识,UUID | string | |
| taskId | 任务id | integer(int64) | |
| taskType | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | integer(int32) | |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | integer(int32) | |
| taskTypes | 巡视任务类型集合 | array | integer(int32) |
| taskInsId | 巡视任务记录ID | integer(int64) | |
| pointId | 任务点id | integer(int64) | |
| beuId | 执行单元id | integer(int64) | |
| beuType | 1. 流式摄像机,2机器人,3 拍照摄像机 4.声纹 等 | integer(int32) | |
| algName | 算法名称 | string | |
| algId | 算法id | integer(int64) | |
| defectType | 大类型 | string | |
| defectSubtype | 小类型 | string | |
| deviceCode | 设备的唯一标识 | string | |
| hostCode | 机器人,无人机唯一标识 | string | |
| deviceId | 设备主键id | integer(int64) | |
| deviceName | 设备名称 | string | |
| stepId | 步骤Id | integer(int32) | |
| runtimeStatus | 执行状态 | integer(int32) | |
| startTime | 执行开始时间 | string(date-time) | |
| endTime | 完成时间 | string(date-time) | |
| result | 结果 | string | |
| resCode | 分析状态码 | integer(int32) | |
| conclusion | 结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer(int32) | |
| modifyConclusion | 修订结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer(int32) | |
| finalConclusion | 最终结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer(int32) | |
| abnormalReason | 异常原因,记录点位结果状态为异常的原因。原因可能是多条,异常原因内容是字符串数组 | array | string |
| modifyResult | 修订结果 | string | |
| ftpImageUrl | ftp文件地址 | string | |
| srcUrl | minio文件 | string | |
| srcStreamUrl | 流地址 | string | |
| handleImageUrl | 算法处理过的文件 | string | |
| handleVideoUrl | 算法处理过的视频 | string | |
| qualityResult | 图像质量 | integer(int32) | |
| frequency | 频率 | string | |
| soundPressure | 声压 | string | |
| sensitivityLabel | 敏感标记 | integer(int32) | |
| verified | 审核状态 | integer(int32) | |
| verifiedCause | 人工确认原因 | array | integer(int32) |
| verifiedPerson | 审核人 | string | |
| verifiedTime | 审核时间 | string(date-time) | |
| isDeleted | 逻辑删除 | integer(int32) | |
| createdBy | 创建人 | string | |
| createdTime | 创建时间 | string(date-time) | |
| updatedBy | 更新人 | string | |
| updatedTime | 上报时间 | string(date-time) | |
| minUpdatedTime | 最小上报时间 | string | |
| maxUpdatedTime | 最大上报时间 | string | |
| taskName | 任务名称 | string | |
| beuName | 执行单元名称 | string | |
| resultDesc | 结果描述 | string | |
| processRecord | 流程记录 | integer(int32) | |
| remark | 备注 | string | |
| pointGroupName | 任务点组名称 | string | |
| testRun | 试运行 0 试运行,1 运行 | integer(int32) | |
| sequence | 唯一序列号 | string | |
| mspId | 场景id | integer(int64) | |
| manualCheck | 人工审核, 参考ManualCheckEnum | string | |
| roiArea | ROI区域, 包含算法和审核人员标注的ROI区域 | string | |
| extraInfo | 额外信息 | string | |
| areaId | 区域id | integer(int64) | |
| bayId | 间隔id | integer(int64) | |
| mainDeviceId | 主设备id | integer(int64) | |
| partId | 部件id | integer(int64) | |
| algoRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| manualRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| realRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| positiveSampleAlg | 是否正样本算法 | boolean | |
| modifyImageUrl | 人工审核后的图片 | string | |
| positiveSampleImageUrl | 正样本图片 | string | |
| defect | 是否是缺陷 | boolean | |
| turnDefectTime | 转缺陷时间 | string(date-time) | |
| alarmLevel | 告警等级 | integer(int32) | |
| realResult | string | ||
| realConclusion | integer(int32) | ||
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": {
"id": 0,
"requestId": "",
"taskId": 0,
"taskType": 0,
"inspectionType": 0,
"taskTypes": [],
"taskInsId": 0,
"pointId": 0,
"beuId": 0,
"beuType": 0,
"algName": "",
"algId": 0,
"defectType": "",
"defectSubtype": "",
"deviceCode": "",
"hostCode": "",
"deviceId": 0,
"deviceName": "",
"stepId": 0,
"runtimeStatus": 0,
"startTime": "",
"endTime": "",
"result": "",
"resCode": 0,
"conclusion": 0,
"modifyConclusion": 0,
"finalConclusion": 0,
"abnormalReason": [],
"modifyResult": "",
"ftpImageUrl": "",
"srcUrl": "",
"srcStreamUrl": "",
"handleImageUrl": "",
"handleVideoUrl": "",
"qualityResult": 0,
"frequency": "",
"soundPressure": "",
"sensitivityLabel": 0,
"verified": 0,
"verifiedCause": [],
"verifiedPerson": "",
"verifiedTime": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"minUpdatedTime": "",
"maxUpdatedTime": "",
"taskName": "",
"beuName": "",
"resultDesc": "",
"processRecord": 0,
"remark": "",
"pointGroupName": "",
"testRun": 0,
"sequence": "",
"mspId": 0,
"manualCheck": "",
"roiArea": "",
"extraInfo": "",
"areaId": 0,
"bayId": 0,
"mainDeviceId": 0,
"partId": 0,
"algoRoiList": [
{
"rectType": "",
"rectValue": "",
"areas": [
{
"x": "",
"y": ""
}
]
}
],
"manualRoiList": [
{}
],
"realRoiList": [
{}
],
"positiveSampleAlg": true,
"modifyImageUrl": "",
"positiveSampleImageUrl": "",
"defect": true,
"turnDefectTime": "",
"alarmLevel": 0,
"realResult": "",
"realConclusion": 0
},
"timestamp": ""
}结果分页
接口地址:/platform/api/v1/task/results/page
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| query | 分页查询条件 | query | true | Query | Query |
| current | 当前页,默认第一页 | false | integer(int32) | ||
| size | 每页的数量,默认每页10条记录 | false | integer(int32) | ||
| column | 排序字段 | false | array | string | |
| asc | 是否升序 | false | array | boolean | |
| resultDto | 结果 | query | true | ResultDto | ResultDto |
| id | 主键 | true | integer(int64) | ||
| requestId | 请求分析数据唯一标识,UUID | false | string | ||
| taskId | 任务id | false | integer(int64) | ||
| taskType | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | false | integer(int32) | ||
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | false | integer(int32) | ||
| taskTypes | 巡视任务类型集合 | false | array | integer(int32) | |
| taskInsId | 巡视任务记录ID | false | integer(int64) | ||
| pointId | 任务点id | false | integer(int64) | ||
| beuId | 执行单元id | false | integer(int64) | ||
| beuType | 1. 流式摄像机,2机器人,3 拍照摄像机 4.声纹 等 | false | integer(int32) | ||
| algName | 算法名称 | false | string | ||
| algId | 算法id | false | integer(int64) | ||
| defectType | 大类型 | false | string | ||
| defectSubtype | 小类型 | false | string | ||
| deviceCode | 设备的唯一标识 | false | string | ||
| hostCode | 机器人,无人机唯一标识 | false | string | ||
| deviceId | 设备主键id | false | integer(int64) | ||
| deviceName | 设备名称 | false | string | ||
| stepId | 步骤Id | false | integer(int32) | ||
| runtimeStatus | 执行状态 | false | integer(int32) | ||
| startTime | 执行开始时间 | false | string(date-time) | ||
| endTime | 完成时间 | false | string(date-time) | ||
| result | 结果 | false | string | ||
| resCode | 分析状态码 | false | integer(int32) | ||
| conclusion | 结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| modifyConclusion | 修订结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| finalConclusion | 最终结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| abnormalReason | 异常原因,记录点位结果状态为异常的原因。原因可能是多条,异常原因内容是字符串数组 | false | array | string | |
| modifyResult | 修订结果 | false | string | ||
| ftpImageUrl | ftp文件地址 | false | string | ||
| srcUrl | minio文件 | false | string | ||
| srcStreamUrl | 流地址 | false | string | ||
| handleImageUrl | 算法处理过的文件 | false | string | ||
| handleVideoUrl | 算法处理过的视频 | false | string | ||
| qualityResult | 图像质量 | false | integer(int32) | ||
| frequency | 频率 | false | string | ||
| soundPressure | 声压 | false | string | ||
| sensitivityLabel | 敏感标记 | false | integer(int32) | ||
| verified | 审核状态 | false | integer(int32) | ||
| verifiedCause | 人工确认原因 | false | array | integer(int32) | |
| verifiedPerson | 审核人 | false | string | ||
| verifiedTime | 审核时间 | false | string(date-time) | ||
| isDeleted | 逻辑删除 | false | integer(int32) | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string(date-time) | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 上报时间 | false | string(date-time) | ||
| minUpdatedTime | 最小上报时间 | false | string | ||
| maxUpdatedTime | 最大上报时间 | false | string | ||
| taskName | 任务名称 | false | string | ||
| beuName | 执行单元名称 | false | string | ||
| resultDesc | 结果描述 | false | string | ||
| processRecord | 流程记录 | false | integer(int32) | ||
| remark | 备注 | false | string | ||
| pointGroupName | 任务点组名称 | false | string | ||
| testRun | 试运行 0 试运行,1 运行 | false | integer(int32) | ||
| sequence | 唯一序列号 | false | string | ||
| mspId | 场景id | false | integer(int64) | ||
| manualCheck | 人工审核, 参考ManualCheckEnum | false | string | ||
| roiArea | ROI区域, 包含算法和审核人员标注的ROI区域 | false | string | ||
| extraInfo | 额外信息 | false | string | ||
| areaId | 区域id | false | integer(int64) | ||
| bayId | 间隔id | false | integer(int64) | ||
| mainDeviceId | 主设备id | false | integer(int64) | ||
| partId | 部件id | false | integer(int64) | ||
| algoRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| manualRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| realRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| positiveSampleAlg | 是否正样本算法 | false | boolean | ||
| modifyImageUrl | 人工审核后的图片 | false | string | ||
| positiveSampleImageUrl | 正样本图片 | false | string | ||
| defect | 是否是缺陷 | false | boolean | ||
| turnDefectTime | 转缺陷时间 | false | string(date-time) | ||
| alarmLevel | 告警等级 | false | integer(int32) | ||
| realResult | false | string | |||
| realConclusion | false | integer(int32) |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultPageResultDto |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | PageResultDto | PageResultDto | |
| records | 结果 | array | ResultDto |
| id | 主键 | integer | |
| requestId | 请求分析数据唯一标识,UUID | string | |
| taskId | 任务id | integer | |
| taskType | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | integer | |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | integer | |
| taskTypes | 巡视任务类型集合 | array | integer |
| taskInsId | 巡视任务记录ID | integer | |
| pointId | 任务点id | integer | |
| beuId | 执行单元id | integer | |
| beuType | 1. 流式摄像机,2机器人,3 拍照摄像机 4.声纹 等 | integer | |
| algName | 算法名称 | string | |
| algId | 算法id | integer | |
| defectType | 大类型 | string | |
| defectSubtype | 小类型 | string | |
| deviceCode | 设备的唯一标识 | string | |
| hostCode | 机器人,无人机唯一标识 | string | |
| deviceId | 设备主键id | integer | |
| deviceName | 设备名称 | string | |
| stepId | 步骤Id | integer | |
| runtimeStatus | 执行状态 | integer | |
| startTime | 执行开始时间 | string | |
| endTime | 完成时间 | string | |
| result | 结果 | string | |
| resCode | 分析状态码 | integer | |
| conclusion | 结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer | |
| modifyConclusion | 修订结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer | |
| finalConclusion | 最终结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer | |
| abnormalReason | 异常原因,记录点位结果状态为异常的原因。原因可能是多条,异常原因内容是字符串数组 | array | string |
| modifyResult | 修订结果 | string | |
| ftpImageUrl | ftp文件地址 | string | |
| srcUrl | minio文件 | string | |
| srcStreamUrl | 流地址 | string | |
| handleImageUrl | 算法处理过的文件 | string | |
| handleVideoUrl | 算法处理过的视频 | string | |
| qualityResult | 图像质量 | integer | |
| frequency | 频率 | string | |
| soundPressure | 声压 | string | |
| sensitivityLabel | 敏感标记 | integer | |
| verified | 审核状态 | integer | |
| verifiedCause | 人工确认原因 | array | integer |
| verifiedPerson | 审核人 | string | |
| verifiedTime | 审核时间 | string | |
| isDeleted | 逻辑删除 | integer | |
| createdBy | 创建人 | string | |
| createdTime | 创建时间 | string | |
| updatedBy | 更新人 | string | |
| updatedTime | 上报时间 | string | |
| minUpdatedTime | 最小上报时间 | string | |
| maxUpdatedTime | 最大上报时间 | string | |
| taskName | 任务名称 | string | |
| beuName | 执行单元名称 | string | |
| resultDesc | 结果描述 | string | |
| processRecord | 流程记录 | integer | |
| remark | 备注 | string | |
| pointGroupName | 任务点组名称 | string | |
| testRun | 试运行 0 试运行,1 运行 | integer | |
| sequence | 唯一序列号 | string | |
| mspId | 场景id | integer | |
| manualCheck | 人工审核, 参考ManualCheckEnum | string | |
| roiArea | ROI区域, 包含算法和审核人员标注的ROI区域 | string | |
| extraInfo | 额外信息 | string | |
| areaId | 区域id | integer | |
| bayId | 间隔id | integer | |
| mainDeviceId | 主设备id | integer | |
| partId | 部件id | integer | |
| algoRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| manualRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| realRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| positiveSampleAlg | 是否正样本算法 | boolean | |
| modifyImageUrl | 人工审核后的图片 | string | |
| positiveSampleImageUrl | 正样本图片 | string | |
| defect | 是否是缺陷 | boolean | |
| turnDefectTime | 转缺陷时间 | string | |
| alarmLevel | 告警等级 | integer | |
| realResult | string | ||
| realConclusion | integer | ||
| total | integer(int64) | ||
| size | integer(int64) | ||
| current | integer(int64) | ||
| orders | array | OrderItem | |
| column | string | ||
| asc | boolean | ||
| optimizeCountSql | boolean | ||
| searchCount | boolean | ||
| optimizeJoinOfCountSql | boolean | ||
| maxLimit | integer(int64) | ||
| countId | string | ||
| pages | integer(int64) | ||
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": {
"records": [
{
"id": 0,
"requestId": "",
"taskId": 0,
"taskType": 0,
"inspectionType": 0,
"taskTypes": [],
"taskInsId": 0,
"pointId": 0,
"beuId": 0,
"beuType": 0,
"algName": "",
"algId": 0,
"defectType": "",
"defectSubtype": "",
"deviceCode": "",
"hostCode": "",
"deviceId": 0,
"deviceName": "",
"stepId": 0,
"runtimeStatus": 0,
"startTime": "",
"endTime": "",
"result": "",
"resCode": 0,
"conclusion": 0,
"modifyConclusion": 0,
"finalConclusion": 0,
"abnormalReason": [],
"modifyResult": "",
"ftpImageUrl": "",
"srcUrl": "",
"srcStreamUrl": "",
"handleImageUrl": "",
"handleVideoUrl": "",
"qualityResult": 0,
"frequency": "",
"soundPressure": "",
"sensitivityLabel": 0,
"verified": 0,
"verifiedCause": [],
"verifiedPerson": "",
"verifiedTime": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"minUpdatedTime": "",
"maxUpdatedTime": "",
"taskName": "",
"beuName": "",
"resultDesc": "",
"processRecord": 0,
"remark": "",
"pointGroupName": "",
"testRun": 0,
"sequence": "",
"mspId": 0,
"manualCheck": "",
"roiArea": "",
"extraInfo": "",
"areaId": 0,
"bayId": 0,
"mainDeviceId": 0,
"partId": 0,
"algoRoiList": [
{
"rectType": "",
"rectValue": "",
"areas": [
{
"x": "",
"y": ""
}
]
}
],
"manualRoiList": [
{}
],
"realRoiList": [
{}
],
"positiveSampleAlg": true,
"modifyImageUrl": "",
"positiveSampleImageUrl": "",
"defect": true,
"turnDefectTime": "",
"alarmLevel": 0,
"realResult": "",
"realConclusion": 0
}
],
"total": 0,
"size": 0,
"current": 0,
"orders": [
{
"column": "",
"asc": true
}
],
"optimizeCountSql": true,
"searchCount": true,
"optimizeJoinOfCountSql": true,
"maxLimit": 0,
"countId": "",
"pages": 0
},
"timestamp": ""
}获取结果
接口地址:/platform/api/v1/task/results/list
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| resultDto | 结果 | query | true | ResultDto | ResultDto |
| id | 主键 | true | integer(int64) | ||
| requestId | 请求分析数据唯一标识,UUID | false | string | ||
| taskId | 任务id | false | integer(int64) | ||
| taskType | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | false | integer(int32) | ||
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | false | integer(int32) | ||
| taskTypes | 巡视任务类型集合 | false | array | integer(int32) | |
| taskInsId | 巡视任务记录ID | false | integer(int64) | ||
| pointId | 任务点id | false | integer(int64) | ||
| beuId | 执行单元id | false | integer(int64) | ||
| beuType | 1. 流式摄像机,2机器人,3 拍照摄像机 4.声纹 等 | false | integer(int32) | ||
| algName | 算法名称 | false | string | ||
| algId | 算法id | false | integer(int64) | ||
| defectType | 大类型 | false | string | ||
| defectSubtype | 小类型 | false | string | ||
| deviceCode | 设备的唯一标识 | false | string | ||
| hostCode | 机器人,无人机唯一标识 | false | string | ||
| deviceId | 设备主键id | false | integer(int64) | ||
| deviceName | 设备名称 | false | string | ||
| stepId | 步骤Id | false | integer(int32) | ||
| runtimeStatus | 执行状态 | false | integer(int32) | ||
| startTime | 执行开始时间 | false | string(date-time) | ||
| endTime | 完成时间 | false | string(date-time) | ||
| result | 结果 | false | string | ||
| resCode | 分析状态码 | false | integer(int32) | ||
| conclusion | 结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| modifyConclusion | 修订结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| finalConclusion | 最终结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | false | integer(int32) | ||
| abnormalReason | 异常原因,记录点位结果状态为异常的原因。原因可能是多条,异常原因内容是字符串数组 | false | array | string | |
| modifyResult | 修订结果 | false | string | ||
| ftpImageUrl | ftp文件地址 | false | string | ||
| srcUrl | minio文件 | false | string | ||
| srcStreamUrl | 流地址 | false | string | ||
| handleImageUrl | 算法处理过的文件 | false | string | ||
| handleVideoUrl | 算法处理过的视频 | false | string | ||
| qualityResult | 图像质量 | false | integer(int32) | ||
| frequency | 频率 | false | string | ||
| soundPressure | 声压 | false | string | ||
| sensitivityLabel | 敏感标记 | false | integer(int32) | ||
| verified | 审核状态 | false | integer(int32) | ||
| verifiedCause | 人工确认原因 | false | array | integer(int32) | |
| verifiedPerson | 审核人 | false | string | ||
| verifiedTime | 审核时间 | false | string(date-time) | ||
| isDeleted | 逻辑删除 | false | integer(int32) | ||
| createdBy | 创建人 | false | string | ||
| createdTime | 创建时间 | false | string(date-time) | ||
| updatedBy | 更新人 | false | string | ||
| updatedTime | 上报时间 | false | string(date-time) | ||
| minUpdatedTime | 最小上报时间 | false | string | ||
| maxUpdatedTime | 最大上报时间 | false | string | ||
| taskName | 任务名称 | false | string | ||
| beuName | 执行单元名称 | false | string | ||
| resultDesc | 结果描述 | false | string | ||
| processRecord | 流程记录 | false | integer(int32) | ||
| remark | 备注 | false | string | ||
| pointGroupName | 任务点组名称 | false | string | ||
| testRun | 试运行 0 试运行,1 运行 | false | integer(int32) | ||
| sequence | 唯一序列号 | false | string | ||
| mspId | 场景id | false | integer(int64) | ||
| manualCheck | 人工审核, 参考ManualCheckEnum | false | string | ||
| roiArea | ROI区域, 包含算法和审核人员标注的ROI区域 | false | string | ||
| extraInfo | 额外信息 | false | string | ||
| areaId | 区域id | false | integer(int64) | ||
| bayId | 间隔id | false | integer(int64) | ||
| mainDeviceId | 主设备id | false | integer(int64) | ||
| partId | 部件id | false | integer(int64) | ||
| algoRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| manualRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| realRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| positiveSampleAlg | 是否正样本算法 | false | boolean | ||
| modifyImageUrl | 人工审核后的图片 | false | string | ||
| positiveSampleImageUrl | 正样本图片 | false | string | ||
| defect | 是否是缺陷 | false | boolean | ||
| turnDefectTime | 转缺陷时间 | false | string(date-time) | ||
| alarmLevel | 告警等级 | false | integer(int32) | ||
| realResult | false | string | |||
| realConclusion | false | integer(int32) |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultListResultDto |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | array | ResultDto | |
| id | 主键 | integer(int64) | |
| requestId | 请求分析数据唯一标识,UUID | string | |
| taskId | 任务id | integer(int64) | |
| taskType | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | integer(int32) | |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | integer(int32) | |
| taskTypes | 巡视任务类型集合 | array | integer(int32) |
| taskInsId | 巡视任务记录ID | integer(int64) | |
| pointId | 任务点id | integer(int64) | |
| beuId | 执行单元id | integer(int64) | |
| beuType | 1. 流式摄像机,2机器人,3 拍照摄像机 4.声纹 等 | integer(int32) | |
| algName | 算法名称 | string | |
| algId | 算法id | integer(int64) | |
| defectType | 大类型 | string | |
| defectSubtype | 小类型 | string | |
| deviceCode | 设备的唯一标识 | string | |
| hostCode | 机器人,无人机唯一标识 | string | |
| deviceId | 设备主键id | integer(int64) | |
| deviceName | 设备名称 | string | |
| stepId | 步骤Id | integer(int32) | |
| runtimeStatus | 执行状态 | integer(int32) | |
| startTime | 执行开始时间 | string(date-time) | |
| endTime | 完成时间 | string(date-time) | |
| result | 结果 | string | |
| resCode | 分析状态码 | integer(int32) | |
| conclusion | 结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer(int32) | |
| modifyConclusion | 修订结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer(int32) | |
| finalConclusion | 最终结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer(int32) | |
| abnormalReason | 异常原因,记录点位结果状态为异常的原因。原因可能是多条,异常原因内容是字符串数组 | array | string |
| modifyResult | 修订结果 | string | |
| ftpImageUrl | ftp文件地址 | string | |
| srcUrl | minio文件 | string | |
| srcStreamUrl | 流地址 | string | |
| handleImageUrl | 算法处理过的文件 | string | |
| handleVideoUrl | 算法处理过的视频 | string | |
| qualityResult | 图像质量 | integer(int32) | |
| frequency | 频率 | string | |
| soundPressure | 声压 | string | |
| sensitivityLabel | 敏感标记 | integer(int32) | |
| verified | 审核状态 | integer(int32) | |
| verifiedCause | 人工确认原因 | array | integer(int32) |
| verifiedPerson | 审核人 | string | |
| verifiedTime | 审核时间 | string(date-time) | |
| isDeleted | 逻辑删除 | integer(int32) | |
| createdBy | 创建人 | string | |
| createdTime | 创建时间 | string(date-time) | |
| updatedBy | 更新人 | string | |
| updatedTime | 上报时间 | string(date-time) | |
| minUpdatedTime | 最小上报时间 | string | |
| maxUpdatedTime | 最大上报时间 | string | |
| taskName | 任务名称 | string | |
| beuName | 执行单元名称 | string | |
| resultDesc | 结果描述 | string | |
| processRecord | 流程记录 | integer(int32) | |
| remark | 备注 | string | |
| pointGroupName | 任务点组名称 | string | |
| testRun | 试运行 0 试运行,1 运行 | integer(int32) | |
| sequence | 唯一序列号 | string | |
| mspId | 场景id | integer(int64) | |
| manualCheck | 人工审核, 参考ManualCheckEnum | string | |
| roiArea | ROI区域, 包含算法和审核人员标注的ROI区域 | string | |
| extraInfo | 额外信息 | string | |
| areaId | 区域id | integer(int64) | |
| bayId | 间隔id | integer(int64) | |
| mainDeviceId | 主设备id | integer(int64) | |
| partId | 部件id | integer(int64) | |
| algoRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| manualRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| realRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| positiveSampleAlg | 是否正样本算法 | boolean | |
| modifyImageUrl | 人工审核后的图片 | string | |
| positiveSampleImageUrl | 正样本图片 | string | |
| defect | 是否是缺陷 | boolean | |
| turnDefectTime | 转缺陷时间 | string(date-time) | |
| alarmLevel | 告警等级 | integer(int32) | |
| realResult | string | ||
| realConclusion | integer(int32) | ||
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": [
{
"id": 0,
"requestId": "",
"taskId": 0,
"taskType": 0,
"inspectionType": 0,
"taskTypes": [],
"taskInsId": 0,
"pointId": 0,
"beuId": 0,
"beuType": 0,
"algName": "",
"algId": 0,
"defectType": "",
"defectSubtype": "",
"deviceCode": "",
"hostCode": "",
"deviceId": 0,
"deviceName": "",
"stepId": 0,
"runtimeStatus": 0,
"startTime": "",
"endTime": "",
"result": "",
"resCode": 0,
"conclusion": 0,
"modifyConclusion": 0,
"finalConclusion": 0,
"abnormalReason": [],
"modifyResult": "",
"ftpImageUrl": "",
"srcUrl": "",
"srcStreamUrl": "",
"handleImageUrl": "",
"handleVideoUrl": "",
"qualityResult": 0,
"frequency": "",
"soundPressure": "",
"sensitivityLabel": 0,
"verified": 0,
"verifiedCause": [],
"verifiedPerson": "",
"verifiedTime": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"minUpdatedTime": "",
"maxUpdatedTime": "",
"taskName": "",
"beuName": "",
"resultDesc": "",
"processRecord": 0,
"remark": "",
"pointGroupName": "",
"testRun": 0,
"sequence": "",
"mspId": 0,
"manualCheck": "",
"roiArea": "",
"extraInfo": "",
"areaId": 0,
"bayId": 0,
"mainDeviceId": 0,
"partId": 0,
"algoRoiList": [
{
"rectType": "",
"rectValue": "",
"areas": [
{
"x": "",
"y": ""
}
]
}
],
"manualRoiList": [
{}
],
"realRoiList": [
{}
],
"positiveSampleAlg": true,
"modifyImageUrl": "",
"positiveSampleImageUrl": "",
"defect": true,
"turnDefectTime": "",
"alarmLevel": 0,
"realResult": "",
"realConclusion": 0
}
],
"timestamp": ""
}审核结果
普通算法,只需保存审核结论,而正样本算法,还需要传入人工审核的roi框,并同步给算法反馈训练
接口地址:/platform/api/v1/task/results/audit-result
请求方式:POST
请求数据类型:application/x-www-form-urlencoded,application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"resultId": 0,
"imageUrl": "",
"modifyConclusion": 0,
"manualRoiList": [
{
"rectType": "",
"rectValue": "",
"areas": [
{
"x": "",
"y": ""
}
]
}
],
"modifyImageUrl": ""
}请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| auditRequest | 审核请求 | body | true | AuditRequest | AuditRequest |
| resultId | 结果id | false | integer(int64) | ||
| imageUrl | 原来的图片url | false | string | ||
| modifyConclusion | 修订结论 1.正常 2异常 | false | integer(int32) | ||
| manualRoiList | roi区域对象 | false | array | AreasDTO | |
| rectType | 类型 | false | string | ||
| rectValue | 结果 | false | string | ||
| areas | roi坐标对象 | false | array | CoordinateDTO | |
| x | 横轴坐标 | false | string | ||
| y | 纵轴坐标 | false | string | ||
| modifyImageUrl | 人工审核后的图片url | false | string |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultVoid |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | object | ||
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": {},
"timestamp": ""
}查询巡视点位结果-正常分页
接口地址:/task/api/v1/results/page-result
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| pointResultQueryDto | 任务点位记录分页条件查询类 | query | true | PointResultQueryDto | PointResultQueryDto |
| orgId | 变电站id | true | string | ||
| ids | 任务点位记录ids | false | array | integer(int64) | |
| taskId | 任务id | false | integer(int64) | ||
| taskType | taskType | false | integer(int32) | ||
| taskInsId | 巡视任务记录ID | false | integer(int64) | ||
| inspectionTypes | 巡视类型 | false | array | integer(int32) | |
| bayId | 间隔id | false | integer(int64) | ||
| devId | 设备ID | false | integer(int64) | ||
| partId | 部件ID | false | integer(int64) | ||
| pointIds | 点位ID集合 | false | array | integer(int64) | |
| execStatuses | 任务执行状态集合 | false | array | integer(int32) | |
| result | 巡视结果 | false | string | ||
| modifyResult | 修订结果 | false | string | ||
| hasConclusion | 是否有结论 | false | boolean | ||
| conclusion | 结论,1未见异常,2异常,3未见异常(待人工确认),null或空时不限制 | false | integer(int32) | ||
| conclusions | 结论,1未见异常,2异常,3未见异常(待人工确认),null或空时不限制 集合 | false | array | integer(int32) | |
| modifyConclusion | 修订结论,1未见异常,2异常,3未见异常(待人工确认),null或空时不限制 | false | integer(int32) | ||
| beuType | beuType | false | integer(int32) | ||
| defectType | 缺陷类型筛选 | false | string | ||
| defectSubtypes | 缺陷子类型筛选 | false | array | string | |
| areaNameFilters | 区域名称筛选 | false | string | ||
| bayNameFilters | 间隔名称筛选 | false | string | ||
| devNameFilters | 设备名称筛选(主设备) | false | string | ||
| partNameFilters | 部件名称筛选 | false | string | ||
| pointNameFilters | 点位名称筛选 | false | string | ||
| magnitude | 重要性1Ⅰ类,2Ⅱ类,3Ⅲ类 | false | integer(int32) | ||
| minStartTime | 最小开始时间 | false | string(date-time) | ||
| maxStartTime | 最大开始时间 | false | string(date-time) | ||
| minEndTime | 最小完成时间 | false | string(date-time) | ||
| maxEndTime | 最大完成时间 | false | string(date-time) | ||
| minVerifiedTime | 最小审核时间 | false | string(date-time) | ||
| maxVerifiedTime | 最大审核时间 | false | string(date-time) | ||
| resCode | 结果标识 | false | string | ||
| verified | 审核状态 1:以审核 0 : 未审核 | false | integer(int32) | ||
| phyAssetId | 实物ID | false | string | ||
| queryDefect | 是否查询缺陷 | false | boolean | ||
| levelAndPhaseName | 五级点位名称 | false | string | ||
| currentId | 当前数据id | false | integer(int64) | ||
| switchRes | -1:上一个 1:下一个 | false | integer(int32) | ||
| query | 分页查询条件 | query | true | Query | Query |
| current | 当前页,默认第一页 | false | integer(int32) | ||
| size | 每页的数量,默认每页10条记录 | false | integer(int32) | ||
| column | 排序字段 | false | array | string | |
| asc | 是否升序 | false | array | boolean |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultPagePowerResultDto |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | PagePowerResultDto | PagePowerResultDto | |
| records | 电力结果 | array | PowerResultDto |
| id | 主键 | integer | |
| requestId | 请求分析数据唯一标识,UUID | string | |
| taskId | 任务id | integer | |
| taskType | 任务类型:1 相机任务 2 AR任务 3 电力任务 4 电力静默监视任务 | integer | |
| inspectionType | 巡视类型:1例行巡视,2特殊巡视,3专项巡视,4自定义巡视 | integer | |
| taskTypes | 巡视任务类型集合 | array | integer |
| taskInsId | 巡视任务记录ID | integer | |
| pointId | 任务点id | integer | |
| beuId | 执行单元id | integer | |
| beuType | 1. 流式摄像机,2机器人,3 拍照摄像机 4.声纹 等 | integer | |
| algName | 算法名称 | string | |
| algId | 算法id | integer | |
| defectType | 大类型 | string | |
| defectSubtype | 小类型 | string | |
| deviceCode | 设备的唯一标识 | string | |
| hostCode | 机器人,无人机唯一标识 | string | |
| deviceId | 设备主键id | integer | |
| deviceName | 设备名称 | string | |
| stepId | 步骤Id | integer | |
| runtimeStatus | 执行状态 | integer | |
| startTime | 执行开始时间 | string | |
| endTime | 完成时间 | string | |
| result | 结果 | string | |
| resCode | 分析状态码 | integer | |
| conclusion | 结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer | |
| modifyConclusion | 修订结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer | |
| finalConclusion | 最终结论 1.正常 2异常 3 待确认 4检修 5不区分结果 | integer | |
| abnormalReason | 异常原因,记录点位结果状态为异常的原因。原因可能是多条,异常原因内容是字符串数组 | array | string |
| modifyResult | 修订结果 | string | |
| ftpImageUrl | ftp文件地址 | string | |
| srcUrl | minio文件 | string | |
| srcStreamUrl | 流地址 | string | |
| handleImageUrl | 算法处理过的文件 | string | |
| handleVideoUrl | 算法处理过的视频 | string | |
| qualityResult | 图像质量 | integer | |
| frequency | 频率 | string | |
| soundPressure | 声压 | string | |
| sensitivityLabel | 敏感标记 | integer | |
| verified | 审核状态 | integer | |
| verifiedCause | 人工确认原因 | array | integer |
| verifiedPerson | 审核人 | string | |
| verifiedTime | 审核时间 | string | |
| isDeleted | 逻辑删除 | integer | |
| createdBy | 创建人 | string | |
| createdTime | 创建时间 | string | |
| updatedBy | 更新人 | string | |
| updatedTime | 上报时间 | string | |
| minUpdatedTime | 最小上报时间 | string | |
| maxUpdatedTime | 最大上报时间 | string | |
| taskName | 任务名称 | string | |
| beuName | 执行单元名称 | string | |
| resultDesc | 结果描述 | string | |
| processRecord | 流程记录 | integer | |
| remark | 备注 | string | |
| pointGroupName | 任务点组名称 | string | |
| testRun | 试运行 0 试运行,1 运行 | integer | |
| sequence | 唯一序列号 | string | |
| mspId | 场景id | integer | |
| manualCheck | 人工审核, 参考ManualCheckEnum | string | |
| roiArea | ROI区域, 包含算法和审核人员标注的ROI区域 | string | |
| extraInfo | 额外信息 | string | |
| areaId | 区域id | integer | |
| bayId | 间隔id | integer | |
| mainDeviceId | 主设备id | integer | |
| partId | 部件id | integer | |
| algoRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| manualRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| realRoiList | roi区域对象 | array | AreasDTO |
| rectType | 类型 | string | |
| rectValue | 结果 | string | |
| areas | roi坐标对象 | array | CoordinateDTO |
| x | 横轴坐标 | string | |
| y | 纵轴坐标 | string | |
| positiveSampleAlg | 是否正样本算法 | boolean | |
| modifyImageUrl | 人工审核后的图片 | string | |
| positiveSampleImageUrl | 正样本图片 | string | |
| defect | 是否是缺陷 | boolean | |
| turnDefectTime | 转缺陷时间 | string | |
| alarmLevel | 告警等级 | integer | |
| devId | 设备id | integer | |
| pointName | 点位名称 | string | |
| partName | 部件名称 | string | |
| devName | 设备名称 | string | |
| bayName | 间隔名称 | string | |
| areaName | 区域名称 | string | |
| presetNo | 预置位 | integer | |
| unit | 值的单位 | string | |
| phase | 相别 | string | |
| phyAssetId | 实物id | string | |
| alarmLower | 告警下限,小于下限告警 | number | |
| warnLower | 预警下限,小于下限预警 | number | |
| alarmUpper | 告警上限,大于上限告警 | number | |
| warnUpper | 预警上限,大于上限预警 | number | |
| meterType | 表计类型 | string | |
| safetyMarker | safety_marker | string | |
| descRes | 文字描述结果 | string | |
| descModifyRes | 文字描述修改结果 | string | |
| levelAndPhaseName | 五级加相别拼接的名称 | string | |
| pointAndPhaseName | 点位加相别拼接的名称 | string | |
| labelAttri | 点位标签属性 | string | |
| pointResultDtoList | 结果列表 | array | PowerResultDto |
| realResult | string | ||
| realConclusion | integer | ||
| total | integer(int64) | ||
| size | integer(int64) | ||
| current | integer(int64) | ||
| orders | array | OrderItem | |
| column | string | ||
| asc | boolean | ||
| optimizeCountSql | boolean | ||
| searchCount | boolean | ||
| optimizeJoinOfCountSql | boolean | ||
| maxLimit | integer(int64) | ||
| countId | string | ||
| pages | integer(int64) | ||
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": {
"records": [
{
"id": 0,
"requestId": "",
"taskId": 0,
"taskType": 0,
"inspectionType": 0,
"taskTypes": [],
"taskInsId": 0,
"pointId": 0,
"beuId": 0,
"beuType": 0,
"algName": "",
"algId": 0,
"defectType": "",
"defectSubtype": "",
"deviceCode": "",
"hostCode": "",
"deviceId": 0,
"deviceName": "",
"stepId": 0,
"runtimeStatus": 0,
"startTime": "",
"endTime": "",
"result": "",
"resCode": 0,
"conclusion": 0,
"modifyConclusion": 0,
"finalConclusion": 0,
"abnormalReason": [],
"modifyResult": "",
"ftpImageUrl": "",
"srcUrl": "",
"srcStreamUrl": "",
"handleImageUrl": "",
"handleVideoUrl": "",
"qualityResult": 0,
"frequency": "",
"soundPressure": "",
"sensitivityLabel": 0,
"verified": 0,
"verifiedCause": [],
"verifiedPerson": "",
"verifiedTime": "",
"isDeleted": 0,
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"minUpdatedTime": "",
"maxUpdatedTime": "",
"taskName": "",
"beuName": "",
"resultDesc": "",
"processRecord": 0,
"remark": "",
"pointGroupName": "",
"testRun": 0,
"sequence": "",
"mspId": 0,
"manualCheck": "",
"roiArea": "",
"extraInfo": "",
"areaId": 0,
"bayId": 0,
"mainDeviceId": 0,
"partId": 0,
"algoRoiList": [],
"manualRoiList": [],
"realRoiList": [],
"positiveSampleAlg": true,
"modifyImageUrl": "",
"positiveSampleImageUrl": "",
"defect": true,
"turnDefectTime": "",
"alarmLevel": 0,
"devId": 0,
"pointName": "",
"partName": "",
"devName": "",
"bayName": "",
"areaName": "",
"presetNo": 0,
"unit": "",
"phase": "",
"phyAssetId": "",
"alarmLower": 0,
"warnLower": 0,
"alarmUpper": 0,
"warnUpper": 0,
"meterType": "",
"safetyMarker": "",
"descRes": "",
"descModifyRes": "",
"levelAndPhaseName": "",
"pointAndPhaseName": "",
"labelAttri": "",
"pointResultDtoList": [],
"realResult": "",
"realConclusion": 0
}
],
"total": 0,
"size": 0,
"current": 0,
"orders": [
{
"column": "",
"asc": true
}
],
"optimizeCountSql": true,
"searchCount": true,
"optimizeJoinOfCountSql": true,
"maxLimit": 0,
"countId": "",
"pages": 0
},
"timestamp": ""
}巡视点位
条件查询电力点位
接口地址:/point/api/v1/eledev/elepoints
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| dto | 电力点位分页条件查询类 | query | true | ElepointQueryDto | ElepointQueryDto |
| current | 当前页,默认第一页 | false | integer(int32) | ||
| size | 每页的数量,默认每页10条记录 | false | integer(int32) | ||
| column | 排序字段 | false | array | string | |
| asc | 是否升序 | false | array | boolean | |
| stationCode | 变电站组织id | true | string | ||
| nameFilters | 名称模糊查询 | false | string | ||
| type | 点位类型:1-普通点位 2-静默监视点位 | false | integer(int32) | ||
| areaId | 区域id | false | integer(int64) | ||
| bayId | 间隔id | false | integer(int64) | ||
| mainDeviceId | 主设备id | false | integer(int64) | ||
| partId | 部件id | false | integer(int64) | ||
| bindCamera | 是否绑定预置位 | false | boolean | ||
| pointName | 物理点名称 | false | string | ||
| defectType | 算法分析类型 | false | string | ||
| defectSubtype | 算法分析子类型,支持模糊查询;传入 'NULL' 可查询未分类(空值)的记录 | false | string | ||
| isConfigured | 算法是否配置:1-已配置 0-未配置 | false | integer(int32) | ||
| bindMark | 是否绑定关注区域 | false | boolean | ||
| switchRes | -1:上一个 1:下一个 | false | integer(int32) | ||
| index | 索引下标 | false | integer(int32) | ||
| devTypes | 绑定巡视设备的类型 | false | array | integer(int32) |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultPagePowerElepointDto |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | PagePowerElepointDto | PagePowerElepointDto | |
| records | array | PowerElepointDto | |
| id | 主键 | integer | |
| parentId | 父节点ID | integer | |
| type | 点位类型:1-普通点位 2-静默监视点位 | integer | |
| pmsCode | PMS系统内设备唯一标识编码 | string | |
| businessCode | 业务中台编码,业务中台设备唯一标识 | string | |
| stationCode | 变电站编码 | string | |
| name | 点位名称 | string | |
| defectType | 缺陷类型(大类型) | string | |
| defectSubtype | 缺陷子类型 | array | string |
| areaId | 区域ID | integer | |
| areaName | 区域名称 | string | |
| bayId | 间隔id | integer | |
| bayName | 间隔名称 | string | |
| mainDeviceId | 主设备id | integer | |
| mainDeviceName | 主设备名称 | string | |
| partId | 部件ID | integer | |
| partName | 部件名称 | string | |
| phase | 相别,A、B、C、AB、AC、BC、ABC | string | |
| magnitude | 重要性1Ⅰ类,2Ⅱ类,3Ⅲ类 | integer | |
| alarmLevel | 告警级别,4-危急,3-严重,2-一般,1-预警 | integer | |
| mendState | 检修状态,0正常、1检修、2报废 | integer | |
| dft | 参考状态、默认状态,0分1合 | integer | |
| alarmLower | 告警下限,小于下限告警 | number | |
| warnLower | 预警下限,小于下限预警 | number | |
| alarmUpper | 告警上限,大于上限告警 | number | |
| warnUpper | 预警上限,大于上限预警 | number | |
| alarmPoint | 是否是告警点位: 1是,2否 | integer | |
| unit | 值的单位 | string | |
| syntheticalEval | 综合判断:一个巡检点位存在多个来源时候,用于多源判断巡检点位的是否正常。1综合判定,2不综合判定 | string | |
| baseImageUrl | 基准图片地址 | string | |
| inspectionType | 巡视类型 | string | |
| dataFormat | 数据格式 | array | string |
| coordinate | 坐标 | string | |
| devTypes | 电力点位巡视设备类型列表 | array | integer |
| stationNo | 站序号 | string | |
| signalNo | 监控索引号 | string | |
| meterType | 表计类型 | string | |
| meterPlateType | 表盘类型:1-数字式,2-指针式 | integer | |
| labelAttri | 点位标签属性 | string | |
| initValue | 初始值 | string | |
| targetStatus | 目标状态,分或者合,开或者关 | string | |
| targetStatusList | 初始状态列表 | array | TargetStatus |
| name | 名称 | string | |
| status | 状态 | string | |
| statusMeaningList | 状态含义列表 | array | StatusMeaningDto |
| status | 状态 | string | |
| statusMeaning | 状态含义 | string | |
| threePhasePointIds | 三相点位列表 | array | integer |
| beuList | 基本执行单元列表 | array | BasicExecuteUnitDto |
| rect | array | string | |
| samImageUrl | string | ||
| pointCoorList | string | ||
| previewImageUrl | string | ||
| samMode | integer | ||
| id | integer | ||
| pointId | integer | ||
| name | string | ||
| uuid | string | ||
| imageUrl | string | ||
| description | string | ||
| protocolVersion | string | ||
| type | integer | ||
| subType | integer | ||
| devicePointId | string | ||
| sendCode | string | ||
| lifeCycle | integer | ||
| srcConfig | array | SrcConfigDto | |
| presets | 预置位 | array | PresetDto |
| id | 主键 | integer | |
| type | 类型:1-可见光,2-红外 | integer | |
| cameraId | 摄像机ID | integer | |
| name | 预置位名称 | string | |
| presetNo | 预置位号 | integer | |
| isHome | 是否为守望位,0否,1是 | integer | |
| homeTime | 归位等待时间,单位秒 | integer | |
| infraredArea | 红外预置位区域坐标 | string | |
| imgUrl | 截图地址 | string | |
| device | 设备台账 | DeviceAccountDto | DeviceAccountDto |
| id | 主键 | integer | |
| parentId | 父节点ID | integer | |
| areaId | 电力设备树区域id | integer | |
| mainDeviceIds | 关联的电力设备id列表 | array | integer |
| devType | 设备类型 | integer | |
| devSubType | 设备子类型 | integer | |
| devName | 设备名称 | string | |
| devDesc | 中文描述 | string | |
| devModel | 设备型号 | string | |
| manufacturer | 生产厂家 | string | |
| madein | 生产国家 | string | |
| productionNum | 出厂编号 | string | |
| productionDate | 出厂日期 | string | |
| hwRev | 硬件版本 | string | |
| swRev | 软件版本 | string | |
| swRevCrc | 软件版本校验码 | string | |
| ipAddr | 以太网IP地址 | string | |
| macAddr | 以太网MAC地址 | string | |
| phyAssetId | 实物ID | string | |
| positionX | 相对空间位置x | string | |
| positionY | 相对空间位置y | string | |
| region | 所属区域标识 | string | |
| cabinet | 所属屏柜(非屏柜部署设备直接关联到区域) | string | |
| hostCode | 主机编码(类型为机器人是机器人主机编码,类型为巡视主机是巡视主机编码) | string | |
| useUnit | 使用单位 | string | |
| deviceSource | 设备来源 | string | |
| deviceCode | 设备编码 | string | |
| iotSubType | iot子类型 | string | |
| iotDynamicAttribute | iot动态属性 | array | object |
| istransport | 是否轮转 | integer | |
| useMode | 使用类型 | integer | |
| videoMode | 视频类型 | integer | |
| place | 安装位置 | string | |
| patroldeviceInfo | 备注信息 | string | |
| supportAudio | 是否支持音频,1是,0否 | integer | |
| audioDecoderTag | 音频解码标签,1-G711U,2-G711A,3-G722 | integer | |
| cpuRatAlmSpt | CPU负载告警定值 | number | |
| memRatAlmSpt | 内存使用率告警定值 | number | |
| diskSizeAlmSpt | 磁盘使用率告警定值 | number | |
| diskSizeAlm | 磁盘容量告警定值 | number | |
| recordRatAlmSpt | 录像完整性告警定值 | number | |
| electricityAlmSpt | 电池电量告警值 | number | |
| horizontalSpeedAlm | 水平速度告警值 | number | |
| sensitivityLabel | 敏感标记级别 | integer | |
| pullData | 是否拉取数据 | boolean | |
| visibleRtspUrlMaster | 可见光rtsp流地址(主码流) | string | |
| visibleRtspUrlSecondary | 可见光rtsp流地址(辅码流) | string | |
| infraredRtspUrlMaster | 红外rtsp流地址(主码流) | string | |
| infraredRtspUrlSecondary | 红外rtsp流地址(辅码流) | string | |
| sipDeviceCode | 国标接入设备编号 | string | |
| sipIp | sip通讯ip | string | |
| sipPort | sip通讯port | integer | |
| sipVisibleChannel | 可见光通道ID | string | |
| sipInfraredChannel | 红外通道ID | string | |
| sipProtocol | sip通讯协议类型(tcp/udp) | integer | |
| sipRtspType | rtsp流地址类型 | integer | |
| sipIsGb | 是否是国标 | integer | |
| fileCameraUrl | 文件相机地址 | string | |
| presetNumber | 预置位数量 | integer | |
| presetImportProcess | 预置位导入进度 | number | |
| presetImportStatus | 预置位导入状态 | integer | |
| position | 坐标 | string | |
| rotation | 旋转 | string | |
| zoom | 放大倍率 | number | |
| security | 是否是安防摄像机 | boolean | |
| labels | 扩展标签字段 | object | |
| annotations | 扩展元数据字段 | object | |
| online | 在线离线 | integer | |
| createdTime | 创建时间 | string | |
| areaName | 区域名称 | string | |
| devTypeName | 设备类型名称 | string | |
| devSubTypeName | 类型名称 | string | |
| usedBueList | 设备被任务使用的基本执行单元列表 | array | BeuDto |
| id | id | integer | |
| pointId | 点位id | integer | |
| name | 执行单元名称 | string | |
| isBandContent | 设备是否绑定孪生体 | boolean | |
| mspNameList | 使用到的场景名称 | array | string |
| createdBy | string | ||
| updatedBy | string | ||
| drtmImgUrl | string | ||
| deviceConfig | 设备台账 | DeviceAccountDto | DeviceAccountDto |
| id | 主键 | integer | |
| parentId | 父节点ID | integer | |
| areaId | 电力设备树区域id | integer | |
| mainDeviceIds | 关联的电力设备id列表 | array | integer |
| devType | 设备类型 | integer | |
| devSubType | 设备子类型 | integer | |
| devName | 设备名称 | string | |
| devDesc | 中文描述 | string | |
| devModel | 设备型号 | string | |
| manufacturer | 生产厂家 | string | |
| madein | 生产国家 | string | |
| productionNum | 出厂编号 | string | |
| productionDate | 出厂日期 | string | |
| hwRev | 硬件版本 | string | |
| swRev | 软件版本 | string | |
| swRevCrc | 软件版本校验码 | string | |
| ipAddr | 以太网IP地址 | string | |
| macAddr | 以太网MAC地址 | string | |
| phyAssetId | 实物ID | string | |
| positionX | 相对空间位置x | string | |
| positionY | 相对空间位置y | string | |
| region | 所属区域标识 | string | |
| cabinet | 所属屏柜(非屏柜部署设备直接关联到区域) | string | |
| hostCode | 主机编码(类型为机器人是机器人主机编码,类型为巡视主机是巡视主机编码) | string | |
| useUnit | 使用单位 | string | |
| deviceSource | 设备来源 | string | |
| deviceCode | 设备编码 | string | |
| iotSubType | iot子类型 | string | |
| iotDynamicAttribute | iot动态属性 | array | object |
| istransport | 是否轮转 | integer | |
| useMode | 使用类型 | integer | |
| videoMode | 视频类型 | integer | |
| place | 安装位置 | string | |
| patroldeviceInfo | 备注信息 | string | |
| supportAudio | 是否支持音频,1是,0否 | integer | |
| audioDecoderTag | 音频解码标签,1-G711U,2-G711A,3-G722 | integer | |
| cpuRatAlmSpt | CPU负载告警定值 | number | |
| memRatAlmSpt | 内存使用率告警定值 | number | |
| diskSizeAlmSpt | 磁盘使用率告警定值 | number | |
| diskSizeAlm | 磁盘容量告警定值 | number | |
| recordRatAlmSpt | 录像完整性告警定值 | number | |
| electricityAlmSpt | 电池电量告警值 | number | |
| horizontalSpeedAlm | 水平速度告警值 | number | |
| sensitivityLabel | 敏感标记级别 | integer | |
| pullData | 是否拉取数据 | boolean | |
| visibleRtspUrlMaster | 可见光rtsp流地址(主码流) | string | |
| visibleRtspUrlSecondary | 可见光rtsp流地址(辅码流) | string | |
| infraredRtspUrlMaster | 红外rtsp流地址(主码流) | string | |
| infraredRtspUrlSecondary | 红外rtsp流地址(辅码流) | string | |
| sipDeviceCode | 国标接入设备编号 | string | |
| sipIp | sip通讯ip | string | |
| sipPort | sip通讯port | integer | |
| sipVisibleChannel | 可见光通道ID | string | |
| sipInfraredChannel | 红外通道ID | string | |
| sipProtocol | sip通讯协议类型(tcp/udp) | integer | |
| sipRtspType | rtsp流地址类型 | integer | |
| sipIsGb | 是否是国标 | integer | |
| fileCameraUrl | 文件相机地址 | string | |
| presetNumber | 预置位数量 | integer | |
| presetImportProcess | 预置位导入进度 | number | |
| presetImportStatus | 预置位导入状态 | integer | |
| position | 坐标 | string | |
| rotation | 旋转 | string | |
| zoom | 放大倍率 | number | |
| security | 是否是安防摄像机 | boolean | |
| labels | 扩展标签字段 | object | |
| annotations | 扩展元数据字段 | object | |
| online | 在线离线 | integer | |
| createdTime | 创建时间 | string | |
| areaName | 区域名称 | string | |
| devTypeName | 设备类型名称 | string | |
| devSubTypeName | 类型名称 | string | |
| usedBueList | 设备被任务使用的基本执行单元列表 | array | BeuDto |
| id | id | integer | |
| pointId | 点位id | integer | |
| name | 执行单元名称 | string | |
| isBandContent | 设备是否绑定孪生体 | boolean | |
| mspNameList | 使用到的场景名称 | array | string |
| createdBy | string | ||
| updatedBy | string | ||
| dataPoints | string | ||
| createdBy | string | ||
| createdTime | string | ||
| updatedBy | string | ||
| updatedTime | string | ||
| taskStatus | integer | ||
| taskName | string | ||
| status | integer | ||
| retRestAPIUrl | string | ||
| retDetectStreamUrl | string | ||
| beuStatus | integer | ||
| beuBusinessLocation | array | object | |
| publishStatus | integer | ||
| publishTime | string | ||
| operatingPointId | integer | ||
| mspId | integer | ||
| groupId | integer | ||
| groupName | string | ||
| execStep | integer | ||
| indexOrder | integer | ||
| operatingPoint | OperatingPointDto | OperatingPointDto | |
| id | integer | ||
| name | string | ||
| type | integer | ||
| x | number | ||
| y | number | ||
| z | number | ||
| theta | number | ||
| quaternions | Quaternions | Quaternions | |
| x | number | ||
| y | number | ||
| z | number | ||
| w | number | ||
| mspId | integer | ||
| uniqueIdentification | string | ||
| createdBy | string | ||
| createdTime | string | ||
| updatedBy | string | ||
| updatedTime | string | ||
| pixelX | integer | ||
| pixelY | integer | ||
| singleImage | string | ||
| isRawCoordinateIsNull | boolean | ||
| source | integer | ||
| level | string | ||
| gait | integer | ||
| manner | integer | ||
| contentModel | string | ||
| eventTriggeredCondition | string | ||
| eventTriggeredSupport | integer | ||
| videoDuration | integer | ||
| obstacle | integer | ||
| eventTriggeredPoint | string | ||
| navMode | integer | ||
| pointSource | integer | ||
| navSpeed | integer | ||
| height | integer | ||
| recognitionType | integer | ||
| withFigure | integer | ||
| eventStopPoint | string | ||
| eventStopCondition | string | ||
| indexInGroup | integer | ||
| roiPicUploadedTime | string | ||
| dockId | string | ||
| robotType | string | ||
| robotName | string | ||
| benchmarkImage | string | ||
| signalValue | string | ||
| used | 是否被使用 | boolean | |
| levelAndPhaseName | 五级加相别拼接的名称 | string | |
| pointAndPhaseName | 点位加相别拼接的名称 | string | |
| deviceType | 主设备类型 | string | |
| model | 型号 | string | |
| algId | 算法模型id | integer | |
| algTestResultUrl | 算法测试结果图片 | string | |
| algTestStatus | 算法测试状态 | integer | |
| baseImageValue | 基准图读数 | string | |
| pointName | 物理点 | string | |
| bindCamera | 是否绑定相机/预置位 | boolean | |
| bindMark | 是否绑定关注区域 | boolean | |
| total | integer(int64) | ||
| size | integer(int64) | ||
| current | integer(int64) | ||
| orders | array | OrderItem | |
| column | string | ||
| asc | boolean | ||
| optimizeCountSql | boolean | ||
| searchCount | boolean | ||
| optimizeJoinOfCountSql | boolean | ||
| maxLimit | integer(int64) | ||
| countId | string | ||
| pages | integer(int64) | ||
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": {
"records": [
{
"id": 0,
"parentId": 0,
"type": 0,
"pmsCode": "",
"businessCode": "",
"stationCode": "",
"name": "",
"defectType": "",
"defectSubtype": [],
"areaId": 0,
"areaName": "",
"bayId": 0,
"bayName": "",
"mainDeviceId": 0,
"mainDeviceName": "",
"partId": 0,
"partName": "",
"phase": "",
"magnitude": 0,
"alarmLevel": 0,
"mendState": 0,
"dft": 0,
"alarmLower": 0,
"warnLower": 0,
"alarmUpper": 0,
"warnUpper": 0,
"alarmPoint": 0,
"unit": "",
"syntheticalEval": "",
"baseImageUrl": "",
"inspectionType": "",
"dataFormat": [],
"coordinate": "",
"devTypes": [],
"stationNo": "",
"signalNo": "",
"meterType": "",
"meterPlateType": 0,
"labelAttri": "",
"initValue": "",
"targetStatus": "",
"targetStatusList": [
{
"name": "",
"status": "",
"statusMeaningList": [
{
"status": "",
"statusMeaning": ""
}
]
}
],
"threePhasePointIds": [],
"beuList": [
{
"rect": [],
"samImageUrl": "",
"pointCoorList": "",
"previewImageUrl": "",
"samMode": 0,
"id": 0,
"pointId": 0,
"name": "",
"uuid": "",
"imageUrl": "",
"description": "",
"protocolVersion": "",
"type": 0,
"subType": 0,
"devicePointId": "",
"sendCode": "",
"lifeCycle": 0,
"srcConfig": [
{
"presets": [
{
"id": 0,
"type": 0,
"cameraId": 0,
"name": "",
"presetNo": 0,
"isHome": 0,
"homeTime": 0,
"infraredArea": "x1,y1;x2,y2;x3,y3;x4,y4",
"imgUrl": ""
}
],
"device": {
"id": 0,
"parentId": 0,
"areaId": 0,
"mainDeviceIds": [],
"devType": 0,
"devSubType": 0,
"devName": "",
"devDesc": "",
"devModel": "",
"manufacturer": "",
"madein": "",
"productionNum": "",
"productionDate": "",
"hwRev": "",
"swRev": "",
"swRevCrc": "",
"ipAddr": "",
"macAddr": "",
"phyAssetId": "",
"positionX": "",
"positionY": "",
"region": "",
"cabinet": "",
"hostCode": "",
"useUnit": "",
"deviceSource": "",
"deviceCode": "",
"iotSubType": "",
"iotDynamicAttribute": [],
"istransport": 0,
"useMode": 0,
"videoMode": 0,
"place": "",
"patroldeviceInfo": "",
"supportAudio": 0,
"audioDecoderTag": 0,
"cpuRatAlmSpt": 0,
"memRatAlmSpt": 0,
"diskSizeAlmSpt": 0,
"diskSizeAlm": 0,
"recordRatAlmSpt": 0,
"electricityAlmSpt": 0,
"horizontalSpeedAlm": 0,
"sensitivityLabel": 0,
"pullData": true,
"visibleRtspUrlMaster": "",
"visibleRtspUrlSecondary": "",
"infraredRtspUrlMaster": "",
"infraredRtspUrlSecondary": "",
"sipDeviceCode": "",
"sipIp": "",
"sipPort": 0,
"sipVisibleChannel": "",
"sipInfraredChannel": "",
"sipProtocol": 0,
"sipRtspType": 0,
"sipIsGb": 0,
"fileCameraUrl": "",
"presetNumber": 0,
"presetImportProcess": 0,
"presetImportStatus": 0,
"position": "",
"rotation": "",
"zoom": 0,
"security": true,
"labels": {},
"annotations": {},
"online": 0,
"createdTime": "",
"areaName": "",
"devTypeName": "",
"devSubTypeName": "",
"usedBueList": [
{
"id": 0,
"pointId": 0,
"name": ""
}
],
"isBandContent": true,
"mspNameList": [],
"createdBy": "",
"updatedBy": ""
},
"drtmImgUrl": ""
}
],
"deviceConfig": {
"id": 0,
"parentId": 0,
"areaId": 0,
"mainDeviceIds": [],
"devType": 0,
"devSubType": 0,
"devName": "",
"devDesc": "",
"devModel": "",
"manufacturer": "",
"madein": "",
"productionNum": "",
"productionDate": "",
"hwRev": "",
"swRev": "",
"swRevCrc": "",
"ipAddr": "",
"macAddr": "",
"phyAssetId": "",
"positionX": "",
"positionY": "",
"region": "",
"cabinet": "",
"hostCode": "",
"useUnit": "",
"deviceSource": "",
"deviceCode": "",
"iotSubType": "",
"iotDynamicAttribute": [],
"istransport": 0,
"useMode": 0,
"videoMode": 0,
"place": "",
"patroldeviceInfo": "",
"supportAudio": 0,
"audioDecoderTag": 0,
"cpuRatAlmSpt": 0,
"memRatAlmSpt": 0,
"diskSizeAlmSpt": 0,
"diskSizeAlm": 0,
"recordRatAlmSpt": 0,
"electricityAlmSpt": 0,
"horizontalSpeedAlm": 0,
"sensitivityLabel": 0,
"pullData": true,
"visibleRtspUrlMaster": "",
"visibleRtspUrlSecondary": "",
"infraredRtspUrlMaster": "",
"infraredRtspUrlSecondary": "",
"sipDeviceCode": "",
"sipIp": "",
"sipPort": 0,
"sipVisibleChannel": "",
"sipInfraredChannel": "",
"sipProtocol": 0,
"sipRtspType": 0,
"sipIsGb": 0,
"fileCameraUrl": "",
"presetNumber": 0,
"presetImportProcess": 0,
"presetImportStatus": 0,
"position": "",
"rotation": "",
"zoom": 0,
"security": true,
"labels": {},
"annotations": {},
"online": 0,
"createdTime": "",
"areaName": "",
"devTypeName": "",
"devSubTypeName": "",
"usedBueList": [
{
"id": 0,
"pointId": 0,
"name": ""
}
],
"isBandContent": true,
"mspNameList": [],
"createdBy": "",
"updatedBy": ""
},
"dataPoints": "",
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"taskStatus": 0,
"taskName": "",
"status": 0,
"retRestAPIUrl": "",
"retDetectStreamUrl": "",
"beuStatus": 0,
"beuBusinessLocation": [],
"publishStatus": 0,
"publishTime": "",
"operatingPointId": 0,
"mspId": 0,
"groupId": 0,
"groupName": "",
"execStep": 0,
"indexOrder": 0,
"operatingPoint": {
"id": 0,
"name": "",
"type": 0,
"x": 0,
"y": 0,
"z": 0,
"theta": 0,
"quaternions": {
"x": 0,
"y": 0,
"z": 0,
"w": 0
},
"mspId": 0,
"uniqueIdentification": "",
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"pixelX": 0,
"pixelY": 0,
"singleImage": "",
"isRawCoordinateIsNull": true,
"source": 0
},
"level": "",
"gait": 0,
"manner": 0,
"contentModel": "",
"eventTriggeredCondition": "",
"eventTriggeredSupport": 0,
"videoDuration": 0,
"obstacle": 0,
"eventTriggeredPoint": "",
"navMode": 0,
"pointSource": 0,
"navSpeed": 0,
"height": 0,
"recognitionType": 0,
"withFigure": 0,
"eventStopPoint": "",
"eventStopCondition": "",
"indexInGroup": 0,
"roiPicUploadedTime": "",
"dockId": "",
"robotType": "",
"robotName": "",
"benchmarkImage": "",
"signalValue": ""
}
],
"used": true,
"levelAndPhaseName": "",
"pointAndPhaseName": "",
"deviceType": "",
"model": "",
"algId": 0,
"algTestResultUrl": "",
"algTestStatus": 0,
"baseImageValue": "",
"pointName": "",
"bindCamera": true,
"bindMark": true
}
],
"total": 0,
"size": 0,
"current": 0,
"orders": [
{
"column": "",
"asc": true
}
],
"optimizeCountSql": true,
"searchCount": true,
"optimizeJoinOfCountSql": true,
"maxLimit": 0,
"countId": "",
"pages": 0
},
"timestamp": ""
}通过ids获取电力点位列表
接口地址:/point/api/v1/eledev/elepoints/ids
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| id | query | true | IdsDto | IdsDto | |
| id | false | array | integer(int64) | ||
| identification | false | string |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | CommonResultListElepointDto |
响应状态码-200:
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| code | integer(int32) | integer(int32) | |
| message | string | ||
| data | array | ElepointDto | |
| id | 主键 | integer(int64) | |
| parentId | 父节点ID | integer(int64) | |
| type | 点位类型:1-普通点位 2-静默监视点位 | integer(int32) | |
| pmsCode | PMS系统内设备唯一标识编码 | string | |
| businessCode | 业务中台编码,业务中台设备唯一标识 | string | |
| stationCode | 变电站编码 | string | |
| name | 点位名称 | string | |
| defectType | 缺陷类型(大类型) | string | |
| defectSubtype | 缺陷子类型 | array | string |
| areaId | 区域ID | integer(int64) | |
| areaName | 区域名称 | string | |
| bayId | 间隔id | integer(int64) | |
| bayName | 间隔名称 | string | |
| mainDeviceId | 主设备id | integer(int64) | |
| mainDeviceName | 主设备名称 | string | |
| partId | 部件ID | integer(int64) | |
| partName | 部件名称 | string | |
| phase | 相别,A、B、C、AB、AC、BC、ABC | string | |
| magnitude | 重要性1Ⅰ类,2Ⅱ类,3Ⅲ类 | integer(int32) | |
| alarmLevel | 告警级别,4-危急,3-严重,2-一般,1-预警 | integer(int32) | |
| mendState | 检修状态,0正常、1检修、2报废 | integer(int32) | |
| dft | 参考状态、默认状态,0分1合 | integer(int32) | |
| alarmLower | 告警下限,小于下限告警 | number(double) | |
| warnLower | 预警下限,小于下限预警 | number(double) | |
| alarmUpper | 告警上限,大于上限告警 | number(double) | |
| warnUpper | 预警上限,大于上限预警 | number(double) | |
| alarmPoint | 是否是告警点位: 1是,2否 | integer(int32) | |
| unit | 值的单位 | string | |
| syntheticalEval | 综合判断:一个巡检点位存在多个来源时候,用于多源判断巡检点位的是否正常。1综合判定,2不综合判定 | string | |
| baseImageUrl | 基准图片地址 | string | |
| inspectionType | 巡视类型 | string | |
| dataFormat | 数据格式 | array | string |
| coordinate | 坐标 | string | |
| devTypes | 电力点位巡视设备类型列表 | array | integer(int32) |
| stationNo | 站序号 | string | |
| signalNo | 监控索引号 | string | |
| meterType | 表计类型 | string | |
| meterPlateType | 表盘类型:1-数字式,2-指针式 | integer(int32) | |
| labelAttri | 点位标签属性 | string | |
| initValue | 初始值 | string | |
| targetStatus | 目标状态,分或者合,开或者关 | string | |
| targetStatusList | 初始状态列表 | array | TargetStatus |
| name | 名称 | string | |
| status | 状态 | string | |
| statusMeaningList | 状态含义列表 | array | StatusMeaningDto |
| status | 状态 | string | |
| statusMeaning | 状态含义 | string | |
| threePhasePointIds | 三相点位列表 | array | integer(int64) |
| beuList | 基本执行单元列表 | array | BasicExecuteUnitDto |
| rect | array | string | |
| samImageUrl | string | ||
| pointCoorList | string | ||
| previewImageUrl | string | ||
| samMode | integer | ||
| id | integer | ||
| pointId | integer | ||
| name | string | ||
| uuid | string | ||
| imageUrl | string | ||
| description | string | ||
| protocolVersion | string | ||
| type | integer | ||
| subType | integer | ||
| devicePointId | string | ||
| sendCode | string | ||
| lifeCycle | integer | ||
| srcConfig | array | SrcConfigDto | |
| presets | 预置位 | array | PresetDto |
| id | 主键 | integer | |
| type | 类型:1-可见光,2-红外 | integer | |
| cameraId | 摄像机ID | integer | |
| name | 预置位名称 | string | |
| presetNo | 预置位号 | integer | |
| isHome | 是否为守望位,0否,1是 | integer | |
| homeTime | 归位等待时间,单位秒 | integer | |
| infraredArea | 红外预置位区域坐标 | string | |
| imgUrl | 截图地址 | string | |
| device | 设备台账 | DeviceAccountDto | DeviceAccountDto |
| id | 主键 | integer | |
| parentId | 父节点ID | integer | |
| areaId | 电力设备树区域id | integer | |
| mainDeviceIds | 关联的电力设备id列表 | array | integer |
| devType | 设备类型 | integer | |
| devSubType | 设备子类型 | integer | |
| devName | 设备名称 | string | |
| devDesc | 中文描述 | string | |
| devModel | 设备型号 | string | |
| manufacturer | 生产厂家 | string | |
| madein | 生产国家 | string | |
| productionNum | 出厂编号 | string | |
| productionDate | 出厂日期 | string | |
| hwRev | 硬件版本 | string | |
| swRev | 软件版本 | string | |
| swRevCrc | 软件版本校验码 | string | |
| ipAddr | 以太网IP地址 | string | |
| macAddr | 以太网MAC地址 | string | |
| phyAssetId | 实物ID | string | |
| positionX | 相对空间位置x | string | |
| positionY | 相对空间位置y | string | |
| region | 所属区域标识 | string | |
| cabinet | 所属屏柜(非屏柜部署设备直接关联到区域) | string | |
| hostCode | 主机编码(类型为机器人是机器人主机编码,类型为巡视主机是巡视主机编码) | string | |
| useUnit | 使用单位 | string | |
| deviceSource | 设备来源 | string | |
| deviceCode | 设备编码 | string | |
| iotSubType | iot子类型 | string | |
| iotDynamicAttribute | iot动态属性 | array | object |
| istransport | 是否轮转 | integer | |
| useMode | 使用类型 | integer | |
| videoMode | 视频类型 | integer | |
| place | 安装位置 | string | |
| patroldeviceInfo | 备注信息 | string | |
| supportAudio | 是否支持音频,1是,0否 | integer | |
| audioDecoderTag | 音频解码标签,1-G711U,2-G711A,3-G722 | integer | |
| cpuRatAlmSpt | CPU负载告警定值 | number | |
| memRatAlmSpt | 内存使用率告警定值 | number | |
| diskSizeAlmSpt | 磁盘使用率告警定值 | number | |
| diskSizeAlm | 磁盘容量告警定值 | number | |
| recordRatAlmSpt | 录像完整性告警定值 | number | |
| electricityAlmSpt | 电池电量告警值 | number | |
| horizontalSpeedAlm | 水平速度告警值 | number | |
| sensitivityLabel | 敏感标记级别 | integer | |
| pullData | 是否拉取数据 | boolean | |
| visibleRtspUrlMaster | 可见光rtsp流地址(主码流) | string | |
| visibleRtspUrlSecondary | 可见光rtsp流地址(辅码流) | string | |
| infraredRtspUrlMaster | 红外rtsp流地址(主码流) | string | |
| infraredRtspUrlSecondary | 红外rtsp流地址(辅码流) | string | |
| sipDeviceCode | 国标接入设备编号 | string | |
| sipIp | sip通讯ip | string | |
| sipPort | sip通讯port | integer | |
| sipVisibleChannel | 可见光通道ID | string | |
| sipInfraredChannel | 红外通道ID | string | |
| sipProtocol | sip通讯协议类型(tcp/udp) | integer | |
| sipRtspType | rtsp流地址类型 | integer | |
| sipIsGb | 是否是国标 | integer | |
| fileCameraUrl | 文件相机地址 | string | |
| presetNumber | 预置位数量 | integer | |
| presetImportProcess | 预置位导入进度 | number | |
| presetImportStatus | 预置位导入状态 | integer | |
| position | 坐标 | string | |
| rotation | 旋转 | string | |
| zoom | 放大倍率 | number | |
| security | 是否是安防摄像机 | boolean | |
| labels | 扩展标签字段 | object | |
| annotations | 扩展元数据字段 | object | |
| online | 在线离线 | integer | |
| createdTime | 创建时间 | string | |
| areaName | 区域名称 | string | |
| devTypeName | 设备类型名称 | string | |
| devSubTypeName | 类型名称 | string | |
| usedBueList | 设备被任务使用的基本执行单元列表 | array | BeuDto |
| id | id | integer | |
| pointId | 点位id | integer | |
| name | 执行单元名称 | string | |
| isBandContent | 设备是否绑定孪生体 | boolean | |
| mspNameList | 使用到的场景名称 | array | string |
| createdBy | string | ||
| updatedBy | string | ||
| drtmImgUrl | string | ||
| deviceConfig | 设备台账 | DeviceAccountDto | DeviceAccountDto |
| id | 主键 | integer | |
| parentId | 父节点ID | integer | |
| areaId | 电力设备树区域id | integer | |
| mainDeviceIds | 关联的电力设备id列表 | array | integer |
| devType | 设备类型 | integer | |
| devSubType | 设备子类型 | integer | |
| devName | 设备名称 | string | |
| devDesc | 中文描述 | string | |
| devModel | 设备型号 | string | |
| manufacturer | 生产厂家 | string | |
| madein | 生产国家 | string | |
| productionNum | 出厂编号 | string | |
| productionDate | 出厂日期 | string | |
| hwRev | 硬件版本 | string | |
| swRev | 软件版本 | string | |
| swRevCrc | 软件版本校验码 | string | |
| ipAddr | 以太网IP地址 | string | |
| macAddr | 以太网MAC地址 | string | |
| phyAssetId | 实物ID | string | |
| positionX | 相对空间位置x | string | |
| positionY | 相对空间位置y | string | |
| region | 所属区域标识 | string | |
| cabinet | 所属屏柜(非屏柜部署设备直接关联到区域) | string | |
| hostCode | 主机编码(类型为机器人是机器人主机编码,类型为巡视主机是巡视主机编码) | string | |
| useUnit | 使用单位 | string | |
| deviceSource | 设备来源 | string | |
| deviceCode | 设备编码 | string | |
| iotSubType | iot子类型 | string | |
| iotDynamicAttribute | iot动态属性 | array | object |
| istransport | 是否轮转 | integer | |
| useMode | 使用类型 | integer | |
| videoMode | 视频类型 | integer | |
| place | 安装位置 | string | |
| patroldeviceInfo | 备注信息 | string | |
| supportAudio | 是否支持音频,1是,0否 | integer | |
| audioDecoderTag | 音频解码标签,1-G711U,2-G711A,3-G722 | integer | |
| cpuRatAlmSpt | CPU负载告警定值 | number | |
| memRatAlmSpt | 内存使用率告警定值 | number | |
| diskSizeAlmSpt | 磁盘使用率告警定值 | number | |
| diskSizeAlm | 磁盘容量告警定值 | number | |
| recordRatAlmSpt | 录像完整性告警定值 | number | |
| electricityAlmSpt | 电池电量告警值 | number | |
| horizontalSpeedAlm | 水平速度告警值 | number | |
| sensitivityLabel | 敏感标记级别 | integer | |
| pullData | 是否拉取数据 | boolean | |
| visibleRtspUrlMaster | 可见光rtsp流地址(主码流) | string | |
| visibleRtspUrlSecondary | 可见光rtsp流地址(辅码流) | string | |
| infraredRtspUrlMaster | 红外rtsp流地址(主码流) | string | |
| infraredRtspUrlSecondary | 红外rtsp流地址(辅码流) | string | |
| sipDeviceCode | 国标接入设备编号 | string | |
| sipIp | sip通讯ip | string | |
| sipPort | sip通讯port | integer | |
| sipVisibleChannel | 可见光通道ID | string | |
| sipInfraredChannel | 红外通道ID | string | |
| sipProtocol | sip通讯协议类型(tcp/udp) | integer | |
| sipRtspType | rtsp流地址类型 | integer | |
| sipIsGb | 是否是国标 | integer | |
| fileCameraUrl | 文件相机地址 | string | |
| presetNumber | 预置位数量 | integer | |
| presetImportProcess | 预置位导入进度 | number | |
| presetImportStatus | 预置位导入状态 | integer | |
| position | 坐标 | string | |
| rotation | 旋转 | string | |
| zoom | 放大倍率 | number | |
| security | 是否是安防摄像机 | boolean | |
| labels | 扩展标签字段 | object | |
| annotations | 扩展元数据字段 | object | |
| online | 在线离线 | integer | |
| createdTime | 创建时间 | string | |
| areaName | 区域名称 | string | |
| devTypeName | 设备类型名称 | string | |
| devSubTypeName | 类型名称 | string | |
| usedBueList | 设备被任务使用的基本执行单元列表 | array | BeuDto |
| id | id | integer | |
| pointId | 点位id | integer | |
| name | 执行单元名称 | string | |
| isBandContent | 设备是否绑定孪生体 | boolean | |
| mspNameList | 使用到的场景名称 | array | string |
| createdBy | string | ||
| updatedBy | string | ||
| dataPoints | string | ||
| createdBy | string | ||
| createdTime | string | ||
| updatedBy | string | ||
| updatedTime | string | ||
| taskStatus | integer | ||
| taskName | string | ||
| status | integer | ||
| retRestAPIUrl | string | ||
| retDetectStreamUrl | string | ||
| beuStatus | integer | ||
| beuBusinessLocation | array | object | |
| publishStatus | integer | ||
| publishTime | string | ||
| operatingPointId | integer | ||
| mspId | integer | ||
| groupId | integer | ||
| groupName | string | ||
| execStep | integer | ||
| indexOrder | integer | ||
| operatingPoint | OperatingPointDto | OperatingPointDto | |
| id | integer | ||
| name | string | ||
| type | integer | ||
| x | number | ||
| y | number | ||
| z | number | ||
| theta | number | ||
| quaternions | Quaternions | Quaternions | |
| x | number | ||
| y | number | ||
| z | number | ||
| w | number | ||
| mspId | integer | ||
| uniqueIdentification | string | ||
| createdBy | string | ||
| createdTime | string | ||
| updatedBy | string | ||
| updatedTime | string | ||
| pixelX | integer | ||
| pixelY | integer | ||
| singleImage | string | ||
| isRawCoordinateIsNull | boolean | ||
| source | integer | ||
| level | string | ||
| gait | integer | ||
| manner | integer | ||
| contentModel | string | ||
| eventTriggeredCondition | string | ||
| eventTriggeredSupport | integer | ||
| videoDuration | integer | ||
| obstacle | integer | ||
| eventTriggeredPoint | string | ||
| navMode | integer | ||
| pointSource | integer | ||
| navSpeed | integer | ||
| height | integer | ||
| recognitionType | integer | ||
| withFigure | integer | ||
| eventStopPoint | string | ||
| eventStopCondition | string | ||
| indexInGroup | integer | ||
| roiPicUploadedTime | string | ||
| dockId | string | ||
| robotType | string | ||
| robotName | string | ||
| benchmarkImage | string | ||
| signalValue | string | ||
| used | 是否被使用 | boolean | |
| levelAndPhaseName | 五级加相别拼接的名称 | string | |
| pointAndPhaseName | 点位加相别拼接的名称 | string | |
| deviceType | 主设备类型 | string | |
| model | 型号 | string | |
| algId | 算法模型id | integer(int64) | |
| algTestResultUrl | 算法测试结果图片 | string | |
| algTestStatus | 算法测试状态 | integer(int32) | |
| baseImageValue | 基准图读数 | string | |
| timestamp | string(date-time) | string(date-time) |
响应示例:
{
"code": 200,
"message": "",
"data": [
{
"id": 0,
"parentId": 0,
"type": 0,
"pmsCode": "",
"businessCode": "",
"stationCode": "",
"name": "",
"defectType": "",
"defectSubtype": [],
"areaId": 0,
"areaName": "",
"bayId": 0,
"bayName": "",
"mainDeviceId": 0,
"mainDeviceName": "",
"partId": 0,
"partName": "",
"phase": "",
"magnitude": 0,
"alarmLevel": 0,
"mendState": 0,
"dft": 0,
"alarmLower": 0,
"warnLower": 0,
"alarmUpper": 0,
"warnUpper": 0,
"alarmPoint": 0,
"unit": "",
"syntheticalEval": "",
"baseImageUrl": "",
"inspectionType": "",
"dataFormat": [],
"coordinate": "",
"devTypes": [],
"stationNo": "",
"signalNo": "",
"meterType": "",
"meterPlateType": 0,
"labelAttri": "",
"initValue": "",
"targetStatus": "",
"targetStatusList": [
{
"name": "",
"status": "",
"statusMeaningList": [
{
"status": "",
"statusMeaning": ""
}
]
}
],
"threePhasePointIds": [],
"beuList": [
{
"rect": [],
"samImageUrl": "",
"pointCoorList": "",
"previewImageUrl": "",
"samMode": 0,
"id": 0,
"pointId": 0,
"name": "",
"uuid": "",
"imageUrl": "",
"description": "",
"protocolVersion": "",
"type": 0,
"subType": 0,
"devicePointId": "",
"sendCode": "",
"lifeCycle": 0,
"srcConfig": [
{
"presets": [
{
"id": 0,
"type": 0,
"cameraId": 0,
"name": "",
"presetNo": 0,
"isHome": 0,
"homeTime": 0,
"infraredArea": "x1,y1;x2,y2;x3,y3;x4,y4",
"imgUrl": ""
}
],
"device": {
"id": 0,
"parentId": 0,
"areaId": 0,
"mainDeviceIds": [],
"devType": 0,
"devSubType": 0,
"devName": "",
"devDesc": "",
"devModel": "",
"manufacturer": "",
"madein": "",
"productionNum": "",
"productionDate": "",
"hwRev": "",
"swRev": "",
"swRevCrc": "",
"ipAddr": "",
"macAddr": "",
"phyAssetId": "",
"positionX": "",
"positionY": "",
"region": "",
"cabinet": "",
"hostCode": "",
"useUnit": "",
"deviceSource": "",
"deviceCode": "",
"iotSubType": "",
"iotDynamicAttribute": [],
"istransport": 0,
"useMode": 0,
"videoMode": 0,
"place": "",
"patroldeviceInfo": "",
"supportAudio": 0,
"audioDecoderTag": 0,
"cpuRatAlmSpt": 0,
"memRatAlmSpt": 0,
"diskSizeAlmSpt": 0,
"diskSizeAlm": 0,
"recordRatAlmSpt": 0,
"electricityAlmSpt": 0,
"horizontalSpeedAlm": 0,
"sensitivityLabel": 0,
"pullData": true,
"visibleRtspUrlMaster": "",
"visibleRtspUrlSecondary": "",
"infraredRtspUrlMaster": "",
"infraredRtspUrlSecondary": "",
"sipDeviceCode": "",
"sipIp": "",
"sipPort": 0,
"sipVisibleChannel": "",
"sipInfraredChannel": "",
"sipProtocol": 0,
"sipRtspType": 0,
"sipIsGb": 0,
"fileCameraUrl": "",
"presetNumber": 0,
"presetImportProcess": 0,
"presetImportStatus": 0,
"position": "",
"rotation": "",
"zoom": 0,
"security": true,
"labels": {},
"annotations": {},
"online": 0,
"createdTime": "",
"areaName": "",
"devTypeName": "",
"devSubTypeName": "",
"usedBueList": [
{
"id": 0,
"pointId": 0,
"name": ""
}
],
"isBandContent": true,
"mspNameList": [],
"createdBy": "",
"updatedBy": ""
},
"drtmImgUrl": ""
}
],
"deviceConfig": {
"id": 0,
"parentId": 0,
"areaId": 0,
"mainDeviceIds": [],
"devType": 0,
"devSubType": 0,
"devName": "",
"devDesc": "",
"devModel": "",
"manufacturer": "",
"madein": "",
"productionNum": "",
"productionDate": "",
"hwRev": "",
"swRev": "",
"swRevCrc": "",
"ipAddr": "",
"macAddr": "",
"phyAssetId": "",
"positionX": "",
"positionY": "",
"region": "",
"cabinet": "",
"hostCode": "",
"useUnit": "",
"deviceSource": "",
"deviceCode": "",
"iotSubType": "",
"iotDynamicAttribute": [],
"istransport": 0,
"useMode": 0,
"videoMode": 0,
"place": "",
"patroldeviceInfo": "",
"supportAudio": 0,
"audioDecoderTag": 0,
"cpuRatAlmSpt": 0,
"memRatAlmSpt": 0,
"diskSizeAlmSpt": 0,
"diskSizeAlm": 0,
"recordRatAlmSpt": 0,
"electricityAlmSpt": 0,
"horizontalSpeedAlm": 0,
"sensitivityLabel": 0,
"pullData": true,
"visibleRtspUrlMaster": "",
"visibleRtspUrlSecondary": "",
"infraredRtspUrlMaster": "",
"infraredRtspUrlSecondary": "",
"sipDeviceCode": "",
"sipIp": "",
"sipPort": 0,
"sipVisibleChannel": "",
"sipInfraredChannel": "",
"sipProtocol": 0,
"sipRtspType": 0,
"sipIsGb": 0,
"fileCameraUrl": "",
"presetNumber": 0,
"presetImportProcess": 0,
"presetImportStatus": 0,
"position": "",
"rotation": "",
"zoom": 0,
"security": true,
"labels": {},
"annotations": {},
"online": 0,
"createdTime": "",
"areaName": "",
"devTypeName": "",
"devSubTypeName": "",
"usedBueList": [
{
"id": 0,
"pointId": 0,
"name": ""
}
],
"isBandContent": true,
"mspNameList": [],
"createdBy": "",
"updatedBy": ""
},
"dataPoints": "",
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"taskStatus": 0,
"taskName": "",
"status": 0,
"retRestAPIUrl": "",
"retDetectStreamUrl": "",
"beuStatus": 0,
"beuBusinessLocation": [],
"publishStatus": 0,
"publishTime": "",
"operatingPointId": 0,
"mspId": 0,
"groupId": 0,
"groupName": "",
"execStep": 0,
"indexOrder": 0,
"operatingPoint": {
"id": 0,
"name": "",
"type": 0,
"x": 0,
"y": 0,
"z": 0,
"theta": 0,
"quaternions": {
"x": 0,
"y": 0,
"z": 0,
"w": 0
},
"mspId": 0,
"uniqueIdentification": "",
"createdBy": "",
"createdTime": "",
"updatedBy": "",
"updatedTime": "",
"pixelX": 0,
"pixelY": 0,
"singleImage": "",
"isRawCoordinateIsNull": true,
"source": 0
},
"level": "",
"gait": 0,
"manner": 0,
"contentModel": "",
"eventTriggeredCondition": "",
"eventTriggeredSupport": 0,
"videoDuration": 0,
"obstacle": 0,
"eventTriggeredPoint": "",
"navMode": 0,
"pointSource": 0,
"navSpeed": 0,
"height": 0,
"recognitionType": 0,
"withFigure": 0,
"eventStopPoint": "",
"eventStopCondition": "",
"indexInGroup": 0,
"roiPicUploadedTime": "",
"dockId": "",
"robotType": "",
"robotName": "",
"benchmarkImage": "",
"signalValue": ""
}
],
"used": true,
"levelAndPhaseName": "",
"pointAndPhaseName": "",
"deviceType": "",
"model": "",
"algId": 0,
"algTestResultUrl": "",
"algTestStatus": 0,
"baseImageValue": ""
}
],
"timestamp": ""
}