void TxbSURVEY_ID_TextChanged(object sender, EventArgs e) { if (TxbSURVEY_ID.Text.StartsWith("YS")) { TxbSYSTEM_TYPE.Text = "雨水"; } else if (TxbSURVEY_ID.Text.StartsWith("WS")) { TxbSYSTEM_TYPE.Text = "污水"; } else { TxbSYSTEM_TYPE.ResetText(); } if (TxbSURVEY_ID.Text.Length == 10) { if (!this.m_PipePoint.IsExistSURVEYID(TxbSURVEY_ID.Text)) { TxbID.Text = this.m_PipePoint.GetHead() + TxbSURVEY_ID.Text.Substring(2); } else { MessageBox.Show("已存在该物探点号", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning); TxbSURVEY_ID.Select(); return; } } else { TxbID.Clear(); } }
public void Clear() { m_MANHOLE = new MANHOLE(); TxbSURVEY_ID.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(); TxbSYSTEM_TYPE.ResetText(); TxbWATER_LEVEL.Clear(); TxbWATER_QUALITY.Clear(); TxbRemark.Clear(); }
public void Clear() { pCANAL = new CANAL(); TxbID.Clear(); TxbACQUISITION_DATE.Clear(); TxbACQUISITION_UNIT.Clear(); TxbPROCESS_DATE.Clear(); TxbPROCESS_UNIT.Clear(); TxbROAD_NAME.Clear(); TxbSTATE.Text = "运行"; TxbSYSTEM_TYPE.ResetText(); TxbHEIGHT.ResetText(); TxbDS_INVERT_LEVEL.Clear(); TxbDS_OBJECT_ID.Clear(); TxbDS_POINT_INVERT_LEVEL.Clear(); TxbDS_SURVEY_ID.Clear(); TxbMATERIAL.Clear(); TxbPipe_Length.Clear(); TxbPRESSURE.Clear(); TxbSEDIMENT_DEPTH.Clear(); TxbUS_INVERT_LEVEL.Clear(); TxbUS_OBJECT_ID.Clear(); TxbUS_POINT_INVERT_LEVEL.Clear(); TxbUS_SURVEY_ID.Clear(); TxbWidth.Clear(); TxbRemark.Clear(); }
public void Clear() { m_PipePoint = new PipePoint(); 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.Text = "运行"; TxbSURVEY_ID.Clear(); TxbSYSTEM_TYPE.ResetText(); }
public void Clear() { pCOMB = new COMB(); 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.Text = "运行"; TxbSURVEY_ID.Clear(); TxbSEDIMENT_DEPTH.Clear(); TxbOBJECT_TYPE.Clear(); TxbGULLY_NUMBER.Clear(); }
void TxbSURVEY_ID_TextChanged(object sender, EventArgs e) { if (TxbSURVEY_ID.Text.Length == 10) { if (!this.pCOMB.IsExistSURVEYID(TxbSURVEY_ID.Text)) { TxbID.Text = this.pCOMB.GetHead() + TxbSURVEY_ID.Text.Substring(2); } else { MessageBox.Show("已存在该物探点号", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning); TxbSURVEY_ID.Select(); return; } } else { TxbID.Clear(); } }
public void Clear() { pPUMP = new PUMP(); TxbID.Clear(); TxbACQUISITION_DATE.Clear(); TxbCo_X.Clear(); TxbCO_Y.Clear(); TxbGROUND_LEVEL.Clear(); TxbBOTTOM_LEVEL.Clear(); // TxbPROCESS_DATE.Text = pPipePoint.PROCESS_Date; //TxbPROCESS_UNIT.Text = pPipePoint.PROCESS_Unit; TxbROAD_NAME.Clear(); TxbSTATE.ResetText(); TxbSURVEY_ID.Clear(); TxbSYSTEM_TYPE.ResetText(); TxbBOTTOM_AREA.Clear(); TxbTOP_LEVEL.Clear(); TxbTOP_AREA.Clear(); TxbWATER_LEVEL.Clear(); TxbRemark.Clear(); }
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(); }