コード例 #1
0
 public ProposalRequest(object key, object projectKey,
                        int number) : base(key, projectKey)
 {
     this.number    = number;
     this.to        = null;
     this.from      = null;
     this.issueDate = null;
     this.GetExpectedContractorReturnDays();
     this.expectedContractorReturnDate =
         this.TransmittalDate.AddDays(this.expectedContractorReturnDays);
     this.contractor          = null;
     this.description         = string.Empty;
     this.attachment          = string.Empty;
     this.reason              = string.Empty;
     this.initiator           = string.Empty;
     this.cause               = 0;
     this.origin              = 0;
     this.remarks             = string.Empty;
     this.numberSpecification =
         new NumberSpecification <ProposalRequest>();
     this.descriptionSpecification =
         new DescriptionSpecification <ProposalRequest>();
     this.ValidateInitialization();
     this.brokenRuleMessages = new ProposalRequestRuleMessages();
 }
コード例 #2
0
 public ConstructionChangeDirective(object key, object projectKey,
                                    int number) : base(key, projectKey)
 {
     this.number                  = number;
     this.to                      = null;
     this.from                    = null;
     this.issueDate               = null;
     this.contractor              = null;
     this.description             = string.Empty;
     this.attachment              = string.Empty;
     this.reason                  = string.Empty;
     this.initiator               = string.Empty;
     this.cause                   = 0;
     this.origin                  = 0;
     this.remarks                 = string.Empty;
     this.changeType              = null;
     this.priceChangeDirection    = ChangeDirection.Unchanged;
     this.amountChanged           = 0;
     this.timeChangeDirection     = ChangeDirection.Unchanged;
     this.timeChanged             = 0;
     this.ownerSignatureDate      = null;
     this.architectSignatureDate  = null;
     this.contractorSignatureDate = null;
     this.numberSpecification     =
         new NumberSpecification <ConstructionChangeDirective>();
     this.descriptionSpecification =
         new DescriptionSpecification <ConstructionChangeDirective>();
     this.changeOrderKey = null;
     this.ValidateInitialization();
     this.brokenRuleMessages =
         new ConstructionChangeDirectiveRuleMessages();
 }