Exemplo n.º 1
0
        /// <summary>
        /// 设置输出结果
        /// </summary>
        /// <param name="rep"></param>
        public void SetResponseModel(ResponseBase rep)
        {
            if (rep.IsNullResponseModel())
            {
                return;
            }

            this.SetItem("/Sys/SetResponse", true);
            this.SetItem("/Sys/SetResponseItemCount", this.GetItem <int>("/Sys/SetResponseCount") + 1);

            this.Output.ResponseModel = rep;
        }