Beispiel #1
0
        public static ProjectBreadcrumbs ForChart(int indicatorId)
        {
            var bc = new ProjectBreadcrumbs(ProjectBreadcrumbsType.Chart);

            bc.SetIndicator(indicatorId);
            return(bc);
        }
Beispiel #2
0
        public static ProjectBreadcrumbs ForObservationView(int indicatorId, int siteId)
        {
            var bc = new ProjectBreadcrumbs(ProjectBreadcrumbsType.ObservationView);

            bc.SetIndicator(indicatorId);
            bc.SetSite(siteId);
            return(bc);
        }
Beispiel #3
0
        public static ProjectBreadcrumbs ForObservationRecord(int indicatorId, int siteId, DateTime beginDate, DateTime endDate)
        {
            var bc = new ProjectBreadcrumbs(ProjectBreadcrumbsType.ObservationRecord);

            bc.SetIndicator(indicatorId);
            bc.SetSite(siteId);
            bc.ObservationBeginDate = beginDate;
            bc.ObservationEndDate   = endDate;
            return(bc);
        }