47 lines
1.0 KiB
PHP
47 lines
1.0 KiB
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace PrintNode;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Scale
|
||
|
|
*
|
||
|
|
* Object representing a Scale in PrintNode API
|
||
|
|
*
|
||
|
|
* @property-read int[] $mass
|
||
|
|
* @property-read string $deviceName
|
||
|
|
* @property-read int $deviceNum
|
||
|
|
* @property-read string $port
|
||
|
|
* @property-read int $count
|
||
|
|
* @property-read int[string] $measurement
|
||
|
|
* @property-read DateTime $clientReportedCreateTimestamp
|
||
|
|
* @property-read string $ntpOffset
|
||
|
|
* @property-read int $ageOfData
|
||
|
|
* @property-read int $computerId
|
||
|
|
* @property-read string $product
|
||
|
|
* @property-read int $vendorId
|
||
|
|
* @property-read int $productId
|
||
|
|
*/
|
||
|
|
class Scale extends Entity
|
||
|
|
{
|
||
|
|
protected $mass;
|
||
|
|
protected $deviceName;
|
||
|
|
protected $deviceNum;
|
||
|
|
protected $port;
|
||
|
|
protected $count;
|
||
|
|
protected $measurement;
|
||
|
|
protected $clientReprotedCreateTimestamp;
|
||
|
|
protected $ntpOffset;
|
||
|
|
protected $ageOfData;
|
||
|
|
protected $computerId;
|
||
|
|
protected $vendor;
|
||
|
|
protected $product;
|
||
|
|
protected $vendorId;
|
||
|
|
protected $productId;
|
||
|
|
|
||
|
|
public function foreignKeyEntityMap()
|
||
|
|
{
|
||
|
|
return array(
|
||
|
|
);
|
||
|
|
}
|
||
|
|
}
|