跳转到内容

SLAM SDK HTTP API

Base URLs:

GET 获取版本信息

GET /slam/get_version

返回示例

200 Response

{
"status": 0,
"message": null,
"data": {}
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» statusintegertruenone0 success, 1 failed
» messagenulltruenoneerror message
» dataobjecttruenonenone

GET 同步设备时间

GET /slam/sync_time

请求参数

名称位置类型必选说明
timestampquerystringUTC 时间戳
timezonequerystring时区

返回示例

200 Response

{
"status": 0,
"message": null
}

返回结果

状态码状态码含义说明数据模型
200OKnoneBaseResult

GET 获取设备时间

GET /slam/get_sys_time

返回示例

200 Response

{
"time": "string",
"timestamp": 0,
"timezone": "string",
"offset": 0
}

返回结果

状态码状态码含义说明数据模型
200OKnoneSystemTime

GET 是否存在时区

GET /slam/exists_timezone

请求参数

名称位置类型必选说明
timezonequerystring时区城市名

返回示例

200 Response

{
"status": 0,
"message": null,
"data": true
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» statusintegertruenone0 success, 1 failed
» messagenulltruenoneerror message
» databooleantruenonenone

GET 获取Wi-Fi配置

GET /slam/get_wifi_status

返回示例

200 Response

{
"status": 0,
"message": null,
"data": {
"country": "string",
"fre": 0
}
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» statusintegertruenone0 success, 1 failed
» messagenulltruenoneerror message
» dataWifiConfig2truenonenone
»» countrystringtruenonenone
»» freintegertruenone0: 2.4G; 1: 5G

GET 试拍

GET /slam/capture

拍照,照片存放在 /mnt/udisk/snap/

请求参数

名称位置类型必选说明
cameraquerystringopt, color,不填或者未指定都默认为all

返回示例

200 Response

{
"status": 0,
"message": null,
"data": {
"status": 1
}
}

返回结果

状态码状态码含义说明数据模型
200OKnoneCommonResult

GET 开始工作

GET /slam/start_work

返回示例

200 Response

{
"status": 0,
"message": null,
"data": {
"status": 1
}
}

返回结果

状态码状态码含义说明数据模型
200OKnoneCommonResult

GET 重启设备

GET /slam/restart

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

GET 结束工作

GET /slam/end_work

返回示例

200 Response

{
"status": 0,
"message": null,
"data": {
"status": 1
}
}

返回结果

状态码状态码含义说明数据模型
200OKnoneCommonResult

GET 设置转速

GET /slam2000/set_motor_speed

请求参数

名称位置类型必选说明
speedquerynumber(float32)none

返回示例

200 Response

{
"status": 0,
"message": null
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» statusintegertruenone0 success, 1 failed
» messagenulltruenoneerror message

GET 设置相机状态

GET /slam2000/set_camera_configs

请求参数

名称位置类型必选说明
controlTypequeryinteger1:赋色镜头;2,光学镜头
camTypequeryintegercamSet params
paramqueryintegercamSet params

详细说明

camType: camSet params 1,开启/关闭摄像头; 0:关闭;1:开启 2,抓拍; 无 3,开启/关闭录像模式; 0:关闭;1:开启 4,开启/关闭共享数据; 0:关闭;1:开启 5,开启/关闭共享YUV数据; 0:关闭;1:开启 6,开启/关闭连拍模式; 0:关闭;1:开启 7,设置曝光参数 0:关闭; 1:50hz; 2:60hz 8,拍照间隔 1秒多少张照片

param: camSet params 1,开启/关闭摄像头; 0:关闭;1:开启 2,抓拍; 无 3,开启/关闭录像模式; 0:关闭;1:开启 4,开启/关闭共享数据; 0:关闭;1:开启 5,开启/关闭共享YUV数据; 0:关闭;1:开启 6,开启/关闭连拍模式; 0:关闭;1:开启 7,设置曝光参数 0:关闭; 1:50hz; 2:60hz 8,拍照间隔 1秒多少张照片

返回示例

200 Response

{
"status": 0,
"message": null
}

返回结果

状态码状态码含义说明数据模型
200OKnoneBaseResult

GET 格式化SSD

GET /slam2000/format_storage

返回示例

200 Response

{
"status": 0,
"message": null,
"data": 0
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» statusintegertruenone0 success, 1 failed
» messagenulltruenoneerror message
» dataintegertruenonenone

GET 设置运行模式

GET /slam2000/set_run_mode

请求参数

名称位置类型必选说明
modequerynumber1 站式 0 背式

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

GET 除MCU,重启设备电源

GET /slam2000/control_by_type?action_type=25&param=10

请求参数

名称位置类型必选说明
action_typequerystringmsg_id=30, 协议中控制的操作类型
paramquerystringmsg_id=30, 协议中控制的操作参数

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

GET 配置Wi-Fi

GET /slam2000/set_wifi_country_mode

请求参数

名称位置类型必选说明
countryCodequerystring-
freqquerystring-

返回示例

200 Response

{
"status": 0,
"message": null,
"data": {
"country": "string",
"fre": 0,
"setWifi": 0
}
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» statusintegertruenone0 success, 1 failed
» messagenulltruenoneerror message
» dataobjecttruenonenone
»» countrystringtruenonenone
»» freintegertruenone0: 2.4G; 1: 5G
»» setWifiintegertruenone0: 失败;1: 成功

GET 获取SN号

GET /slam/get_serial_number

返回示例

200 Response

{
"status": 0,
"message": null,
"data": {
"serialNo": "string"
}
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» statusintegertruenone0 success, 1 failed
» messagenulltruenoneerror message
» dataSNtruenonenone
»» serialNostringtruenonenone

GET 获取工作状态

GET /slam/get_work_status

返回示例

200 Response

{
"status": 0,
"message": null
}

返回结果

状态码状态码含义说明数据模型
200OKnoneBaseResult

GET 获取错误状态

GET /slam/get_error_status

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

GET 获取实时建图状态

GET /slam/get_mapping_info

返回示例

200 Response

{
"status": 0,
"message": null,
"data": {
"id": 0,
"mission_id": 0,
"state": 1,
"timestamp": 0,
"progress": 0
}
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» statusintegertruenone0 success, 1 failed
» messagenulltruenoneerror message
» dataRealMappingStatetruenonenone
»» idintegertruenonenone
»» mission_idintegertruenonenone
»» stateintegertruenoneRealStateUnknown = 0;
RealStateIdle = 1;
RealStateInit = 2;
RealStateMapping = 3;
RealStateOptimizing = 4;
RealStateSaving = 5;
RealStateFinished = 6;
RealStateError = 100;
»» timestampnumbertruenonenone
»» progressnumbertruenonenone

枚举值

属性
state1
state2
state3
state4
state5
state100

GET 版本信息

GET /slam2000/get_main_board_info

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

GET 电机板状态

GET /slam2000/get_motor_board_state

返回示例

200 Response

{
"status": 0,
"message": null,
"data": {
"total_voltage": 0,
"battery_voltage": 0,
"lidar_voltage": 0,
"mc_ph_current_1": 0,
"mc_ph_current_2": 0,
"mc_ph_current_3": 0,
"rotate_speed": 0,
"motor_state": 0,
"raster_num": 0,
"temp_rk": 0,
"temp_fpga": 0,
"pps_count": 0
}
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» statusintegertruenone0 success, 1 failed
» messagenulltruenoneerror message
» dataMotorBoardtruenonenone
»» total_voltagenumbertruenonenone
»» battery_voltagenumbertruenonenone
»» lidar_voltagenumbertruenonenone
»» mc_ph_current_1numbertruenonenone
»» mc_ph_current_2numbertruenonenone
»» mc_ph_current_3numbertruenonenone
»» rotate_speednumbertruenonenone
»» motor_statenumbertruenonenone
»» raster_numnumbertruenonenone
»» temp_rknumbertruenonenone
»» temp_fpganumbertruenonenone
»» pps_countnumbertruenonenone

GET 运行信息

GET /slam2000/get_run_state

返回示例

200 Response

{
"status": 0,
"message": null,
"data": {
"run_time": 0,
"run_rote": 0,
"cpu_use": 0,
"mem_use": 0,
"cpu_temp": 0,
"active_sta": 0,
"record_time": 0,
"ssd_mount": 0
}
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» statusintegertruenone0 success, 1 failed
» messagenulltruenoneerror message
» dataRunStatustruenonenone
»» run_timeintegertruenoneTotal work time(seconds)
»» run_roteintegertruenoneRotate count
»» cpu_usenumbertruenonenone
»» mem_usenumbertruenonenone
»» cpu_tempnumbertruenonenone
»» active_staintegertruenonenone
»» record_timeintegertruenoneWork time(seconds)
»» ssd_mountintegertruenone0: 正常挂载;1: 没有挂载

GET 项目信息

GET /slam2000/get_proj_state

返回示例

200 Response

{
"status": 0,
"message": null,
"data": {
"prj_name": "string",
"prj_path": "string",
"prj_time": "string",
"prj_type": 0
}
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» statusintegertruenone0 success, 1 failed
» messagenulltruenoneerror message
» dataProjectInfotruenonenone
»» prj_namestringtruenonenone
»» prj_pathstringtruenonenone
»» prj_timestringtruenonenone
»» prj_typeintegertruenonenone

GET 设置项目

GET /slam2000/set_proj_state

请求参数

名称位置类型必选说明
namequerystring项目名称
pathquerystring项目路径

返回示例

200 Response

{
"status": 0,
"message": null
}

返回结果

状态码状态码含义说明数据模型
200OKnoneBaseResult

GET 电池信息

GET /slam2000/get_battery_state

返回示例

200 Response

{
"status": 0,
"message": null,
"data": {
"app_version": 0,
"sn": 0,
"cycle_count": 0,
"temperature": 0,
"voltage": 0,
"battery_vol_1": 0,
"battery_vol_2": 0,
"battery_vol_3": 0,
"current": 0,
"rsoc": 0,
"remain_capacity": 0,
"full_charge_capacity": 0,
"safety_status": 0,
"other_status": 0,
"power_status": 0
}
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» statusintegertruenone0 success, 1 failed
» messagenulltruenoneerror message
» dataBatteryInfotruenonenone
»» app_versionnumbertruenonenone
»» snnumbertruenonenone
»» cycle_countnumbertruenonenone
»» temperaturenumbertruenonenone
»» voltagenumbertruenonenone
»» battery_vol_1numbertruenonenone
»» battery_vol_2numbertruenonenone
»» battery_vol_3numbertruenonenone
»» currentnumbertruenonenone
»» rsocnumbertruenonenone
»» remain_capacitynumbertruenonenone
»» full_charge_capacitynumbertruenonenone
»» safety_statusnumbertruenonenone
»» other_statusnumbertruenonenone
»» power_statusnumbertruenonenone

GET 相机状态

GET /slam2000/get_camera_info

返回示例

200 Response

{
"name": "string",
"optCamState": 0,
"optCamOpen": 0,
"optCamRecMode": 0,
"optCamEncShareMode": 0,
"optCamYuvShareMode": 0,
"optCamContShootMode": 0,
"optCamExpos": 0,
"optCamInter": 0,
"corCamState": 0,
"corCamOpen": 0,
"corCamRecMode": 0,
"corCamEncShareMode": 0,
"corCamYuvShareMode": 0,
"corCamContShootMode": 0,
"corCamExpos": 0,
"corCamInter": 0
}

返回结果

状态码状态码含义说明数据模型
200OKnoneCamera2

GET SSD状态

GET /slam2000/get_ssd_info

返回示例

200 Response

{
"status": 0,
"message": null,
"data": {
"total_space": 0,
"free_space": 0,
"used_space": 0
}
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» statusintegertruenone0 success, 1 failed
» messagenulltruenoneerror message
» dataStoragetruenoneMB
»» total_spaceintegertruenoneMB
»» free_spaceintegertruenoneMB
»» used_spaceintegertruenoneMB

GET 删除控制点

GET /slam/remove_record_point

请求参数

名称位置类型必选说明
indexquerystring-

返回示例

200 Response

{
"status": 0,
"message": null,
"data": {
"status": 1
}
}

返回结果

状态码状态码含义说明数据模型
200OKnoneCommonResult

GET 获取控制点列表

GET /slam/get_record_point_list

返回示例

200 Response

{
"status": 0,
"message": null,
"result": [
{
"index": 0,
"time": 0,
"name": "string",
"type": 0
}
]
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» statusintegertruenone0 success, 1 failed
» messagenulltruenoneerror message
» result[RecordPoint2]truenonenone
»» indexintegertruenonenone
»» timenumbertruenonenone
»» namestringtruenonenone
»» typeintegertruenonenone

GET 修改控制点名称

GET /slam/set_record_point_name

请求参数

名称位置类型必选说明
indexquerystring控制点索引
namequerystring32字符以内,支持英文和数字

返回示例

200 Response

{
"status": 0,
"message": null
}

返回结果

状态码状态码含义说明数据模型
200OKnoneBaseResult

GET 添加控制点

GET /slam/record_point_with_name

请求参数

名称位置类型必选说明
namequerystring32字符以内
typequerystring1 默认打点 2 静态点 3 特征点(slam100会拍照3张)

返回示例

200 Response

{
"status": 0,
"message": null,
"data": {}
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» statusintegertruenone0 success, 1 failed
» messagenulltruenoneerror message
» dataobjecttruenonenone

GET 记录控制点

GET /slam2000/record_point

请求参数

名称位置类型必选说明
namequerystring控制点信息,32位以内英文下划线

返回示例

200 Response

{}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

GET 设置NTrip服务器

GET /rtk/set_ntrip_server

请求参数

名称位置类型必选说明
hostquerystringnone
portquerystringnone

返回示例

200 Response

{
"status": 0,
"message": null
}

返回结果

状态码状态码含义说明数据模型
200OKnoneBaseResult

GET 设置NTrip账号

GET /rtk/set_ntrip_mes

请求参数

名称位置类型必选说明
userquerystringnone
pwdquerystringnone
mntpquerystringnone

返回示例

200 Response

{
"status": 0,
"message": null,
"data": {
"mount_point": "string",
"username": "string",
"password": "string"
}
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» statusintegertruenone0 success, 1 failed
» messagenulltruenoneerror message
» dataNTripAccounttruenonenone
»» mount_pointstringtruenonenone
»» usernamestringtruenonenone
»» passwordstringtruenonenone

GET 获取NTrip设置

GET /rtk/get_ntrip_settings

返回示例

200 Response

{
"status": 0,
"message": null,
"data": {
"host": "string",
"mount_point": "string",
"username": "string",
"password": "string",
"port": 0
}
}

返回结果

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构

状态码 200

名称类型必选约束中文名说明
» statusintegertruenone0 success, 1 failed
» messagenulltruenoneerror message
» dataNTripConfigtruenonenone
»» hoststringtruenonenone
»» mount_pointstringtruenonenone
»» usernamestringtruenonenone
»» passwordstringtruenonenone
»» portintegertruenonenone

数据模型

BaseResult

{
"status": 0,
"message": null
}

属性

名称类型必选约束中文名说明
statusintegertruenone0 success, 1 failed
messagenulltruenoneerror message

Status

{
"status": 1
}

属性

名称类型必选约束中文名说明
statusintegertruenone状态0 failed,1 success

CommonResult

{
"status": 0,
"message": null,
"data": {
"status": 1
}
}

属性

名称类型必选约束中文名说明
statusintegertruenone0 success, 1 failed
messagenulltruenoneerror message
dataStatustruenoneresult data

Error

{
"status": 1,
"message": "Timeout",
"data": null
}

属性

名称类型必选约束中文名说明
statusintegertruenone0 success, 1 failed
messagestringtruenoneerror message
datanulltruenoneresult data

ActiveStatus

{
"status": 0
}

属性

名称类型必选约束中文名说明
statusintegertruenone状态0 unactivated,1 activated,2 temporaryActivated

BatteryInfo

{
"app_version": 0,
"sn": 0,
"cycle_count": 0,
"temperature": 0,
"voltage": 0,
"battery_vol_1": 0,
"battery_vol_2": 0,
"battery_vol_3": 0,
"current": 0,
"rsoc": 0,
"remain_capacity": 0,
"full_charge_capacity": 0,
"safety_status": 0,
"other_status": 0,
"power_status": 0
}

属性

名称类型必选约束中文名说明
app_versionnumbertruenonenone
snnumbertruenonenone
cycle_countnumbertruenonenone
temperaturenumbertruenonenone
voltagenumbertruenonenone
battery_vol_1numbertruenonenone
battery_vol_2numbertruenonenone
battery_vol_3numbertruenonenone
currentnumbertruenonenone
rsocnumbertruenonenone
remain_capacitynumbertruenonenone
full_charge_capacitynumbertruenonenone
safety_statusnumbertruenonenone
other_statusnumbertruenonenone
power_statusnumbertruenonenone

RealMappingState

{
"id": 0,
"mission_id": 0,
"state": 1,
"timestamp": 0,
"progress": 0
}

属性

名称类型必选约束中文名说明
idintegertruenonenone
mission_idintegertruenonenone
stateintegertruenoneRealStateUnknown = 0;
RealStateIdle = 1;
RealStateInit = 2;
RealStateMapping = 3;
RealStateOptimizing = 4;
RealStateSaving = 5;
RealStateFinished = 6;
RealStateError = 100;
timestampnumbertruenonenone
progressnumbertruenonenone

枚举值

属性
state1
state2
state3
state4
state5
state100

RecordPoint2

{
"index": 0,
"time": 0,
"name": "string",
"type": 0
}

属性

名称类型必选约束中文名说明
indexintegertruenonenone
timenumbertruenonenone
namestringtruenonenone
typeintegertruenonenone

SN

{
"serialNo": "string"
}

属性

名称类型必选约束中文名说明
serialNostringtruenonenone

StatusCode2

{
"code_camera": 0,
"code_command": 0,
"code_fpga": 0,
"code_i2000": 0,
"code_imu": 0,
"code_lidar": 0,
"code_mcu": 0,
"code_raster": 0,
"code_time_sync": 0
}

属性

名称类型必选约束中文名说明
code_cameraintegertruenonenone
code_commandintegertruenonenone
code_fpgaintegertruenonenone
code_i2000integertruenonenone
code_imuintegertruenonenone
code_lidarintegertruenonenone
code_mcuintegertruenonenone
code_rasterintegertruenonenone
code_time_syncintegertruenonenone

SystemTime

{
"time": "string",
"timestamp": 0,
"timezone": "string",
"offset": 0
}

属性

名称类型必选约束中文名说明
timestringtruenonenone
timestampintegertruenonenone
timezonestringtruenonenone
offsetintegertruenonenone

TakeCareInfo

{
"rotateCount": 0,
"workTime": 0,
"currentWorkTime": 0
}

属性

名称类型必选约束中文名说明
rotateCountintegertruenonenone
workTimeintegertruenoneseconds
currentWorkTimeintegertruenoneseconds

WifiConfig2

{
"country": "string",
"fre": 0
}

属性

名称类型必选约束中文名说明
countrystringtruenonenone
freintegertruenone0: 2.4G; 1: 5G

WorkStatus

{
"status": 0
}

属性

名称类型必选约束中文名说明
statusintegertruenone状态0:StandBy 1:Working

NTripAccount

{
"mount_point": "string",
"username": "string",
"password": "string"
}

属性

名称类型必选约束中文名说明
mount_pointstringtruenonenone
usernamestringtruenonenone
passwordstringtruenonenone

NTripConfig

{
"host": "string",
"mount_point": "string",
"username": "string",
"password": "string",
"port": 0
}

属性

名称类型必选约束中文名说明
hoststringtruenonenone
mount_pointstringtruenonenone
usernamestringtruenonenone
passwordstringtruenonenone
portintegertruenonenone

MotorBoard

{
"total_voltage": 0,
"battery_voltage": 0,
"lidar_voltage": 0,
"mc_ph_current_1": 0,
"mc_ph_current_2": 0,
"mc_ph_current_3": 0,
"rotate_speed": 0,
"motor_state": 0,
"raster_num": 0,
"temp_rk": 0,
"temp_fpga": 0,
"pps_count": 0
}

属性

名称类型必选约束中文名说明
total_voltagenumbertruenonenone
battery_voltagenumbertruenonenone
lidar_voltagenumbertruenonenone
mc_ph_current_1numbertruenonenone
mc_ph_current_2numbertruenonenone
mc_ph_current_3numbertruenonenone
rotate_speednumbertruenonenone
motor_statenumbertruenonenone
raster_numnumbertruenonenone
temp_rknumbertruenonenone
temp_fpganumbertruenonenone
pps_countnumbertruenonenone

Camera2

{
"name": "string",
"optCamState": 0,
"optCamOpen": 0,
"optCamRecMode": 0,
"optCamEncShareMode": 0,
"optCamYuvShareMode": 0,
"optCamContShootMode": 0,
"optCamExpos": 0,
"optCamInter": 0,
"corCamState": 0,
"corCamOpen": 0,
"corCamRecMode": 0,
"corCamEncShareMode": 0,
"corCamYuvShareMode": 0,
"corCamContShootMode": 0,
"corCamExpos": 0,
"corCamInter": 0
}

属性

名称类型必选约束中文名说明
namestringtruenonenone
optCamStateintegertruenonenone
optCamOpenintegertruenonenone
optCamRecModeintegertruenonenone
optCamEncShareModeintegertruenonenone
optCamYuvShareModeintegertruenonenone
optCamContShootModeintegertruenonenone
optCamExposintegertruenonenone
optCamInterintegertruenonenone
corCamStateintegertruenonenone
corCamOpenintegertruenonenone
corCamRecModeintegertruenonenone
corCamEncShareModeintegertruenonenone
corCamYuvShareModeintegertruenonenone
corCamContShootModeintegertruenonenone
corCamExposintegertruenonenone
corCamInterintegertruenonenone

Storage

{
"total_space": 0,
"free_space": 0,
"used_space": 0
}

MB

属性

名称类型必选约束中文名说明
total_spaceintegertruenoneMB
free_spaceintegertruenoneMB
used_spaceintegertruenoneMB

RunStatus

{
"run_time": 0,
"run_rote": 0,
"cpu_use": 0,
"mem_use": 0,
"cpu_temp": 0,
"active_sta": 0,
"record_time": 0,
"ssd_mount": 0
}

属性

名称类型必选约束中文名说明
run_timeintegertruenoneTotal work time(seconds)
run_roteintegertruenoneRotate count
cpu_usenumbertruenonenone
mem_usenumbertruenonenone
cpu_tempnumbertruenonenone
active_staintegertruenonenone
record_timeintegertruenoneWork time(seconds)
ssd_mountintegertruenone0: 正常挂载;1: 没有挂载

ProjectInfo

{
"prj_name": "string",
"prj_path": "string",
"prj_time": "string",
"prj_type": 0
}

属性

名称类型必选约束中文名说明
prj_namestringtruenonenone
prj_pathstringtruenonenone
prj_timestringtruenonenone
prj_typeintegertruenonenone