Browse Source

数据设备

cqp 6 months ago
parent
commit
2a64007ec0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      app/Model/DeviceData.php

+ 4 - 0
app/Model/DeviceData.php

@@ -11,4 +11,8 @@ class DeviceData extends Model
     const UPDATED_AT = 'upd_time';
     const UPDATED_AT = 'upd_time';
     protected $dateFormat = 'U';
     protected $dateFormat = 'U';
 
 
+    const type_one = 1; //温度传感器
+    const type_two = 2; //压力传感器
+    const type_three = 3; //有人云设备数据
+    const type_four = 4; //温度湿度传感器
 }
 }