|
|
@@ -11,8 +11,13 @@ use Generator;
|
|
|
|
|
|
class SmartESL
|
|
|
{
|
|
|
+ /** @var FindBoxCoreSystem $core */
|
|
|
protected $core;
|
|
|
+
|
|
|
+ /** @var array $labels */
|
|
|
protected $labels;
|
|
|
+
|
|
|
+ /** @var array $labelProperties */
|
|
|
protected $labelProperties;
|
|
|
|
|
|
public function __construct(FindBoxCoreSystem $coreL, array $LabelID)
|
|
|
@@ -60,7 +65,7 @@ class SmartESL
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * Blink the label with parameters. BlinkSpecial make use of getData() and check how many leds has to auto select the firmware version.
|
|
|
+ * Blink the label with parameters.
|
|
|
*
|
|
|
* @param int $pattern
|
|
|
* @param int $repeat
|
|
|
@@ -95,7 +100,7 @@ class SmartESL
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * Blink the label with parameters. BlinkSpecial make use of getData() and check how many leds has to auto select the firmware version.
|
|
|
+ * Blink the label with parameters.
|
|
|
*
|
|
|
* @param int $pattern
|
|
|
* @param int $repeat
|
|
|
@@ -106,7 +111,6 @@ class SmartESL
|
|
|
*/
|
|
|
public function BlinkSpecial(int $pattern, int $repeat, int $iter_time, int $iterations, int $ledColor = 0)
|
|
|
{
|
|
|
-
|
|
|
$uriParams = json_encode(array_merge(
|
|
|
array($this->labels),
|
|
|
array($pattern, $ledColor, $repeat, $iter_time, $iterations, 1)));
|