mirror of
https://github.com/LX3JL/xlxd.git
synced 2026-04-05 06:25:17 +00:00
version 1.4.1
This commit is contained in:
parent
278ebcfd24
commit
37909ffef0
245 changed files with 209 additions and 165 deletions
9
dashboard/pgs/class.node.php
Normal file → Executable file
9
dashboard/pgs/class.node.php
Normal file → Executable file
|
|
@ -10,8 +10,9 @@ class Node {
|
|||
private $LastHeardTime;
|
||||
private $Suffix;
|
||||
private $Prefix;
|
||||
private $RandomID;
|
||||
|
||||
public function __construct($Callsign, $IP, $LinkedModule, $Protocol, $ConnectTime, $LastHeardTime) {
|
||||
public function __construct($Callsign, $IP, $LinkedModule, $Protocol, $ConnectTime, $LastHeardTime, $RandomID) {
|
||||
|
||||
$this->IP = $IP;
|
||||
|
||||
|
|
@ -34,8 +35,8 @@ class Node {
|
|||
$this->Prefix = "";
|
||||
}
|
||||
|
||||
|
||||
$this->LinkedModule = trim($LinkedModule);
|
||||
$this->LinkedModule = trim($LinkedModule);
|
||||
$this->RandomID = $RandomID;
|
||||
}
|
||||
|
||||
public function GetFullCallsign() { return $this->FullCallsign; }
|
||||
|
|
@ -47,6 +48,8 @@ class Node {
|
|||
public function GetLastHeardTime() { return $this->LastHeardTime; }
|
||||
public function GetSuffix() { return $this->Suffix; }
|
||||
public function GetPrefix() { return $this->Prefix; }
|
||||
public function GetRandomID() { return $this->RandomID; }
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue