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();
 }
Exemplo n.º 2
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();
 }
Exemplo n.º 3
0
 public Project(object key, string number, string name) 
     : base(key)
 {
     this.number = number;
     this.name = name;
     this.address = null;
     this.owner = new Company();
     this.constructionAdministrator = null;
     this.principalInCharge = null;
     this.contractDate = null;
     this.estimatedStartDate = null;
     this.estimatedCompletionDate = null;
     this.adjustedCompletionDate = null;
     this.currentCompletionDate = null;
     this.actualCompletionDate = null;
     this.contingencyAllowanceAmount = 0;
     this.testingAllowanceAmount = 0;
     this.utilityAllowanceAmount = 0;
     this.originalConstructionCost = 0;
     this.totalChangeOrderDays = 0;
     this.adjustedConstructionCost = 0;
     this.totalChangeOrdersAmount = 0;
     this.totalSquareFeet = 0;
     this.percentComplete = 0;
     this.remarks = string.Empty;
     this.aeChangeOrderAmount = 0;
     this.contractReason = string.Empty;
     this.agencyApplicationNumber = string.Empty;
     this.agencyFileNumber = string.Empty;
     this.segment = null;
     this.allowances = new List<Allowance>();
     this.contracts = new List<Contract>();
     this.contacts = new List<ProjectContact>();
 }
Exemplo n.º 4
0
 public Submittal(object key, SpecificationSection specSection, 
     object projectKey) : base(key, projectKey)
 {
     this.specSection = specSection;
     this.specSectionPrimaryIndex = "01";
     this.specSectionSecondaryIndex = "00";
     this.to = null;
     this.from = null;
     this.dateReceived = null;
     this.contractNumber = string.Empty;
     this.trackingItems = new List<TrackingItem>();
     this.remarks = string.Empty;
     this.action = ActionStatus.NoExceptionTaken;
     this.status = null;
     this.dateToField = null;
     this.remainderLocation = SubmittalRemainderLocation.None;
     this.remainderUnderSubmittalNumber = string.Empty;
     this.otherRemainderLocation = string.Empty;
     this.ValidateInitialization();
 }
Exemplo n.º 5
0
 public static Employee ToEmployee(EmployeeContract contract)
 {
     Employee employee = null;
     if (contract != null)
     {
         employee = new Employee(contract.Key, contract.FirstName,
                                contract.LastName);
         employee.FirstName = contract.FirstName;
         employee.Initials = contract.Initials;
         employee.JobTitle = contract.JobTitle;
         employee.LastName = contract.LastName;
     }
     return employee;
 }
Exemplo n.º 6
0
 public static EmployeeContract ToEmployeeContract(Employee employee)
 {
     EmployeeContract contract = null;
     if (employee != null)
     {
         contract = new EmployeeContract();
         contract.Key = employee.Key;
         contract.FirstName = employee.FirstName;
         contract.Initials = employee.Initials;
         contract.JobTitle = employee.JobTitle;
         contract.LastName = employee.LastName;
     }
     return contract;
 }