예제 #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();
 }
예제 #3
0
 public ChangeOrder(object key, object projectKey,
                    int number) : base(key)
 {
     this.projectKey               = projectKey;
     this.number                   = number;
     this.effectiveDate            = DateTime.Now;
     this.contractor               = null;
     this.description              = string.Empty;
     this.changeType               = null;
     this.priceChangeDirection     = ChangeDirection.Unchanged;
     this.previousAuthorizedAmount = null;
     this.previousTimeChangedTotal = null;
     this.amountChanged            = 0;
     this.timeChangeDirection      = ChangeDirection.Unchanged;
     this.timeChanged              = 0;
     this.routingItems             = new List <RoutingItem>();
     this.status                   = null;
     this.agencyApprovedDate       = null;
     this.dateToField              = null;
     this.ownerSignatureDate       = null;
     this.architectSignatureDate   = null;
     this.contractorSignatureDate  = null;
     this.numberSpecification      =
         new NumberSpecification <ChangeOrder>();
     this.descriptionSpecification = new DescriptionSpecification <ChangeOrder>();
     this.ValidateInitialization();
 }
 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();
 }
예제 #5
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();
 }
예제 #6
0
 public ChangeOrder(object key, object projectKey, 
     int number) : base(key)
 {
     this.projectKey = projectKey;
     this.number = number;
     this.effectiveDate = DateTime.Now;
     this.contractor = null;
     this.description = string.Empty;
     this.changeType = null;
     this.priceChangeDirection = ChangeDirection.Unchanged;
     this.previousAuthorizedAmount = null;
     this.previousTimeChangedTotal = null;
     this.amountChanged = 0;
     this.timeChangeDirection = ChangeDirection.Unchanged;
     this.timeChanged = 0;
     this.routingItems = new List<RoutingItem>();
     this.status = null;
     this.agencyApprovedDate = null;
     this.dateToField = null;
     this.ownerSignatureDate = null;
     this.architectSignatureDate = null;
     this.contractorSignatureDate = null;
     this.numberSpecification =
         new NumberSpecification<ChangeOrder>();
     this.descriptionSpecification = new DescriptionSpecification<ChangeOrder>();
     this.ValidateInitialization();
 }