Esempio n. 1
0
        /// <summary>
        /// 获取:工程取费
        /// </summary>
        public _UnitFeeInfo GetUnitFeeInfo(string value)
        {
            _UnitFeeInfo m_UnitFeeInfo = null;

            if (this.m_UnitFeeList.Count == 1)
            {
                m_UnitFeeInfo = this.m_UnitFeeList[0] as _UnitFeeInfo;
            }
            else
            {
                if (IFCZK(value))
                {
                    m_UnitFeeInfo = Verification(value);
                }
                else
                {
                    m_UnitFeeInfo = this.m_UnitFeeList[0] as _UnitFeeInfo;
                }
            }
            return(m_UnitFeeInfo);
        }
Esempio n. 2
0
        /// <summary>
        /// 创建:工程取费
        /// </summary>
        private void Create_UnitFee()
        {
            DataTable dt = this.Parent.Property.Libraries.FixedLibrary.LibraryDataSet.Tables["取费表"];

            foreach (DataRow dr in dt.Rows)
            {
                _UnitFeeInfo info = new _UnitFeeInfo(this);
                info.GCLB  = dr["GONGCLB"].ToString();
                info.DEHFW = dr["DINGEH"].ToString();
                info.GLFFL = Convert.ToDecimal(dr["GUANLFL"]);
                info.LRFL  = Convert.ToDecimal(dr["LIRL"]);
                //info.FXTBFL = Convert.ToDecimal(dr["FXLTB"]);
                info.FXBDFL    = Convert.ToDecimal(dr["FXLBD"]);
                info.GLFTBJSJC = dr["GLTBJC"].ToString().ToUpper();
                info.GLFBDJSJC = dr["GLBDJC"].ToString().ToUpper();
                info.LRFTBJSJC = dr["LRTBJC"].ToString().ToUpper();
                info.LRFBDJSJC = dr["LRBDJC"].ToString().ToUpper();
                info.FXFTBJSJC = dr["FXTBJC"].ToString().ToUpper();
                info.FXFBDJSJC = dr["FXBDJC"].ToString().ToUpper();
                info.IFSFHZ    = dr["SFHH"].ToString() == "是" ? true : false;
                this.m_YSUnitFeeList.Add(info);
            }
        }
Esempio n. 3
0
 /// <summary>
 /// 将(原始工程取费对象)增加到(原始工程取费集合对象)的结尾处
 /// </summary>
 /// <param name="info">原始工程取费集合对象</param>
 public void Add(_UnitFeeInfo info)
 {
     base.Add(info);
 }