/[cits3200i]/trunk/UWAPlugins/PlaybackPlugin/Source/PlaybackRouteControlSelection.cs


UCC Code Repository

Contents of /trunk/UWAPlugins/PlaybackPlugin/Source/PlaybackRouteControlSelection.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 62 - (show annotations) (download)
Thu Sep 30 03:22:02 2010 UTC (11 years, 2 months ago) by rvvs89
File size: 994 byte(s)
Merging branch back into trunk.
1 using System;
2 using System.Collections.Generic;
3 using System.Text;
4 using ZoneFiveSoftware.Common.Visuals.Mapping;
5 using ZoneFiveSoftware.Common.Data;
6
7 namespace PlaybackPlugin.Source
8 {
9 class PlaybackRouteControlSelection : IRouteControlSelection
10 {
11 private IRouteControlItem item;
12 private DateTime currentTime;
13
14 public PlaybackRouteControlSelection(IRouteControlItem item, DateTime currentTime)
15 {
16 this.item = item;
17 this.currentTime = currentTime;
18 }
19
20 public IList<ZoneFiveSoftware.Common.Data.IValueRange<double>> DistanceMetersRanges
21 {
22 get { return null; }
23 }
24
25 public IRouteControlItem Item
26 {
27 get { return item; }
28 }
29
30 public IList<IValueRange<DateTime>> TimeRanges
31 {
32 get { return new List<IValueRange<DateTime>>{ new ValueRange<DateTime>(currentTime, currentTime) }; }
33 }
34 }
35 }

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26