private static void RobotByServListStart(object obj)
        {
            //RobotByServList.AddServStartList();
            //RobotByServList RbSl = new RobotByServList();
            //RbSl.AddServStartList();
            //RbSl.Interval = 20000;
            //RbSl.Start();

            RobotByServList.AddServStartList();
            RobotByServList.Interval = 3000;
            RobotByServList.Start();
        }
Beispiel #2
0
 /// <summary>
 /// 进程操作添加服务列表
 /// </summary>
 /// <param name="obj"></param>
 private static void ThreadAddServList(object obj)
 {
     try
     {
         string ServName = (string)obj;
         //Common.RemoveServStartList(ServName);
         RobotByServList.AddServStartList(ServName);
     }
     catch
     {
         return;
     }
 }