public citParte4Final(citModeloC modeloC, citTotalLoadsFload fload, citTotalLoadsRload rload, citExpenseTurnoverFee expense) { this.KycrspFundno = modeloC.KYCRSP_FUNDNO; this.MCALDT = modeloC.MCALDT; if(fload != null) { this.FrontLoad = fload.FrontLoad.ToString(); this.Fflbegdt = fload.Fflbegdt; this.Fflenddt = fload.Fflenddt; } if(rload != null) { this.RearLoad = rload.RearLoad.ToString(); this.Frlbegdt = rload.Frlbegdt; this.Frlenddt = rload.Frlenddt; } if(expense != null) { this.FexpRatio = expense.FexpRatio.ToString(); this.FmgmtFee = expense.FmgmtFee.ToString(); this.FturnRatio = expense.FturnRatio.ToString(); this.Ffebegdt = expense.Ffebegdt; this.Ffeenddt = expense.Ffeenddt; } }
public citFloadAndRoad(citTotalLoadsFload fload, citTotalLoadsRload rload, citExpenseTurnoverFee expense) { if (fload != null) { this.KycrspFundno = fload.KycrspFundno; if (fload.FrontLoad != 0) this.FrontLoad = fload.FrontLoad.ToString(); else this.FrontLoad = ""; this.Fflbegdt = fload.Fflbegdt; this.Fflenddt = fload.Fflenddt; } if (rload != null) { this.KycrspFundno = rload.KycrspFundno; if (rload.RearLoad != 0) this.RearLoad = rload.RearLoad.ToString(); else this.RearLoad = ""; this.Frlbegdt = rload.Frlbegdt; this.Frlenddt = rload.Frlenddt; } if (expense != null) { this.KycrspFundno = expense.KycrspFundno; if (expense.FexpRatio != 0) this.FexpRatio = expense.FexpRatio.ToString(); else this.FexpRatio = ""; if (expense.FmgmtFee != 0) this.FmgmtFee = expense.FmgmtFee.ToString(); else this.FmgmtFee = ""; if (expense.FturnRatio != 0) this.FturnRatio = expense.FturnRatio.ToString(); else this.FturnRatio = ""; this.Ffebegdt = expense.Ffebegdt; this.Ffeenddt = expense.Ffeenddt; } }