public override SbnObject Clone(string sNodeName)
        {
            OfferCommission commission = new OfferCommission
            {
                ID = base.ID
            };

            if (this._EndWorkDate != null)
            {
                commission.EndWorkDate = (string)this._EndWorkDate.Clone();
            }
            if (this._AssignDate != null)
            {
                commission.AssignDate = (string)this._AssignDate.Clone();
            }
            if (!object.ReferenceEquals(this.Status, null))
            {
                commission.Status = (BasicInfoDetail)this.Status.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.CorrelateOffer, null))
            {
                commission.CorrelateOffer = (Offer)this.CorrelateOffer.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.CorrelateCommission, null))
            {
                commission.CorrelateCommission = (BasicInfoDetail)this.CorrelateCommission.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.AdminExpert, null))
            {
                commission.AdminExpert = (CommissionExpert)this.AdminExpert.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.OfferEngineerings, null))
            {
                commission.OfferEngineerings = (Engineerings)this.OfferEngineerings.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.GovReports, null))
            {
                commission.GovReports = (GovernmentReports)this.GovReports.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.CommissionReports, null))
            {
                commission.CommissionReports = (OfferCommissionReports)this.CommissionReports.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.Sessions, null))
            {
                commission.Sessions = (CommissionSessions)this.Sessions.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.CommissionResults, null))
            {
                commission.CommissionResults = (OfferCommissionResults)this.CommissionResults.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.OrderInCommissionSession, null))
            {
                commission.OrderInCommissionSession = this.OrderInCommissionSession;
            }

            return(commission);
        }
 public override void Initialize()
 {
     base.Initialize();
     this._AssignDate               = "";
     this._EndDate                  = "";
     this._CorrelateExpert          = new CommissionExpert();
     this._CorrelateOffer           = new Offer();
     this._CorrelateOfferCommission = new OfferCommission();
     this._CorrelateGovReports      = new GovernmentReports();
 }
 public override void Initialize()
 {
     base.Initialize();
     this._TextContent          = "";
     this._CorrelateEngineering = new Engineering();
     this._CorrelateOffer       = new Offer();
     this._Pictures             = new OfferCommissionReportPics();
     this._WordDoc           = new GeneralDocument();
     this._CoOfferCommission = new OfferCommission();
     this._ComSessionType    = new BasicInfoDetail();
 }
Exemplo n.º 4
0
 public override void Initialize()
 {
     base.Initialize();
     this._OpportunityDate          = "";
     this._Text                     = "";
     this._ResponseAbstract         = "";
     this._Responses                = new InquiryResponses();
     this._CorrelateOffer           = new Offer();
     this._CorrelateLetter          = new Letter();
     this._CorrelateExpert          = new CommissionExpert();
     this._CorrelateOfferCommission = new OfferCommission();
     this._WordDoc                  = new GeneralDocument();
     this._Pursuits                 = new InquiryPursuits();
     this.Sensitivity               = new BasicInfoDetail();
 }
Exemplo n.º 5
0
        public override void Initialize()
        {
            base.Initialize();
            this._OrderInCatalogue         = 0;
            this._OfficialCode             = "";
            this._VicePresidentReceiptdate = "";
            this._VicePresidentLetterID    = "";
            this._GovOfficeReceiptDate     = "";
            this._RegisterDate             = "";
            this._OfferComment             = "";
            this._GovSessionTitle          = "";
            this._OtherLetters             = new Letters();
            this._ApprovalLetters          = new Sbn.Products.GEP.GEPObject.ApprovalLetters();
            this._GovernReports            = new GovernmentReports();
            this._Inquiries              = new Sbn.Products.GEP.GEPObject.Inquiries();
            this._Status                 = new BasicInfoDetail();
            this._GovMemberOpinions      = new GovSessionMemberOpinions();
            this._Commissions            = new OfferCommissions();
            this._Engineerings           = new Sbn.Products.GEP.GEPObject.Engineerings();
            this._LawDocuments           = new ExpertLawDocuments();
            this._CorrelateOrgans        = new OfferOrgUnits();
            this._OfferAbstract          = new Sbn.Products.GEP.GEPObject.OfferAbstract();
            this._OfferCommuniqueText    = new Sbn.Products.GEP.GEPObject.OfferCommuniqueText();
            this._Urgency                = new BasicInfoDetail();
            this._OfferLetter            = new Letter();
            this._Security               = new BasicInfoDetail();
            this._Complication           = new BasicInfoDetail();
            this._Importance             = new BasicInfoDetail();
            this._OfferType              = new BasicInfoDetail();
            this._StatusInGovOrderOffice = new BasicInfoDetail();
            this._Subjects               = new OfferSubjects();
            this._CommissionReports      = new OfferCommissionReports();
            this._PreObservation         = new Sbn.Products.GEP.GEPObject.PreObservation();
            this._OwnerOrgan             = new OfferOrgUnit();
            this._ActiveCommission       = new OfferCommission();
            this._CommuniqueStatus       = new BasicInfoDetail();
            this._OfferRelations         = new OfferRelations();

            this._IsPublishable   = PublishableState.None;
            this._PublishableDate = "";
            this._WordDoc         = new GeneralDocument();
        }