Create spDeviceChannelPanelSwitch.js