コード例 #1
0
 public ProposalRequestContract()
 {
     this.projectKey          = null;
     this.transmittalDate     = DateTime.MinValue;
     this.totalPages          = 0;
     this.deliveryMethod      = DeliveryContract.Hand;
     this.otherDeliveryMethod = string.Empty;
     this.phaseNumber         = string.Empty;
     this.reimbursable        = false;
     this.final              = false;
     this.copyToList         = new List <CopyToContract>();
     this.transmittalRemarks = string.Empty;
     this.number             = 0;
     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;
 }
コード例 #2
0
 public SubmittalContract()
 {
     this.projectKey                = null;
     this.specSection               = null;
     this.specSectionPrimaryIndex   = string.Empty;
     this.specSectionSecondaryIndex = string.Empty;
     this.to                            = null;
     this.from                          = null;
     this.totalPages                    = 0;
     this.deliveryMethod                = DeliveryContract.Hand;
     this.otherDeliveryMethod           = string.Empty;
     this.phaseNumber                   = string.Empty;
     this.reimbursable                  = false;
     this.final                         = false;
     this.copyToList                    = new List <CopyToContract>();
     this.dateReceived                  = null;
     this.contractNumber                = string.Empty;
     this.trackingItems                 = new List <TrackingItemContract>();
     this.routingItems                  = new List <RoutingItemContract>();
     this.remarks                       = string.Empty;
     this.action                        = ActionStatusContract.NoExceptionTaken;
     this.status                        = null;
     this.dateToField                   = null;
     this.remainderLocation             = SubmittalRemainderLocationContract.FilingCabinet;
     this.remainderUnderSubmittalNumber = string.Empty;
     this.otherRemainderLocation        = string.Empty;
     this.transmittalRemarks            = string.Empty;
 }
コード例 #3
0
ファイル: SubmittalContract.cs プロジェクト: pachinko/NDDDCS
 public SubmittalContract()
 {
     this.projectKey = null;
     this.specSection = null;
     this.specSectionPrimaryIndex = string.Empty;
     this.specSectionSecondaryIndex = string.Empty;
     this.to = null;
     this.from = null;
     this.totalPages = 0;
     this.deliveryMethod = DeliveryContract.Hand;
     this.otherDeliveryMethod = string.Empty;
     this.phaseNumber = string.Empty;
     this.reimbursable = false;
     this.final = false;
     this.copyToList = new List<CopyToContract>();
     this.dateReceived = null;
     this.contractNumber = string.Empty;
     this.trackingItems = new List<TrackingItemContract>();
     this.routingItems = new List<RoutingItemContract>();
     this.remarks = string.Empty;
     this.action = ActionStatusContract.NoExceptionTaken;
     this.status = null;
     this.dateToField = null;
     this.remainderLocation = SubmittalRemainderLocationContract.FilingCabinet;
     this.remainderUnderSubmittalNumber = string.Empty;
     this.otherRemainderLocation = string.Empty;
 }
コード例 #4
0
 public ConstructionChangeDirectiveContract()
 {
     this.number                  = 0;
     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    = ChangeDirectionContract.Unchanged;
     this.amountChanged           = 0;
     this.timeChangeDirection     = ChangeDirectionContract.Unchanged;
     this.timeChanged             = 0;
     this.ownerSignatureDate      = null;
     this.architectSignatureDate  = null;
     this.contractorSignatureDate = null;
 }
コード例 #5
0
 public ConstructionChangeDirectiveContract()
 {
     this.number = 0;
     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 = ChangeDirectionContract.Unchanged;
     this.amountChanged = 0;
     this.timeChangeDirection = ChangeDirectionContract.Unchanged;
     this.timeChanged = 0;
     this.ownerSignatureDate = null;
     this.architectSignatureDate = null;
     this.contractorSignatureDate = null;
 }
コード例 #6
0
ファイル: Converter.cs プロジェクト: pachinko/NDDDCS
 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;
 }
コード例 #7
0
ファイル: Converter.cs プロジェクト: pachinko/NDDDCS
 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;
 }