public WellInfo[] GetWells(string areaName)
{
List<WellInfo> wells = new List<WellInfo>();
for (int ii = 0; ii < s_WellUIDs.Length; ii++)
{
WellInfo well = new WellInfo();
well.Id = s_WellUIDs[ii];
well.Name = s_WellUIDs[ii];
if (s_WellNames.Length > ii)
{
int index = s_WellNames[ii].LastIndexOf('/');
if (index >= 0)
{
if (s_WellNames[ii].Substring(0, index) == areaName)
{
well.Name = s_WellNames[ii].Substring(index + 1);
wells.Add(well);
}
}
}
}
return wells.ToArray();
}