Changeset 921 for trunk/Modules/NetworkConfigAirOS/Generators/Signal.php
- Timestamp:
- Feb 25, 2022, 9:30:55 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigAirOS/Generators/Signal.php
r911 r921 8 8 { 9 9 $Time = time(); 10 $NetworkMac = new NetworkMac($this->System); 10 11 11 12 // Load netwatch status from all DHCP routers … … 38 39 $RateRx = $Properties['rx']; 39 40 $RateTx = $Properties['tx']; 40 $this->Database->insert('NetworkSignal', array('MAC' => $Properties['mac'], 41 $MacRef = $NetworkMac->GetIndex($Properties['mac']); 42 $this->Database->insert('NetworkSignal', array('MAC' => $MacRef, 41 43 'Value' => $Strength, 'Remote' => $RemoteSignal, 'RateRx' => $RateRx, 'RateTx' => $RateTx, 42 44 'Time' => TimeToMysqlDateTime($Time), 'Interface' => $Interface, 'Device' => $Device['Id']));
Note:
See TracChangeset
for help on using the changeset viewer.