|  |  | 
 |  |  |           Properties: | 
 |  |  |           [ | 
 |  |  |             DataType: 'RecycleBin' | 
 |  |  |             FixedFilter: 'object.Name() = MP_Cell_AnnualPlanReport::GetTableName()' | 
 |  |  |             FixedFilter: 'object.Name() = ArchiveCell_AnnualPlanReport::GetTableName()' | 
 |  |  |             Source: 'RecycleBin' | 
 |  |  |             Taborder: 0 | 
 |  |  |             Transformation: 'ExportXMLManager' | 
 
 |  |  | 
 |  |  |     [* | 
 |  |  |       if( not isnull( this.Data() )){ | 
 |  |  |         binaryValue := dhXMLDataListener.Data( ).Export(); | 
 |  |  |         Application.Download( MP_Cell_AnnualPlanReport::GetTableName() + "_" + DateTime::Now().Format( "YM2D2H2mmss" ) + ".xlsx", binaryValue.AsBinaryData() ); | 
 |  |  |         Application.Download( ArchiveCell_AnnualPlanReport::GetTableName() + "_" + DateTime::Now().Format( "YM2D2H2mmss" ) + ".xlsx", binaryValue.AsBinaryData() ); | 
 |  |  |         dhXMLDataListener.Data( ).Delete(); | 
 |  |  |       } | 
 |  |  |     *] | 
 
 |  |  | 
 |  |  |           Properties: | 
 |  |  |           [ | 
 |  |  |             DataType: 'RecycleBin' | 
 |  |  |             FixedFilter: 'object.Name() = MP_Cell_ScheduleSummary::GetTableName()' | 
 |  |  |             FixedFilter: 'object.Name() = ArchiveCell_ScheduleSummary::GetTableName()' | 
 |  |  |             Source: 'RecycleBin' | 
 |  |  |             Taborder: 0 | 
 |  |  |             Transformation: 'ExportXMLManager' | 
 
 |  |  | 
 |  |  |     [* | 
 |  |  |       if( not isnull( this.Data() )){ | 
 |  |  |         binaryValue := dhXMLDataListener.Data( ).Export(); | 
 |  |  |         Application.Download( MP_Cell_ScheduleSummary::GetTableName() + "_" + DateTime::Now().Format( "YM2D2H2mmss" ) + ".xlsx", binaryValue.AsBinaryData() ); | 
 |  |  |         Application.Download( ArchiveCell_ScheduleSummary::GetTableName() + "_" + DateTime::Now().Format( "YM2D2H2mmss" ) + ".xlsx", binaryValue.AsBinaryData() ); | 
 |  |  |         dhXMLDataListener.Data( ).Delete(); | 
 |  |  |       } | 
 |  |  |     *] | 
 
 |  |  | 
 |  |  |   { | 
 |  |  |     Body: | 
 |  |  |     [* | 
 |  |  |       data := MP_Cell_ScheduleSummary::ExportOutputTemplate( Date::ActualDate().Year() ); | 
 |  |  |       data := ArchiveCell_ScheduleSummary::ExportOutputTemplate( Date::ActualDate().Year() ); | 
 |  |  |        | 
 |  |  |       Application.Download( "产出导入模板.xlsx",data.AsBinaryData() ); | 
 |  |  |     *] | 
 
 |  |  | 
 |  |  |           generalExcelImportAndExportDataSource := GeneralExcelImportAndExportDataSource::Upload( RecycleBin, webFileBinaryData, fileName ); | 
 |  |  |           generalExcelImportAndExportDataSource.ReadStructure(); | 
 |  |  |            | 
 |  |  |           MP_Cell_ScheduleSummary::ImportOutput( Archive,generalExcelImportAndExportDataSource); | 
 |  |  |           ArchiveCell_ScheduleSummary::ImportOutput( Archive,generalExcelImportAndExportDataSource); | 
 |  |  |            | 
 |  |  |           // 后续删除 | 
 |  |  |           generalExcelImportAndExportDataSource.Delete(); | 
 |  |  | 
 |  |  |       } | 
 |  |  |        | 
 |  |  |       macroPlans := ApplicationMacroPlanner.GetLoadedMacroPlans(); | 
 |  |  |       table := MP_Cell_ScheduleSummary::CreateFullTable( macroPlans,RecycleBin ,Archive, MacroPlan ); | 
 |  |  |       table := ArchiveCell_ScheduleSummary::CreateFullTable( Archive ,RecycleBin, MacroPlan ); | 
 |  |  |        | 
 |  |  |       dhScheduleSummaryTable.Data( table ); | 
 |  |  |     *] |