mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-04-26 05:49:51 +00:00
100 lines
2.2 KiB
PHP
Vendored
100 lines
2.2 KiB
PHP
Vendored
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: gw/gw.proto
|
|
|
|
namespace Chirpstack\Gateway;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>gw.FskModulationInfo</code>
|
|
*/
|
|
class FskModulationInfo extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Frequency deviation.
|
|
*
|
|
* Generated from protobuf field <code>uint32 frequency_deviation = 1;</code>
|
|
*/
|
|
protected $frequency_deviation = 0;
|
|
/**
|
|
* FSK datarate (bits / sec).
|
|
*
|
|
* Generated from protobuf field <code>uint32 datarate = 2;</code>
|
|
*/
|
|
protected $datarate = 0;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type int $frequency_deviation
|
|
* Frequency deviation.
|
|
* @type int $datarate
|
|
* FSK datarate (bits / sec).
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Chirpstack\Gateway\Gw::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Frequency deviation.
|
|
*
|
|
* Generated from protobuf field <code>uint32 frequency_deviation = 1;</code>
|
|
* @return int
|
|
*/
|
|
public function getFrequencyDeviation()
|
|
{
|
|
return $this->frequency_deviation;
|
|
}
|
|
|
|
/**
|
|
* Frequency deviation.
|
|
*
|
|
* Generated from protobuf field <code>uint32 frequency_deviation = 1;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setFrequencyDeviation($var)
|
|
{
|
|
GPBUtil::checkUint32($var);
|
|
$this->frequency_deviation = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* FSK datarate (bits / sec).
|
|
*
|
|
* Generated from protobuf field <code>uint32 datarate = 2;</code>
|
|
* @return int
|
|
*/
|
|
public function getDatarate()
|
|
{
|
|
return $this->datarate;
|
|
}
|
|
|
|
/**
|
|
* FSK datarate (bits / sec).
|
|
*
|
|
* Generated from protobuf field <code>uint32 datarate = 2;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setDatarate($var)
|
|
{
|
|
GPBUtil::checkUint32($var);
|
|
$this->datarate = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|