рефакторинг классов
This commit is contained in:
1 parent
f6625e5147
commit
1847fbdf5d
48 files changed
+233
-233
No files matched your search
@@ -12,10 +12,10 @@
|
||||
die('400 - Bad Request');
|
||||
}
|
||||
$mac = prepareString($_REQUEST['mac']);
|
||||
$deviceId = CIoT::getDeviceId($mac);
|
||||
$deviceId = IoT::getDeviceId($mac);
|
||||
|
||||
header('Content-type: application/json; charset=utf-8');
|
||||
$boardConfig = CIoT::getBoardConfig($deviceId);
|
||||
$boardConfig = IoT::getBoardConfig($deviceId);
|
||||
$arr = array (
|
||||
'dallas_resolution' => $boardConfig['ds_resolution'], // разрядность датчика 9..12
|
||||
'deviceId' => $deviceId, // идентификатор устройства
|
||||
|
||||
Reference in new issue
Block a user