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


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

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