<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Edm\Type; use ModStart\Core\Type\BaseType; class EdmTaskStatus implements BaseType { const CREATED = 1; const RUNNING = 2; const PAUSED = 3; const FINISHED = 4; public static function getList() { return array(self::CREATED => '待执行', self::RUNNING => '运行中', self::PAUSED => '已暂停', self::FINISHED => '已完成'); } }