Пример #1
0
 // Запуск мониторинга
 private void c_RunMonitoringMenu_Click(object sender, EventArgs e)
 {
     if (!m_MainNeuralNet.GetTrainNet)
     {
         MessageBox.Show("Neural network not trained, train it in monitoring tools.");
         return;
     }
     if (!m_Monitoring.GetRun)
     {
         m_Monitoring.RunMonitoring();
         GraphicsForObjects.DrawingStatusMonitoring(p_MonitoringStatusPanel, m_Monitoring.GetRun);
     }
 }
Пример #2
0
 private void l_NetworkStatus_Paint(object sender, PaintEventArgs e)
 {
     GraphicsForObjects.DrawingStatusMonitoring(p_MonitoringStatusPanel, m_Monitoring.GetRun);
 }
Пример #3
0
 // Остановка мониторинга
 private void c_StopMonitoringMenu_Click(object sender, EventArgs e)
 {
     m_Monitoring.StopMonitoring();
     GraphicsForObjects.DrawingStatusMonitoring(p_MonitoringStatusPanel, m_Monitoring.GetRun);
 }