|
|
@@ -1,49 +1,49 @@
|
|
|
|
|
|
const LIGHT_NORMAL = {
|
|
|
- "lightEffect": "BREATH",
|
|
|
- "breathParams": {
|
|
|
- "color": 6399885,
|
|
|
- "speed": 3,
|
|
|
- "lightOffInterval": 1000
|
|
|
- }
|
|
|
-}
|
|
|
+ 'lightEffect': 'BREATH',
|
|
|
+ 'breathParams': {
|
|
|
+ 'color': 6399885,
|
|
|
+ 'speed': 3,
|
|
|
+ 'lightOffInterval': 1000,
|
|
|
+ },
|
|
|
+};
|
|
|
|
|
|
const LIGHT_OPEN = {
|
|
|
- "lightEffect": "FLOW",
|
|
|
- "flowParams": {
|
|
|
- "color": 16777215,
|
|
|
- "repeat": false,
|
|
|
- "flowInterval": 1
|
|
|
- }
|
|
|
-}
|
|
|
+ 'lightEffect': 'FLOW',
|
|
|
+ 'flowParams': {
|
|
|
+ 'color': 16777215,
|
|
|
+ 'repeat': false,
|
|
|
+ 'flowInterval': 1,
|
|
|
+ },
|
|
|
+};
|
|
|
|
|
|
const LIGHT_CLOSE = {
|
|
|
- "lightEffect": "FLOW_RESERVE",
|
|
|
- "flowParams": {
|
|
|
- "color": 16777215,
|
|
|
- "repeat": false,
|
|
|
- "flowInterval": 1
|
|
|
- }
|
|
|
-}
|
|
|
+ 'lightEffect': 'FLOW_RESERVE',
|
|
|
+ 'flowParams': {
|
|
|
+ 'color': 16777215,
|
|
|
+ 'repeat': false,
|
|
|
+ 'flowInterval': 1,
|
|
|
+ },
|
|
|
+};
|
|
|
|
|
|
const LIGHT_ALARM = {
|
|
|
- "lightEffect": "FLASH",
|
|
|
- "flashParameters": {
|
|
|
- "color": 16711680,
|
|
|
- "lightOnInterval": 1000,
|
|
|
- "lightOffInterval": 1000
|
|
|
- }
|
|
|
-}
|
|
|
+ 'lightEffect': 'FLASH',
|
|
|
+ 'flashParameters': {
|
|
|
+ 'color': 16711680,
|
|
|
+ 'lightOnInterval': 1000,
|
|
|
+ 'lightOffInterval': 1000,
|
|
|
+ },
|
|
|
+};
|
|
|
|
|
|
|
|
|
const LIGHT_RESTART = {
|
|
|
- "lightEffect": "FLASH",
|
|
|
- "flashParameters": {
|
|
|
- "color": 0xFFFFFF,
|
|
|
- "lightOnInterval": 1000,
|
|
|
- "lightOffInterval": 1000
|
|
|
- }
|
|
|
-}
|
|
|
+ 'lightEffect': 'FLASH',
|
|
|
+ 'flashParameters': {
|
|
|
+ 'color': 0xFFFFFF,
|
|
|
+ 'lightOnInterval': 1000,
|
|
|
+ 'lightOffInterval': 1000,
|
|
|
+ },
|
|
|
+};
|
|
|
|
|
|
export {
|
|
|
LIGHT_NORMAL,
|
|
|
@@ -51,4 +51,4 @@ export {
|
|
|
LIGHT_CLOSE,
|
|
|
LIGHT_ALARM,
|
|
|
LIGHT_RESTART,
|
|
|
-}
|
|
|
+};
|