[Quantproject-developers] QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRo
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2005-03-20 18:31:08
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23877/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows Modified Files: SummaryRow.cs Log Message: Now, when a Summary row is null, zero is returned. This is done to avoid run time errors when no round trade is found. Index: SummaryRow.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/SummaryRow.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SummaryRow.cs 15 Feb 2005 19:09:04 -0000 1.2 --- SummaryRow.cs 20 Mar 2005 18:30:58 -0000 1.3 *************** *** 15,24 **** { get { return rowDescription; } ! // set { rowDescription = value; } } public object Value { ! get { return rowValue; } ! // set { rowValue = value; } } --- 15,32 ---- { get { return rowDescription; } ! set { rowDescription = value; } } public object Value { ! get ! { ! object returnValue; ! if ( this.rowValue != null ) ! returnValue = this.rowValue; ! else ! returnValue = 0; ! return returnValue; ! } ! set { rowValue = value; } } |