Log whether or not frame is part of a sequence.

This commit is contained in:
mmcwilliams 2017-11-23 09:46:18 -05:00
parent 6ee022a2a4
commit 6ce6af3abe
2 changed files with 5 additions and 2 deletions

View File

@ -19,7 +19,8 @@ class DB {
start INTEGER,
stop INTEGER,
len INTEGER,
counter INTEGER
counter INTEGER,
sequence INTEGER
);`
db.run(query)
}

View File

@ -105,7 +105,8 @@ intval._setState = function (data) {
time : 0,
primed : false //is ready to stop frame
},
counter : 0
counter : 0,
sequence : false
}
intval._storeState()
}
@ -200,6 +201,7 @@ intval._stop = function () {
entry.dir = intval._state.frame.current.dir ? 1 : 0
entry.exposure = intval._state.frame.current.exposure
entry.counter = intval._state.counter
entry.sequence = intbal._state.sequence ? 1 : 0
db.insert(entry)