public void UpdateAllSoilStation()
 {
     if (SoilStationUpdated != null)
     {
         SoilStationUpdated.Invoke(this, new EventArgs());
     }
 }
Пример #2
0
        public void UpdateAllSoilStation()
        {
            try
            {
                if (SoilStationUpdated != null)
                {
                    SoilStationUpdated.Invoke(this, new EventArgs());
                }

                CSystemInfoMgr.Instance.AddInfo
                (
                    string.Format("更新墒情站点数据完成!")
                );
            }
            catch (Exception e)
            {
                CSystemInfoMgr.Instance.AddInfo
                (
                    string.Format("UpdateStation Error,更新墒情站点出错" + e.Message)
                );
            }
        }