nvo_pipeline.sru 627 B

12345678910111213141516171819202122232425262728293031323334353637
  1. $PBExportHeader$nvo_pipeline.sru
  2. $PBExportComments$自定义管道
  3. forward
  4. global type nvo_pipeline from pipeline
  5. end type
  6. end forward
  7. global type nvo_pipeline from pipeline
  8. end type
  9. global nvo_pipeline nvo_pipeline
  10. type variables
  11. long ul_rowscount
  12. boolean ub_showprocess
  13. end variables
  14. event pipemeter;if isvalid(w_sys_wait_2jdt) then
  15. if ub_showprocess then
  16. w_sys_wait_2jdt.wf_inc2(rowswritten) //进度1
  17. end if
  18. end if
  19. end event
  20. on nvo_pipeline.create
  21. call pipeline::create
  22. TriggerEvent( this, "constructor" )
  23. end on
  24. on nvo_pipeline.destroy
  25. call pipeline::destroy
  26. TriggerEvent( this, "destructor" )
  27. end on