22 lines
378 B
PHP
22 lines
378 B
PHP
<?php
|
|
|
|
namespace Rats\Zkteco\Lib\Helper;
|
|
|
|
use Rats\Zkteco\Lib\ZKTeco;
|
|
|
|
class Os
|
|
{
|
|
/**
|
|
* @param ZKTeco $self
|
|
* @return bool|mixed
|
|
*/
|
|
static public function get(ZKTeco $self)
|
|
{
|
|
$self->_section = __METHOD__;
|
|
|
|
$command = Util::CMD_DEVICE;
|
|
$command_string = '~OS';
|
|
|
|
return $self->_command($command, $command_string);
|
|
}
|
|
} |