Exemplo n.º 1
0
        void serviceList_SelectedValueChanged(object sender, EventArgs e)
        {
            var service = serviceList.SelectedItem as ServiceDetails;
            if (service == null)
                return;

            dabRadioGraph.Stop();

            if (currentService != null)
            {
                controller.Delete(currentService);
                currentService = null;
            }

            controller.Add(service);
            currentService = service;
            Thread.Sleep(800);
            
            var result = controller.QueryConnect();
            if (result != FmResult.Ok)
                return;
            dabRadioGraph.Play();
        }
Exemplo n.º 2
0
 public void Delete(ServiceDetails service)
 {
     filterInterface.DeleteService(service.Mode, service.SubChannelId, service.PacketAddr);
 }
Exemplo n.º 3
0
 public void Add(ServiceDetails service)
 {
     filterInterface.AddService(service.Mode, service.SubChannelId, service.FirstCapacityUnit, service.EqualErrorProtection,
                           service.UepIndex, service.EepIndex, service.NumberCapacityUnits, service.PacketAddr,
                           service.FecScheme);
 }
Exemplo n.º 4
0
 public void Delete(ServiceDetails service)
 {
     filterInterface.DeleteService(service.Mode, service.SubChannelId, service.PacketAddr);
 }
Exemplo n.º 5
0
 public void Add(ServiceDetails service)
 {
     filterInterface.AddService(service.Mode, service.SubChannelId, service.FirstCapacityUnit, service.EqualErrorProtection,
                                service.UepIndex, service.EepIndex, service.NumberCapacityUnits, service.PacketAddr,
                                service.FecScheme);
 }