/// <summary>
        /// 获得数据列表
        /// </summary>
        public List <MobileSoft.Model.HSPR.Tb_HSPR_ParkingCarSignFeesDetail> DataTableToList(DataTable dt)
        {
            List <MobileSoft.Model.HSPR.Tb_HSPR_ParkingCarSignFeesDetail> modelList = new List <MobileSoft.Model.HSPR.Tb_HSPR_ParkingCarSignFeesDetail>();
            int rowsCount = dt.Rows.Count;

            if (rowsCount > 0)
            {
                MobileSoft.Model.HSPR.Tb_HSPR_ParkingCarSignFeesDetail model;
                for (int n = 0; n < rowsCount; n++)
                {
                    model = new MobileSoft.Model.HSPR.Tb_HSPR_ParkingCarSignFeesDetail();
                    //model.IID=dt.Rows[n]["IID"].ToString();
                    if (dt.Rows[n]["CommID"].ToString() != "")
                    {
                        model.CommID = int.Parse(dt.Rows[n]["CommID"].ToString());
                    }
                    //model.CustID=dt.Rows[n]["CustID"].ToString();
                    //model.RoomID=dt.Rows[n]["RoomID"].ToString();
                    //model.CostID=dt.Rows[n]["CostID"].ToString();
                    //model.ReceID=dt.Rows[n]["ReceID"].ToString();
                    //model.RecdID=dt.Rows[n]["RecdID"].ToString();
                    //model.ParkID=dt.Rows[n]["ParkID"].ToString();
                    //model.HandID=dt.Rows[n]["HandID"].ToString();
                    if (dt.Rows[n]["IsHisFees"].ToString() != "")
                    {
                        model.IsHisFees = int.Parse(dt.Rows[n]["IsHisFees"].ToString());
                    }
                    if (dt.Rows[n]["FeesStateDate"].ToString() != "")
                    {
                        model.FeesStateDate = DateTime.Parse(dt.Rows[n]["FeesStateDate"].ToString());
                    }
                    if (dt.Rows[n]["FeesEndDate"].ToString() != "")
                    {
                        model.FeesEndDate = DateTime.Parse(dt.Rows[n]["FeesEndDate"].ToString());
                    }
                    if (dt.Rows[n]["ChargeAmount"].ToString() != "")
                    {
                        model.ChargeAmount = decimal.Parse(dt.Rows[n]["ChargeAmount"].ToString());
                    }
                    modelList.Add(model);
                }
            }
            return(modelList);
        }
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public void Update(MobileSoft.Model.HSPR.Tb_HSPR_ParkingCarSignFeesDetail model)
 {
     dal.Update(model);
 }
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public long Add(MobileSoft.Model.HSPR.Tb_HSPR_ParkingCarSignFeesDetail model)
 {
     return(dal.Add(model));
 }