2024-08-16 04:52:46 +00:00
|
|
|
|
|
|
|
interface StateDimensions {
|
|
|
|
width? : number,
|
|
|
|
height? : number
|
|
|
|
}
|
|
|
|
|
|
|
|
interface StateOffset {
|
|
|
|
x? : number,
|
|
|
|
y? : number
|
|
|
|
}
|
|
|
|
|
2024-07-13 13:23:58 +00:00
|
|
|
interface SequenceState {
|
|
|
|
hash : string,
|
2024-08-16 04:52:46 +00:00
|
|
|
name? : string,
|
|
|
|
progress? : number,
|
|
|
|
current? : number,
|
|
|
|
frames? : number,
|
|
|
|
status? : any
|
2024-07-13 13:23:58 +00:00
|
|
|
}
|
|
|
|
|
2024-10-19 02:13:52 +00:00
|
|
|
interface SequenceStatistics {
|
|
|
|
totalFrameLast? : number,
|
|
|
|
totalFrameAvg? : number,
|
|
|
|
totalFrameMargin? : number,
|
|
|
|
fps? : number,
|
|
|
|
|
|
|
|
loadAvg? : number,
|
|
|
|
loadLast? : number,
|
|
|
|
loadMargin? : number,
|
|
|
|
|
|
|
|
openLast? : number,
|
|
|
|
openAvg? : number,
|
|
|
|
openMargin? : number,
|
|
|
|
|
|
|
|
closeLast? : number,
|
|
|
|
closeAvg? : number,
|
|
|
|
closeMargin? : number,
|
|
|
|
|
|
|
|
exposureLast? : number,
|
|
|
|
exposureAvg? : number,
|
|
|
|
exposureMargin? : number,
|
|
|
|
|
|
|
|
elapsed? : number,
|
|
|
|
estimate? : number
|
|
|
|
}
|
|
|
|
|
2024-07-13 13:23:58 +00:00
|
|
|
interface State {
|
2024-08-16 04:52:46 +00:00
|
|
|
display? : StateDimensions,
|
|
|
|
offset? : StateOffset,
|
|
|
|
source? : StateDimensions,
|
|
|
|
screen? : StateDimensions,
|
|
|
|
sequence? : SequenceState,
|
2024-10-19 02:13:52 +00:00
|
|
|
statistics? : SequenceStatistics,
|
2024-08-16 04:52:46 +00:00
|
|
|
exposure? : number
|
2024-07-13 13:23:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
interface Message {
|
|
|
|
cmd? : string;
|
|
|
|
state? : State;
|
2024-10-22 19:04:25 +00:00
|
|
|
x? : number;
|
|
|
|
y? : number;
|
|
|
|
width? : number;
|
|
|
|
height? : number;
|
|
|
|
scale? : number;
|
2024-10-20 01:15:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
declare function humanizeDuration(a : any, b : any) : string;
|