|
@@ -155,19 +155,24 @@ class Cablemodem implements DeviceInterface, TenancyIdTraitInterface, LocationIn
|
|
protected $voip = null;
|
|
protected $voip = null;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @ORM\Column(type="boolean", nullable=true)
|
|
|
|
- */
|
|
|
|
|
|
+ * @ORM\Column(type="boolean", nullable=true)
|
|
|
|
+ */
|
|
protected $fixedIP = false;
|
|
protected $fixedIP = false;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @ORM\Column(type="boolean", nullable=true)
|
|
|
|
- */
|
|
|
|
|
|
+ * @ORM\Column(type="boolean", nullable=true)
|
|
|
|
+ */
|
|
protected $cpeFixedIP = false;
|
|
protected $cpeFixedIP = false;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @ORM\Column(type="boolean", nullable=true)
|
|
|
|
- */
|
|
|
|
|
|
+ * @ORM\Column(type="boolean", nullable=true)
|
|
|
|
+ */
|
|
protected $mtaFixedIP = false;
|
|
protected $mtaFixedIP = false;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @ORM\Column(type="text", nullable=true)
|
|
|
|
+ */
|
|
|
|
+ protected $comments;
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -431,13 +436,20 @@ class Cablemodem implements DeviceInterface, TenancyIdTraitInterface, LocationIn
|
|
{
|
|
{
|
|
if(is_null($voip)) {
|
|
if(is_null($voip)) {
|
|
$this->voip = $voip;
|
|
$this->voip = $voip;
|
|
|
|
+
|
|
return $this;
|
|
return $this;
|
|
}
|
|
}
|
|
|
|
|
|
$this->voip = array_values($voip);
|
|
$this->voip = array_values($voip);
|
|
|
|
+
|
|
return $this;
|
|
return $this;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @param string $index
|
|
|
|
+ *
|
|
|
|
+ * @return mixed
|
|
|
|
+ */
|
|
public function getVoipData($index)
|
|
public function getVoipData($index)
|
|
{
|
|
{
|
|
if(is_null($this->voip)) return null;
|
|
if(is_null($this->voip)) return null;
|
|
@@ -473,6 +485,7 @@ class Cablemodem implements DeviceInterface, TenancyIdTraitInterface, LocationIn
|
|
return $this->cpeFixedIP;
|
|
return $this->cpeFixedIP;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+<<<<<<< HEAD
|
|
/**
|
|
/**
|
|
* @param boolean $cpeFixedIP
|
|
* @param boolean $cpeFixedIP
|
|
*
|
|
*
|
|
@@ -504,5 +517,25 @@ class Cablemodem implements DeviceInterface, TenancyIdTraitInterface, LocationIn
|
|
|
|
|
|
return $this;
|
|
return $this;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @return string
|
|
|
|
+ */
|
|
|
|
+ public function getComments()
|
|
|
|
+ {
|
|
|
|
+ return $this->comments;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @param string $comments
|
|
|
|
+ *
|
|
|
|
+ * @return Cablemodem
|
|
|
|
+ */
|
|
|
|
+ public function setComments($comments)
|
|
|
|
+ {
|
|
|
|
+ $this->comments = $comments;
|
|
|
|
+
|
|
|
|
+ return $this;
|
|
|
|
+ }
|
|
|
|
|
|
}
|
|
}
|