Example #1
0
        private void m_timeSave_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
        {
            this.m_timeSave.Stop();
            if (this.m_dtSave.Rows.Count != 0)
            {
                winCom.CSaveData csd = new CSaveData();

                for (int i = 0; i < this.m_dtSave.Rows.Count; i++)
                {
                    this.m_arrRevZhans.Add(this.m_dtSave.Rows[i]["watNo"].ToString());
                }

                csd.saveGprsData(this.m_dtSave);
            }
            this.m_timeSave.Start();
        }
Example #2
0
        private void m_timeSave_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
        {
            this.m_timeSave.Stop();
            if(this.m_dtSave.Rows.Count!=0)
            {
                winCom.CSaveData csd=new CSaveData();

                for(int i=0;i<this.m_dtSave.Rows.Count;i++)
                {
                    this.m_arrRevZhans.Add(this.m_dtSave.Rows[i]["watNo"].ToString());
                }

                csd.saveGprsData(this.m_dtSave);
            }
            this.m_timeSave.Start();
        }