public override string execute(Blackfin bf, string[] args)
 {
     try
     {
         short index = short.Parse(args[0]);
         bool  dst   = bool.Parse(args[1]);
         if (index >= IrisysTimeZone.TimeZones.Count())
         {
             throw new CommandArgumentException("Timezone index out of bounds");
         }
         IrisysTimeZone tz = new IrisysTimeZone(IrisysTimeZone.TimeZones.ElementAt(index));
         if (tz.SupportsDST)
         {
             tz.ApplyDST = dst;
         }
         if (!bf.SetUnitTimeZone(tz))
         {
             return(null);
         }
         return("Set Timezone to " + tz.TimeZoneID);
     }
     catch (FormatException)
     {
         throw new CommandArgumentException("Timezone index incorrect");
     }
 }
            public override string execute(Blackfin bf, string[] args)
            {
                if (!bf.GetUnitTimeZone())
                {
                    return(null);
                }
                IrisysTimeZone tz = bf.UnitTimeZone;

                return(tz.DisplayName);
            }