示例#1
0
        private void MapAnalogChannel(DataMapping rawChannel, int slotIndex, ChannelList list, decimal freq)
        {
            bool isCable = (list.SignalSource & SignalSource.Cable) != 0;
              AnalogChannel ci = new AnalogChannel(slotIndex, isCable, rawChannel, freq, c.SortedFavorites);
              if (!ci.InUse)
            return;

              this.DataRoot.AddChannel(list, ci);
        }