Ins_TaskEventArgs.php 757 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. namespace loyalsoft;
  3. /**
  4. * 任务卡新增的, 任务事件检测参数
  5. * @author gwang
  6. */
  7. class Ins_TaskEventArgs {
  8. /**
  9. * @param Enum_TaskCmdType $cmd 事件码/
  10. * @param Enum_PropelType $ope
  11. * @param int $val
  12. * @param array $paras
  13. */
  14. public function __construct($cmd, $ope, $val, $paras = array()) {
  15. $this->taskType = $cmd;
  16. $this->ope = $ope;
  17. $this->val = $val;
  18. $this->paras = $paras;
  19. }
  20. /**
  21. * @var Enum_TaskCmdType 任务类型/事件码
  22. */
  23. public $taskType;
  24. /**
  25. * @var Enum_PropelType
  26. */
  27. public $ope = Enum_PropelType::set;
  28. /**
  29. * @var 值
  30. */
  31. public $val = 1;
  32. /**
  33. * @var array
  34. */
  35. public $paras;
  36. }