Beispiel #1
0
        private void bt_trace_Click(object sender, EventArgs e)
        {
            try
            {
                Hide();
                switch (ts)
                {
                case TraceStyle.tracedown:
                    TopologyTrace.TraceDown(_startfid);
                    break;

                case TraceStyle.traceup:
                    TopologyTrace.TraceUp(_startfid);
                    break;

                case TraceStyle.traceall:
                    TopologyTrace.TraceAll(_startfid);
                    break;

                case TraceStyle.tracep2p:
                    TopologyTrace.TraceP2P(_startfid, _endfid);
                    break;
                }
            }
            catch (Exception ex)
            {
                PublicMethod.Instance.ShowMessage(ex.Message);
            }
            finally
            {
                acapi.UpdateScreen();
                Show();
            }
        }
Beispiel #2
0
 public void Syzz()
 {
     if (!IsLoadDataSource())
     {
         return;
     }
     if (!PublicMethod.Instance.IsExecuteSystemCMD("syzz"))
     {
         ConnectManager.CleanSelcol();
         TopologyTrace.TraceUp();
     }
 }
Beispiel #3
0
 private void ToolSMI_Syzz_Click(object sender, EventArgs e)
 {
     if (!IsLoadDataSource())
     {
         return;
     }
     if (!PublicMethod.Instance.IsExecuteSystemCMD(""))
     {
         FixEntity.Instance.ResetOldEntity();
         ConnectManager.CleanSelcol();
         TopologyTrace.TraceUp();
     }
 }