public void RegisterSource(string name, IFastSource source) { List <IFastSource> temp; if (FastSourceDic.TryGetValue(name, out temp)) { FastSourceDic[name].Add(source); } else { FastSourceDic.Add(name, new List <IFastSource>()); FastSourceDic[name].Add(source); } }
int NumberPointCount = 2;//y轴小数点位数 public Yaxis(CommonProperty CommonData, IFastSource FastSourceInstance, int NumberPointCount = 2) { this.CommonData = CommonData; this.FastSourceInstance = FastSourceInstance; this.NumberPointCount = NumberPointCount; }