|
|
@@ -9,6 +9,7 @@
|
|
|
namespace Modules\Blank;
|
|
|
|
|
|
use Base;
|
|
|
+use OpenMind\FindBox\FindBoxCoreSystem;
|
|
|
use OpenMind\FindBox\QueueCommand;
|
|
|
use OpenMind\System\QueueSystem;
|
|
|
use OpenMind\Web\Controller;
|
|
|
@@ -22,7 +23,7 @@ class Pages extends Controller
|
|
|
*/
|
|
|
public function HelloWorld($f3)
|
|
|
{
|
|
|
- $this->BlinkON([
|
|
|
+ $labels = [
|
|
|
'0113067F',
|
|
|
'011306C5',
|
|
|
'01130713',
|
|
|
@@ -31,8 +32,7 @@ class Pages extends Controller
|
|
|
'011307B4',
|
|
|
'01130D98',
|
|
|
'01130D9A',
|
|
|
- '01130DA5']);
|
|
|
- $this->BlinkON([
|
|
|
+ '01130DA5',
|
|
|
'01130E03',
|
|
|
'01130E27',
|
|
|
'01130F13',
|
|
|
@@ -41,70 +41,27 @@ class Pages extends Controller
|
|
|
'0113174B',
|
|
|
'01131777',
|
|
|
'01131797',
|
|
|
- '01131798'
|
|
|
- ]);
|
|
|
- $this->BlinkON([
|
|
|
+ '01131798',
|
|
|
+ '0113C2FB',
|
|
|
+ '0113C2FE',
|
|
|
+ '0113C330',
|
|
|
'0113C333',
|
|
|
+ '0113C337',
|
|
|
'0113C371',
|
|
|
- '0113C330',
|
|
|
'0113C374',
|
|
|
- '0113C337',
|
|
|
- '0113C2FE',
|
|
|
- '0113C377',
|
|
|
- '0113C2FB'
|
|
|
- ]);
|
|
|
+ '0113C377'
|
|
|
+ ];
|
|
|
|
|
|
- sleep(30);
|
|
|
+/* $findBoxCore = new FindBoxCoreSystem(...array_values($f3->get('CORE.fb')));
|
|
|
|
|
|
- $this->BlinkOFF([
|
|
|
- '0113067F',
|
|
|
- '011306C5',
|
|
|
- '01130713',
|
|
|
- '01130747',
|
|
|
- '011307A4',
|
|
|
- '011307B4',
|
|
|
- '01130D98',
|
|
|
- '01130D9A',
|
|
|
- '01130DA5']);
|
|
|
- $this->BlinkOFF([
|
|
|
- '01130E03',
|
|
|
- '01130E27',
|
|
|
- '01130F13',
|
|
|
- '01131170',
|
|
|
- '01131749',
|
|
|
- '0113174B',
|
|
|
- '01131777',
|
|
|
- '01131797',
|
|
|
- '01131798']);
|
|
|
- $this->BlinkOFF([
|
|
|
- '0113C333',
|
|
|
- '0113C371',
|
|
|
- '0113C330',
|
|
|
- '0113C374',
|
|
|
- '0113C337',
|
|
|
- '0113C2FE',
|
|
|
- '0113C377',
|
|
|
- '0113C2FB'
|
|
|
- ]);
|
|
|
+ foreach($labels as $label) {
|
|
|
+ $findBoxCore->Bind($label, $label);
|
|
|
+ //$findBoxCore->UnBind($label);
|
|
|
+ }*/
|
|
|
|
|
|
- /* $this->BlinkON(['0113C333']);
|
|
|
- $this->BlinkON(['0113C371']);
|
|
|
- $this->BlinkON(['0113C330']);
|
|
|
- $this->BlinkON(['0113C374']);
|
|
|
- $this->BlinkON(['0113C337']);
|
|
|
- $this->BlinkON(['0113C2FE']);
|
|
|
- $this->BlinkON(['0113C377']);
|
|
|
- $this->BlinkON(['0113C2FB']);
|
|
|
- sleep(30);
|
|
|
- $this->BlinkOFF(['0113C333']);
|
|
|
- $this->BlinkOFF(['0113C371']);
|
|
|
- $this->BlinkOFF(['0113C330']);
|
|
|
- $this->BlinkOFF(['0113C374']);
|
|
|
- $this->BlinkOFF(['0113C337']);
|
|
|
- $this->BlinkOFF(['0113C2FE']);
|
|
|
- $this->BlinkOFF(['0113C377']);
|
|
|
- $this->BlinkOFF(['0113C2FB']);
|
|
|
- */
|
|
|
+ $this->BlinkON($labels);
|
|
|
+ //sleep(15);
|
|
|
+ //$this->BlinkOFF($labels);
|
|
|
|
|
|
$f3->set('MESSAGE', 'Hello World');
|
|
|
$f3->set('CONTENT', 'message.tpl');
|