| | |
| | | svgImg32Model.Add("bo_category", "image://svgimages/business objects/bo_category.svg"); |
| | | svgImg32Model.Add("documentproperties", "image://svgimages/richedit/documentproperties.svg"); |
| | | svgImg32Model.Add("showallvalue", "image://svgimages/dashboards/showallvalue.svg"); |
| | | svgImg32Model.Add("gaugestylelinearhorizontal", "image://svgimages/dashboards/gaugestylelinearhorizontal.svg"); |
| | | svgImg32Model.Add("createlinechartnomarkers", "image://svgimages/spreadsheet/createlinechartnomarkers.svg"); |
| | | // |
| | | // MainForm |
| | | // |
| | |
| | | }, |
| | | new TilePeekItem(){ |
| | | Caption="管道附件", |
| | | SvgImage=svgImg32Model[7], |
| | | SvgImage=svgImg32Model[8], |
| | | SvgImageSize=new Size(24,24), |
| | | Click=()=>{ |
| | | this.flyoutPanel1.HideBeakForm(); |
| | |
| | | }, |
| | | new TilePeekItem(){ |
| | | Caption="管道管理", |
| | | SvgImage=svgImg32Model[7], |
| | | SvgImage=svgImg32Model[9], |
| | | SvgImageSize=new Size(24,24), |
| | | Click=()=>{ |
| | | this.flyoutPanel1.HideBeakForm(); |
| | |
| | | } |
| | | else |
| | | { |
| | | TextEditCaliber.EditValue = _ValveMain.Caliber; |
| | | TextEditCaliber.EditValue = _ValveMain.Caliber.ToString(); |
| | | } |
| | | var allMaterial = await new Yw.BLL.SysDictData().GetByTypeCode("2"); |
| | | if (allMaterial != null) |
| | |
| | | } |
| | | else |
| | | { |
| | | TextEditCaliber.EditValue = _PipeLineVmo.Caliber; |
| | | TextEditCaliber.EditValue = _PipeLineVmo.Caliber.ToString(); |
| | | } |
| | | this.TextEditName.Text = _PipeLineVmo.Name; |
| | | this.DescriptionTextEdit.Text = _PipeLineVmo.Description; |
| | |
| | | { |
| | | _PipeLineVmo.Caliber = caliber; |
| | | } |
| | | else if (TextEditCaliber.Text == "默认") |
| | | { |
| | | _PipeLineVmo.Caliber = null; |
| | | } |
| | | if (await this.ReloadDataEvent.Invoke(_PipeLineVmo)) |
| | | { |
| | | TipFormHelper.ShowSucceed("修改成功!"); |