コード例 #1
0
 private void ShowInfo(string Exp_No)
 {
     Maticsoft.BLL.ps_gate   bll   = new Maticsoft.BLL.ps_gate();
     Maticsoft.Model.ps_gate 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.txtName.Text            = model.Name;
     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.txtTop_Ele.Text       = model.Top_Ele.ToString();
     this.txtBot_Ele.Text       = model.Bot_Ele.ToString();
     this.txtWidth.Text         = model.Width.ToString();
     this.txtManufacturer.Text  = model.Manufacturer;
     this.txtGateModel.Text     = model.GateModel;
     this.txtNum.Text           = model.Num;
     this.txtControl_Type.Text  = model.Control_Type;
     this.txtSwitch_Style.Text  = model.Switch_Style;
     this.txtPressure_Type.Text = model.Pressure_Type;
     this.txtCode.Text          = model.Code;
     this.txtModel.Text         = model.Model;
     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.txtDataListID.Text    = model.DataListID;
     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;
 }
コード例 #2
0
 private void ShowInfo(string Exp_No)
 {
     Maticsoft.BLL.ps_gate   bll   = new Maticsoft.BLL.ps_gate();
     Maticsoft.Model.ps_gate 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.lblName.Text            = model.Name;
     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.lblTop_Ele.Text       = model.Top_Ele.ToString();
     this.lblBot_Ele.Text       = model.Bot_Ele.ToString();
     this.lblWidth.Text         = model.Width.ToString();
     this.lblManufacturer.Text  = model.Manufacturer;
     this.lblGateModel.Text     = model.GateModel;
     this.lblNum.Text           = model.Num;
     this.lblControl_Type.Text  = model.Control_Type;
     this.lblSwitch_Style.Text  = model.Switch_Style;
     this.lblPressure_Type.Text = model.Pressure_Type;
     this.lblCode.Text          = model.Code;
     this.lblModel.Text         = model.Model;
     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.lblDataListID.Text    = model.DataListID;
     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;
 }