Ejemplo n.º 1
0
        private void OnUnDocked(DockedStateArgs e)
        {
            if (UnDocked != null)
                UnDocked(this, e);

            //if (e.m_isInitialStateEvent)
            //{
            //    m_battlevEventCount = 0;
            //}
        }
Ejemplo n.º 2
0
 void m_spokes_UnDocked(object sender, DockedStateArgs e)
 {
     if (e.m_isInitialStateEvent || m_docked != e.m_docked)
         OnPltEvent(new PltEventArgs(PltEventType.UnDocked));
     m_docked = e.m_docked;
 }
Ejemplo n.º 3
0
 private void OnDocked(DockedStateArgs e)
 {
     if (Docked != null)
         Docked(this, e);
 }
Ejemplo n.º 4
0
 void m_spokes_UnDocked(object sender, DockedStateArgs e)
 {
     DebugPrint(MethodInfo.GetCurrentMethod().Name, "Headset is un-docked");
     DoCancelLockIfCheckBoxSet(dockedcheckBox);
 }
Ejemplo n.º 5
0
 void m_spokes_Docked(object sender, DockedStateArgs e)
 {
     DebugPrint(MethodInfo.GetCurrentMethod().Name, "Headset is docked");
     if (!e.m_isInitialStateEvent)
     {
         DoLockIfCheckBoxSet(dockedcheckBox, "Headset was docked", GetSecondsDelay());
     }
 }
Ejemplo n.º 6
0
 void m_spokes_UnDocked(object sender, DockedStateArgs e)
 {
     DebugPrint(MethodInfo.GetCurrentMethod().Name, "@@@ Headset " + (e.m_isInitialStateEvent ? "INITIALLY " : "") + "UnDocked");
 }
Ejemplo n.º 7
0
 static void spokes_UnDocked(object sender, DockedStateArgs e)
 {
     Console.WriteLine("UnDocked, sending message to Client App via socket...");
     if (socket == null)
     {
         Console.WriteLine("INFO: No client connected.");
         return;
     }
     socket.sendMsg("UnDocked," + e.m_docked + "," + e.m_isInitialStateEvent);
 }
Ejemplo n.º 8
0
 void m_spokes_Docked(object sender, DockedStateArgs e)
 {
     if (e.m_isInitialStateEvent || m_docked != e.m_docked || !m_haddockingevent)
         OnPltEvent(new PltEventArgs(PltEventType.Docked));
     m_docked = e.m_docked;
     m_haddockingevent = true;
 }