public override void SetData(CLDC_DataCore.Model.DnbModel.DnbGroupInfo MeterGroup, bool allowedit)
        {
            int intFirstMeter = MeterGroup.GetFirstYaoJianMeterBwh();

            if (MeterGroup.MeterGroup[intFirstMeter].MeterDgns.Count == 0)
            {
                return;
            }
            Dgw_Data.Rows.Clear();

            for (int i = 0; i < MeterGroup._Bws; i++)
            {
                if (!MeterGroup.MeterGroup [i].YaoJianYn)
                {
                    continue;
                }
                foreach (string _Key in MeterGroup.MeterGroup[i].MeterDgns.Keys)
                {
                    CLDC_DataCore.Model.DnbModel.DnbInfo.MeterDgn _Dgn = MeterGroup.MeterGroup[i].MeterDgns[_Key];
                    if (_Dgn.Md_PrjID.Length == 3)         //大ID
                    {
                        int rowIndex = Dgw_Data.Rows.Add();
                        Dgw_Data["表位", rowIndex].Value   = MeterGroup.MeterGroup[i].ToString();
                        Dgw_Data["项目名称", rowIndex].Value = _Dgn.Md_PrjName;
                        Dgw_Data["项目结论", rowIndex].Value = "    " + _Dgn.Md_chrValue;
                    }
                }
            }
            SpanRow(0, Dgw_Data.Rows.Count, 0);
            base.SetData(MeterGroup, allowedit);
        }
        public override void SetData(CLDC_DataCore.Model.DnbModel.DnbInfo.MeterBasicInfo MeterInfo, bool allowedit)
        {
            if (MeterInfo.MeterDgns.Count == 0)
            {
                return;
            }
            Dgw_Data.Rows.Clear();

            foreach (string _Key in MeterInfo.MeterDgns.Keys)
            {
                CLDC_DataCore.Model.DnbModel.DnbInfo.MeterDgn _Dgn = MeterInfo.MeterDgns[_Key];
                if (_Dgn.Md_PrjID.Trim().Length == 3)         //大ID
                {
                    int rowIndex = Dgw_Data.Rows.Add();
                    Dgw_Data["表位", rowIndex].Value = MeterInfo.ToString();
                    if (_Dgn.Md_PrjName.Length == 0)
                    {
                        Dgw_Data["项目名称", rowIndex].Value = (CLDC_Comm.Enum.Cus_DgnItem) int.Parse(_Dgn.Md_PrjID);
                    }
                    else
                    {
                        Dgw_Data["项目名称", rowIndex].Value = _Dgn.Md_PrjName;
                    }
                    Dgw_Data["项目结论", rowIndex].Value = "    " + _Dgn.Md_chrValue;
                }
            }

            base.SetData(MeterInfo, allowedit);
        }