The following example shows how to view the list of meters which are located in a specific facility (7023 - Springfield Recreational Centre).
// Get the Springfield Recreational Centre facility (ID 7023) Facility facility = api.PortfolioManager.GetFacility("ManagingEnergy_Template", "01", "7023");
// Get the list of meters at this facility Meter[] meters = facility.GetMeters(api);
// display the meteres foreach (ManagingEnergy.Meter meter in meters) Console.WriteLine(meter);
// OUTPUT 7023 E - 7896541236 7023 NG1 - 32165478965 7023 NG2 - 25836914764 |