class SensorResultEntity in Monitoring 7
Same name and namespace in other branches
- 8 src/Entity/SensorResultEntity.php \Drupal\monitoring\Entity\SensorResultEntity
The monitoring_sensor_result entity class.
Hierarchy
- class \Drupal\monitoring\Entity\SensorResultEntity extends \Drupal\monitoring\Entity\Entity
Expanded class hierarchy of SensorResultEntity
1 file declares its use of SensorResultEntity
- SensorName.php in lib/Drupal/ monitoring/ Views/ Handler/ Field/ SensorName.php 
- Contains \Drupal\monitoring\Views\Handler\Field\SensorName.
File
- lib/Drupal/ monitoring/ Entity/ SensorResultEntity.php, line 12 
- Contains \Drupal\monitoring\Entity\SensorResultEntity.
Namespace
Drupal\monitoring\EntityView source
class SensorResultEntity extends \Entity {
  /**
   * The sensor name.
   *
   * @var string
   */
  public $sensor_name;
  /**
   * The sensor status.
   *
   * @var int
   */
  public $sensor_status;
  /**
   * The sensor status.
   *
   * @var string
   */
  public $sensor_value;
  /**
   * The sensor message(s).
   *
   * @var string
   */
  public $sensor_message;
  /**
   * The sensor timestamp in UNIX time format.
   *
   * @var int
   */
  public $timestamp;
  /**
   * The sensor execution time in ms.
   *
   * @var float
   */
  public $execution_time;
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| SensorResultEntity:: | public | property | The sensor execution time in ms. | |
| SensorResultEntity:: | public | property | The sensor message(s). | |
| SensorResultEntity:: | public | property | The sensor name. | |
| SensorResultEntity:: | public | property | The sensor status. | |
| SensorResultEntity:: | public | property | The sensor status. | |
| SensorResultEntity:: | public | property | The sensor timestamp in UNIX time format. | 
