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
|
|
|
}
|
|
|
|
|
|
|
|
interface State {
|
2024-08-16 04:52:46 +00:00
|
|
|
display? : StateDimensions,
|
|
|
|
offset? : StateOffset,
|
|
|
|
source? : StateDimensions,
|
|
|
|
screen? : StateDimensions,
|
|
|
|
sequence? : SequenceState,
|
|
|
|
exposure? : number
|
2024-07-13 13:23:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
interface Message {
|
|
|
|
cmd? : string;
|
|
|
|
state? : State;
|
|
|
|
}
|