예제 #1
0
 private void OnOnMobileCall(OnMobileCallArgs e)
 {
     if (OnMobileCall != null)
         OnMobileCall(this, e);
 }
예제 #2
0
파일: PLTLayer.cs 프로젝트: aliotta/Samples
 void m_spokes_OnMobileCall(object sender, OnMobileCallArgs e)
 {
     OnPltEvent(new PltEventArgs(PltEventType.OnMobileCall, e.Incoming.ToString(), e.State.ToString()));
 }
예제 #3
0
 void m_spokes_OnMobileCall(object sender, OnMobileCallArgs e)
 {
     DebugPrint(MethodInfo.GetCurrentMethod().Name, "@@@ On Mobile Call: incoming = " + e.Incoming + ", state = "+e.State);
 }
예제 #4
0
파일: Form1.cs 프로젝트: aliotta/Samples
        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));
        }
예제 #5
0
파일: Program.cs 프로젝트: aliotta/Samples
 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);
 }