AbleCloud PHP SDK
1.8.x
PHP SDK of AbleCloud API
|
Public 成员函数 | |
__construct ($name, $version, $context) | |
getDeviceCount ($subDomain='') | |
getDeviceCountExt ($subDomain='') | |
listDevices ($subDomain, $offset, $limit) | |
getDeviceInfo ($physicalDeviceId) | |
getDevicesInfo ($physicalDeviceIds) | |
getDeviceLogicalId ($subDomain, $physicalDeviceId) | |
![]() | |
__construct ($name, $version, $context) | |
getName () | |
getVersion () | |
getContext () | |
getLastError () | |
额外继承的成员函数 | |
![]() | |
resetLastError ($errCode=0, $errMessage='') | |
AbleCloud设备入库服务。
ACWarehouseMgr::__construct | ( | $name, | |
$version, | |||
$context | |||
) |
构造函数。
$name | string AbleCloud设备入库管理服务的名字。 |
$version | int AbleCloud设备入库管理服务的版本。 |
$context | ACContext ACContext对象,表示访问该远程服务所依赖的环境信息。 |
ACWarehouseMgr::getDeviceCount | ( | $subDomain = '' | ) |
查询已入库设备的数目。
$subDomain | string 指定要查询的设备所属的子域的名字。如为NULL或空字符串表示不区分子域。 |
ACWarehouseMgr::getDeviceCountExt | ( | $subDomain = '' | ) |
统计入库设备的信息。
$subDomain | string 指定要统计的设备所属的子域的名字。如为NULL或空字符串表示不区分子域。 |
ACWarehouseMgr::getDeviceInfo | ( | $physicalDeviceId | ) |
查询设备信息。
$physicalDeviceId | string 拟查询的设备的物理ID。 |
ACWarehouseMgr::getDeviceLogicalId | ( | $subDomain, | |
$physicalDeviceId | |||
) |
取设备的逻辑ID。
$subDomain | string 拟查询的设备所属的子域的名字。 |
$physicalDeviceId | string 拟查询的设备的物理ID。 |
ACWarehouseMgr::getDevicesInfo | ( | $physicalDeviceIds | ) |
批量查询设备信息。
$physicalDeviceIds | array 拟查询的设备的物理ID组成的数组。 |
ACWarehouseMgr::listDevices | ( | $subDomain, | |
$offset, | |||
$limit | |||
) |
批量查询设备信息。
$subDomain | string 指定要查询的设备所属的子域的名字。如为NULL或空字符串表示不区分子域。 |
$offset | int $offset与$limit参数用于实现分页查询的效果。$offset是从0开始的偏移量,表示返回设备列表中从第offset位置开始的共limit个设备的信息。 |
$limit | int $offset与$limit参数用于实现分页查询的效果。$limit是正整数,表示返回设备列表中从第offset位置开始的共limit个设备的信息。 |