public DataSource(string name, DsType type, double min, double max) { Name = name; Type = type; Min = min; Max = max; }