private void GetStation(AudioAnalyzerConfigurationMonitorIDStation station)
        {
            Station stationSend = new Station();

            stationSend.StationID    = station.StationID;
            stationSend.StationName  = station.StationName;
            stationSend.ListOfMeters = new List <Meter>();
            GetMeters(station, stationSend, station.MeterID.Count());
            Stations.Add(stationSend);
        }
 private void GetMeters(AudioAnalyzerConfigurationMonitorIDStation station, Station stationSend, int numberOfMeters)
 {
     for (int i = 0; i < station.MeterID.Count(); i++)
     {
         Meter catcherModelSend = new Meter();
         catcherModelSend.MeterID      = station.MeterID[i].MeterID;
         catcherModelSend.FriendlyName = station.MeterID[i].FriendlyName;
         catcherModelSend.IsActive     = station.MeterID[i].IsActive;
         catcherModelSend = AddDevice(catcherModelSend);
         catcherModelSend.HostIPAdress = NetworkHelpers.ResolveIpAdress();
         stationSend.ListOfMeters.Add(catcherModelSend);
         if (catcherModelSend.IsActive == true)
         {
             Meters.Add(catcherModelSend);
         }
     }
 }