public uint AdvancedSetMode(
     int iDivision,
     LMode_8297 mode,
     List <Color_Sceenes_class> lstCSData)
 {
     return(this.lstM97[this.GetMcuIndex(iDivision)].AdvancedSetMode(iDivision, mode, lstCSData));
 }
        public uint SetLedEffect(
            LMode_8297 mode,
            int iColor,
            int speedLv,
            int BrightnessLv,
            int McuIndex   = -1,
            bool bApplyNow = true)
        {
            uint num1 = 0;

            if (!this.mcu_connected())
            {
                return(4317);
            }
            if (McuIndex == -1)
            {
                if (mode == LMode_8297.Wave9 || mode == LMode_8297.Wave10 || (mode == LMode_8297.Wave11 || mode == LMode_8297.Wave12))
                {
                    int num2 = (int)this.lstM97[1].SetLedEffect(mode, iColor, speedLv, BrightnessLv, -1, true);
                    if (mode == LMode_8297.Wave9 || mode == LMode_8297.Wave11)
                    {
                        int ccycle = (int)this.lstM97[0].SetExternalStripToCCycle();
                    }
                }
                else
                {
                    foreach (MCU_8297 mcu8297 in this.lstM97)
                    {
                        num1 = mcu8297.SetLedEffect(mode, iColor, speedLv, BrightnessLv, -1, true);
                    }
                }
            }
            else if (McuIndex >= this.McuCount)
            {
                return(4317);
            }
            return(num1);
        }