private void MenuParseOriginalKKSCode_Click(object sender, RoutedEventArgs e)
 {
     Worker.Run(() =>
     {
         DevMonitorHelper.ParseMonitorPoint();
     }, () =>
     {
         MessageBox.Show("完成");
     });
 }
        private void MenuUpdateAllDate_OnClick(object sender, RoutedEventArgs e)
        {
            Worker.Run(() =>
            {
                DateTime start = DateTime.Now;
                DevMonitorHelper.InitKKSNode();
                DevMonitorHelper.ParseMonitorPoint();
                DevMonitorHelper.SaveMonitorPoint();
                DevMonitorHelper.ReParseMonitPoint(true);
                DevMonitorHelper.GetAllMonitorNodeData();

                TimeSpan time = DateTime.Now - start;
                Log.Info(LogTags.KKS, string.Format("【全部】完成 用时:{0}", time));
            }, () =>
            {
                MessageBox.Show("更新数据完成");
            });
        }