示例#1
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);
 }
示例#2
0
文件: Tour.cs 项目: tosha1983/atdi.ua
 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);
 }
示例#3
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.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);
 }
示例#4
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)
            };
        }