예제 #1
0
 public ChannelData(DataSourceType t, Channel channel, Array data, bool partial, double samplePeriod, double timeOffset = 0)
 {
     this.partial = partial;
     this.source = t;
     this.channel = channel;
     this.array = data;
     this.timeOffset = timeOffset;
     this.samplePeriod = samplePeriod;
 }
예제 #2
0
 public static void Destroy(Channel ch)
 {
     if (ch.Destructable)
         list.Remove(ch);
 }
예제 #3
0
 public static int CompareByOrder(Channel a, Channel b)
 {
     return a.Order - b.Order;
 }