コード例 #1
0
 /// <summary>
 /// 获取当前集合指定行的实体对象
 /// </summary>
 /// <param name="index">集合中行的索引</param>
 /// <returns>相关的实体对象(没有记录则返回空)</returns>
 public CEntityFixedIncreased this[int index]
 {
     get
     {
         //如果前一次执行已经转换过当前索引则直接返回
         if (index == this.m_index)
         {
             return(this.m_CEntityFixedIncreased);
         }
         if (this.Rows.Count > 0)
         {
             m_CEntityFixedIncreased             = new CEntityFixedIncreased();
             m_CEntityFixedIncreased.ID          = ToolKit.ParseInt(this.Rows[index][CEntityFixedIncreased.FILED_ID]);
             m_CEntityFixedIncreased.PARENTID    = ToolKit.ParseInt(this.Rows[index][CEntityFixedIncreased.FILED_PARENTID]);
             m_CEntityFixedIncreased.NAME        = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityFixedIncreased.FILED_NAME]);
             m_CEntityFixedIncreased.ISCHECK     = ToolKit.ParseBoolen(this.Rows[index][CEntityFixedIncreased.FILED_ISCHECK]);
             m_CEntityFixedIncreased.CODE        = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityFixedIncreased.FILED_CODE]);
             m_CEntityFixedIncreased.LOCATION    = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityFixedIncreased.FILED_LOCATION]);
             m_CEntityFixedIncreased.GROUP       = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityFixedIncreased.FILED_GROUP]);
             m_CEntityFixedIncreased.FIXED       = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityFixedIncreased.FILED_FIXED]);
             m_CEntityFixedIncreased.CALCULATION = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityFixedIncreased.FILED_CALCULATION]);
             m_CEntityFixedIncreased.ADDITIONAL  = CDataConvert.ConToValue <System.Decimal>(this.Rows[index][CEntityFixedIncreased.FILED_ADDITIONAL]);
             m_CEntityFixedIncreased.COEFFICIENT = CDataConvert.ConToValue <System.Decimal>(this.Rows[index][CEntityFixedIncreased.FILED_COEFFICIENT]);
             m_CEntityFixedIncreased.ARTIFICIAL  = CDataConvert.ConToValue <System.Decimal>(this.Rows[index][CEntityFixedIncreased.FILED_ARTIFICIAL]);
             m_CEntityFixedIncreased.MATERIAL    = CDataConvert.ConToValue <System.Decimal>(this.Rows[index][CEntityFixedIncreased.FILED_MATERIAL]);
             m_CEntityFixedIncreased.MECHANICAL  = CDataConvert.ConToValue <System.Decimal>(this.Rows[index][CEntityFixedIncreased.FILED_MECHANICAL]);
             m_CEntityFixedIncreased.EXPERTISE   = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityFixedIncreased.FILED_EXPERTISE]);
             m_CEntityFixedIncreased.REMARK      = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityFixedIncreased.FILED_REMARK]);
             this.m_index = index;
             return(m_CEntityFixedIncreased);
         }
         return(null);
     }
     set
     {
         this.Rows[index][CEntityFixedIncreased.FILED_ID]          = value.ID;
         this.Rows[index][CEntityFixedIncreased.FILED_PARENTID]    = value.PARENTID;
         this.Rows[index][CEntityFixedIncreased.FILED_NAME]        = value.NAME;
         this.Rows[index][CEntityFixedIncreased.FILED_ISCHECK]     = value.ISCHECK;
         this.Rows[index][CEntityFixedIncreased.FILED_CODE]        = value.CODE;
         this.Rows[index][CEntityFixedIncreased.FILED_LOCATION]    = value.LOCATION;
         this.Rows[index][CEntityFixedIncreased.FILED_GROUP]       = value.GROUP;
         this.Rows[index][CEntityFixedIncreased.FILED_FIXED]       = value.FIXED;
         this.Rows[index][CEntityFixedIncreased.FILED_CALCULATION] = value.CALCULATION;
         this.Rows[index][CEntityFixedIncreased.FILED_ADDITIONAL]  = value.ADDITIONAL;
         this.Rows[index][CEntityFixedIncreased.FILED_COEFFICIENT] = value.COEFFICIENT;
         this.Rows[index][CEntityFixedIncreased.FILED_ARTIFICIAL]  = value.ARTIFICIAL;
         this.Rows[index][CEntityFixedIncreased.FILED_MATERIAL]    = value.MATERIAL;
         this.Rows[index][CEntityFixedIncreased.FILED_MECHANICAL]  = value.MECHANICAL;
         this.Rows[index][CEntityFixedIncreased.FILED_EXPERTISE]   = value.EXPERTISE;
         this.Rows[index][CEntityFixedIncreased.FILED_REMARK]      = value.REMARK;
     }
 }
コード例 #2
0
ファイル: _RepairQuantityUnit.cs プロジェクト: shansheng/QDJJ
        /// <summary>
        /// 添加补充人才机
        /// </summary>
        /// <param name="new_info"></param>
        public void CreateZMGLJ(DataRow new_info)
        {
            _RepairQuantityUnitInfo info = new _RepairQuantityUnitInfo();

            info.ID     = this.RepairQuantityUnitList.Count + 1;
            info.YSBH   = new_info["YSBH"].ToString();
            info.YSMC   = new_info["YSMC"].ToString();
            info.YSDW   = new_info["YSDW"].ToString();
            info.YSXHL  = ToolKit.ParseDecimal(new_info["YSXHL"]);
            info.DEDJ   = ToolKit.ParseDecimal(new_info["DEDJ"]);
            info.BH     = new_info["BH"].ToString();
            info.MC     = new_info["MC"].ToString();
            info.DW     = new_info["DW"].ToString();
            info.LB     = new_info["LB"].ToString();
            info.IFZYCL = ToolKit.ParseBoolen(new_info["IFZYCL"]);
            info.SL     = ToolKit.ParseDecimal(new_info["SL"]);
            info.XHL    = ToolKit.ParseDecimal(new_info["YSXHL"]);
            info.SCDJ   = ToolKit.ParseDecimal(new_info["SCDJ"]);
            info.GGXH   = new_info["GGXH"].ToString();
            info.SSDWGC = new_info["SSDWGC"].ToString();
            info.CTIME  = DateTime.Now;
            this.m_RepairQuantityUnitList.Add(info);
        }
コード例 #3
0
ファイル: _FixedListInfo.cs プロジェクト: shansheng/QDJJ
        /// <summary>
        /// 不创建子目
        /// </summary>
        /// <param name="value"></param>
        public void SetGCL1(decimal value)
        {
            bool flag = true;

            if (this.Activitie != null)
            {
                if (this.Activitie.Application != null)
                {
                    flag = ToolKit.ParseBoolen(this.Activitie.Application.Global.Configuration.Configs["清单工程量设置"]);
                }
            }
            base.GCL = value;
            if (this.STATUS)
            {
                if (!this.SDQD)
                {
                    if (this.ISXSHS && flag)
                    {
                        this.m_SubheadingsList.UpDateGCL();
                    }
                }
            }
            this.Begin();
        }
コード例 #4
0
 /// <summary>
 /// 获取当前集合指定行的实体对象
 /// </summary>
 /// <param name="index">集合中行的索引</param>
 /// <returns>相关的实体对象(没有记录则返回空)</returns>
 public CEntityStandardConversion this[int index]
 {
     get
     {
         //如果前一次执行已经转换过当前索引则直接返回
         if (index == this.m_index)
         {
             return(this.m_CEntityStandardConversion);
         }
         if (this.Rows.Count > 0)
         {
             m_CEntityStandardConversion            = new CEntityStandardConversion();
             m_CEntityStandardConversion.ID         = ToolKit.ParseInt(this.Rows[index][CEntityStandardConversion.FILED_ID]);
             m_CEntityStandardConversion.XID        = ToolKit.ParseInt(this.Rows[index][CEntityStandardConversion.FILED_XID]);
             m_CEntityStandardConversion.DID        = ToolKit.ParseInt(this.Rows[index][CEntityStandardConversion.FILED_DID]);
             m_CEntityStandardConversion.QID        = ToolKit.ParseInt(this.Rows[index][CEntityStandardConversion.FILED_QID]);
             m_CEntityStandardConversion.ZID        = ToolKit.ParseInt(this.Rows[index][CEntityStandardConversion.FILED_ZID]);
             m_CEntityStandardConversion.IFXZ       = ToolKit.ParseBoolen(this.Rows[index][CEntityStandardConversion.FILED_IFXZ]);
             m_CEntityStandardConversion.IFHS       = ToolKit.ParseBoolen(this.Rows[index][CEntityStandardConversion.FILED_IFHS]);
             m_CEntityStandardConversion.DINGEH     = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityStandardConversion.FILED_DINGEH]);
             m_CEntityStandardConversion.HUANSLB    = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityStandardConversion.FILED_HUANSLB]);
             m_CEntityStandardConversion.TISXX      = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityStandardConversion.FILED_TISXX]);
             m_CEntityStandardConversion.HUANSJS_R  = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityStandardConversion.FILED_HUANSJS_R]);
             m_CEntityStandardConversion.HUANSDEH_C = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityStandardConversion.FILED_HUANSDEH_C]);
             m_CEntityStandardConversion.ZENGL_J    = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityStandardConversion.FILED_ZENGL_J]);
             m_CEntityStandardConversion.ZC         = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityStandardConversion.FILED_ZC]);
             m_CEntityStandardConversion.SB         = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityStandardConversion.FILED_SB]);
             m_CEntityStandardConversion.DJDW       = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityStandardConversion.FILED_DJDW]);
             m_CEntityStandardConversion.FZ         = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityStandardConversion.FILED_FZ]);
             m_CEntityStandardConversion.XHLB       = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityStandardConversion.FILED_XHLB]);
             m_CEntityStandardConversion.THZHC      = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityStandardConversion.FILED_THZHC]);
             m_CEntityStandardConversion.THWZFC     = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityStandardConversion.FILED_THWZFC]);
             m_CEntityStandardConversion.HSXI       = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityStandardConversion.FILED_HSXI]);
             this.m_index = index;
             return(m_CEntityStandardConversion);
         }
         return(null);
     }
     set
     {
         this.Rows[index][CEntityStandardConversion.FILED_ID]         = value.ID;
         this.Rows[index][CEntityStandardConversion.FILED_XID]        = value.XID;
         this.Rows[index][CEntityStandardConversion.FILED_DID]        = value.DID;
         this.Rows[index][CEntityStandardConversion.FILED_QID]        = value.QID;
         this.Rows[index][CEntityStandardConversion.FILED_ZID]        = value.ZID;
         this.Rows[index][CEntityStandardConversion.FILED_IFXZ]       = value.IFXZ;
         this.Rows[index][CEntityStandardConversion.FILED_IFHS]       = value.IFHS;
         this.Rows[index][CEntityStandardConversion.FILED_DINGEH]     = value.DINGEH;
         this.Rows[index][CEntityStandardConversion.FILED_HUANSLB]    = value.HUANSLB;
         this.Rows[index][CEntityStandardConversion.FILED_TISXX]      = value.TISXX;
         this.Rows[index][CEntityStandardConversion.FILED_HUANSJS_R]  = value.HUANSJS_R;
         this.Rows[index][CEntityStandardConversion.FILED_HUANSDEH_C] = value.HUANSDEH_C;
         this.Rows[index][CEntityStandardConversion.FILED_ZENGL_J]    = value.ZENGL_J;
         this.Rows[index][CEntityStandardConversion.FILED_ZC]         = value.ZC;
         this.Rows[index][CEntityStandardConversion.FILED_SB]         = value.SB;
         this.Rows[index][CEntityStandardConversion.FILED_DJDW]       = value.DJDW;
         this.Rows[index][CEntityStandardConversion.FILED_FZ]         = value.FZ;
         this.Rows[index][CEntityStandardConversion.FILED_XHLB]       = value.XHLB;
         this.Rows[index][CEntityStandardConversion.FILED_THZHC]      = value.THZHC;
         this.Rows[index][CEntityStandardConversion.FILED_THWZFC]     = value.THWZFC;
         this.Rows[index][CEntityStandardConversion.FILED_HSXI]       = value.HSXI;
     }
 }
コード例 #5
0
 /// <summary>
 /// 获取当前集合指定行的实体对象
 /// </summary>
 /// <param name="index">集合中行的索引</param>
 /// <returns>相关的实体对象(没有记录则返回空)</returns>
 public CEntityQuantityUnitSummary this[int index]
 {
     get
     {
         //如果前一次执行已经转换过当前索引则直接返回
         if (index == this.m_index)
         {
             return(this.m_CEntityQuantityUnitSummary);
         }
         if (this.Rows.Count > 0)
         {
             m_CEntityQuantityUnitSummary          = new CEntityQuantityUnitSummary();
             m_CEntityQuantityUnitSummary.ID       = ToolKit.ParseInt(this.Rows[index][CEntityQuantityUnitSummary.FILED_ID]);
             m_CEntityQuantityUnitSummary.XID      = ToolKit.ParseInt(this.Rows[index][CEntityQuantityUnitSummary.FILED_XID]);
             m_CEntityQuantityUnitSummary.DXID     = ToolKit.ParseInt(this.Rows[index][CEntityQuantityUnitSummary.FILED_DXID]);
             m_CEntityQuantityUnitSummary.DWID     = ToolKit.ParseInt(this.Rows[index][CEntityQuantityUnitSummary.FILED_DWID]);
             m_CEntityQuantityUnitSummary.QID      = ToolKit.ParseInt(this.Rows[index][CEntityQuantityUnitSummary.FILED_QID]);
             m_CEntityQuantityUnitSummary.ZID      = ToolKit.ParseInt(this.Rows[index][CEntityQuantityUnitSummary.FILED_ZID]);
             m_CEntityQuantityUnitSummary.ZCID     = ToolKit.ParseInt(this.Rows[index][CEntityQuantityUnitSummary.FILED_ZCID]);
             m_CEntityQuantityUnitSummary.ZCLB     = ToolKit.ParseInt(this.Rows[index][CEntityQuantityUnitSummary.FILED_ZCLB]);
             m_CEntityQuantityUnitSummary.CJXXID   = ToolKit.ParseInt(this.Rows[index][CEntityQuantityUnitSummary.FILED_CJXXID]);
             m_CEntityQuantityUnitSummary.YSBH     = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityQuantityUnitSummary.FILED_YSBH]);
             m_CEntityQuantityUnitSummary.YSMC     = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityQuantityUnitSummary.FILED_YSMC]);
             m_CEntityQuantityUnitSummary.YSDW     = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityQuantityUnitSummary.FILED_YSDW]);
             m_CEntityQuantityUnitSummary.YSXHL    = CDataConvert.ConToValue <System.Decimal>(this.Rows[index][CEntityQuantityUnitSummary.FILED_YSXHL]);
             m_CEntityQuantityUnitSummary.DEDJ     = CDataConvert.ConToValue <System.Decimal>(this.Rows[index][CEntityQuantityUnitSummary.FILED_DEDJ]);
             m_CEntityQuantityUnitSummary.DEHJ     = CDataConvert.ConToValue <System.Decimal>(this.Rows[index][CEntityQuantityUnitSummary.FILED_DEHJ]);
             m_CEntityQuantityUnitSummary.BH       = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityQuantityUnitSummary.FILED_BH]);
             m_CEntityQuantityUnitSummary.LB       = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityQuantityUnitSummary.FILED_LB]);
             m_CEntityQuantityUnitSummary.SDCLB    = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityQuantityUnitSummary.FILED_SDCLB]);
             m_CEntityQuantityUnitSummary.SDCXS    = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityQuantityUnitSummary.FILED_SDCXS]);
             m_CEntityQuantityUnitSummary.SDCHJ    = CDataConvert.ConToValue <System.Decimal>(this.Rows[index][CEntityQuantityUnitSummary.FILED_SDCHJ]);
             m_CEntityQuantityUnitSummary.MC       = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityQuantityUnitSummary.FILED_MC]);
             m_CEntityQuantityUnitSummary.GGXH     = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityQuantityUnitSummary.FILED_GGXH]);
             m_CEntityQuantityUnitSummary.DW       = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityQuantityUnitSummary.FILED_DW]);
             m_CEntityQuantityUnitSummary.SCDJ     = CDataConvert.ConToValue <System.Decimal>(this.Rows[index][CEntityQuantityUnitSummary.FILED_SCDJ]);
             m_CEntityQuantityUnitSummary.SCHJ     = CDataConvert.ConToValue <System.Decimal>(this.Rows[index][CEntityQuantityUnitSummary.FILED_SCHJ]);
             m_CEntityQuantityUnitSummary.XHL      = CDataConvert.ConToValue <System.Decimal>(this.Rows[index][CEntityQuantityUnitSummary.FILED_XHL]);
             m_CEntityQuantityUnitSummary.SL       = CDataConvert.ConToValue <System.Decimal>(this.Rows[index][CEntityQuantityUnitSummary.FILED_SL]);
             m_CEntityQuantityUnitSummary.SLH      = CDataConvert.ConToValue <System.Decimal>(this.Rows[index][CEntityQuantityUnitSummary.FILED_SLH]);
             m_CEntityQuantityUnitSummary.DJC      = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityQuantityUnitSummary.FILED_DJC]);
             m_CEntityQuantityUnitSummary.HJC      = CDataConvert.ConToValue <System.Decimal>(this.Rows[index][CEntityQuantityUnitSummary.FILED_HJC]);
             m_CEntityQuantityUnitSummary.IFPB     = ToolKit.ParseBoolen(this.Rows[index][CEntityQuantityUnitSummary.FILED_IFPB]);
             m_CEntityQuantityUnitSummary.IFZG     = ToolKit.ParseBoolen(this.Rows[index][CEntityQuantityUnitSummary.FILED_IFZG]);
             m_CEntityQuantityUnitSummary.IFJG     = ToolKit.ParseBoolen(this.Rows[index][CEntityQuantityUnitSummary.FILED_IFJG]);
             m_CEntityQuantityUnitSummary.IFYG     = ToolKit.ParseBoolen(this.Rows[index][CEntityQuantityUnitSummary.FILED_IFYG]);
             m_CEntityQuantityUnitSummary.IFFX     = ToolKit.ParseBoolen(this.Rows[index][CEntityQuantityUnitSummary.FILED_IFFX]);
             m_CEntityQuantityUnitSummary.IFSDSL   = ToolKit.ParseBoolen(this.Rows[index][CEntityQuantityUnitSummary.FILED_IFSDSL]);
             m_CEntityQuantityUnitSummary.IFSDSCDJ = ToolKit.ParseBoolen(this.Rows[index][CEntityQuantityUnitSummary.FILED_IFSDSCDJ]);
             m_CEntityQuantityUnitSummary.IFSDGLJ  = ToolKit.ParseBoolen(this.Rows[index][CEntityQuantityUnitSummary.FILED_IFSDGLJ]);
             m_CEntityQuantityUnitSummary.SSKLB    = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityQuantityUnitSummary.FILED_SSKLB]);
             m_CEntityQuantityUnitSummary.SSXMLB   = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityQuantityUnitSummary.FILED_SSXMLB]);
             m_CEntityQuantityUnitSummary.SSXM     = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityQuantityUnitSummary.FILED_SSXM]);
             m_CEntityQuantityUnitSummary.GLJBZ    = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityQuantityUnitSummary.FILED_GLJBZ]);
             m_CEntityQuantityUnitSummary.GLJID    = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityQuantityUnitSummary.FILED_GLJID]);
             this.m_index = index;
             return(m_CEntityQuantityUnitSummary);
         }
         return(null);
     }
     set
     {
         this.Rows[index][CEntityQuantityUnitSummary.FILED_ID]       = value.ID;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_XID]      = value.XID;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_DXID]     = value.DXID;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_DWID]     = value.DWID;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_QID]      = value.QID;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_ZID]      = value.ZID;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_ZCID]     = value.ZCID;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_ZCLB]     = value.ZCLB;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_CJXXID]   = value.CJXXID;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_YSBH]     = value.YSBH;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_YSMC]     = value.YSMC;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_YSDW]     = value.YSDW;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_YSXHL]    = value.YSXHL;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_DEDJ]     = value.DEDJ;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_DEHJ]     = value.DEHJ;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_BH]       = value.BH;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_LB]       = value.LB;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_SDCLB]    = value.SDCLB;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_SDCXS]    = value.SDCXS;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_SDCHJ]    = value.SDCHJ;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_MC]       = value.MC;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_GGXH]     = value.GGXH;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_DW]       = value.DW;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_SCDJ]     = value.SCDJ;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_SCHJ]     = value.SCHJ;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_XHL]      = value.XHL;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_SL]       = value.SL;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_SLH]      = value.SLH;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_DJC]      = value.DJC;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_HJC]      = value.HJC;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_IFPB]     = value.IFPB;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_IFZG]     = value.IFZG;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_IFJG]     = value.IFJG;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_IFYG]     = value.IFYG;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_IFFX]     = value.IFFX;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_IFSDSL]   = value.IFSDSL;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_IFSDSCDJ] = value.IFSDSCDJ;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_IFSDGLJ]  = value.IFSDGLJ;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_SSKLB]    = value.SSKLB;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_SSXMLB]   = value.SSXMLB;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_SSXM]     = value.SSXM;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_GLJBZ]    = value.GLJBZ;
         this.Rows[index][CEntityQuantityUnitSummary.FILED_GLJID]    = value.GLJID;
     }
 }
コード例 #6
0
 /// <summary>
 /// 获取当前集合指定行的实体对象
 /// </summary>
 /// <param name="index">集合中行的索引</param>
 /// <returns>相关的实体对象(没有记录则返回空)</returns>
 public CEntityLibraryUserPrice this[int index]
 {
     get
     {
         //如果前一次执行已经转换过当前索引则直接返回
         if (index == this.m_index)
         {
             return(this.m_CEntityLibraryUserPrice);
         }
         if (this.Rows.Count > 0)
         {
             m_CEntityLibraryUserPrice             = new CEntityLibraryUserPrice();
             m_CEntityLibraryUserPrice.ID          = ToolKit.ParseInt(this.Rows[index][CEntityLibraryUserPrice.FILED_ID]);
             m_CEntityLibraryUserPrice.XID         = ToolKit.ParseInt(this.Rows[index][CEntityLibraryUserPrice.FILED_XID]);
             m_CEntityLibraryUserPrice.DID         = ToolKit.ParseInt(this.Rows[index][CEntityLibraryUserPrice.FILED_DID]);
             m_CEntityLibraryUserPrice.QID         = ToolKit.ParseInt(this.Rows[index][CEntityLibraryUserPrice.FILED_QID]);
             m_CEntityLibraryUserPrice.ZID         = ToolKit.ParseInt(this.Rows[index][CEntityLibraryUserPrice.FILED_ZID]);
             m_CEntityLibraryUserPrice.RID         = ToolKit.ParseInt(this.Rows[index][CEntityLibraryUserPrice.FILED_RID]);
             m_CEntityLibraryUserPrice.PID         = ToolKit.ParseInt(this.Rows[index][CEntityLibraryUserPrice.FILED_PID]);
             m_CEntityLibraryUserPrice.CAIJBH      = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJBH]);
             m_CEntityLibraryUserPrice.CAIJLB      = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJLB]);
             m_CEntityLibraryUserPrice.CAIJMC      = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJMC]);
             m_CEntityLibraryUserPrice.CAIJXH      = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJXH]);
             m_CEntityLibraryUserPrice.CAIJDW      = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJDW]);
             m_CEntityLibraryUserPrice.CAIJDJ      = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJDJ]);
             m_CEntityLibraryUserPrice.CAIJDJH     = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJDJH]);
             m_CEntityLibraryUserPrice.CAIJSJ      = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJSJ]);
             m_CEntityLibraryUserPrice.CAIJSJH     = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJSJH]);
             m_CEntityLibraryUserPrice.CAIJSDJC    = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJSDJC]);
             m_CEntityLibraryUserPrice.CAIJSHJC    = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJSHJC]);
             m_CEntityLibraryUserPrice.CAIJXHL     = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJXHL]);
             m_CEntityLibraryUserPrice.CAIJXHLH    = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJXHLH]);
             m_CEntityLibraryUserPrice.CAIJSLH     = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJSLH]);
             m_CEntityLibraryUserPrice.CAIJIFZG    = ToolKit.ParseBoolen(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJIFZG]);
             m_CEntityLibraryUserPrice.CAIJIFGJ    = ToolKit.ParseBoolen(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJIFGJ]);
             m_CEntityLibraryUserPrice.CAIJIFCJ    = ToolKit.ParseBoolen(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJIFCJ]);
             m_CEntityLibraryUserPrice.CAIJIFSD    = ToolKit.ParseBoolen(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJIFSD]);
             m_CEntityLibraryUserPrice.CAIJBZ      = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJBZ]);
             m_CEntityLibraryUserPrice.LIBRARYTYPE = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_LIBRARYTYPE]);
             m_CEntityLibraryUserPrice.SOURCE      = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_SOURCE]);
             m_CEntityLibraryUserPrice.ADDTYPE     = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_ADDTYPE]);
             m_CEntityLibraryUserPrice.ADDCOUNT    = CDataConvert.ConToValue <System.String>(this.Rows[index][CEntityLibraryUserPrice.FILED_ADDCOUNT]);
             this.m_index = index;
             return(m_CEntityLibraryUserPrice);
         }
         return(null);
     }
     set
     {
         this.Rows[index][CEntityLibraryUserPrice.FILED_ID]          = value.ID;
         this.Rows[index][CEntityLibraryUserPrice.FILED_XID]         = value.XID;
         this.Rows[index][CEntityLibraryUserPrice.FILED_DID]         = value.DID;
         this.Rows[index][CEntityLibraryUserPrice.FILED_QID]         = value.QID;
         this.Rows[index][CEntityLibraryUserPrice.FILED_ZID]         = value.ZID;
         this.Rows[index][CEntityLibraryUserPrice.FILED_RID]         = value.RID;
         this.Rows[index][CEntityLibraryUserPrice.FILED_PID]         = value.PID;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJBH]      = value.CAIJBH;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJLB]      = value.CAIJLB;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJMC]      = value.CAIJMC;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJXH]      = value.CAIJXH;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJDW]      = value.CAIJDW;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJDJ]      = value.CAIJDJ;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJDJH]     = value.CAIJDJH;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJSJ]      = value.CAIJSJ;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJSJH]     = value.CAIJSJH;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJSDJC]    = value.CAIJSDJC;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJSHJC]    = value.CAIJSHJC;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJXHL]     = value.CAIJXHL;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJXHLH]    = value.CAIJXHLH;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJSLH]     = value.CAIJSLH;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJIFZG]    = value.CAIJIFZG;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJIFGJ]    = value.CAIJIFGJ;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJIFCJ]    = value.CAIJIFCJ;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJIFSD]    = value.CAIJIFSD;
         this.Rows[index][CEntityLibraryUserPrice.FILED_CAIJBZ]      = value.CAIJBZ;
         this.Rows[index][CEntityLibraryUserPrice.FILED_LIBRARYTYPE] = value.LIBRARYTYPE;
         this.Rows[index][CEntityLibraryUserPrice.FILED_SOURCE]      = value.SOURCE;
         this.Rows[index][CEntityLibraryUserPrice.FILED_ADDTYPE]     = value.ADDTYPE;
         this.Rows[index][CEntityLibraryUserPrice.FILED_ADDCOUNT]    = value.ADDCOUNT;
     }
 }