public void Clear() { m_PCPoint = new PCPoint(); AlterCoord = false; TxbSURVEY_ID.Clear(); TxbGULLY_NUMBER.Clear(); TxbACQUISITION_DATE.Clear(); TxbACQUISITION_UNIT.Clear(); TxbBOTTOM_TYPE.ResetText(); TxbCo_X.Clear(); TxbCO_Y.Clear(); TxbCOVER_MATERIAL.ResetText(); TxbCOVER_STATE.ResetText(); //TxbFLOW_STATE.ResetText(); TxbGROUND_LEVEL.Clear(); //TxbID.Clear(); //TxbINVERT_LEVEL.Clear(); TxbMANHOLE_MATERIAL.ResetText(); TxbMANHOLE_SHAPE.ResetText(); TxbMANHOLE_SIZE.Clear(); TxbMANHOLE_TYPE.ResetText(); TxbPROCESS_DATE.Clear(); TxbPROCESS_UNIT.Clear(); TxbROAD_NAME.Clear(); TxbSEDIMENT_DEPTH.Clear(); TxbSTATE.ResetText(); CmbPointType.ResetText(); TxbRemark.Clear(); }
public IPipeData GetData() { if (m_PCPoint == null) { m_PCPoint = new PCPoint(); } m_PCPoint.ACQUISITION_DATE = TxbACQUISITION_DATE.Text; m_PCPoint.ACQUISITION_UNIT = TxbACQUISITION_UNIT.Text; m_PCPoint.X = TxbCo_X.Text; m_PCPoint.Y = TxbCO_Y.Text; m_PCPoint.GROUND_LEVEL = TxbGROUND_LEVEL.Text; //m_MANHOLE.INVERT_LEVEL = TxbINVERT_LEVEL.Text; m_PCPoint.PROCESS_Date = TxbPROCESS_DATE.Text; m_PCPoint.PROCESS_Unit = TxbPROCESS_UNIT.Text; m_PCPoint.ROAD_NAME = TxbROAD_NAME.Text; m_PCPoint.STATE = TxbSTATE.Text; m_PCPoint.SURVEY_ID = TxbSURVEY_ID.Text; //m_MANHOLE.SYSTEM_TYPE = TxbSYSTEM_TYPE.Text; m_PCPoint.SURVEY_ID = TxbSURVEY_ID.Text; m_PCPoint.BOTTOM_TYPE = TxbBOTTOM_TYPE.Text; m_PCPoint.COVER_MATERIAL = TxbCOVER_MATERIAL.Text; m_PCPoint.COVER_STATE = TxbCOVER_STATE.Text; //m_MANHOLE.FLOW_STATE = TxbFLOW_STATE.Text; m_PCPoint.GROUND_LEVEL = TxbGROUND_LEVEL.Text; m_PCPoint.MANHOLE_MATERIAL = TxbMANHOLE_MATERIAL.Text; m_PCPoint.MANHOLE_SHAPE = TxbMANHOLE_SHAPE.Text; m_PCPoint.MANHOLE_SIZE = TxbMANHOLE_SIZE.Text; m_PCPoint.MANHOLE_TYPE = TxbMANHOLE_TYPE.Text; m_PCPoint.SEDIMENT_DEPTH = TxbSEDIMENT_DEPTH.Text; m_PCPoint.Depth = TxbDepth.Text; m_PCPoint.Type = CmbPointType.Text; //m_PCPoint.WATER_LEVEL = TxbWATER_LEVEL.Text; //m_PCPoint.WATER_QUALITY = TxbWATER_QUALITY.Text; m_PCPoint.Remark = TxbRemark.Text; m_PCPoint.GULLY_NUMBER = TxbGULLY_NUMBER.Text; TxbDepth.Clear(); CmbPointType.ResetText(); return(m_PCPoint); }