private string GetResourcePortMapPath()
{
string path = null;
if (_testStationDescription != null)
path = MessageManager.getMessage("testStation.resource.port.map.path");
else if (_instrument != null)
path = MessageManager.getMessage("instrument.resource.port.map.path");
else if (_testAdapterDescription != null)
path = MessageManager.getMessage("testAdapter.resource.port.map.path");
return path;
}