public class DNGRMDashUnitStatusEachDateController extends
SrsReportRunController
{
#define.ReportName(‘DNGRMDashUnitStatusEachDateReport.DNGRMDashUnitStatusEachDateDesignPercent′)
DNGRMDashUnitStatusEachDateContract dNGRMDashUnitStatusEachDateContract;
boolean isPercent;
}
protected void preRunModifyContract()
{
SrsReportDataContract dataContract = this.parmReportContract();
SrsReportRdlDataContract
contract = dataContract.parmRdlContract();
;
if
(!dNGRMDashUnitStatusEachDateContract)
{
dNGRMDashUnitStatusEachDateContract =
this.parmReportContract().parmRdpContract();
}
isPercent =
dNGRMDashUnitStatusEachDateContract.parmIsPercent();
if(isPercent)
{
dataContract.parmReportName('DNGRMDashUnitStatusEachDateReport.DNGRMDashUnitStatusEachDateDesignPercent');
}
else
{
dataContract.parmReportName('DNGRMDashUnitStatusEachDateReport.DNGRMDashUnitStatusEachDateDesignNumber');
}
super();
}
public client static void main(Args _args)
{
DNGRMDashUnitStatusEachDateController controller = new
DNGRMDashUnitStatusEachDateController ();
controller.parmReportName('DNGRMDashUnitStatusEachDateReport.DNGRMDashUnitStatusEachDateDesignPercent');
controller.parmArgs(_args);
controller.startOperation();
}