清扫机器人
获取电站下机器人列表
接口描述
通过电站id获取电站下绑定的机器人信息。
请求方法
/clean/robots/getRobotListStationId
请求方式
POST
请求参数
Body 请求参数示例
{
"monitorId": "XXX",
"page": 1,
"pageSize": 99
}
| 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
|---|---|---|---|---|---|
| X-Access-Token | header | string | 是 | token | |
| body | body | json | 是 | ||
| » monitorId | body | Long | 是 | 电站id | |
| » page | body | integer | 是 | 当前页 | |
| » pageSize | body | integer | 是 | 当前页大小 |
返回数据结构
状态码 200
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| » success | boolean | true | |||
| » message | string | true | |||
| » code | integer | true | |||
| » result | List<Map> | true | |||
| »» records | List<Map> | true | 机器人详情 | ||
| »»» id | Long | false | 机器人id | ||
| »»» createTime | string | false | 创建日期 | ||
| »»» updateTime | string | false | 更新时间 | ||
| »»» accessAccountId | Long | false | 接入账号id | ||
| »»» keyId | Long | false | 恒为系统机器人id | ||
| »»» siteId | Long | false | 电站id | ||
| »»» workMapId | String | false | 作业地图id | ||
| »»» model | string | false | 机器人型号 | ||
| »»» serialNumber | string | false | 机器人序列号 | ||
| »»» siteName | string | false | 电站名称 | ||
| »»» workingMapName | string | false | 作业地图名称 | ||
| »»» leftFrontEdge | string | false | 左前避障状态 | 避障、正常 | |
| »»» leftRearEdge | string | false | 左后避障状态 | 避障、正常 | |
| »»» rightFrontEdge | string | false | 右前避障状态 | 避障、正常 | |
| »»» rightRearEdge | string | false | 右后避障状态 | 避障、正常 | |
| »»» powerOnRunningDuration | Long | false | 上电运行时长(秒) | ||
| »»» powerOnStartupNumber | Long | false | 上电启动次数 | ||
| »»» controlMode | string | false | 控制模式 | manual手动、automatic自动 | |
| »»» inboundOutboundMode | string | false | 出入库模式 | normal正常、forcedInBound强制入库、forcedOutBound强制出库 | |
| »»» robotPauseStatus | string | false | 机器人暂停状态 | forcedStop强制停止、unforcedStop解除强制停止 | |
| »»» cleaningTaskPauseStatus | string | false | 清扫任务暂停状态 | suspend暂停、resume恢复 | |
| »»» robotStatus | string | false | 机器人状态 | 返回的是状态的中文描述,可以直接显示 | |
| »»» hardwareStatus | string | false | 硬件状态 | 返回的是状态的中文描述,可以直接显示 | |
| »»» communicationStatus | string | false | 通讯状态 | 0离线、1在线 | |
| »»» batteryPercentage | Double | false | 电池电量(百分比) | ||
| »»» robotName | string | false | 机器人名称 | ||
| »»» accumulatedCleaningDistance | Double | false | 累计清扫里程(米) | ||
| »»» accumulatedDrivingDistance | Double | false | 累计行驶里程(米) | ||
| »»» altitude | integer | false | 高度 | ||
| »»» angularVelocity | Double | false | 角速度(弧度/秒) | ||
| »»» batteryCurrent | integer | false | 电池电流 | ||
| »»» brushSpeed | Double | false | 毛刷转速(转/秒) | ||
| »»» cleaningDuration | Double | false | 清扫时长(秒) | ||
| »»» cleaningProgress | Double | false | 清扫进度(百分比) | ||
| »»» cleaningTaskid | Long | false | 清扫任务ID | ||
| »»» latitude | Double | false | 纬度 | ||
| »»» latitudeType | string | false | 纬度类型 E东经 W西经 | ||
| »»» linearVelocity | Double | false | 线速度(米/秒) | ||
| »»» longitude | Double | false | 经度 | ||
| »»» longitudeType | string | false | 经度类型 N北纬 S南纬 | ||
| »»» maxBatteryTemperature | Double | false | 电池最高温度(摄氏度) | ||
| »»» minBatteryTemperature | Double | false | 电池最低温度(摄氏度) | ||
| »»» positioningMode | string | false | 定位模式 | “RTK fixed” | |
| »»» powerOnCleaningDistance | Double | false | 上电清扫里程(米) | ||
| »»» powerOnDrivingDistance | Double | false | 上电行驶里程(米) | ||
| »»» yawAngle | Double | false | 偏航角度 | ||
| »»» isDelete | integer | false | 是否删除 0未删除 1删除 | ||
| »»» monitorStation | string | false | 电站状态 | ||
| »»» monitorId | Long | false | 电站id | ||
| »»» forwardPhotos | string | false | 正向图' | ||
| »»» forwardPhotosUploadStatus | integer | false | 正向图上传状态 | 0或null:未上传 1:已上传 | |
| »»» assetsViewStatus | integer | false | 视图标记状态 | ||
| »»» keepYears | Integer | false | 质保年限 | ||
| »»» keepStartTime | Date | false | 质保开始时间 | ||
| »»» keepEndTime | Date | false | 质保结束时间 | ||
| »»» areaDivideId | Long | false | 区域划分Id | ||
| »»» areaDivideName | string | false | 区域划分名称 | ||
| »»» province | String | false | 省 | ||
| »»» city | String | false | 市 | ||
| »»» area | String | false | 区 | ||
| »»» provinceId | String | false | 省id | ||
| »»» cityId | String | false | 市id | ||
| »»» areaId | String | false | 区id | ||
| »»» plantWeather | string | false | 电站天气 | ||
| »»» plantTemperature | string | false | 电站温度 | ||
| »»» workingMapIframe | string | false | 作业地图Iframe地址 | ||
| »»» videoIframe | string | false | 实时视频照片Iframe地址 | ||
| »»» robotControlIframe | String | false | 机器人控制Iframe地址 | ||
| »»» appKey | String | false | appKey | ||
| »»» appSecret | String | false | appSecret | ||
| »»» icon | string | false | 天气图片 | ||
| »»» todayWorkingPlan | string | false | 今日清扫计划 | ||
| »» total | integer | true | 电站下机器人数量 | ||
| »» size | integer | true | 当前页大小 | ||
| »» current | integer | true | 当前页 | ||
| »» orders | [string] | true | |||
| »» optimizeCountSql | boolean | true | |||
| »» hitCount | boolean | true | |||
| »» searchCount | boolean | true | |||
| »» pages | integer | true | |||
| » timestamp | integer | true | 响应时间戳 |
返回示例
{
"success": true,
"message": "操作成功!",
"code": 200,
"result": {
"records": [
{
"id": 5,
"createTime": "2024-02-19 21:25:13",
"updateTime": "2024-12-17 11:14:00",
"accessAccountId": 23,
"keyId": "58",
"siteId": "91",
"workMapId": "688",
"model": "PCR-100-P",
"serialNumber": "406R4260021",
"siteName": "XXXXX",
"workingMapName": "XXXX",
"leftFrontEdge": "正常",
"leftRearEdge": "正常",
"rightFrontEdge": "正常",
"rightRearEdge": "正常",
"powerOnRunningDuration": 603533,
"powerOnStartupNumber": 103,
"controlMode": "automatic",
"inboundOutboundMode": "forcedInbound",
"robotPauseStatus": "unforcedStop",
"cleaningTaskPauseStatus": "resume",
"robotStatus": "充电中",
"hardwareStatus": "正常",
"communicationStatus": "在线",
"batteryPercentage": 97,
"robotName": "XXXXX",
"accumulatedCleaningDistance": 679057.8849249192,
"accumulatedDrivingDistance": 947548.4422362257,
"altitude": 0,
"angularVelocity": -0.0038054860372037725,
"batteryCurrent": 0,
"brushSpeed": -0.000128125,
"cleaningDuration": 108913,
"cleaningProgress": 0,
"cleaningTaskid": "44644",
"latitude": 31.894551520598807,
"latitudeType": "N",
"linearVelocity": -0.00015785207513407671,
"longitude": 121.0514076471839,
"longitudeType": "E",
"maxBatteryTemperature": 15.1,
"minBatteryTemperature": 12.2,
"positioningMode": "RTK fixed",
"powerOnCleaningDistance": 0.7549249193085904,
"powerOnDrivingDistance": 1721.0242362256242,
"yawAngle": 166.8881142440764,
"isDelete": 0,
"monitorStation": "XXXXX",
"monitorId": 43223,
"forwardPhotos": "operation/43223/11/5/8_1714034056889.png",
"forwardPhotosUploadStatus": 1,
"assetsViewStatus": 1,
"keepYears": null,
"keepStartTime": null,
"keepEndTime": null,
"areaDivideId": 108,
"areaDivideName": "设备类型全",
"province": null,
"city": null,
"area": null,
"provinceId": null,
"cityId": null,
"areaId": null,
"plantWeather": "晴",
"plantTemperature": "11",
"workingMapIframe": "hXXXXX",
"videoIframe": "XXXXX",
"robotControlIframe": null,
"appKey": null,
"appSecret": null,
"icon": "100",
"todayWorkingPlan": "17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 18"
}
],
"total": 1,
"size": 20,
"current": 1,
"orders": [],
"optimizeCountSql": true,
"hitCount": false,
"searchCount": true,
"pages": 1
},
"timestamp": 1734405240455
}
电站详情-设备-清扫机器人
接口描述
通过清扫状态,电站ID,接入状态获取电站下机器人列表。
请求方法
/clean/robots/getRobotListStationId
请求方式
POST
请求参数
| 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
|---|---|---|---|---|---|
| body | body | object | 否 | ||
| » monitorId | body | string | 是 | 机器人 id | |
| » name | body | string | 是 | 机器人名称 | |
| » cleanStatus | body | string | 是 | 清扫状态 | |
| » communicationStatus | body | string | 是 | 通讯状态 | |
| » hardwareStatus | body | string | 是 | 硬件状态 | |
| » page | body | integer | 是 | 页数 | |
| » pageSize | body | integer | 是 | 页码 |
Body 请求参数示例
{
"monitorId": "43220",
"name": "",
"cleanStatus": "",
"communicationStatus": "",
"hardwareStatus": "",
"page": 1,
"pageSize": 20
}
返回数据结构
状态码 200
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| » success | boolean | true | |||
| » message | string | true | |||
| » code | integer | true | |||
| » result | object | true | |||
| »» records | [object] | true | |||
| »»» id | integer | false | id | ||
| »»» createTime | string | false | 创建时间 | ||
| »»» updateTime | string | false | 更新时间 | ||
| »»» accessAccountId | integer | false | 访问帐户 id | ||
| »»» keyId | string | false | 机器人 id | ||
| »»» siteId | string | false | 电站 id | ||
| »»» workMapId | string | false | 作业地图 id | ||
| »»» model | string | false | 机器人型号 | ||
| »»» serialNumber | string | false | 机器人序列号 | ||
| »»» siteName | string | false | 电站名称 | ||
| »»» workingMapName | string | false | 作业地图名称 | ||
| »»» leftFrontEdge | string | false | 左前避障状态 | ||
| »»» leftRearEdge | string | false | 左后避障状态 | ||
| »»» rightFrontEdge | string | false | 右前避障状态 | ||
| »»» rightRearEdge | string | false | 右后避障状态 | ||
| »»» powerOnRunningDuration | integer | false | 上电运行时长(秒) | ||
| »»» powerOnStartupNumber | integer | false | 上电启动次数 | ||
| »»» controlMode | string | false | 控制模式 | ||
| »»» inboundOutboundMode | string | false | 入库出库模式 | ||
| »»» robotPauseStatus | string | false | 机器人暂停状态 | ||
| »»» cleaningTaskPauseStatus | string | false | 清扫任务暂停状态 | ||
| »»» robotStatus | string | false | 机器人状态 | ||
| »»» hardwareStatus | string | false | 硬件状态 | ||
| »»» communicationStatus | string | false | 通讯状态 | ||
| »»» batteryPercentage | integer | false | 电池电量(百分比) | ||
| »»» robotName | string | false | 机器人名称 | ||
| »»» accumulatedCleaningDistance | number | false | 累计清扫里程(米) | ||
| »»» accumulatedDrivingDistance | number | false | 累计行驶里程(米) | ||
| »»» altitude | integer | false | 高度 | ||
| »»» angularVelocity | number | false | 角速度 | ||
| »»» batteryCurrent | number | false | 电池电流 | ||
| »»» brushSpeed | number | false | 毛刷转速 | ||
| »»» cleaningDuration | integer | false | 清扫时长 | ||
| »»» cleaningProgress | number | false | 清扫进度 | ||
| »»» cleaningTaskid | string | false | 清扫任务 id | ||
| »»» latitude | number | false | 纬度 | ||
| »»» latitudeType | string | false | 纬度类型 | ||
| »»» linearVelocity | number | false | 线速度(米/秒) | ||
| »»» longitude | number | false | 经度 | ||
| »»» longitudeType | string | false | 经度类型 | ||
| »»» maxBatteryTemperature | number | false | 电池最高温度 | ||
| »»» minBatteryTemperature | number | false | 电池最低温度 | ||
| »»» positioningMode | string | false | 定位模式 | ||
| »»» powerOnCleaningDistance | number | false | 上电清扫里程(米) | ||
| »»» powerOnDrivingDistance | number | false | 上电行驶里程(米) | ||
| »»» yawAngle | number | false | 偏航角度 | ||
| »»» isDelete | integer | false | 是否删除 | ||
| »»» monitorStation | string | false | 监控电站 | ||
| »»» monitorId | integer | false | 电站 id | ||
| »»» forwardPhotos | null | false | 转发照片 | ||
| »»» forwardPhotosUploadStatus | null | false | 转发照片上传状态 | ||
| »»» assetsViewStatus | null | false | 资产状态 | ||
| »»» keepYears | null | false | 质保年限 | ||
| »»» keepStartTime | null | false | 质保开始时间 | ||
| »»» keepEndTime | null | false | 质保结束时间 | ||
| »»» areaDivideId | null | false | 区域划分 Id | ||
| »»» areaDivideName | null | false | 区域划分名称 | ||
| »»» province | null | false | 省 | ||
| »»» city | null | false | 市 | ||
| »»» area | null | false | 区 | ||
| »»» provinceId | null | false | 省 id | ||
| »»» cityId | null | false | 市 id | ||
| »»» areaId | null | false | 区 id | ||
| »»» plantWeather | string | false | 电站天气 | ||
| »»» plantTemperature | string | false | 电站温度 | ||
| »»» workingMapIframe | string | false | 工作地图框架 | ||
| »»» videoIframe | string | false | 视频框架 | ||
| »»» robotControlIframe | null | false | AI 润色 20/5000 机器人控制框架 | ||
| »»» appKey | null | false | appkey | ||
| »»» appSecret | null | false | app 密钥 | ||
| »»» icon | string | false | 图标 | ||
| »»» todayWorkingPlan | null | false | 今日工作计划 | ||
| »» total | integer | true | 总数 | ||
| »» size | integer | true | 页码 | ||
| »» current | integer | true | 当前页 | ||
| »» orders | [string] | true | |||
| »» optimizeCountSql | boolean | true | |||
| »» hitCount | boolean | true | |||
| »» searchCount | boolean | true | |||
| »» pages | integer | true | 总页数 | ||
| » timestamp | integer | true |
返回示例
{
"success": true,
"message": "操作成功!",
"code": 200,
"result": {
"records": [
{
"id": 55,
"createTime": "2024-10-12 15:22:51",
"updateTime": "2025-01-24 11:21:14",
"accessAccountId": 23,
"keyId": "156",
"siteId": "77",
"workMapId": "981",
"model": "PCR-200-P",
"serialNumber": "ZR2P240601007",
"siteName": "新纺联3.6MWp工商业电站",
"workingMapName": "新纺联地图",
"leftFrontEdge": "正常",
"leftRearEdge": "正常",
"rightFrontEdge": "正常",
"rightRearEdge": "正常",
"powerOnRunningDuration": 764822,
"powerOnStartupNumber": 31,
"controlMode": "automatic",
"inboundOutboundMode": "normal",
"robotPauseStatus": "unforcedStop",
"cleaningTaskPauseStatus": "resume",
"robotStatus": "清扫中",
"hardwareStatus": "正常",
"communicationStatus": "在线",
"batteryPercentage": 65,
"robotName": "新纺联机器人",
"accumulatedCleaningDistance": 301291.33666095504,
"accumulatedDrivingDistance": 421960.2952652232,
"altitude": 0,
"angularVelocity": -0.6332540069654552,
"batteryCurrent": -2.32,
"brushSpeed": 1.4975686246050963,
"cleaningDuration": 13654,
"cleaningProgress": 51.40042600759258,
"cleaningTaskid": "60654",
"latitude": 31.33095017653011,
"latitudeType": "N",
"linearVelocity": -0.06859667506067926,
"longitude": 121.1793433124052,
"longitudeType": "E",
"maxBatteryTemperature": 22.6,
"minBatteryTemperature": 20.7,
"positioningMode": "RTK fixed",
"powerOnCleaningDistance": 29197.28366102189,
"powerOnDrivingDistance": 42385.44226529036,
"yawAngle": 89.02392551042028,
"isDelete": 0,
"monitorStation": "*新纺联",
"monitorId": 43220,
"forwardPhotos": null,
"forwardPhotosUploadStatus": null,
"assetsViewStatus": null,
"keepYears": null,
"keepStartTime": null,
"keepEndTime": null,
"areaDivideId": null,
"areaDivideName": null,
"province": null,
"city": null,
"area": null,
"provinceId": null,
"cityId": null,
"areaId": null,
"plantWeather": "晴",
"plantTemperature": "13",
"workingMapIframe": "https://clean.i-pv.cn/#/v1/robot/working_map?app-key=e2aa1db60acf43719898110f87e51c79×tamp=1737688878153&nonce=e12e72dd64684abcbe14bbe795d089b6&robot_id=156&signature=%2FIcHlEjh%2BRj0%2FtGt3lxbbpilJVg%3D",
"videoIframe": "https://clean.i-pv.cn/#/v1/robot/live_video_photo?app-key=e2aa1db60acf43719898110f87e51c79×tamp=1737688878153&nonce=af2495e59fde43ce8c1da733e7554d43&robot_id=156&signature=9hM9gpKCyJVVas%2F0ymWivRTVLtU%3D",
"robotControlIframe": null,
"appKey": null,
"appSecret": null,
"icon": "100",
"todayWorkingPlan": null
}
],
"total": 1,
"size": 20,
"current": 1,
"orders": [],
"optimizeCountSql": true,
"hitCount": false,
"searchCount": true,
"pages": 1
},
"timestamp": 1737688878153
}
设备管理-清扫机器人
接口描述
通过机器人名称,清扫状态,通讯状态,硬件状态获取机器人列表
请求方法
/sol_monitor/clean/robot/list
请求方式
POST
Body 请求参数示例
{
"name": "",
"cleanStatus": "",
"communicationStatus": "",
"hardwareStatus": "",
"page": 1,
"pageSize": 20
}
请求参数
| 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
|---|---|---|---|---|---|
| serviceModule | header | string | 是 | ||
| body | body | object | 否 | ||
| » name | body | string | 是 | 机器人名称 | |
| » cleanStatus | body | string | 是 | 清扫状态 | |
| » communicationStatus | body | string | 是 | 通讯状态 | |
| » hardwareStatus | body | string | 是 | 硬件状态 | |
| » page | body | integer | 是 | 页数 | |
| » pageSize | body | integer | 是 | 页码 |
返回数据结构
状态码 200
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| » success | boolean | true | |||
| » message | string | true | |||
| » code | integer | true | |||
| » result | object | true | |||
| »» records | [object] | true | |||
| »»» id | integer | true | id | ||
| »»» createTime | string | true | 创建时间 | ||
| »»» updateTime | string | true | 更新时间 | ||
| »»» accessAccountId | integer | true | 访问帐户 id | ||
| »»» keyId | string | true | 机器人 id | ||
| »»» siteId | string | true | 电站 id | ||
| »»» workMapId | string | true | 作业地图 id | ||
| »»» model | string | true | 机器人型号 | ||
| »»» serialNumber | string | true | 机器人序列号 | ||
| »»» siteName | string | true | 电站名称 | ||
| »»» workingMapName | string | true | 作业地图名称 | ||
| »»» leftFrontEdge | string | true | 左前避障状态 | ||
| »»» leftRearEdge | string | true | 左后避障状态 | ||
| »»» rightFrontEdge | string | true | 右前避障状态 | ||
| »»» rightRearEdge | string | true | 右后避障状态 | ||
| »»» powerOnRunningDuration | integer | true | 上电运行时长(秒) | ||
| »»» powerOnStartupNumber | integer | true | 上电启动次数 | ||
| »»» controlMode | string | true | 控制模式 | ||
| »»» inboundOutboundMode | string | true | 入库出库模式 | ||
| »»» robotPauseStatus | string | true | 机器人暂停状态 | ||
| »»» cleaningTaskPauseStatus | string | true | 清扫任务暂停状态 | ||
| »»» robotStatus | string | true | 机器人状态 | ||
| »»» hardwareStatus | string | true | 硬件状态 | ||
| »»» communicationStatus | string | true | 通讯状态 | ||
| »»» batteryPercentage | integer | true | 电池电量(百分比) | ||
| »»» robotName | string | true | 机器人名称 | ||
| »»» accumulatedCleaningDistance | number | true | 累计清洗距离 | ||
| »»» accumulatedDrivingDistance | number | true | 累计行驶距离 | ||
| »»» altitude | integer | true | 高度 | ||
| »»» angularVelocity | number | true | 角速度 | ||
| »»» batteryCurrent | number | true | 电池电流 | ||
| »»» brushSpeed | integer | true | 清洗速度 | ||
| »»» cleaningDuration | integer | true | 清洗时间 | ||
| »»» cleaningProgress | number | true | 清洗进度 | ||
| »»» cleaningTaskid | string¦null | true | 清扫任务 id | ||
| »»» latitude | number | true | 纬度 | ||
| »»» latitudeType | string | true | 纬度类型 | ||
| »»» linearVelocity | number | true | 线速度 | ||
| »»» longitude | number | true | 经度 | ||
| »»» longitudeType | string | true | 经度类型 | ||
| »»» maxBatteryTemperature | number | true | 电池最高温度 | ||
| »»» minBatteryTemperature | number | true | 电池最低温度 | ||
| »»» positioningMode | string | true | 定位模式 | ||
| »»» powerOnCleaningDistance | number | true | 上电清扫里程 | ||
| »»» powerOnDrivingDistance | number | true | 上电行驶里程 | ||
| »»» yawAngle | number | true | 偏航角度 | ||
| »»» isDelete | integer | true | 是否删除 | ||
| »»» keepYears | null | true | 质保年限 | ||
| »»» keepStartTime | null | true | 质保开始时间 | ||
| »»» keepEndTime | null | true | 质保结束时间 | ||
| »»» monitorStation | string | true | 关联电站 | ||
| »»» monitorId | integer | true | 关联电站 id | ||
| »»» hasQuota | integer | true | 订阅版本 | ||
| »» total | integer | true | 总数 | ||
| »» size | integer | true | 页数 | ||
| »» current | integer | true | 当前页 | ||
| »» orders | [string] | true | |||
| »» optimizeCountSql | boolean | true | |||
| »» hitCount | boolean | true | |||
| »» searchCount | boolean | true | |||
| »» pages | integer | true | 总页数 | ||
| » timestamp | integer | true |
返回示例
{
"success": true,
"message": "操作成功!",
"code": 200,
"result": {
"records": [
{
"id": 8,
"createTime": "2024-05-28 18:27:22",
"updateTime": "2025-01-24 11:24:25",
"accessAccountId": 23,
"keyId": "114",
"siteId": "119",
"workMapId": "1189",
"model": "PCR-200-P",
"serialNumber": "ZR2P240118005",
"siteName": "锦州中信钛业4.005MWp工商业电站",
"workingMapName": "6万吨成品库屋顶地图(正式)修复连接桥问题",
"leftFrontEdge": "正常",
"leftRearEdge": "正常",
"rightFrontEdge": "正常",
"rightRearEdge": "正常",
"powerOnRunningDuration": 1861422,
"powerOnStartupNumber": 100,
"controlMode": "automatic",
"inboundOutboundMode": "normal",
"robotPauseStatus": "unforcedStop",
"cleaningTaskPauseStatus": "resume",
"robotStatus": "清扫中",
"hardwareStatus": "正常",
"communicationStatus": "在线",
"batteryPercentage": 70,
"robotName": "6万吨成品库机器人",
"accumulatedCleaningDistance": 775096.6706261531,
"accumulatedDrivingDistance": 1066099.5352418837,
"altitude": 5.605221572169325e-254,
"angularVelocity": 0.00543937736815807,
"batteryCurrent": -1.86,
"brushSpeed": 0,
"cleaningDuration": 45092,
"cleaningProgress": 43.85845306986863,
"cleaningTaskid": "60223",
"latitude": 41.04620990158887,
"latitudeType": "N",
"linearVelocity": 0.14845072850583974,
"longitude": 120.9916784557139,
"longitudeType": "E",
"maxBatteryTemperature": 8.7,
"minBatteryTemperature": 7.2,
"positioningMode": "RTK fixed",
"powerOnCleaningDistance": 39555.04162624978,
"powerOnDrivingDistance": 59030.402241885124,
"yawAngle": 6.912325986880764,
"isDelete": 0,
"keepYears": null,
"keepStartTime": null,
"keepEndTime": null,
"monitorStation": "锦州中信钛业4.005MWp工商业电站",
"monitorId": 43268,
"hasQuota": 1
},
],
"total": "Xx",
"size": 20,
"current": 1,
"orders": [],
"optimizeCountSql": true,
"hitCount": false,
"searchCount": true,
"pages": 3
},
"timestamp": 1737689068373
}
获取清扫次数图表
接口描述
通过指定日期、监控电站ID或机器人id和图表数据类型,获取电站的清扫次数。电站可能有多个机器人,传电站id则返回该电站聚合所有机器人的清扫次数,传机器人id则返回单个机器人的清扫次数。
请求方法
/sol_monitor/clean/robot/cleanNum
请求方式
GET
请求参数
| 名称 | 位置 | 类型 | 必选 | 说明 |
|---|---|---|---|---|
| datetime | query | String | 是 | 日期,格式为年-月-日,例如2024-12-10 |
| monitorId | query | Long | 否 | 监控电站id |
| dataType | query | string | 是 | 图表数据类型,决定数据的聚合时间范围 |
| robotId | query | Long | 否 | 机器人id |
| X-Access-Token | header | string | 是 | token |
枚举值
| 属性 | 值 | 说明 |
|---|---|---|
| dataType | SEVEN_DAY | 7天,根据传入时间获取该时间往前推6天,共7天的数据 |
| dataType | MONTH | 月,根据传入时间获取这一个月的数据 |
| dataType | YEAR | 年,根据传入时间获取该年每个月的数据 |
| dataType | TOTAL | 总,每年的数据 |
返回数据结构
状态码 200
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| » success | boolean | true | 请求是否成功 | ||
| » message | string | true | 请求结果的提示消息 | ||
| » code | integer | true | 请求状态码 | ||
| » result | List<Map> | true | 清扫次数和天气信息的具体数据 | ||
| »» cleanNum | List<Map> | true | 清扫次数list | ||
| »»» time | string | true | 聚合粒度具体时间 | 7天:日,月:日,年:月,总:年 | |
| »»» value | Double | true | 清扫次数 | ||
| »»» year | string | true | 时间-年 | ||
| »»» month | string | true | 时间-月 | ||
| »»» allDate | string | true | 时间 | ||
| »» weather | List<Map> | true | 天气 | ||
| »»» id | Long | true | 天气id | ||
| »»» createTime | string | true | 创建日期 | ||
| »»» updateTime | string | true | 更新时间 | ||
| »»» locationId | Long | true | 区县ID | ||
| »»» fxTime | string | true | 预报时间 | ||
| »»» sunrise | Long | true | 日出时间 | ||
| »»» sunset | Long | true | 日落时间 | ||
| »»» moonrise | Long | true | 月出时间 | ||
| »»» moonset | Long | true | 月落时间 | ||
| »»» moonPhase | string | true | 月相名称 | ||
| »»» tempMax | string | true | 预报当天最高温度 | ||
| »»» tempMin | string | true | 预报当天最低温度 | ||
| »»» iconDay | string | true | 预报白天天气状况的图标代码 | ||
| »»» textDay | string | true | 预报白天天气状况文字描述 | ||
| »»» iconNight | string | true | 预报夜间天气状况的图标代码 | ||
| »»» textNight | string | true | 预报晚间天气状况文字描述 | ||
| »»» wind360Day | string | true | 预报白天风向360角度 | ||
| »»» windDirDay | string | true | 预报白天风向 | ||
| »»» windScaleDay | string | true | 预报白天风力等级 | ||
| »»» windSpeedDay | string | true | 预报白天风速 | ||
| »»» wind360Night | string | true | 预报夜间风向360角度 | ||
| »»» windDirNight | string | true | 预报夜间当天风向 | ||
| »»» windScaleNight | string | true | 预报夜间风力等级 | ||
| »»» windSpeedNight | string | true | 预报夜间风速 | ||
| »»» humidity | string | true | 预报当天相对湿度 | ||
| »»» precip | string | true | 预报当天降水量 | ||
| »»» pressure | string | true | 预报当天大气压强 | ||
| »»» vis | string | true | 预报当天能见度 | ||
| »»» cloud | string | true | 预报当天云量 | ||
| »»» uvIndex | string | true | 预报当天紫外线强度指数 | ||
| » timestamp | String | true | 响应数据的时间戳 |
返回示例
{
"success": true,
"message": "操作成功!",
"code": 200,
"result": {
"cleanNum": [
{
"time": "5",
"value": 74.94130301475525,
"year": string,
"month": string,
"allDate": "2024-12-05"
}
],
"weather": [
{
"id": 42216,
"createTime": "2024-12-05",
"updateTime": "2024-12-05 17:02:25",
"locationId": 101090411,
"fxTime": "2024-12-05",
"sunrise": 1733354340000,
"sunset": 1733388120000,
"moonrise": "10:51",
"moonset": "20:13",
"moonPhase": "蛾眉月",
"tempMax": "2",
"tempMin": "-5",
"iconDay": "101",
"textDay": "多云",
"iconNight": "151",
"textNight": "多云",
"wind360Day": "315",
"windDirDay": "西北风",
"windScaleDay": "3-4",
"windSpeedDay": "24",
"wind360Night": "315",
"windScaleNight": "1-3",
"windSpeedNight": "3",
"humidity": "54",
"precip": "0.0",
"pressure": "953",
"vis": "25",
"cloud": "0",
"uvIndex": "2",
"windDirNight": "西北风"
}
]
},
"timestamp": 1733887983166
}
获取清扫面积/里程
接口描述
通过日期、电站ID或机器人id、数据类型获取电站的清扫面积、清扫里程以及天气信息。电站可能有多个机器人,传电站id则返回该电站聚合所有机器人的清扫面积、清扫里程,传机器人id则返回单个机器人的清扫面积、清扫里程。
请求方法
/sol_monitor/clean/robot/cleanTask/cleanArea/arr
请求方式
GET
请求参数
| 名称 | 位置 | 类型 | 必选 | 说明 |
|---|---|---|---|---|
| datetime | query | String | 是 | 日期,格式为年-月-日,例如2024-12-10 |
| monitorId | query | Long | 否 | 监控电站id,用于唯一标识一个电站 |
| dataType | query | string | 是 | 图表数据类型,决定数据的聚合时间范围 |
| robotId | query | Long | 否 | 机器人id |
| X-Access-Token | header | string | 是 | token |
枚举值
| 属性 | 值 | 说明 |
|---|---|---|
| dataType | SEVEN_DAY | 7天,根据传入时间获取该时间往前推6天,共7天的数据 |
| dataType | MONTH | 月,根据传入时间获取这一个月的数据 |
| dataType | YEAR | 年,根据传入时间获取该年每个月的数据 |
| dataType | TOTAL | 总,每年的数据 |
返回数据结构
状态码 200
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| » success | boolean | true | 请求是否成功 | ||
| » message | string | true | 请求结果提示信息 | ||
| » code | integer | true | 状态码 | ||
| » result | List<Map> | true | 清扫区域和天气信息具体数据 | ||
| »» cleanArea | List<Map> | true | 清扫数据list | ||
| »»» cleaningDistance | Double | true | 清扫里程(m) | ||
| »»» actualCleaningArea | Double | true | 清扫面积(㎡) | ||
| »»» cleanNum | string | true | 清扫次数 | ||
| »»» day | integer | true | 日 | ||
| »»» month | integer | true | 月 | ||
| »»» year | integer | true | 年 | ||
| »»» allDate | string | true | 日期 | 年-月-日 | |
| »»» time | string | true | 聚合粒度具体时间 | 7天:日,月:日,年:月,总:年 | |
| »» weather | List<Map> | true | 天气 | ||
| »»» id | Long | true | 天气id | ||
| »»» createTime | string | true | 创建日期 | ||
| »»» updateTime | string | true | 更新时间 | ||
| »»» locationId | Long | true | 区县ID | ||
| »»» fxTime | string | true | 预报时间 | ||
| »»» sunrise | Long | true | 日出时间 | ||
| »»» sunset | Long | true | 日落时间 | ||
| »»» moonrise | Long | true | 月出时间 | ||
| »»» moonset | Long | true | 月落时间 | ||
| »»» moonPhase | string | true | 月相名称 | ||
| »»» tempMax | string | true | 预报当天最高温度 | ||
| »»» tempMin | string | true | 预报当天最低温度 | ||
| »»» iconDay | string | true | 预报白天天气状况的图标代码 | ||
| »»» textDay | string | true | 预报白天天气状况文字描述 | ||
| »»» iconNight | string | true | 预报夜间天气状况的图标代码 | ||
| »»» textNight | string | true | 预报晚间天气状况文字描述 | ||
| »»» wind360Day | string | true | 预报白天风向360角度 | ||
| »»» windDirDay | string | true | 预报白天风向 | ||
| »»» windScaleDay | string | true | 预报白天风力等级 | ||
| »»» windSpeedDay | string | true | 预报白天风速 | ||
| »»» wind360Night | string | true | 预报夜间风向360角度 | ||
| »»» windDirNight | string | true | 预报夜间当天风向 | ||
| »»» windScaleNight | string | true | 预报夜间风力等级 | ||
| »»» windSpeedNight | string | true | 预报夜间风速 | ||
| »»» humidity | string | true | 预报当天相对湿度 | ||
| »»» precip | string | true | 预报当天降水量 | ||
| »»» pressure | string | true | 预报当天大气压强 | ||
| »»» vis | string | true | 预报当天能见度 | ||
| »»» cloud | string | true | 预报当天云量 | ||
| »»» uvIndex | string | true | 预报当天紫外线强度指数 | ||
| » timestamp | String | true | 响应数据的时间戳 |
返回示例
{
"success": true,
"message": "操作成功!",
"code": 200,
"result": {
"cleanArea": [
{
"cleaningDistance": 19810.919692993164,
"actualCleaningArea": 9017.517498016357,
"cleanNum": string,
"day": 4,
"month": 12,
"year": 2024,
"allDate": "2024-12-04",
"time": string
}
],
"weather": [
{
"id": 42157,
"createTime": "2024-12-04",
"updateTime": "2024-12-04 17:01:31",
"locationId": 101090411,
"fxTime": "2024-12-04",
"sunrise": 1733267880000,
"sunset": 1733301720000,
"moonrise": "10:08",
"moonset": "19:01",
"moonPhase": "蛾眉月",
"tempMax": "3",
"tempMin": "-6",
"iconDay": "100",
"textDay": "晴",
"iconNight": "150",
"textNight": "晴",
"wind360Day": "315",
"windDirDay": "西北风",
"windScaleDay": "1-3",
"windSpeedDay": "16",
"wind360Night": "315",
"windScaleNight": "1-3",
"windSpeedNight": "3",
"humidity": "57",
"precip": "0.0",
"pressure": "951",
"vis": "25",
"cloud": "0",
"uvIndex": "2",
"windDirNight": "西北风"
}
]
},
"timestamp": 1733888017440
}
获取电站清扫分析对比组
接口描述
通过电站id获取电站设置的对照组和清扫组等数据
请求方法
/clean/plant/getCompareGroup
请求方式
GET
请求参数
| 名称 | 位置 | 类型 | 必选 | 说明 |
|---|---|---|---|---|
| plantId | query | Long | 是 | 电站id,用于唯一标识一个电站 |
| X-Access-Token | header | string | 是 | token |
返回数据结构
状态码 200
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| » success | boolean | true | 请求是否成功 | ||
| » message | string | true | 请求结果提示信息 | ||
| » code | integer | true | 响应码 | ||
| » result | List<Map> | true | result[0]为对照组数据,其他为清扫组数据 | ||
| »» id | Long | true | id | ||
| »» createTime | string | true | 创建日期 | ||
| »» updateTime | string | true | 更新时间 | ||
| »» groupName | string | true | 组名 | ||
| »» status | string | true | 组状态 | 状态0正常 1停用 | |
| »» capacity | integer | true | 装机容量(kWp) | ||
| »» deviceList | string | true | 组下逆变器列表 | 逆变器id列表 | |
| »» arrayList | string | true | 组下组串列表 | ||
| »» plantId | Long | true | 电站id | ||
| »» startDate | string | true | 数据对比起始日期 | ||
| »» dataIsSuccess | integer | true | 数据是否成功执行完成 | ||
| »» groupNumber | integer | true | 分组号 | ||
| »» groupType | integer | true | 对比组类型 | 0为机器人 1为电站 | |
| »» robotId | Long | true | 机器人id | 机器人id | |
| »» inverterArrayDtoList | List<Map> | true | 逆变器与组串的关联信息 | ||
| »»» inverterId | Long | true | 逆变器id | ||
| »»» arrayIds | List<Long> | true | 组串id | ||
| » timestamp | String | true | 响应时间戳 |
返回示例
{
"success": true,
"message": "操作成功!",
"code": 200,
"result": [
{
"id": 288,
"createTime": "2024-12-05 16:00:00",
"updateTime": "2024-12-05 16:00:00",
"groupName": "未清扫",
"status": "0",
"capacity": 1606660,
"deviceList": "xxx, xxx, 56454",
"arrayList": "[{\"arrayIds\":[],\"inverterId\":56456}]",
"plantId": 43367,
"startDate": "2024-10-15",
"dataIsSuccess": 1,
"groupNumber": 1,
"groupType": 1,
"robotId": string,
"inverterArrayDtoList": [
{
"inverterId": 56456,
"arrayIds": []
}
]
},
{
"id": 289,
"createTime": "2024-12-05 16:00:00",
"updateTime": "2024-12-05 16:00:00",
"groupName": "清扫区",
"status": "0",
"capacity": 4433390,
"deviceList": "XXX, 56432",
"arrayList": "[{\"arrayIds\":[],\"inverterId\":56458}]",
"plantId": 43367,
"startDate": "2024-10-15",
"dataIsSuccess": 1,
"groupNumber": 2,
"groupType": 1,
"robotId": string,
"inverterArrayDtoList": [
{
"inverterId": 56458,
"arrayIds": []
}
]
}
],
"timestamp": 1733905218216
}
获取日发电对比
接口描述
通过指定日期、监控电站ID或机器人id和图表数据类型,获取电站清扫组发电量,对比组发电量。电站可能有多个机器人,传电站id则返回该电站聚合的机器人发电量数据,传机器人id则返回单个机器人的发电量数据。
请求方法
/clean/plant/getWorkMapAnalysis
请求方式
GET
请求参数
| 名称 | 位置 | 类型 | 必选 | 说明 |
|---|---|---|---|---|
| plantId | query | Long | 是 | 电站id,用于唯一标识一个电站 |
| dateType | query | string | 是 | 数据类型,决定数据的聚合时间范围 |
| time | query | string | 是 | 日期,格式为年-月-日,例如2024-12-10 |
| robotId | query | Long | 否 | 机器人id |
| X-Access-Token | header | string | 是 | token |
枚举值
| 属性 | 值 | 说明 |
|---|---|---|
| dataType | SEVEN_DAY | 7天,根据传入时间获取该时间往前推6天,共7天的数据 |
| dataType | MONTH | 月,根据传入时间获取这一个月的数据 |
| dataType | YEAR | 年,根据传入时间获取该年每个月的数据 |
| dataType | TOTAL | 总,每年的数据 |
返回数据结构
状态码 200
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| » success | boolean | true | |||
| » message | string | true | |||
| » code | integer | true | |||
| » result | List<Map> | true | result[0]对照组数据 result[1]清扫组数据 result[2]提升发电量 result[3]提升发电量百分比 result[4]无清扫理论发电量 result[5]清扫后实际发电量 result[6]理论发电量 result[7]理论增发电量比例 | ||
| »» compareGroupName | string | true | 组名称 | ||
| »» compareGroupValue | List<Arr>¦ string | true | 发电量list | ||
| »»» time | string | true | 聚合粒度具体时间 | 7天:日,月:日,年:月,总:年 | |
| »»» value | Double¦ string | true | 发电量值 | ||
| »»» year | integer¦ string | true | 年 | ||
| »»» month | integer¦ string | true | 月 | ||
| »»» allDate | string¦ string | true | 发电量数据时间 | ||
| »» value | Double¦ string | true | 值 | compareGroupValue返回为string时的数据值 | |
| »» weather | List<Map> | true | 天气 | ||
| »»» id | Long | true | 天气id | ||
| »»» createTime | string | true | 创建日期 | ||
| »»» updateTime | string | true | 更新时间 | ||
| »»» locationId | Long | true | 区县ID | ||
| »»» fxTime | string | true | 预报时间 | ||
| »»» sunrise | Long | true | 日出时间 | ||
| »»» sunset | Long | true | 日落时间 | ||
| »»» moonrise | Long | true | 月出时间 | ||
| »»» moonset | Long | true | 月落时间 | ||
| »»» moonPhase | string | true | 月相名称 | ||
| »»» tempMax | string | true | 预报当天最高温度 | ||
| »»» tempMin | string | true | 预报当天最低温度 | ||
| »»» iconDay | string | true | 预报白天天气状况的图标代码 | ||
| »»» textDay | string | true | 预报白天天气状况文字描述 | ||
| »»» iconNight | string | true | 预报夜间天气状况的图标代码 | ||
| »»» textNight | string | true | 预报晚间天气状况文字描述 | ||
| »»» wind360Day | string | true | 预报白天风向360角度 | ||
| »»» windDirDay | string | true | 预报白天风向 | ||
| »»» windScaleDay | string | true | 预报白天风力等级 | ||
| »»» windSpeedDay | string | true | 预报白天风速 | ||
| »»» wind360Night | string | true | 预报夜间风向360角度 | ||
| »»» windDirNight | string | true | 预报夜间当天风向 | ||
| »»» windScaleNight | string | true | 预报夜间风力等级 | ||
| »»» windSpeedNight | string | true | 预报夜间风速 | ||
| »»» humidity | string | true | 预报当天相对湿度 | ||
| »»» precip | string | true | 预报当天降水量 | ||
| »»» pressure | string | true | 预报当天大气压强 | ||
| »»» vis | string | true | 预报当天能见度 | ||
| »»» cloud | string | true | 预报当天云量 | ||
| »»» uvIndex | string | true | 预报当天紫外线强度指数 | ||
| » timestamp | String | true | 响应时间戳 |
返回示例
{
"success": true,
"message": "操作成功!",
"code": 200,
"result": [
{
"compareGroupValue": [
{
"time": "5",
"value": 1874,
"year": 2024,
"month": 12,
"allDate": "2024-12-05"
}
],
"compareGroupName": "清扫区",
"value": string,
"weatherDailyList": string
},
{
"compareGroupValue": [
{
"time": "5",
"value": 1637.6165971643031,
"year": 2024,
"month": 12,
"allDate": "2024-12-05"
}
],
"compareGroupName": "greater_than_清扫区",
"value": string,
"weatherDailyList": string
},
{
"compareGroupValue": [
{
"time": "5",
"value": 0.31668733021522605,
"year": 2024,
"month": 12,
"allDate": "2024-12-05"
}
],
"compareGroupName": "greater_than_per_清扫区",
"value": string,
"weatherDailyList": string
},
{
"compareGroupValue": [
{
"time": "5",
"value": 5171.083402835697,
"year": 2024,
"month": 12,
"allDate": "2024-12-05"
}
],
"compareGroupName": "non_sweeping",
"value": string,
"weatherDailyList": string
},
{
"compareGroupValue": [
{
"time": "5",
"value": 6808.7,
"year": 2024,
"month": 12,
"allDate": "2024-12-05"
}
],
"compareGroupName": "sweep",
"value": string,
"weatherDailyList": string
},
{
"compareGroupValue": string,
"compareGroupName": "theory",
"value": 10147.840033361135,
"weatherDailyList": string
},
{
"compareGroupValue": string,
"compareGroupName": "theory_per",
"value": 0.3513495749698107,
"weatherDailyList": string
},
{
"compareGroupValue": string,
"compareGroupName": "weather",
"value": string,
"weatherDailyList": [
{
"id": 42216,
"createTime": "2024-12-05",
"updateTime": "2024-12-05 17:02:25",
"locationId": 101090411,
"fxTime": "2024-12-05",
"sunrise": 1733354340000,
"sunset": 1733388120000,
"moonrise": "10:51",
"moonset": "20:13",
"moonPhase": "蛾眉月",
"tempMax": "2",
"tempMin": "-5",
"iconDay": "101",
"textDay": "多云",
"iconNight": "151",
"textNight": "多云",
"wind360Day": "315",
"windDirDay": "西北风",
"windScaleDay": "3-4",
"windSpeedDay": "24",
"wind360Night": "315",
"windScaleNight": "1-3",
"windSpeedNight": "3",
"humidity": "54",
"precip": "0.0",
"pressure": "953",
"vis": "25",
"cloud": "0",
"uvIndex": "2",
"windDirNight": "西北风"
}
]
}
],
"timestamp": 1733888050683
}