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(); } }
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 }