public TimeSeriesResourcesList GetResourceByGuid(Guid guid) { TimeSeriesResourcesList tmList = new TimeSeriesResourcesList(); tmList.Load(guid); return(tmList); }
public ResourceCatalog ResolveResources(Parameters parameters, string resourceType) { ResourceCatalog resCat = new ResourceCatalog(); if (resourceType == "timeseries") { TimeSeriesResourcesList tmList = new TimeSeriesResourcesList(); tmList.Load(parameters); for (int i = 0; i < tmList.timeResourcesLocal.Count; i++) { resCat.timeSeriesCatalog.Add(tmList.timeResourcesLocal[i]); } } return(resCat); }