文档
测试

获取尾矿库实时监控数据

POST
http://[域名]/tailings/gettailingsmoninfo

接口描述

获取尾矿库实时监控数据

请求参数

参数名
类型
描述
必填
appid
string
系统分配给第三方的接入应用编码,示例:1234567890
必填
token
string
接入签名,示例:45879541235derderedew
必填
timestamp
string
时间戳,格式为:yyyymmddhhmmss,如:20200118122652
必填
opertoken
string
身份操作凭证
必填
tailingsbaseinfo
必填
minecode
string
矿区编码
必填
tailingscode
string
尾矿库编码
可选

请求数据示例

{ "appid":"1234567890", "token":"45879541235derderedew", "timestamp":"20200118122613", "opertoken":"123456", "tailingsbaseinfo":{ "minecode":"1234" } }

响应参数

参数名
类型
描述
必填
errcode
string
错误代码,示例:0
必填
errmsg
string
错误信息,示例:成功
必填
recordcount
int
记录数量,为0表示列表没有数据
必填
listinfo
必填
tailingscode
string
尾矿库编码
必填
tailingsname
string
尾矿库名称
必填
tailingstypename
string
尾矿库类型
必填
tailingsmoninfo
必填
temperature_value
string
温度
必填
temperature_iswarn
string
温度是否预警 0:正常 1:预警
必填
humidity_value
string
湿度
必填
humidity_iswarn
string
湿度是否预警 0:正常 1:预警
必填
rainfall_value
string
降雨量
必填
rainfall_iswarn
string
降雨量是否预警 0:正常 1:预警
必填
drybeachlength_value
string
干滩长度
必填
drybeachlength_iswarn
string
干滩长度是否预警 0:正常 1:预警
必填
surfacelocomotion_value
string
表面位移
必填
surfacelocomotion_iswarn
string
表面位移是否预警 0:正常 1:预警
必填
bankslopelocomotion_value
string
岸坡位移
必填
bankslopelocomotion_iswarn
string
岸坡位移是否预警 0:正常 1:预警
必填
interiorlocomotion_value
string
内部位移
必填
interiorlocomotion_iswarn
string
内部位移是否预警 0:正常 1:预警
必填
waterlevel_value
string
库水位
必填
waterlevel_iswarn
string
库水位是否预警 0:正常 1:预警
必填
saturationline_value
string
浸润线
必填
saturationline_iswarn
string
浸润线是否预警 0:正常 1:预警
必填
seepagedischarge_value
string
渗流量
必填
seepagedischarge_iswarn
string
渗流量是否预警 0:正常 1:预警
必填
draindischarge_value
string
排水流量
必填
draindischarge_iswarn
string
排水流量是否预警 0:正常 1:预警
必填

响应成功示例

{ "errcode":"0", "errmsg":"成功", "recordcount":2, "listinfo":[ { "tailingscode":"1234", "tailingsname":"1号尾矿库", "tailingstypename":"渣土尾矿库", "tailingsmoninfo":{ "temperature_value":"30", "temperature_iswarn":"0", "humidity_value":"12", "humidity_iswarn":"0", "rainfall_value":"22", "rainfall_iswarn":"0", "drybeachlength_value":"12", "drybeachlength_iswarn":"0", "surfacelocomotion_value":"11", "surfacelocomotion_iswarn":"0", "bankslopelocomotion_value":"11", "bankslopelocomotion_iswarn":"0", "interiorlocomotion_value":"11", "interiorlocomotion_iswarn":"0", "waterlevel_value":"11", "waterlevel_iswarn":"0", "saturationline_value":"11", "saturationline_iswarn":"0", "seepagedischarge_value":"11", "seepagedischarge_iswarn":"0", "draindischarge_value":"11", "draindischarge_iswarn":"0" } }, { "tailingscode":"1234", "tailingsname":"1号尾矿库", "tailingstypename":"渣土尾矿库", "tailingsmoninfo":{ "temperature_value":"30", "temperature_iswarn":"0", "humidity_value":"12", "humidity_iswarn":"0", "rainfall_value":"22", "rainfall_iswarn":"0", "drybeachlength_value":"12", "drybeachlength_iswarn":"0", "surfacelocomotion_value":"11", "surfacelocomotion_iswarn":"0", "bankslopelocomotion_value":"11", "bankslopelocomotion_iswarn":"0", "interiorlocomotion_value":"11", "interiorlocomotion_iswarn":"0", "waterlevel_value":"11", "waterlevel_iswarn":"0", "saturationline_value":"11", "saturationline_iswarn":"0", "seepagedischarge_value":"11", "seepagedischarge_iswarn":"0", "draindischarge_value":"11", "draindischarge_iswarn":"0" } } ] }

响应失败示例

{ "errcode":"1", "errmsg":"参数无效" }