/// <summary>
 /// 初始化数据
 /// </summary>
 /// <param name="value"></param>
 public void SetD0(object value)
 {
     if (value is Dictionary <string, string>[])
     {
         if ((value as Dictionary <string, string>[]).Length > 0)
         {
             foreach (Dictionary <string, string> dic in value as Dictionary <string, string>[])
             {
                 foreach (string key in dic.Keys)
                 {
                     LocalCacher.AddCache(key, dic[key]);
                 }
             }
         }
     }
     else if (value is Dictionary <string, string> )
     {
         var dic = value as Dictionary <string, string>;
         if (!object.Equals(dic, null))
         {
             foreach (string key in dic.Keys)
             {
                 LocalCacher.AddCache(key, dic[key]);
             }
         }
     }
 }
        /// <summary>
        /// 缓存到本地
        /// </summary>
        /// <param name="value"></param>
        public void SetA2(object value)
        {
            //缓存的本地里面
            string valueStr = value.ToString().Trim();

            string[] valueArray = valueStr.Split('&');
            Dictionary <string, string> dicTemp = new Dictionary <string, string>();

            foreach (string str in valueArray)
            {
                dicTemp.Add(str.Split('=')[0], str.Split('=')[1]);
            }
            foreach (string key in dicTemp.Keys)
            {
                LocalCacher.AddCache(key, EventAssitant.FormatSql(dicTemp[key], this));
            }
        }