handleChange(e) {
    const { name, value } = e.detail
    // Set the property of the fixture which will also set the values on the corresponding channels
    
    this._fixture[name] = value

    // Send all values of all channels to universe 0
    store.dispatch(setChannels(0, [...batch]))

    // Save the changed property into state
    store.dispatch(setFixtureProperties(this.id, { [name]: value }))

    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 } }))
  }
/*
   * A property gets changed on the fixture using the UI
   */
A property gets changed on the fixture using the UI
A property gets changed on the fixture using the UI
handleChange(e) {
    const { name, value } = e.detail
    this._fixture[name] = value
    store.dispatch(setChannels(0, [...batch]))
    store.dispatch(setFixtureProperties(this.id, { [name]: value }))
    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 } }))
  }
handleChange ( e ) { const { name , value } = e . detail this . _fixture [ name ] = value store . dispatch ( setChannels ( 0 , [ ... batch ] ) ) store . dispatch ( setFixtureProperties ( this . id , { [ name ] : value } ) ) 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 } } ) ) }
A property gets changed on the fixture using the UI
A property gets changed on the fixture using the UI
// Set the property of the fixture which will also set the values on the corresponding channels // Send all values of all channels to universe 0 // Save the changed property into state // Send the universe to the UsbDmxManager // Send the universe to the FivetwelveManager