[Quantproject-developers] QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables Su
Brought to you by:
glauco_1
|
From: <gla...@us...> - 2003-11-10 21:34:49
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables
In directory sc8-pr-cvs1:/tmp/cvs-serv22894/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables
Modified Files:
Summary.cs
Log Message:
Updated the Account Report Summary object:
- 'Total net profit' now is computed by a
devoted object (it was a delegate before this revision)
- 'Return on account' now is computed by a
devoted object (it was a delegate before this revision)
Index: Summary.cs
===================================================================
RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables/Summary.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Summary.cs 9 Nov 2003 19:42:15 -0000 1.2
--- Summary.cs 10 Nov 2003 21:34:45 -0000 1.3
***************
*** 44,52 ****
#region "getSummaryTable_setRows"
private delegate void getSummaryTable_setRow( DataRow summary );
- private void getSummaryTable_setRow_TotalNetProfit( DataRow summary )
- {
- summary[ "Information" ] = "Total net profit";
- summary[ "Value" ] = this.totalPnl;
- }
private void getSummaryTable_setRow_ReturnOnAccount( DataRow summary )
{
--- 44,47 ----
***************
*** 160,165 ****
private void getSummaryTable_setRows( DataTable summaryDataTable )
{
! getSummary_setRow( summaryDataTable ,
! new getSummaryTable_setRow( getSummaryTable_setRow_TotalNetProfit ) );
getSummary_setRow( summaryDataTable ,
new getSummaryTable_setRow( getSummaryTable_setRow_ReturnOnAccount ) );
--- 155,159 ----
private void getSummaryTable_setRows( DataTable summaryDataTable )
{
! getSummary_setRow( new TotalNetProfit( this ) , summaryDataTable );
getSummary_setRow( summaryDataTable ,
new getSummaryTable_setRow( getSummaryTable_setRow_ReturnOnAccount ) );
|