Example #1
0
 /**
  * Set the units for the assessment and call the parent constructor
  * to parse the data.
  *
  * @param int   $startTime The epoch start time of the assessment
  * @param int   $interval  The interval at which the assessments are
  *                         spaced in seconds
  * @param array $rawData   The raw data from My Basis
  */
 public function __construct($startTime, $interval, array $rawData)
 {
     parent::__construct($startTime, $interval, $rawData);
     $this->units = "Degrees Fahrenheit";
 }
Example #2
0
 /**
  * Set the units for the assessment and call the parent
  * constructor to parse the data.
  *
  * @param int   $startTime Epoch of the start time of the assessment
  * @param int   $interval  Interval representing how many seconds apart
  *                         each assessment is
  * @param array $rawData   The raw data recieved from the reciever
  */
 public function __construct($startTime, $interval, array $rawData)
 {
     parent::__construct($startTime, $interval, $rawData);
     $this->units = "Calories Burned";
 }
Example #3
0
 /**
  * Set the units for the assessment and call the parent constructor
  * to parse the data.
  *
  * @param int   $startTime Epoch Representation of the start time
  * @param int   $interval  Interval at which the assessments are spaced
  *                         in seconds
  * @param array $rawData   The raw data from My Basis
  */
 public function __construct($startTime, $interval, array $rawData)
 {
     parent::__construct($startTime, $interval, $rawData);
     $this->units = "Beats per Minute";
 }
Example #4
0
 /**
  * Set the units for the assessment and call the parent
  * constructor to parse the data.
  *
  * @param int   $startTime The start time of the assessment as an epoch
  * @param int   $interval  The interval at which the assessments are
  *                         spaced in seconds
  * @param array $rawData   Raw data from My Basis
  */
 public function __construct($startTime, $interval, array $rawData)
 {
     parent::__construct($startTime, $interval, $rawData);
     $this->units = "Steps Taken";
 }
Example #5
0
 /**
  * Set the units for the assessment and call the parent constructor
  * to parse the data.
  *
  * @param int   $startTime Epoch of the start time of the assessment
  * @param int   $interval  Interval to how far apart each assessment is
  *                         (e.g. 60 means they are 1 minute apart)
  * @param array $rawData   The raw data from the reciever
  */
 public function __construct($startTime, $interval, array $rawData)
 {
     parent::__construct($startTime, $interval, $rawData);
     $this->units = "Microsiemens";
 }