Ins_TaskParams.php 693 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /*
  3. * To change this license header, choose License Headers in Project Properties.
  4. * To change this template file, choose Tools | Templates
  5. * and open the template in the editor.
  6. */
  7. namespace loyalsoft;
  8. /**
  9. * 任务参数,用于任务进度判定逻辑
  10. */
  11. class Ins_TaskParams {
  12. public function __construct($_taskType, $_canshu1 = null, $_canshu2 = null) {
  13. $this->taskType = $_taskType;
  14. $this->canshu1 = $_canshu1;
  15. $this->canshu2 = $_canshu2;
  16. }
  17. /**
  18. * @var int 任务类型
  19. */
  20. public $taskType;
  21. /**
  22. * @var number 参数1
  23. */
  24. public $canshu1;
  25. /**
  26. * @var number 参数2
  27. */
  28. public $canshu2;
  29. }