コード例 #1
0
 public DebugInfoSearch()
 {
     m_proxyTSRain    = new CDBSQLTSRain();
     m_proxyTSWater   = new CDBSQLTSWater();
     m_proxyTSVoltage = new CDBSQLTSVoltage();
     InitializeComponent();
     InitUI();
     InitDB();
     ts_query_SelectedIndexChanged(null, null);
 }
コード例 #2
0
        private DateTime m_dateTimeEnd;   //查询的起点日期


        public CDataGridViewTSWater()
            : base()
        {
            // 设定标题栏,默认有个隐藏列,默认非编辑模式
            this.Header = new string[]
            {
                CS_StationID, CS_StationName, CS_TimeCollected, CS_WaterStage, CS_TimeReceived, CS_ChannelType, CS_MsgType
            };

            // 设置一页的数量
            this.PageRowCount = CDBParams.GetInstance().UIPageRowCount;
            m_proxyTSWater    = new CDBSQLTSWater();
        }