Exemple #1
0
        public void SetData(IPipeData pPipeData)
        {
            pIWEIR     = pPipeData as IWEIR;
            TxbID.Text = pIWEIR.ID;
            TxbACQUISITION_DATE.Text = pIWEIR.ACQUISITION_DATE;
            TxbACQUISITION_UNIT.Text = pIWEIR.ACQUISITION_UNIT;

            TxbPROCESS_DATE.Text = pIWEIR.PROCESS_Date;
            TxbPROCESS_UNIT.Text = pIWEIR.PROCESS_Unit;
            TxbROAD_NAME.Text    = pIWEIR.ROAD_NAME;
            TxbSTATE.Text        = pIWEIR.STATE;
            TxbWIDTH.Text        = pIWEIR.Width;
            //TxbFLAP_TYPE.Text = pIWEIR.Flap_Type;
            TxbINVERT_LEVEL.Text = pIWEIR.INVERT_LEVEL;
            //TxbFLAP_NUMBER.Text = pIWEIR.Flap_number;
            TxbDS_OBJECT_ID.Text = pIWEIR.DS_OBJECT_ID;

            TxbDS_SURVEY_ID.Text = pIWEIR.DS_SURVEY_ID;

            TxbUS_OBJECT_ID.Text = pIWEIR.US_OBJECT_ID;

            TxbUS_SURVEY_ID.Text = pIWEIR.US_SURVEY_ID;

            TxbRemark.Text = pIWEIR.Remark;
        }
Exemple #2
0
        public void Clear()
        {
            pIWEIR = new WEIR();
            TxbID.ResetText();
            TxbACQUISITION_DATE.ResetText();
            TxbACQUISITION_UNIT.ResetText();

            TxbPROCESS_DATE.ResetText();
            TxbPROCESS_UNIT.ResetText();
            TxbROAD_NAME.ResetText();
            TxbSTATE.Text = "运行";
            TxbWIDTH.ResetText();
            TxbINVERT_LEVEL.ResetText();
            //TxbFLAP_NUMBER.ResetText();
            TxbDS_OBJECT_ID.ResetText();

            TxbDS_SURVEY_ID.ResetText();

            TxbUS_OBJECT_ID.ResetText();

            TxbUS_SURVEY_ID.ResetText();

            TxbRemark.ResetText();
        }