Beispiel #1
0
 public override void Initialize()
 {
     base.Initialize();
     this._OpinionDescription = "";
     this._CorrelateSession   = new CommissionSession();
     this._CorrelateMember    = new CommissionSessionMember();
     this._CorrelateOffer     = new Offer();
     this._OpinionType        = new BasicInfoDetail();
     this._AnnotationPics     = new AnnotationPictures();
     this._OfferCommission    = new Sbn.Products.GEP.GEPObject.OfferCommission();
 }
 public override void Initialize()
 {
     base.Initialize();
     this._EnterTime            = "";
     this._Description          = "";
     this._ExitTime             = "";
     this._CorrelateSession     = new CommissionSession();
     this._CorrelatePerson      = new MFPerson();
     this._IsPresent            = SbnBoolean.OutOfValue;
     this._IsStaticMember       = SbnBoolean.OutOfValue;
     this._CorrelateOrgPosition = new MFOrgPosition();
     this._Justifiable          = SbnBoolean.OutOfValue;
 }
 public override void Initialize()
 {
     base.Initialize();
     this._ResultText        = "";
     this._Reasons           = "";
     this._PlanningProcess   = "";
     this._CommuniqueText    = "";
     this._Duration          = "";
     this._CorrelateLetter   = new Letter();
     this._ApprovalType      = new BasicInfoDetail();
     this._CorrelateOffer    = new Offer();
     this._CorrelateSession  = new CommissionSession();
     this._AgainstResultType = new BasicInfoDetail();
     this._OfferCommission   = new Sbn.Products.GEP.GEPObject.OfferCommission();
 }
Beispiel #4
0
        public override SbnObject Clone(string sNodeName)
        {
            CommissionSession session = new CommissionSession
            {
                ID = base.ID
            };

            if (this._SessionDate != null)
            {
                session.SessionDate = (string)this._SessionDate.Clone();
            }
            session.Duration        = this._Duration;
            session.StartTime       = this._StartTime;
            session.FinishTime      = this._FinishTime;
            session.SessionTime     = this._SessionTime;
            session.LocationAddress = this._LocationAddress;
            if (!object.ReferenceEquals(this.CorrelateCommission, null))
            {
                session.CorrelateCommission = (BasicInfoDetail)this.CorrelateCommission.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.CorrelateOffers, null))
            {
                session.CorrelateOffers = (OfferCommissions)this.CorrelateOffers.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.Members, null))
            {
                session.Members = (CommissionSessionMembers)this.Members.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.SessionOrder, null))
            {
                session.SessionOrder = (CommissionSessionOrder)this.SessionOrder.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.CancelSessionOrder, null))
            {
                session.CancelSessionOrder = (CancelCommissionSessionOrder)this.CancelSessionOrder.Clone(sNodeName);
            }

            if (!object.ReferenceEquals(this.CommissionSessionType, null))
            {
                session.CommissionSessionType = (BasicInfoDetail)this.CommissionSessionType.Clone(sNodeName);
            }
            session.IsCanceled = this.IsCanceled;
            if (!object.ReferenceEquals(this.CoLetters, null))
            {
                session.CoLetters = (Letters)this.CoLetters.Clone(sNodeName);
            }

            if (!object.ReferenceEquals(this.WordDoc, null))
            {
                session.WordDoc = (GeneralDocument)WordDoc.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this._CancelWordDoc, null))
            {
                session.CancelWordDoc = (GeneralDocument)CancelWordDoc.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.CommissionSessionVoice, null))
            {
                session.CommissionSessionVoice = this.CommissionSessionVoice;
            }
            //   session.Extension = this._Extension;

            if (!object.ReferenceEquals(this.Sensitivity, null))
            {
                session.Sensitivity = (BasicInfoDetail)this.Sensitivity.Clone(sNodeName);
            }

            return(session);
        }