123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- /**
- * Description of MissEventInfo
- *
- * @author jgao
- */
- class MissEventInfo {
- //put your code here
-
- /**
- * 事件码
- * @var type
- */
- public $evnCode = 0;
- /**
- * 操作模式
- * @var type
- */
- public $ope = "set";
- /**
- * 计数值
- * @var type
- */
- public $val = 0;
- /**
- * 参数集
- * @var type
- */
- public $paras = array();
- /**
- * 构造方法
- * @param type $evn 事件码
- * @param type $ope 操作模式(inc递增;add增加;set设置;max取最大值)
- * @param type $val 数值
- * @param array $paras 参数表
- */
- public function __construct($evn, $ope, $val, $paras=array()) {
- $this->evnCode = $evn;
- $this->ope = $ope;
- $this->val = $val;
- $this->paras = $paras;
- }
- }
|