GET api/Device/Monitor/CheckIfCtrlOnLine/{serialid}

检查某个大棚控制器是否在线。

Request Information

URI Parameters

NameDescriptionTypeAdditional information
serialid

大棚控制器的ID。

integer

Required

Body Parameters

None.

Response Information

Resource Description

检查某个大棚控制器是否在线。

CommonOperationResultWithTagOfBoolean
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": true
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer">
  <errcode>1</errcode>
  <errmsg>sample string 2</errmsg>
  <tag>true</tag>
</CommonOperationResultWithTagOfboolean>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.