getObject ( 'SELECT displayText, status FROM vn.routeGate WHERE deviceId = #', [$_REQUEST['deviceId']] ); if (!isset($row)) throw new Vn\Lib\UserException ('Device not found'); return $row; } }