Exemple #1
0
        //----------------------------------------------------------
        public RpdChannel CloneAndLinkWithMeter(RpdMeter m)
        {
            var ch = new RpdChannel(m, Number, Name, IsEnabled, IsService, Type);

            ch.DumpCondition.CopyFrom(DumpCondition);
            return(ch);
        }
Exemple #2
0
 /// <summary>
 /// Перекидывает ссылку на тренд этого канала и взводит все необходимые флаги у другого канала
 /// </summary>
 /// <param name="anotherChannel">канал, в который будет произведено копирование ссылки на тренд</param>
 public void CopyTrendToAnotherChannel(RpdChannel anotherChannel)
 {
     anotherChannel.Trend         = this.Trend;
     anotherChannel.IsTrendExists = this.IsTrendExists;
     anotherChannel.IsTrendLoaded = this.IsTrendLoaded;
 }