Пример #1
0
 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);
 }
Пример #2
0
        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);
            }
        }
Пример #3
0
 public void Dispose()
 {
     _set = null;
 }