Changeset 814 for trunk/Modules/NetworkConfigAirOS/Generators/Signal.php
- Timestamp:
- Mar 9, 2016, 10:07:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigAirOS/Generators/Signal.php
r781 r814 11 11 // Load netwatch status from all DHCP routers 12 12 $DbResult3 = $this->Database->query('SELECT `Id`, `LoginName`, `LoginPassword`, '. 13 14 13 '(SELECT `LocalIP` FROM `NetworkInterface` WHERE `NetworkInterface`.`Device` = `NetworkDevice`.`Id` LIMIT 1) AS `LocalIP` '. 14 'FROM `NetworkDevice` WHERE (`API` = 2) AND (`Used` = 1)'); 15 15 while($Device = $DbResult3->fetch_assoc()) 16 16 { … … 34 34 $RateTx = $Properties['tx']; 35 35 $this->Database->insert('NetworkSignal', array('MAC' => $Properties['mac'], 36 37 36 'Value' => $Strength, 'RateRx' => $RateRx, 'RateTx' => $RateTx, 37 'Time' => TimeToMysqlDateTime($Time), 'Interface' => $Interface, 'Device' => $Device['Id'])); 38 38 } 39 39 }
Note:
See TracChangeset
for help on using the changeset viewer.