Esempio n. 1
0
        public void SetData(IPipeData pPipeData)
        {
            pPUMP      = pPipeData as IPUMP;
            TxbID.Text = pPUMP.ID;
            TxbACQUISITION_DATE.Text = pPipeData.ACQUISITION_DATE;

            TxbCo_X.Text         = pPUMP.X;
            TxbCO_Y.Text         = pPUMP.Y;
            TxbGROUND_LEVEL.Text = pPUMP.GROUND_LEVEL;
            TxbBOTTOM_LEVEL.Text = pPUMP.BOTTOM_LEVEL;
            // TxbPROCESS_DATE.Text = pPipePoint.PROCESS_Date;
            //TxbPROCESS_UNIT.Text = pPipePoint.PROCESS_Unit;
            TxbROAD_NAME.Text         = pPUMP.ROAD_NAME;
            TxbSTATE.Text             = pPUMP.STATE;
            TxbSURVEY_ID.TextChanged -= new EventHandler(TxbSURVEY_ID_TextChanged);
            TxbSURVEY_ID.Text         = pPUMP.SURVEY_ID;
            TxbSURVEY_ID.TextChanged += new EventHandler(TxbSURVEY_ID_TextChanged);
            TxbSYSTEM_TYPE.Text       = pPUMP.SYSTEM_TYPE;

            TxbBOTTOM_AREA.Text = pPUMP.BOTTOM_AREA;
            TxbTOP_LEVEL.Text   = pPUMP.TOP_LEVEL;
            TxbTOP_AREA.Text    = pPUMP.TOP_AREA;
            TxbWATER_LEVEL.Text = pPUMP.WATER_LEVEL;
            TxbRemark.Text      = pPUMP.Remark;
        }
Esempio n. 2
0
        public void SetData(IPipeData pPipeData)
        {
            pSLUICE    = pPipeData as ISLUICE;
            TxbID.Text = pSLUICE.ID;
            TxbACQUISITION_DATE.Text = pSLUICE.ACQUISITION_DATE;
            TxbACQUISITION_UNIT.Text = pSLUICE.ACQUISITION_UNIT;

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

            TxbDS_SURVEY_ID.Text = pSLUICE.DS_SURVEY_ID;

            TxbUS_OBJECT_ID.Text = pSLUICE.US_OBJECT_ID;

            TxbUS_SURVEY_ID.Text = pSLUICE.US_SURVEY_ID;

            TxbRemark.Text = pSLUICE.Remark;
        }
Esempio n. 3
0
        public void SetData(IPipeData pPipeData)
        {
            // m_PipeData = pPipeData;
            m_MANHOLE = pPipeData as IMANHOLE;
            TxbSURVEY_ID.TextChanged -= new EventHandler(TxbSURVEY_ID_TextChanged);
            TxbSURVEY_ID.Text         = m_MANHOLE.SURVEY_ID;
            TxbSURVEY_ID.TextChanged += new EventHandler(TxbSURVEY_ID_TextChanged);
            TxbACQUISITION_DATE.Text  = m_MANHOLE.ACQUISITION_DATE;
            TxbACQUISITION_UNIT.Text  = m_MANHOLE.ACQUISITION_UNIT;
            TxbBOTTOM_TYPE.Text       = m_MANHOLE.BOTTOM_TYPE;
            TxbCo_X.Text              = m_MANHOLE.X;
            TxbCO_Y.Text              = m_MANHOLE.Y;
            TxbCOVER_MATERIAL.Text    = m_MANHOLE.COVER_MATERIAL;
            TxbCOVER_STATE.Text       = m_MANHOLE.COVER_STATE;
            TxbFLOW_STATE.Text        = m_MANHOLE.FLOW_STATE;
            TxbGROUND_LEVEL.Text      = m_MANHOLE.GROUND_LEVEL;
            TxbID.Text               = m_MANHOLE.ID;
            TxbINVERT_LEVEL.Text     = m_MANHOLE.INVERT_LEVEL;
            TxbMANHOLE_MATERIAL.Text = m_MANHOLE.MANHOLE_MATERIAL;
            TxbMANHOLE_SHAPE.Text    = m_MANHOLE.MANHOLE_SHAPE;
            TxbMANHOLE_SIZE.Text     = m_MANHOLE.MANHOLE_SIZE;
            TxbMANHOLE_TYPE.Text     = m_MANHOLE.MANHOLE_TYPE;
            TxbPROCESS_DATE.Text     = m_MANHOLE.PROCESS_Date;
            TxbPROCESS_UNIT.Text     = m_MANHOLE.PROCESS_Unit;

            TxbROAD_NAME.Text      = m_MANHOLE.ROAD_NAME;
            TxbSEDIMENT_DEPTH.Text = m_MANHOLE.SEDIMENT_DEPTH;
            TxbSTATE.Text          = m_MANHOLE.STATE;
            TxbSYSTEM_TYPE.Text    = m_MANHOLE.SYSTEM_TYPE;
            TxbWATER_LEVEL.Text    = m_MANHOLE.WATER_LEVEL;
            TxbWATER_QUALITY.Text  = m_MANHOLE.WATER_QUALITY;

            TxbRemark.Text = m_MANHOLE.Remark;
        }
Esempio n. 4
0
        public void SetData(IPipeData pPipeData)
        {
            pCANAL     = pPipeData as ICANAL;
            TxbID.Text = pPipeData.ID;
            TxbACQUISITION_DATE.Text = pCANAL.ACQUISITION_DATE;
            TxbACQUISITION_UNIT.Text = pCANAL.ACQUISITION_UNIT;

            TxbPROCESS_DATE.Text = pCANAL.PROCESS_Date;
            TxbPROCESS_UNIT.Text = pCANAL.PROCESS_Unit;
            TxbROAD_NAME.Text    = pCANAL.ROAD_NAME;
            TxbSTATE.Text        = pCANAL.STATE;
            TxbSYSTEM_TYPE.Text  = pCANAL.SYSTEM_TYPE;

            TxbDS_INVERT_LEVEL.Text       = pCANAL.DS_INVERT_LEVEL;
            TxbDS_OBJECT_ID.Text          = pCANAL.DS_OBJECT_ID;
            TxbDS_POINT_INVERT_LEVEL.Text = pCANAL.DS_POINT_INVERT_LEVEL;
            TxbDS_SURVEY_ID.Text          = pCANAL.DS_SURVEY_ID;
            TxbMATERIAL.Text    = pCANAL.MATERIAL;
            TxbPipe_Length.Text = pCANAL.Pipe_Length;
            TxbHEIGHT.Text      = pCANAL.Height;
            TxbPRESSURE.Text    = pCANAL.PRESSURE;

            TxbSEDIMENT_DEPTH.Text        = pCANAL.SEDIMENT_DEPTH;
            TxbUS_INVERT_LEVEL.Text       = pCANAL.US_INVERT_LEVEL;
            TxbUS_OBJECT_ID.Text          = pCANAL.US_OBJECT_ID;
            TxbUS_POINT_INVERT_LEVEL.Text = pCANAL.US_POINT_INVERT_LEVEL;
            TxbUS_SURVEY_ID.Text          = pCANAL.US_SURVEY_ID;
            TxbWidth.Text  = pCANAL.Width;
            TxbRemark.Text = pCANAL.Remark;
        }
Esempio n. 5
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;
        }
Esempio n. 6
0
        public void SetData(IPipeData pPipeData)
        {
            // m_PipeData = pPipeData;
            m_PCPoint         = pPipeData as IPCPoint;
            m_ShoudReDraw     = false;
            TxbSURVEY_ID.Text = m_PCPoint.SURVEY_ID;

            TxbACQUISITION_DATE.Text = m_PCPoint.ACQUISITION_DATE;
            TxbACQUISITION_UNIT.Text = m_PCPoint.ACQUISITION_UNIT;
            TxbBOTTOM_TYPE.Text      = m_PCPoint.BOTTOM_TYPE;
            TxbCo_X.Text             = m_PCPoint.X;
            TxbCO_Y.Text             = m_PCPoint.Y;
            TxbCOVER_MATERIAL.Text   = m_PCPoint.COVER_MATERIAL;
            TxbCOVER_STATE.Text      = m_PCPoint.COVER_STATE;
            TxbGULLY_NUMBER.Text     = m_PCPoint.GULLY_NUMBER;
            TxbGROUND_LEVEL.Text     = m_PCPoint.GROUND_LEVEL;


            TxbMANHOLE_MATERIAL.Text = m_PCPoint.MANHOLE_MATERIAL;
            TxbMANHOLE_SHAPE.Text    = m_PCPoint.MANHOLE_SHAPE;
            TxbMANHOLE_SIZE.Text     = m_PCPoint.MANHOLE_SIZE;
            TxbMANHOLE_TYPE.Text     = m_PCPoint.MANHOLE_TYPE;
            TxbPROCESS_DATE.Text     = m_PCPoint.PROCESS_Date;
            TxbPROCESS_UNIT.Text     = m_PCPoint.PROCESS_Unit;

            TxbROAD_NAME.Text      = m_PCPoint.ROAD_NAME;
            TxbSEDIMENT_DEPTH.Text = m_PCPoint.SEDIMENT_DEPTH;
            TxbSTATE.Text          = m_PCPoint.STATE;
            TxbDepth.Text          = m_PCPoint.Depth;

            CmbPointType.Text = m_PCPoint.Type;
            TxbRemark.Text    = m_PCPoint.Remark;
            AlterCoord        = false;
        }
Esempio n. 7
0
        public static IPipeData GetDataByID(string ID, string TableName)
        {
            IPipeData pPipeData = null;

            if (TableName.Equals("PS_MANHOLE"))
            {
                pPipeData = new MANHOLE();
            }
            else if (TableName.Equals("PS_VIRTUAL_POINT"))
            {
                pPipeData = new PipePoint();
            }
            else if (TableName.Equals("PS_COMB"))
            {
                pPipeData = new COMB();
            }
            else if (TableName.Equals("PS_OUTFALL"))
            {
                pPipeData = new OUTFALL();
            }

            else if (TableName.Equals("PS_PUMP_STORAGE"))
            {
                pPipeData = new PUMP();
            }
            else if (TableName.Equals("PS_PIPE"))
            {
                pPipeData = new PIPELineClass();
            }
            else if (TableName.Equals("PS_CANAL"))
            {
                pPipeData = new CANAL();
            }
            else if (TableName.Equals("PS_FLAP"))
            {
                pPipeData = new FLAP();
            }
            else if (TableName.Equals("PS_WEIR"))
            {
                pPipeData = new WEIR();
            }
            else if (TableName.Equals("PS_SLUICE"))
            {
                pPipeData = new SLUICE();
            }
            else
            {
                pPipeData = null;
            }
            if (pPipeData == null)
            {
                return(null);
            }
            string    sql    = string.Format("select * from {0} where ID='{1}'", TableName, ID);
            DataTable pTable = SysDBUnitiy.OleDataBase.ExecuteQuery(sql).Tables[0];

            pPipeData.FillValueByRow(pTable.Rows[0], TableName);
            return(pPipeData);
        }
Esempio n. 8
0
        public void SetData(IPipeData pPipeData)
        {
            m_PipePoint = pPipeData as IPipePoint;
            IPipePoint pPipePoint = pPipeData as IPipePoint;

            TxbID.Text = pPipePoint.ID;
            TxbACQUISITION_DATE.Text  = pPipeData.ACQUISITION_DATE;
            TxbACQUISITION_UNIT.Text  = pPipeData.ACQUISITION_UNIT;
            TxbCo_X.Text              = pPipePoint.X;
            TxbCO_Y.Text              = pPipePoint.Y;
            TxbGROUND_LEVEL.Text      = pPipePoint.GROUND_LEVEL;
            TxbINVERT_LEVEL.Text      = pPipePoint.INVERT_LEVEL;
            TxbPROCESS_DATE.Text      = pPipePoint.PROCESS_Date;
            TxbPROCESS_UNIT.Text      = pPipePoint.PROCESS_Unit;
            TxbROAD_NAME.Text         = pPipePoint.ROAD_NAME;
            TxbSTATE.Text             = pPipePoint.STATE;
            TxbSURVEY_ID.TextChanged -= new EventHandler(TxbSURVEY_ID_TextChanged);
            TxbSURVEY_ID.Text         = pPipePoint.SURVEY_ID;
            TxbSURVEY_ID.TextChanged += new EventHandler(TxbSURVEY_ID_TextChanged);
            TxbSYSTEM_TYPE.Text       = pPipePoint.SYSTEM_TYPE;
        }
Esempio n. 9
0
 public void SetData(IPipeData pPipeData)
 {
     pCOMB      = pPipeData as ICOMB;
     TxbID.Text = pCOMB.ID;
     TxbACQUISITION_DATE.Text  = pPipeData.ACQUISITION_DATE;
     TxbACQUISITION_UNIT.Text  = pPipeData.ACQUISITION_UNIT;
     TxbCo_X.Text              = pCOMB.X;
     TxbCO_Y.Text              = pCOMB.Y;
     TxbGROUND_LEVEL.Text      = pCOMB.GROUND_LEVEL;
     TxbINVERT_LEVEL.Text      = pCOMB.INVERT_LEVEL;
     TxbPROCESS_DATE.Text      = pCOMB.PROCESS_Date;
     TxbPROCESS_UNIT.Text      = pCOMB.PROCESS_Unit;
     TxbROAD_NAME.Text         = pCOMB.ROAD_NAME;
     TxbSTATE.Text             = pCOMB.STATE;
     TxbSURVEY_ID.TextChanged -= new EventHandler(TxbSURVEY_ID_TextChanged);
     TxbSURVEY_ID.Text         = pCOMB.SURVEY_ID;
     TxbSURVEY_ID.TextChanged += new EventHandler(TxbSURVEY_ID_TextChanged);
     TxbSEDIMENT_DEPTH.Text    = pCOMB.SEDIMENT_DEPTH;
     TxbOBJECT_TYPE.Text       = pCOMB.OBJECT_TYPE;
     TxbGULLY_NUMBER.Text      = pCOMB.GULLY_NUMBER;
     txbRemark.Text            = pCOMB.Remark;
 }
Esempio n. 10
0
        public void SetData(IPipeData pPipeData)
        {
            pPIPELine = pPipeData as IPIPELine;
            //TxbID.Text = pPipeData.ID;
            TxbACQUISITION_DATE.Text = pPIPELine.ACQUISITION_DATE;
            TxbACQUISITION_UNIT.Text = pPIPELine.ACQUISITION_UNIT;

            TxbPROCESS_DATE.Text = pPIPELine.PROCESS_Date;
            TxbPROCESS_UNIT.Text = pPIPELine.PROCESS_Unit;
            TxbROAD_NAME.Text    = pPIPELine.ROAD_NAME;
            TxbSTATE.Text        = pPIPELine.STATE;
            //TxbSYSTEM_TYPE.Text = pPIPELine.SYSTEM_TYPE;

            //TxbDS_INVERT_LEVEL.Text = pPIPELine.DS_INVERT_LEVEL;
            //TxbDS_OBJECT_ID.Text = pPIPELine.DS_OBJECT_ID;
            //TxbDS_POINT_INVERT_LEVEL.Text = pPIPELine.DS_POINT_INVERT_LEVEL;
            TxbDS_SURVEY_ID.Text = pPIPELine.DS_SURVEY_ID;
            TxbMATERIAL.Text     = pPIPELine.MATERIAL;
            TxbPipe_Length.Text  = pPIPELine.Pipe_Length;
            TxbPRESSURE.Text     = pPIPELine.PRESSURE;

            TxbSEDIMENT_DEPTH.Text = pPIPELine.SEDIMENT_DEPTH;
            //TxbUS_INVERT_LEVEL.Text = pPIPELine.US_INVERT_LEVEL;
            //TxbUS_OBJECT_ID.Text = pPIPELine.US_OBJECT_ID;
            //TxbUS_POINT_INVERT_LEVEL.Text = pPIPELine.US_POINT_INVERT_LEVEL;
            TxbUS_SURVEY_ID.Text  = pPIPELine.US_SURVEY_ID;
            TxbWidth.Text         = pPIPELine.Width;
            TxbRemark.Text        = pPIPELine.Remark;
            CmbDirction.Text      = pPIPELine.Dirtcion;
            TxbWATER_LEVEL.Text   = pPIPELine.WATER_LEVEL;
            TxbWATER_QUALITY.Text = pPIPELine.WATER_QUALITY;
            TxbWATER_State.Text   = pPIPELine.WATER_State;
            //if (pPIPELine.IsDelete)
            //    LableIsD.Text = "已删除";
            //else
            //    LableIsD.Text = "";
        }
Esempio n. 11
0
        public void SetData(IPipeData pPipeData)
        {
            pFLAP      = pPipeData as IFLAP;
            TxbID.Text = pFLAP.ID;
            TxbACQUISITION_DATE.Text = pFLAP.ACQUISITION_DATE;
            TxbACQUISITION_UNIT.Text = pFLAP.ACQUISITION_UNIT;

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

            TxbDS_SURVEY_ID.Text = pFLAP.DS_SURVEY_ID;

            TxbUS_OBJECT_ID.Text = pFLAP.US_OBJECT_ID;

            TxbUS_SURVEY_ID.Text = pFLAP.US_SURVEY_ID;

            TxbRemark.Text = pFLAP.Remark;
        }
Esempio n. 12
0
 public virtual void SetData(IPipeData pPipeData)
 {
 }