public void SetChannel(string displayName, WCFChannel channel) { if (TuneToChannel != null) { TuneToChannel(displayName, channel); } }
void PlayerService_SendTunedChannel(string displayName, out WCFChannel ch) { if (playerWindows.Keys.Contains(displayName)) { ch = NetWCFConverter.ToWCF(playerWindows[displayName].GetChannel()); } else { ch = null; } }
public string GetDbConnectString(string Keys) { string result; try { result = WCFChannel.GetWCFChannle().Get_DBConnection(Keys); } catch (Exception) { WCFChannel.ReConnectChannle(); result = WCFChannel.GetWCFChannle().Get_DBConnection(Keys); } return(result); }
void PlayerService_TuneToChannel(string deviceName, WCFChannel ch) { FormJanelaFinal window = playerWindows[deviceName]; window.SetChannel(NetWCFConverter.ToNET(ch)); }