Changeset 887 for trunk/Modules/NetworkConfigAirOS/Generators/Signal.php
- Timestamp:
- Nov 20, 2020, 12:08:12 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/Modules/NetworkConfigAirOS/Generators/Signal.php ¶
r873 r887 5 5 class ConfigAirOSSignal extends NetworkConfigItem 6 6 { 7 function ReadWirelessRegistration() 7 function ReadWirelessRegistration(): void 8 8 { 9 9 $Time = time(); … … 19 19 //$SSHClient->Debug = true; 20 20 $Result = $SSHClient->Execute('wstalist'); 21 if (count($Result) > 0) 22 { 21 if (count($Result) > 0) 22 { 23 23 //print_r($Result); 24 24 $Array = json_decode(implode("\n", $Result), true); … … 44 44 echo("\n"); 45 45 } else echo("Empty response\n"); 46 47 46 } 48 47 } 49 48 50 function Run() 49 function Run(): void 51 50 { 52 51 RepeatFunction(60 * 60, array($this, 'ReadWirelessRegistration'));
Note:
See TracChangeset
for help on using the changeset viewer.