Exemple #1
0
 void IRepositoryReadedEntity.LoadFromRecordset(IMRecordset source)
 {
     this.Id               = source.GetI(MD.Inspection.Fields.Id);
     this.Status           = source.GetS(MD.Inspection.Fields.Status);
     this.StationTableId   = source.GetI(MD.Inspection.Fields.StationTableId);
     this.StationTableName = source.GetS(MD.Inspection.Fields.StationTableName);
     this.TourId           = source.GetI(MD.Inspection.Fields.TourId);
 }
Exemple #2
0
 void IRepositoryReadedEntity.LoadFromRecordset(IMRecordset source)
 {
     this.Id            = source.GetI(MD.Tours.Fields.Id);
     this.Status        = source.GetS(MD.Tours.Fields.Status);
     this.LocationList  = source.GetS(MD.Tours.Fields.LocationList);
     this.RadioTechList = source.GetS(MD.Tours.Fields.RadioTechList);
     this.StartDate     = source.GetT(MD.Tours.Fields.StartDate);
     this.StopDate      = source.GetT(MD.Tours.Fields.StopDate);
 }
Exemple #3
0
 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);
 }
Exemple #4
0
 void IRepositoryReadedEntity.LoadFromRecordset(IMRecordset source)
 {
     this.Id                = source.GetI(MD.Tours.Fields.Id);
     this.Status            = source.GetS(MD.Tours.Fields.Status);
     this.StartDate         = source.GetT(MD.Tours.Fields.StartDate);
     this.StopDate          = source.GetT(MD.Tours.Fields.StopDate);
     this.MeasTaskId        = source.GetI(MD.Tours.Fields.MeasTaskId);
     this.MeasTaskName      = source.GetS(MD.Tours.Fields.MeasTaskName);
     this.SensorName        = source.GetS(MD.Tours.Fields.SensorName);
     this.SensorEquipTechId = source.GetS(MD.Tours.Fields.SensorEquipTechId);
 }
Exemple #5
0
 void IRepositoryReadedEntity.LoadFromRecordset(IMRecordset source)
 {
     this.Id             = source.GetI(MD.NfraApplication.Fields.Id);
     this.DozvDateCancel = source.GetT(MD.NfraApplication.Fields.DozvDateCancel);
     this.DozvDateFrom   = source.GetT(MD.NfraApplication.Fields.DozvDateFrom);
     this.DozvDateTo     = source.GetT(MD.NfraApplication.Fields.DozvDateTo);
     this.DozvNum        = source.GetS(MD.NfraApplication.Fields.DozvNum);
     this.ObjId1         = source.GetI(MD.NfraApplication.Fields.ObjId1);
     this.ObjId2         = source.GetI(MD.NfraApplication.Fields.ObjId2);
     this.ObjId3         = source.GetI(MD.NfraApplication.Fields.ObjId3);
     this.ObjId4         = source.GetI(MD.NfraApplication.Fields.ObjId4);
     this.ObjId5         = source.GetI(MD.NfraApplication.Fields.ObjId5);
     this.ObjId6         = source.GetI(MD.NfraApplication.Fields.ObjId6);
     this.ObjTable       = source.GetS(MD.NfraApplication.Fields.ObjTable);
 }
        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))
            };
        }
Exemple #7
0
        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)
            };
        }
Exemple #8
0
        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),
            };
        }