AbleCloud PHP SDK
1.8.x
PHP SDK of AbleCloud API
|
Public 成员函数 | |
__construct ($deviceId, $physicalId, $name='', $ownerId=0, $aesKey='', $gatewayId=0, $subDomainId=0, $rootId=0, $status=0, $subDomain='') | |
getId () | |
getPhysicalId () | |
getName () | |
getOwnerId () | |
getAesKey () | |
getGatewayId () | |
getSubDomainId () | |
getSubDomainName () | |
getRootId () | |
getStatus () | |
setUserIds ($userIds) | |
getUserIds () | |
设备信息。
ACDevice::__construct | ( | $deviceId, | |
$physicalId, | |||
$name = '' , |
|||
$ownerId = 0 , |
|||
$aesKey = '' , |
|||
$gatewayId = 0 , |
|||
$subDomainId = 0 , |
|||
$rootId = 0 , |
|||
$status = 0 , |
|||
$subDomain = '' |
|||
) |
构造函数。
$deviceId | int 设备的逻辑ID。整数。 |
$physicalId | string 设备的物理ID。字符串。 |
$name | string 设备的名字。 |
$ownerId | int 设备的管理员用户的ID。整数。 |
$aesKey | string 设备的AES密钥。字符串。 |
$gatewayId | int 设备所属的网关的设备逻辑ID。整数。 |
$subDomainId | int 设备所属的子域的ID。整数。 |
$rootId | int 整数,设备的RootId。 |
$status | int 整数,在线状态:0-不在线;1-在线。 |
$subDomain | string 字符串,是设备所属的子域的名字。 |
ACDevice::getAesKey | ( | ) |
ACDevice::getGatewayId | ( | ) |
ACDevice::getId | ( | ) |
ACDevice::getName | ( | ) |
ACDevice::getOwnerId | ( | ) |
ACDevice::getPhysicalId | ( | ) |
ACDevice::getRootId | ( | ) |
ACDevice::getStatus | ( | ) |
ACDevice::getSubDomainId | ( | ) |
ACDevice::getSubDomainName | ( | ) |
ACDevice::getUserIds | ( | ) |
ACDevice::setUserIds | ( | $userIds | ) |