updateChannel(e) {
    const { channelIndex, channelValue } = e.detail

    store.dispatch(setChannel(0, channelIndex, channelValue))

    addToBatch(channelIndex, channelValue)

    const now = new Date()

    // Send the universe to the UsbDmxManager
    window.dispatchEvent(new CustomEvent('send-universe-to-usb-dmx-controller', { detail: { now } }))

    // Send the universe to the FivetwelveManager
    window.dispatchEvent(new CustomEvent('send-universe-to-fivetwelve', { detail: { now } }))
  }
/**
   * Update a specific channel. 
   * 
   * @param {Object} e - The event that contains the channel and the value
   */
Update a specific channel.

@param {Object} e - The event that contains the channel and the value
Update a specific channel . @param { Object } e - The event that contains the channel and the value
updateChannel(e) {
    const { channelIndex, channelValue } = e.detail
    store.dispatch(setChannel(0, channelIndex, channelValue))
    addToBatch(channelIndex, channelValue)
    const now = new Date()
    window.dispatchEvent(new CustomEvent('send-universe-to-usb-dmx-controller', { detail: { now } }))
    window.dispatchEvent(new CustomEvent('send-universe-to-fivetwelve', { detail: { now } }))
  }
updateChannel ( e ) { const { channelIndex , channelValue } = e . detail store . dispatch ( setChannel ( 0 , channelIndex , channelValue ) ) addToBatch ( channelIndex , channelValue ) const now = new Date ( ) window . dispatchEvent ( new CustomEvent ( 'send-universe-to-usb-dmx-controller' , { detail : { now } } ) ) window . dispatchEvent ( new CustomEvent ( 'send-universe-to-fivetwelve' , { detail : { now } } ) ) }
Update a specific channel.
Update a specific channel .
// Send the universe to the UsbDmxManager // Send the universe to the FivetwelveManager