/// <summary> /// Merges the location data. /// </summary> /// <param name="objRecord">The record location.</param> public void MergePLMRSLocationData(ULSRecord objRecord) { this.LocationNumber = objRecord.LocationNumber; this.CorrespondingFixedLocation = objRecord.CorrespondingFixedLocation; this.Latitude = objRecord.Latitude; this.Longitude = objRecord.Longitude; this.State = objRecord.State; this.City = objRecord.City; this.RadiusOfOperation = objRecord.RadiusOfOperation; this.DistanceToBaseStation = objRecord.DistanceToBaseStation; }
/// <summary> /// Merges the venue information. /// </summary> /// <param name="objRecord">The object record.</param> public void MergeVenueInformation(ULSRecord objRecord) { if (objRecord != null) { this.VenueName = objRecord.VenueName; this.VenueTypeCode = objRecord.VenueTypeCode; this.RegStreetAddress = objRecord.RegStreetAddress; this.RegCity = objRecord.RegCity; this.RegState = objRecord.RegState; this.RegZipCode = objRecord.RegZipCode; } }
/// <summary> /// Merges the frequency data. /// </summary> /// <param name="objRecord">The record Frequency.</param> public void MergeFrequencyData(ULSRecord objRecord) { if (objRecord != null) { this.FrequencyAssigned = objRecord.FrequencyAssigned; this.TxPower = objRecord.TxPower; this.Channel = objRecord.Channel; this.ClassStationCode = objRecord.ClassStationCode; this.FrequencyNumber = objRecord.FrequencyNumber; this.FrequencyLocationNumber = objRecord.FrequencyLocationNumber; } }
/// <summary> /// Merges the broadcast Station data. /// </summary> /// <param name="objRecord">The object record.</param> public void MergeBroadcastCallSignData(ULSRecord objRecord) { if (objRecord != null) { this.BroadcastCallSign = objRecord.BroadcastCallSign; this.FacilityIDOfParentStation = objRecord.FacilityIDOfParentStation; this.BroadcastCity = objRecord.BroadcastCity; this.BroadcastState = objRecord.BroadcastState; this.RadioServiceCodeOfParentStation = objRecord.RadioServiceCodeOfParentStation; this.TxLatitude = objRecord.TxLatitude; this.TxLongitude = objRecord.TxLongitude; this.BroadcastStationContour = objRecord.BroadcastStationContour; } }
/// <summary> /// Merges the NA data. /// </summary> /// <param name="objRecord">The object record.</param> public void MergeNAData(ULSRecord objRecord) { if (objRecord != null) { if (objRecord.EntityTypeCode == "R") { this.RegEntityName = objRecord.RegEntityName; this.RegFirstName = objRecord.RegFirstName; this.RegLastName = objRecord.RegLastName; this.RegPhone = objRecord.RegPhone; this.RegFax = objRecord.RegFax; this.RegEmail = objRecord.RegEmail; this.RegStreetAddress = objRecord.RegStreetAddress; this.RegCity = objRecord.RegCity; this.RegState = objRecord.RegState; this.RegZipCode = objRecord.RegZipCode; this.RegPOBox = objRecord.RegPOBox; this.FCCRegistrationNumber = objRecord.FCCRegistrationNumber; this.StatusCode = objRecord.StatusCode; this.EntityTypeCode = objRecord.EntityTypeCode; } else if (objRecord.EntityTypeCode == "C") { this.ContactEntityName = objRecord.RegEntityName; this.ContactFirstName = objRecord.RegFirstName; this.ContactLastName = objRecord.RegLastName; this.ContactPhone = objRecord.RegPhone; this.ContactFax = objRecord.RegFax; this.ContactEmail = objRecord.RegEmail; this.ContactStreetAddress = objRecord.RegStreetAddress; this.ContactCity = objRecord.RegCity; this.ContactState = objRecord.RegState; this.ContactZipCode = objRecord.RegZipCode; this.ContactPOBox = objRecord.RegPOBox; } } }
/// <summary> /// Merges the location data. /// </summary> /// <param name="objRecord">The record location.</param> public void MergeLocationData(ULSRecord objRecord) { if (objRecord != null) { this.LocationNumber = objRecord.LocationNumber; this.CorrespondingFixedLocation = objRecord.CorrespondingFixedLocation; // if site is Receiver if (string.IsNullOrEmpty(objRecord.LocationClassCode) || objRecord.LocationClassCode == "R") { this.Latitude = objRecord.Latitude; this.Longitude = objRecord.Longitude; this.State = objRecord.State; this.RadiusOfOperation = objRecord.RadiusOfOperation; this.DistanceToBaseStation = objRecord.DistanceToBaseStation; } else if (objRecord.LocationClassCode == "T") { // if site is transmitter this.TxLatitude = objRecord.Latitude; this.TxLongitude = objRecord.Longitude; } } }