private void OnOnMobileCall(OnMobileCallArgs e) { if (OnMobileCall != null) OnMobileCall(this, e); }
void m_spokes_OnMobileCall(object sender, OnMobileCallArgs e) { OnPltEvent(new PltEventArgs(PltEventType.OnMobileCall, e.Incoming.ToString(), e.State.ToString())); }
void m_spokes_OnMobileCall(object sender, OnMobileCallArgs e) { DebugPrint(MethodInfo.GetCurrentMethod().Name, "@@@ On Mobile Call: incoming = " + e.Incoming + ", state = "+e.State); }
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)); }
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); }