public MatrixMapPointSetEnumerator(MatrixMapPointSet set, int[] activeRows = null) { _currentRow = -1; _set = set; _activeRows = activeRows; _latIndex = FindIndex(_set.LatitudeColumn); _lonIndex = FindIndex(_set.LongitudeColumn); _siteIndex = FindIndex(_set.SiteIDColumn); _siteVisitIndex = FindIndex(_set.SiteVisitIDColumn); _materialIndex = FindIndex(_set.MaterialIDColumn); }
private void Plot(int[] selectedRowIndexes, string longColName, string latColName) { var map = PluginManager.Instance.GetMap(); if (map != null) { var set = new MatrixMapPointSet(_report.Name, Data, selectedRowIndexes); set.LongitudeColumn = longColName; set.LatitudeColumn = latColName; set.SiteIDColumn = FindColumnFromAlias(set.SiteIDColumn, "SiteID", "intSiteID", "Site Identifier"); set.SiteVisitIDColumn = FindColumnFromAlias(set.SiteVisitIDColumn, "SiteVisitID", "intSiteVisitID", "Visit Identifier"); set.MaterialIDColumn = FindColumnFromAlias(set.MaterialIDColumn, "MaterialID", "intMaterialID", "Material Identifier"); map.Show(); map.PlotPoints(set); } }
public void Dispose() { _set = null; }