fixed artnet püaonsf
This commit is contained in:
parent
c52a8efdfe
commit
f8e0550296
10
db.json
10
db.json
@ -58,11 +58,11 @@
|
|||||||
"value": "0"
|
"value": "0"
|
||||||
},
|
},
|
||||||
"time": {
|
"time": {
|
||||||
"lframe": 0,
|
"lframe": "0",
|
||||||
"lseconds": 0,
|
"lseconds": "5",
|
||||||
"lminutes": 0,
|
"lminutes": "0",
|
||||||
"lhours": 0,
|
"lhours": "0",
|
||||||
"lmilliseconds": 0
|
"lmilliseconds": 5000
|
||||||
},
|
},
|
||||||
"id": "cc954c0f41e0"
|
"id": "cc954c0f41e0"
|
||||||
}
|
}
|
||||||
|
@ -104,7 +104,7 @@ class Timecode {
|
|||||||
if (e.time.milliseconds <= d) {
|
if (e.time.milliseconds <= d) {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
ios.emit("artnet", e.art);
|
ios.emit("artnet", e.art);
|
||||||
artnet.set(universe, e.art.subnet);
|
artnet.set(universe, e.art.subnet, e.art.value);
|
||||||
var i = this.toTrigger.indexOf(e);
|
var i = this.toTrigger.indexOf(e);
|
||||||
this.toTrigger.splice(i, 1);
|
this.toTrigger.splice(i, 1);
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
@ -124,7 +124,7 @@ class Timecode {
|
|||||||
if(e.time.milliseconds <= d) {
|
if(e.time.milliseconds <= d) {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
ios.emit("artnet", e.art);
|
ios.emit("artnet", e.art);
|
||||||
artnet.set(universe, e.art.subnet)
|
artnet.set(universe, e.art.subnet, e.art.value)
|
||||||
var i = this.toTrigger.indexOf(e);
|
var i = this.toTrigger.indexOf(e);
|
||||||
this.toTrigger.splice(i, 1);
|
this.toTrigger.splice(i, 1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user