예제 #1
0
        public StaticIsolines(ObservableCollection <VisualizationDataSource> dataSources, Host host)
        {
            dataSources.CollectionChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(dataSources_CollectionChanged);
            this.host = host;
            layers    = new List <IsolinesLayer>();
            palette   = new LinearPalette(swm.Colors.Blue, swm.Colors.Green, swm.Colors.Red);

            runningIsoline = new RunningIsoline(null, host);
            host.Actors.Add(runningIsoline);
        }
예제 #2
0
		public StaticIsolines(ObservableCollection<VisualizationDataSource> dataSources, Host host)
		{
			dataSources.CollectionChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(dataSources_CollectionChanged);
			this.host = host;
			layers = new List<IsolinesLayer>();
            palette = new LinearPalette(swm.Colors.Blue, swm.Colors.Green, swm.Colors.Red);

            runningIsoline = new RunningIsoline(null, host);
            host.Actors.Add(runningIsoline);
		}