Пример #1
0
 public KulonSignal(int Frequency, double Level, double Speed, Chanel FirstChanel,
                    Chanel SecondChanel, int[] SynchroSequence1, int[] SynchroSequence2, bool BarkerCode)
 {
     this.Frequency        = Frequency;
     this.Level            = Level;
     this.Speed            = Speed;
     this.FirstChanel      = FirstChanel;
     this.SecondChanel     = SecondChanel;
     this.SynchroSequence1 = SynchroSequence1;
     this.SynchroSequence2 = SynchroSequence2;
     this.BarkerCode       = BarkerCode;
 }
Пример #2
0
        public void SetInformationInChanelByNumber(int numberOfChanel, Chanel signal)
        {
            var speed = Chanels[numberOfChanel].Speed;

            Chanels[numberOfChanel] = new Chanel(speed, signal.InformationString);
        }