void IRepositoryReadedEntity.LoadFromRecordset(IMRecordset source) { this.Id = source.GetI(MD.AllStations.Fields.Id); this.Latitude = source.GetD(MD.AllStations.Fields.Latitude); this.Longitude = source.GetD(MD.AllStations.Fields.Longitude); this.TableId = source.GetI(MD.AllStations.Fields.TableId); this.TableName = source.GetS(MD.AllStations.Fields.TableName); this.Standart = source.GetS(MD.AllStations.Fields.Standart); }
void IRepositoryReadedEntity.LoadFromRecordset(IMRecordset source) { this.Id = source.GetI(MD.MobStationFrequencies.Fields.Id); this.StationId = source.GetI(MD.MobStationFrequencies.Fields.StationId); this.ChannelTxRef = new ChannelTx { Channel = source.GetS(MD.MobStationFrequencies.Fields.ChannelTx.Channel).TryToInt(), PlanId = source.GetI(MD.MobStationFrequencies.Fields.ChannelTx.PlanId), Freq = Convert.ToDecimal(source.GetD(MD.MobStationFrequencies.Fields.ChannelTx.Freq)) }; }
void IRepositoryReadedEntity.LoadFromRecordset(IMRecordset source) { this.Id = source.GetI(MD.MobStations.Fields.Id); this.Agl = source.GetD(MD.MobStations.Fields.Agl); this.Azimut = source.GetD(MD.MobStations.Fields.Azimut); this.BW = source.GetD(MD.MobStations.Fields.BW); this.DesignEmission = source.GetS(MD.MobStations.Fields.DesignEmission); this.Name = source.GetS(MD.MobStations.Fields.Name); this.CustTxt13 = source.GetS(MD.MobStations.Fields.CustTxt13); this.Power = source.GetD(MD.MobStations.Fields.Power); this.Standart = source.GetS(MD.MobStations.Fields.Standart); this.OwnerRef = new Owner { Id = source.GetI(MD.MobStations.Fields.Owner.Id), Address = source.GetS(MD.MobStations.Fields.Owner.Address), Code = source.GetS(MD.MobStations.Fields.Owner.Code), Name = source.GetS(MD.MobStations.Fields.Owner.Name), PostCode = source.GetS(MD.MobStations.Fields.Owner.PostCode), RegistNum = source.GetS(MD.MobStations.Fields.Owner.RegistNum), }; this.PositionRef = new Position { Address = source.GetS(MD.MobStations.Fields.Position.Address), Latitude = source.GetD(MD.MobStations.Fields.Position.Latitude), Longitude = source.GetD(MD.MobStations.Fields.Position.Longitude), SubProvince = source.GetS(MD.MobStations.Fields.Position.SubProvince), }; }
void IRepositoryReadedEntity.LoadFromRecordset(IMRecordset source) { this.Id = source.GetI(MD.Allotments.Fields.Id); this.TableName = source.GetS(MD.Allotments.Fields.TableName); this.Status = source.GetS(MD.Allotments.Fields.Status); this.UserType = source.GetS(MD.Allotments.Fields.UserType); this.CustDate1 = source.GetT(MD.Allotments.Fields.CustDate1); this.CustDate2 = source.GetT(MD.Allotments.Fields.CustDate2); this.CustNum2 = source.GetD(MD.Allotments.Fields.CustNum2); this.CustNum3 = source.GetD(MD.Allotments.Fields.CustNum3); this.CustText1 = source.GetS(MD.Allotments.Fields.CustText1); this.CustText2 = source.GetS(MD.Allotments.Fields.CustText2); this.CustText3 = source.GetS(MD.Allotments.Fields.CustText3); this.CustText4 = source.GetS(MD.Allotments.Fields.CustText4); this.MeasTaskId = source.GetI(MD.Allotments.Fields.MeasTaskId); this.PlanRef = new Plan { Id = source.GetI(MD.Allotments.Fields.Plan.Id), ChannelSep = source.GetD(MD.Allotments.Fields.Plan.ChannelSep), Bandwidth = source.GetD(MD.Allotments.Fields.Plan.Bandwidth) }; }
void IRepositoryReadedEntity.LoadFromRecordset(IMRecordset source) { this.PlanId = source.GetI(MD.FreqPlanChan.Fields.PlanId); this.Freq = source.GetD(MD.FreqPlanChan.Fields.Freq); }