Ins_TaskParams.php 507 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace loyalsoft;
  3. /**
  4. * 任务参数,用于任务进度判定逻辑
  5. */
  6. class Ins_TaskParams {
  7. public function __construct($_taskType, $_canshu1 = null, $_canshu2 = null) {
  8. $this->taskType = $_taskType;
  9. $this->canshu1 = $_canshu1;
  10. $this->canshu2 = $_canshu2;
  11. }
  12. /**
  13. * @var int 任务类型
  14. */
  15. public $taskType;
  16. /**
  17. * @var number 参数1
  18. */
  19. public $canshu1;
  20. /**
  21. * @var number 参数2
  22. */
  23. public $canshu2;
  24. }