Example #1
0
 public Series_1_2(ESeriesType type, EFreq_1_2 freq)
 {
     //Creates minimal light series
     this.type = type;
     this.freq = freq;
     if (type != ESeriesType.Normal && type != ESeriesType.Light)
     {
         G.Writeln2("*** ERROR: Series constructor error");
         throw new GekkoException();
     }
 }
Example #2
0
 private bool Type(ESeriesType type)
 {
     //type is not used here, just a decorator
     return(this.name == null);  //then this.meta will also be null, but we only test .name
 }