public DashboardCellPosition(DashboardCellPosition cellPosition) { RowIndex_ = cellPosition.RowIndex_; ColIndex_ = cellPosition.ColIndex_; ColSpan_ = cellPosition.ColSpan_; RowSpan_ = cellPosition.RowSpan_; }
// constructor public LinePlotCellConfig(LinePlotCellConfig cellConfig) { Name_ = cellConfig.Name_; BackgroundColorString_ = cellConfig.BackgroundColorString_; ForegroundColorString_ = cellConfig.ForegroundColorString_; MinWidth_ = cellConfig.MinWidth_; MinHeight_ = cellConfig.MinHeight_; Width_ = cellConfig.Height_; Height_ = cellConfig.Height_; WidthMode_ = cellConfig.WidthMode_; HeightMode_ = cellConfig.HeightMode_; HorizontalAlignment_ = cellConfig.HorizontalAlignment_; VerticalAlignment_ = cellConfig.VerticalAlignment_; CellWidth_ = cellConfig.CellWidth_; CellHeight_ = cellConfig.CellHeight_; CellPosition_ = new DashboardCellPosition(cellConfig.CellPosition_); TimeSeriesPoints_ = new List <IDashboardTimeSeriesPoint>(cellConfig.TimeSeriesPoints_); }