Exemplo n.º 1
0
 private void OnOnMobileCall(OnMobileCallArgs e)
 {
     if (OnMobileCall != null)
         OnMobileCall(this, e);
 }
Exemplo n.º 2
0
 void m_spokes_OnMobileCall(object sender, OnMobileCallArgs e)
 {
     OnPltEvent(new PltEventArgs(PltEventType.OnMobileCall, e.Incoming.ToString(), e.State.ToString()));
 }
Exemplo n.º 3
0
 void m_spokes_OnMobileCall(object sender, OnMobileCallArgs e)
 {
     DebugPrint(MethodInfo.GetCurrentMethod().Name, "@@@ On Mobile Call: incoming = " + e.Incoming + ", state = "+e.State);
 }
Exemplo n.º 4
0
        void m_spokes_OnMobileCall(object sender, OnMobileCallArgs e)
        {
            LogMessage(MethodInfo.GetCurrentMethod().Name, ">>> On Mobile Call: " + e.State);
            UpdateDeviceStatusGUIItem(mobileStateLbl, e.State == MobileCallState.OnCall ? "On Call" : "Ringing");
            UpdateDeviceStatusGUIItem(mobileCallDirectionLbl, e.Incoming ? "Incoming " : "Outgoing");
            UpdateDevicePictureBox(mobileStatePictureBox, Properties.Resources.mobile_onCall);
            SetMobileCallControlGUIEnabled(e.State);
            m_onmobcall = true;

            AnimateBackgroundColor(mobileStatePictureBox, Color.FromArgb(0, 51, 102));
        }
Exemplo n.º 5
0
 static void spokes_OnMobileCall(object sender, OnMobileCallArgs e)
 {
     Console.WriteLine("OnMobileCall, sending message to Client App via socket...");
     if (socket == null)
     {
         Console.WriteLine("INFO: No client connected.");
         return;
     }
     socket.sendMsg("OnMobileCall,"+e.Incoming+","+(int)e.State);
 }