| 1234567891011121314151617181920212223242526 |
- <?php
- namespace App\Model;
- use Illuminate\Database\Eloquent\Model;
- class SystemL extends Model
- {
- protected $table = "system_L"; //指定表
- const CREATED_AT = null;
- const UPDATED_AT = null;
- protected $dateFormat = 'U';
- const run = '压机上升'; //运行
- const work = '小车前进'; //工作
- const stop = '急停'; //急停
- const standBy = '压机下降';//待机
- public static $device = [
- "1号热压机" => "01401422100800008703",
- "2号热压机" => "01401422100800000103",
- "6号热压机" => "01401422100800008976",
- "5号热压机" => "01401422100800000342"
- ];
- }
|