/// <summary>
        /// 获得数据列表
        /// </summary>
        public List <ManagementCenter.Model.HK_MinPriceFieldRange> GetModelList(string strWhere)
        {
            DataSet ds = hK_MinPriceFieldRangeDAL.GetList(strWhere);
            List <ManagementCenter.Model.HK_MinPriceFieldRange> modelList = new List <ManagementCenter.Model.HK_MinPriceFieldRange>();
            int rowsCount = ds.Tables[0].Rows.Count;

            if (rowsCount > 0)
            {
                ManagementCenter.Model.HK_MinPriceFieldRange model;
                for (int n = 0; n < rowsCount; n++)
                {
                    model = new ManagementCenter.Model.HK_MinPriceFieldRange();
                    if (ds.Tables[0].Rows[n]["FieldRangeID"].ToString() != "")
                    {
                        model.FieldRangeID = int.Parse(ds.Tables[0].Rows[n]["FieldRangeID"].ToString());
                    }
                    if (ds.Tables[0].Rows[n]["UpperLimit"].ToString() != "")
                    {
                        model.UpperLimit = decimal.Parse(ds.Tables[0].Rows[n]["UpperLimit"].ToString());
                    }
                    if (ds.Tables[0].Rows[n]["LowerLimit"].ToString() != "")
                    {
                        model.LowerLimit = decimal.Parse(ds.Tables[0].Rows[n]["LowerLimit"].ToString());
                    }
                    if (ds.Tables[0].Rows[n]["Value"].ToString() != "")
                    {
                        model.Value = decimal.Parse(ds.Tables[0].Rows[n]["Value"].ToString());
                    }
                    modelList.Add(model);
                }
            }
            return(modelList);
        }
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public void Update(ManagementCenter.Model.HK_MinPriceFieldRange model)
 {
     hK_MinPriceFieldRangeDAL.Update(model);
 }
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public void Add(ManagementCenter.Model.HK_MinPriceFieldRange model)
 {
     hK_MinPriceFieldRangeDAL.Add(model);
 }