12345678910111213141516171819202122232425262728293031323334 |
- <?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 = [
- "涂胶一号机" => "01401424070300010036",
- "涂胶二号机" => "01401424070300009843",
- "涂胶三号机" => "01401424070300009708",
- "清边一号机" => "01401424070300009271",
- "清边二号机" => "01401424070300009160",
- "热压一号机" => "01401424070300009371",
- "热压二号机" => "01401424070300008948",
- ];
- public static $device_point_id_1 = [
- self::run => '15262427',
- self::stop => '15262429',
- self::standBy => '15262428',
- ];
- }
|