C# Class Zandmotor.Controls.Plot.PlotViewModel

Inheritance: Caliburn.Micro.Screen, IPlot
ファイルを表示 Open project: TNOCS/csTouch

Public Properties

Property Type Description
AvailableColors List
DesiredHeight double
_view PlotView
model OxyPlot.PlotModel

Public Methods

Method Description
ActualModel_Updating ( object sender, EventArgs e ) : void
DataSetEditDone ( ) : void
DataSetsCollectionChanged ( object sender, System e ) : void
Data_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
Drop ( object sender, SurfaceDragDropEventArgs e ) : void
FitAllDataSets ( ) : void
FitDataSet ( DataSet ds ) : void
OpenDataSetMenu ( DataSet ds, SurfaceButton b ) : void
OpenFunctionOperationMenu ( DataSet ds, SurfaceButton b ) : void
OpenGroupingMenu ( DataSet ds, SurfaceButton b ) : void
OpenGroupingOperationMenu ( DataSet ds, SurfaceButton b ) : void
OpenSettingsMenu ( SurfaceButton b ) : void
PlotViewModel ( ) : System
Plot_PreviewTouchDown ( object sender, System e ) : void
SetTimezone ( TimeZoneInfo timezone ) : void
SetTrackerTemplate ( System.Windows.Controls.ControlTemplate t ) : void
SmoothChanged ( ) : void
TimelineManager_TimeChanged ( object sender, System e ) : void
_bw_DoWork ( object sender, DoWorkEventArgs e ) : void
_view_PreviewMouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
_view_PreviewMouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
_view_PreviewMouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
_view_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
dateAxis_AxisChanged ( object sender, AxisChangedEventArgs e ) : void
ds_Updated ( object sender, EventArgs e ) : void

Protected Methods

Method Description
OnViewLoaded ( object view ) : void

Private Methods

Method Description
AddDataSet ( DataSet ds ) : void
CalculateAggregate ( double>.SortedDictionary input ) : double>>.List
CalculateReduction ( double>.SortedDictionary input ) : double>.SortedDictionary
FitDataSets ( ) : void
GetDataSet ( DataSet ds ) : double>>.List
GetMenu ( FrameworkElement fe ) : MenuPopupViewModel
RemoveDataSet ( DataSet dataSet ) : void
UpdateDataSet ( DataSet ds ) : void

Method Details

ActualModel_Updating() public method

public ActualModel_Updating ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

DataSetEditDone() public method

public DataSetEditDone ( ) : void
return void

DataSetsCollectionChanged() public method

public DataSetsCollectionChanged ( object sender, System e ) : void
sender object
e System
return void

Data_CollectionChanged() public method

public Data_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
sender object
e System.Collections.Specialized.NotifyCollectionChangedEventArgs
return void

Drop() public method

public Drop ( object sender, SurfaceDragDropEventArgs e ) : void
sender object
e SurfaceDragDropEventArgs
return void

FitAllDataSets() public method

public FitAllDataSets ( ) : void
return void

FitDataSet() public method

public FitDataSet ( DataSet ds ) : void
ds csEvents.Sensors.DataSet
return void

OnViewLoaded() protected method

protected OnViewLoaded ( object view ) : void
view object
return void

OpenDataSetMenu() public method

public OpenDataSetMenu ( DataSet ds, SurfaceButton b ) : void
ds csEvents.Sensors.DataSet
b SurfaceButton
return void

OpenFunctionOperationMenu() public method

public OpenFunctionOperationMenu ( DataSet ds, SurfaceButton b ) : void
ds csEvents.Sensors.DataSet
b SurfaceButton
return void

OpenGroupingMenu() public method

public OpenGroupingMenu ( DataSet ds, SurfaceButton b ) : void
ds csEvents.Sensors.DataSet
b SurfaceButton
return void

OpenGroupingOperationMenu() public method

public OpenGroupingOperationMenu ( DataSet ds, SurfaceButton b ) : void
ds csEvents.Sensors.DataSet
b SurfaceButton
return void

OpenSettingsMenu() public method

public OpenSettingsMenu ( SurfaceButton b ) : void
b SurfaceButton
return void

PlotViewModel() public method

public PlotViewModel ( ) : System
return System

Plot_PreviewTouchDown() public method

public Plot_PreviewTouchDown ( object sender, System e ) : void
sender object
e System
return void

SetTimezone() public method

public SetTimezone ( TimeZoneInfo timezone ) : void
timezone System.TimeZoneInfo
return void

SetTrackerTemplate() public method

public SetTrackerTemplate ( System.Windows.Controls.ControlTemplate t ) : void
t System.Windows.Controls.ControlTemplate
return void

SmoothChanged() public method

public SmoothChanged ( ) : void
return void

TimelineManager_TimeChanged() public method

public TimelineManager_TimeChanged ( object sender, System e ) : void
sender object
e System
return void

_bw_DoWork() public method

public _bw_DoWork ( object sender, DoWorkEventArgs e ) : void
sender object
e System.ComponentModel.DoWorkEventArgs
return void

_view_PreviewMouseLeftButtonDown() public method

public _view_PreviewMouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
return void

_view_PreviewMouseLeftButtonUp() public method

public _view_PreviewMouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
return void

_view_PreviewMouseMove() public method

public _view_PreviewMouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
sender object
e System.Windows.Input.MouseEventArgs
return void

_view_SizeChanged() public method

public _view_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
sender object
e System.Windows.SizeChangedEventArgs
return void

dateAxis_AxisChanged() public method

public dateAxis_AxisChanged ( object sender, AxisChangedEventArgs e ) : void
sender object
e AxisChangedEventArgs
return void

ds_Updated() public method

public ds_Updated ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

AvailableColors public_oe property

public List AvailableColors
return List

DesiredHeight public_oe property

public double DesiredHeight
return double

_view public_oe property

public PlotView,Zandmotor.Controls.Plot _view
return PlotView

model public_oe property

public PlotModel,OxyPlot model
return OxyPlot.PlotModel