示例#1
0
        public void SetData(IPipeData pPipeData)
        {
            pOUTFALL   = pPipeData as IOUTFALL;
            TxbID.Text = pOUTFALL.ID;
            TxbACQUISITION_DATE.Text  = pPipeData.ACQUISITION_DATE;
            TxbACQUISITION_UNIT.Text  = pPipeData.ACQUISITION_UNIT;
            TxbCo_X.Text              = pOUTFALL.X;
            TxbCO_Y.Text              = pOUTFALL.Y;
            TxbGROUND_LEVEL.Text      = pOUTFALL.GROUND_LEVEL;
            TxbINVERT_LEVEL.Text      = pOUTFALL.INVERT_LEVEL;
            TxbPROCESS_DATE.Text      = pOUTFALL.PROCESS_Date;
            TxbPROCESS_UNIT.Text      = pOUTFALL.PROCESS_Unit;
            TxbROAD_NAME.Text         = pOUTFALL.ROAD_NAME;
            TxbSTATE.Text             = pOUTFALL.STATE;
            TxbSURVEY_ID.TextChanged -= new EventHandler(TxbSURVEY_ID_TextChanged);
            TxbSURVEY_ID.Text         = pOUTFALL.SURVEY_ID;
            TxbSURVEY_ID.TextChanged += new EventHandler(TxbSURVEY_ID_TextChanged);
            TxbSYSTEM_TYPE.Text       = pOUTFALL.SYSTEM_TYPE;

            TxbWIDTH.Text            = pOUTFALL.WIDTH;
            TxbHeight.Text           = pOUTFALL.HEIGHT;
            TxbEFFLUENT_TYPE.Text    = pOUTFALL.EFFLUENT_TYPE;
            TxbDRYWEATHER_STATE.Text = pOUTFALL.DRYWEATHER_STATE;
            TxbWATER_QUALITY.Text    = pOUTFALL.WATER_QUALITY;
            TxbRemark.Text           = pOUTFALL.Remark;
        }
示例#2
0
        public void Clear()
        {
            pOUTFALL = new OUTFALL();

            TxbID.Clear();
            TxbACQUISITION_DATE.Clear();
            TxbACQUISITION_UNIT.Clear();
            TxbCo_X.Clear();
            TxbCO_Y.Clear();
            TxbGROUND_LEVEL.Clear();
            TxbINVERT_LEVEL.Clear();
            TxbPROCESS_DATE.Clear();
            TxbPROCESS_UNIT.Clear();
            TxbROAD_NAME.Clear();
            TxbSTATE.ResetText();
            TxbSURVEY_ID.Clear();
            TxbSYSTEM_TYPE.ResetText();

            TxbWIDTH.Clear();
            TxbHeight.Clear();
            TxbEFFLUENT_TYPE.Clear();
            TxbDRYWEATHER_STATE.Clear();
            TxbWATER_QUALITY.Clear();
        }