${iServerJava6R_ChartQueryParameters_Tile}
        /// <summary>${iServerJava6R_Query_ChartQueryService_method_ProcessAsync_D}</summary>
        /// <param name="parameter">${iServerJava6R_Query_ChartQueryService_ProcessAsync_param_parameter}</param>
        /// <param name="state">${iServerJava6R_Query_ChartQueryService_ProcessAsync_param_state}</param>
        public void ProcessAsync(ChartQueryParameters parameter,object state)
        {
            if (!base.Url.EndsWith("/"))
            {
                base.Url += '/';
            }
            //参数必须放在 URI 中
            base.Url += string.Format("queryResults.json?returnContent={0}&debug=true", parameter.ReturnContent.ToString(System.Globalization.CultureInfo.InvariantCulture).ToLower());

            base.SubmitRequest(base.Url, GetParameters(parameter), new EventHandler<RequestEventArgs>(Request_Completed), state, true);
        }
        private Dictionary<string, string> GetParameters(ChartQueryParameters parameter)
        {
            Dictionary<string, string> dic = new Dictionary<string, string>();
            dic.Add("queryMode", parameter.QueryMode.ToString());
            if (parameter.QueryMode == ChartQueryMode.ChartBoundsQuery)
            {
                dic.Add("bounds", JsonHelper.FromRectangle2D(parameter.Bounds));
            }
            dic.Add("chartLayerNames", JsonHelper.FromIList(parameter.ChartLayerNames));
            List<string> filters = new List<string>();
            foreach (var v in parameter.ChartQueryFilterParameters)
            {
                filters.Add(ChartQueryFilterParameter.ToJson(v));
            }
            string filter = string.Format("[{0}]", string.Join(",", filters.ToArray()));
            dic.Add("chartQueryParameters", "{" + string.Format("\"chartQueryParams\":{0},\"startRecord\":{1},\"expectCount\":{2}", filter,parameter.StartRecord.ToStringEx(),parameter.ExpectCount.ToStringEx()) + "}");

            return dic;
        }
 /// <summary>${iServerJava6R_Query_ChartQueryService_method_ProcessAsync_D}</summary>
 /// <overloads>${iServerJava6R_Query_ChartQueryService_method_ProcessAsync_overloads}</overloads>
 /// <param name="parameter">${iServerJava6R_Query_ChartQueryService_ProcessAsync_param_parameter}</param>
 public void ProcessAsync(ChartQueryParameters parameter)
 {
     ProcessAsync(parameter,null);
 }