示例#1
0
文件: Base.php 项目: psesd/sensors
 public function simpleProperties()
 {
     return array_merge(parent::simpleProperties(), ['id' => $this->getId(), 'url' => $this->getUrl(), 'testUrl' => $this->getTestUrl(), 'testLookFor' => $this->getTestLookFor()]);
 }
示例#2
0
文件: Base.php 项目: psesd/sensors
 public function simpleProperties()
 {
     return array_merge(parent::simpleProperties(), ['object' => $this->getObject(), 'resource' => $this->getResource()]);
 }
示例#3
0
文件: Base.php 项目: psesd/sensors
 public function simpleProperties()
 {
     return array_merge(parent::simpleProperties(), ['server' => $this->getServer(), 'id' => $this->getId()]);
 }
示例#4
0
文件: Sensor.php 项目: psesd/sensors
 public function simpleProperties()
 {
     $properties = parent::simpleProperties();
     $properties['payload'] = $this->payload;
     return $properties;
 }