123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- <?php
- namespace Proto\Api;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- class GetDeviceCountRes extends \Google\Protobuf\Internal\Message
- {
-
- protected $battery_count = 0;
-
- protected $exchange_cabinet_count = 0;
-
- protected $charge_pile_count = 0;
-
- private $battery_count_areas;
-
- public function __construct($data = NULL) {
- \GPBMetadata\Api\LargeScreenData::initOnce();
- parent::__construct($data);
- }
-
- public function getBatteryCount()
- {
- return $this->battery_count;
- }
-
- public function setBatteryCount($var)
- {
- GPBUtil::checkInt32($var);
- $this->battery_count = $var;
- return $this;
- }
-
- public function getExchangeCabinetCount()
- {
- return $this->exchange_cabinet_count;
- }
-
- public function setExchangeCabinetCount($var)
- {
- GPBUtil::checkInt32($var);
- $this->exchange_cabinet_count = $var;
- return $this;
- }
-
- public function getChargePileCount()
- {
- return $this->charge_pile_count;
- }
-
- public function setChargePileCount($var)
- {
- GPBUtil::checkInt32($var);
- $this->charge_pile_count = $var;
- return $this;
- }
-
- public function getBatteryCountAreas()
- {
- return $this->battery_count_areas;
- }
-
- public function setBatteryCountAreas($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Proto\Api\GetDeviceCountRes\AreaCount::class);
- $this->battery_count_areas = $arr;
- return $this;
- }
- }
|