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 RequestForInformation(object key, object projectKey, 
     int number) : base(key, projectKey)
 {
     this.number = number;
     this.from = null;
     this.dateReceived = null;
     this.dateRequestedBy = null;
     this.contractor = null;
     this.specSection = null;
     this.question = string.Empty;
     this.description = string.Empty;
     this.contractorProposedSolution = string.Empty;
     this.change = false;
     this.cause = 0;
     this.origin = 0;
     this.status = null;
     this.dateToField = null;
     this.shortAnswer = string.Empty;
     this.longAnswer = string.Empty;
     this.remarks = string.Empty;
     this.numberSpecification = new NumberSpecification<RequestForInformation>();
     this.dateToFieldSpecification = new RequestForInformationDateSpecification();
     this.questionAnswerSpecification = new RequestForInformationQuestionAnswerSpecification();
     this.ValidateInitialization();
 }
Exemplo n.º 3
0
 public RoutingItem(object key, Discipline discipline, 
     int routingOrder, ProjectContact recipient, 
     DateTime dateSent) 
     : this(key, discipline, 
         routingOrder, recipient, dateSent, null)
 {
 }
Exemplo n.º 4
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.º 5
0
 public static void SaveProjectContact(ProjectContact contact)
 {
     ProjectService.contactRepository[contact.Contact.Key] 
         = contact.Contact;
     // Add/Update the project contact
     ProjectService.projectRepository.SaveContact(contact);
     ProjectService.unitOfWork.Commit();
 }
Exemplo n.º 6
0
 public static void SaveProjectContact(ProjectContact contact)
 {
     ProjectService.contactRepository[contact.Contact.Key]
         = contact.Contact;
     // Add/Update the project contact
     ProjectService.projectRepository.SaveContact(contact);
     ProjectService.unitOfWork.Commit();
 }
Exemplo n.º 7
0
 public RoutingItem(object key, Discipline discipline,
     int routingOrder, ProjectContact recipient,
     DateTime dateSent, DateTime? dateReturned)
 {
     this.key = key;
     this.discipline = discipline;
     this.routingOrder = routingOrder;
     this.recipient = recipient;
     this.dateSent = dateSent;
     this.DateReturned = dateReturned;
 }
Exemplo n.º 8
0
 public MutableCopyTo(CopyTo copyTo)
 {
     if (copyTo != null)
     {
         this.projectContact = copyTo.Contact;
         this.notes = copyTo.Notes;
     }
     else
     {
         this.projectContact = null;
         this.notes = string.Empty;
     }
 }
Exemplo n.º 9
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.º 10
0
 public static ProjectContact ToProjectContact(ProjectContactContract contract)
 {
     ProjectContact contact = null;
     if (contract != null)
     {
         contact =
             new ProjectContact(contract.ProjectKey,
             contract.Key, Converter.ToContact(contract.Contact));
         contact.OnFinalDistributionList = contract.OnFinalDistributionList;
     }
     return contact;
 }
Exemplo n.º 11
0
 public CopyTo(ProjectContact contact, string notes)
 {
     this.contact = contact;
     this.notes = notes;
 }
Exemplo n.º 12
0
 public static void SaveProjectContact(ProjectContact contact)
 {
     contactRepository[contact.Contact.Key] = contact.Contact;
     projectRepository.SaveContact(contact);
     unitOfWork.Commit();
 }