SystemL.php 909 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace App\Model;
  3. use Illuminate\Database\Eloquent\Model;
  4. class SystemL extends Model
  5. {
  6. protected $table = "system_L"; //指定表
  7. const CREATED_AT = null;
  8. const UPDATED_AT = null;
  9. protected $dateFormat = 'U';
  10. const run = '吸料'; // 运行时间/次数
  11. const run_one = '下料'; // 运行时间/次数
  12. const run_two = '下料结束且本次下料重量'; // 运行时间/次数
  13. const work = '小车前进'; // 工作时间/次数 不用了
  14. const stop = '吸料急停'; // 故障时间/次数
  15. const stop_one = '下料急停'; // 故障时间/次数
  16. const standBy = '压机下降';// 待机时间/次数
  17. public static $device = [
  18. "1号下料机" => "01401424101800006540",
  19. "2号下料机" => "01401424101800006626",
  20. "3号下料机" => "01401424101800006231",
  21. "4号下料机" => "01401424101800006489"
  22. ];
  23. }