通过Code获取传感器
POST
http://139.155.108.49:8443/api/server/sensor/getSensorByCode?sensorCode=7095B881CFC4
接口描述
通过Code获取服务器运行中的传感器,返回实体
请求参数
参数名
类型
描述
必填
sensorCode
string
示例:7095B881CFC4
必填
响应参数
参数名
类型
描述
必填
sensorId
string
示例:dbbb4f31487c45d5b546b37922dfe6a4
必填
sensorCode
string
示例:7095B881CFC4
必填
sensorName
object
示例:null
必填
createdTime
string
示例:2020-08-06T07:15:05.000+0000
必填
frequencyPoint
int
示例:20
必填
workRate
int
示例:7
必填
activatePeriod
int
示例:1
必填
workingHours
int
示例:1
必填
batteryState
string
示例:03
必填
curTopNodeValue
float
示例:51.3
必填
curMidNodeValue
float
示例:51.8
必填
curBotNodeValue
float
示例:51.9
必填
curTopAlarmLevel
int
示例:1
必填
curMidAlarmLevel
int
示例:2
必填
curBotAlarmLevel
int
示例:2
必填
curMaxAlarmLevel
int
示例:2
必填
sensorWorkingType
string
示例:SENSOR_IS_WORKING
必填
cellarId
string
示例:0a486217d43b483997de424551ce1698
必填
cellarCode
int
示例:12
必填
rowId
string
示例:0a4555894a2346748f7b04d1204a64ea
必填
rowCode
int
示例:1
必填
pitId
string
示例:ef0d28dfb98b4e909bffea3a1e56e77e
必填
pitCode
int
示例:11
必填
teamId
string
示例:9d49a433c1104a4b9a449e83dcfd6505
必填
teamCode
int
示例:100
必填
territoryId
string
示例:1709e9d811384763b4b0bf3362fc8b1e
必填
territoryCode
int
示例:1
必填
plantId
string
示例:1fb61ff43fe148988442b98a374043e4
必填
plantCode
int
示例:100
必填
plantName
string
示例:1
必填
clientX
int
示例:0
必填
clientY
int
示例:0
必填
localPlantId
string
示例:4d7921d4449f4046a35c5c3b0f230543
必填
localTerritoryId
string
示例:b6285e67e77942c8b9c336198f906bf3
必填
localTeamId
string
示例:faea0f48cb8f46dfbe1f5b25aafa7206
必填
localPitId
string
示例:f8ab09e8711b46e38a93b8ac28778935
必填
pitType
string
示例:true
必填
localRowId
string
示例:ac93fa5cd0814f62bc763cb7105dae66
必填
rowType
string
示例:true
必填
localCellarId
string
示例:f041e9f840fa469abe3fdbf07cd582af
必填
cellarType
string
示例:true
必填
localSensorId
string
示例:f44accbca7ba46b58a06d0dbc290d021
必填
serverBasestation
object
示例:null
必填
cellarEntryTime
object
示例:null
必填