Example #1
0
        public List <string> SetAllSwitches(string level)
        {
            try
            {
                double dblLevel = double.Parse(level);

                controller.SetAllSwitches(dblLevel);

                return(new List <string>()
                {
                    ""
                });
            }
            catch (Exception e)
            {
                logger.Log("Got exception in SetAllSwitches ({0}): {1}", level, e.ToString());
                return(new List <string>()
                {
                    e.Message
                });
            }
        }