protected override void Init() { this.Name = "DFast" + (object)this.fLength + (string)(object)this.fOrder; this.Title = "DFast"; this.Clear(); this.fCalculate = true; if (this.fInput == null) { return; } if (TimeSeries.fNameOption == ENameOption.Long) { this.Name = this.fInput.Name + this.Name; } if (this.AtNX7GMo4 != null) { this.AtNX7GMo4.Detach(); } this.Disconnect(); this.AtNX7GMo4 = new K_Fast(this.fInput, this.fLength); this.AtNX7GMo4.DrawEnabled = false; this.Connect(); }
protected override void Init() { this.Name = "DSlow"+ (object) this.fLength + (string) (object) this.fOrder1 + (string) (object) this.fOrder2; this.Title = "DSlow"; this.Clear(); this.fCalculate = true; if (this.fInput == null) return; if (TimeSeries.fNameOption == ENameOption.Long) this.Name = this.fInput.Name + this.Name; this.Disconnect(); if (this.fK != null) this.fK.Detach(); this.fK = new K_Fast(this.fInput, this.fLength); this.fK.DrawEnabled = false; this.Connect(); }
protected override void Calculate(int index) { double Data = K_Fast.Value(this.fInput, index, this.fLength); this.Add(this.fInput.GetDateTime(index), Data); }