Пример #1
0
        private void On_Reload(object sender, cCommandEventArgs e)
        {
            switch (e.MessType)
            {
            case cGlobalParas.MessageType.ReloadPlan:
                ReIniCheckPlan();
                break;

            case cGlobalParas.MessageType.MonitorFileFaild:
                m_FileMonitor.Stop();
                m_FileMonitor.Start();
                break;

            default:
                break;
            }
        }
Пример #2
0
 private void On_Reload(object sender, cCommandEventArgs e)
 {
     switch (e.MessType)
     {
         case cGlobalParas.MessageType.ReloadPlan :
             ReIniCheckPlan();
             break;
         case cGlobalParas.MessageType.MonitorFileFaild :
             m_FileMonitor.Stop();
             m_FileMonitor.Start();
             break;
         default :
             break;
     }
 }