Beispiel #1
0
 private void ShowInfo(string Exp_No)
 {
     Maticsoft.BLL.ps_manhole   bll   = new Maticsoft.BLL.ps_manhole();
     Maticsoft.Model.ps_manhole model = bll.GetModel(Exp_No);
     this.lblPrj_No.Text          = model.Prj_No;
     this.lblPrj_Name.Text        = model.Prj_Name;
     this.lblExp_No.Text          = model.Exp_No;
     this.lblMapCode.Text         = model.MapCode;
     this.lblSewageSystem_ID.Text = model.SewageSystem_ID;
     this.lblStormSystem_ID.Text  = model.StormSystem_ID;
     this.lblType.Text            = model.Type;
     this.lblX.Text             = model.X.ToString();
     this.lblY.Text             = model.Y.ToString();
     this.lblHigh.Text          = model.High.ToString();
     this.lblWellDeep.Text      = model.WellDeep.ToString();
     this.lblOffset.Text        = model.Offset;
     this.lblRotation.Text      = model.Rotation.ToString();
     this.lblCode.Text          = model.Code;
     this.lblModel.Text         = model.Model;
     this.lblWellShape.Text     = model.WellShape;
     this.lblWellSize.Text      = model.WellSize;
     this.lblWellMaterial.Text  = model.WellMaterial;
     this.lblWellPipes.Text     = model.WellPipes.ToString();
     this.lblWaterDeep.Text     = model.WaterDeep.ToString();
     this.lblMudDeep.Text       = model.MudDeep.ToString();
     this.lblAddress.Text       = model.Address;
     this.lblPointPosition.Text = model.PointPosition.ToString();
     this.lblDataSource.Text    = model.DataSource;
     this.lblVisibility.Text    = model.Visibility;
     this.lblSunit.Text         = model.Sunit;
     this.lblSdate.Text         = model.Sdate;
     this.lblUpdateTime.Text    = model.UpdateTime;
     this.lblMdate.Text         = model.Mdate;
     this.lblManhole_Type.Text  = model.Manhole_Type;
     this.lblStatus.Text        = model.Status;
     this.lblEname.Text         = model.Ename;
     this.lblDesign_Dept.Text   = model.Design_Dept;
     this.lblConster_Dept.Text  = model.Conster_Dept;
     this.lblBelong.Text        = model.Belong;
     this.lblOperator.Text      = model.Operator;
     this.lblNote.Text          = model.Note;
     this.lblExp_NoOri.Text     = model.Exp_NoOri;
     this.lblfilename.Text      = model.filename;
     this.lblupdate.Text        = model.update;
 }
Beispiel #2
0
 private void ShowInfo(string Exp_No)
 {
     Maticsoft.BLL.ps_manhole   bll   = new Maticsoft.BLL.ps_manhole();
     Maticsoft.Model.ps_manhole model = bll.GetModel(Exp_No);
     this.txtPrj_No.Text          = model.Prj_No;
     this.txtPrj_Name.Text        = model.Prj_Name;
     this.lblExp_No.Text          = model.Exp_No;
     this.txtMapCode.Text         = model.MapCode;
     this.txtSewageSystem_ID.Text = model.SewageSystem_ID;
     this.txtStormSystem_ID.Text  = model.StormSystem_ID;
     this.txtType.Text            = model.Type;
     this.txtX.Text             = model.X.ToString();
     this.txtY.Text             = model.Y.ToString();
     this.txtHigh.Text          = model.High.ToString();
     this.txtWellDeep.Text      = model.WellDeep.ToString();
     this.txtOffset.Text        = model.Offset;
     this.txtRotation.Text      = model.Rotation.ToString();
     this.txtCode.Text          = model.Code;
     this.txtModel.Text         = model.Model;
     this.txtWellShape.Text     = model.WellShape;
     this.txtWellSize.Text      = model.WellSize;
     this.txtWellMaterial.Text  = model.WellMaterial;
     this.txtWellPipes.Text     = model.WellPipes.ToString();
     this.txtWaterDeep.Text     = model.WaterDeep.ToString();
     this.txtMudDeep.Text       = model.MudDeep.ToString();
     this.txtAddress.Text       = model.Address;
     this.txtPointPosition.Text = model.PointPosition.ToString();
     this.txtDataSource.Text    = model.DataSource;
     this.txtVisibility.Text    = model.Visibility;
     this.txtSunit.Text         = model.Sunit;
     this.txtSdate.Text         = model.Sdate;
     this.txtUpdateTime.Text    = model.UpdateTime;
     this.txtMdate.Text         = model.Mdate;
     this.txtManhole_Type.Text  = model.Manhole_Type;
     this.txtStatus.Text        = model.Status;
     this.txtEname.Text         = model.Ename;
     this.txtDesign_Dept.Text   = model.Design_Dept;
     this.txtConster_Dept.Text  = model.Conster_Dept;
     this.txtBelong.Text        = model.Belong;
     this.txtOperator.Text      = model.Operator;
     this.txtNote.Text          = model.Note;
     this.txtExp_NoOri.Text     = model.Exp_NoOri;
     this.txtfilename.Text      = model.filename;
     this.txtupdate.Text        = model.update;
 }