Ejemplo n.º 1
0
        private static void Pulse(object sender, LSEventArgs e)
        {
            using (new FrameLock(true))
            {
                if (DateTime.Now > NextPulse)
                {
                    NextPulse = DateTime.Now.AddSeconds(PulseRate);
                    Eve       = new EVE.ISXEVE.EVE();
                    Me        = new EVE.ISXEVE.Me();
                    MyShip    = new EVE.ISXEVE.Ship();

                    DaedalusUI.Text = "Daedalus - " + Me.Name + " [" + m_RoutineController.ActiveRoutine.ToString() + "]";
                    if (!Paused)
                    {
                        b_Mining.Pulse();
                    }
                }
                return;
            }
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Updates internal references
 /// </summary>
 public static void Update()
 {
     Eve  = new EVE.ISXEVE.EVE();
     Ext  = new EVE.ISXEVE.Extension();
     Ship = new EVE.ISXEVE.Ship();
 }