Exemplo n.º 1
0
        public TimeSeriesResourcesList GetResourceByGuid(Guid guid)
        {
            TimeSeriesResourcesList tmList = new TimeSeriesResourcesList();

            tmList.Load(guid);
            return(tmList);
        }
Exemplo n.º 2
0
        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);
        }