Ejemplo n.º 1
0
        public DCWrapper(int length) : base(length)
        {
            SDCount = Program.SoftwareDownsampleCount;

            SDIndex   = 0;
            SDIQArray = new IQInfo[Program.NumberOfChannels];
            Enumerable.Range(0, Program.NumberOfChannels).ToList().ForEach(i => { SDIQArray[i] = new IQInfo(length); });
        }
Ejemplo n.º 2
0
 public DataContainer(int length)
 {
     Length          = length;
     data            = new byte[length * Program.DataUnit];
     WriteIndex      = 0;
     ConvertedLength = 0;
     IQArray         = new IQInfo[Program.NumberOfChannels];
     Enumerable.Range(0, Program.NumberOfChannels).ToList().ForEach(i => { IQArray[i] = new IQInfo(length); });
     TSArray = new long[length];
 }