Exemple #1
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;
 }
 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());
     }
 }
Exemple #3
0
 static void spokes_Docked(object sender, DockedStateArgs e)
 {
     Console.WriteLine("Docked, sending message to Client App via socket...");
     if (socket == null)
     {
         Console.WriteLine("INFO: No client connected.");
         return;
     }
     socket.sendMsg("Docked," + e.m_docked + "," + e.m_isInitialStateEvent);
 }
 void m_spokes_Docked(object sender, DockedStateArgs e)
 {
     UpdateDockedStateToConnection(e.m_docked, e.m_isInitialStateEvent);
 }
Exemple #5
0
 void m_spokes_Docked(object sender, DockedStateArgs e)
 {
     DebugPrint(MethodInfo.GetCurrentMethod().Name, "@@@ Headset " + (e.m_isInitialStateEvent ? "INITIALLY " : "") + "Docked");
 }
 void m_spokes_UnDocked(object sender, DockedStateArgs e)
 {
     DebugPrint(MethodInfo.GetCurrentMethod().Name, "Headset is un-docked");
     DoCancelLockIfCheckBoxSet(dockedcheckBox);
 }