Skip to main content

Product command

Sent when product has been issued a command

Event Example

socket.on("product_command", data => {
console.log("Event data received: ", data);
})

Event Payload

interface Data {
operation: number;
device_id: string;
}

interface ProductCommand {
lot_id: number;
data: Data;
}