cqp 6 kuukautta sitten
vanhempi
commit
2a64007ec0
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  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';
     protected $dateFormat = 'U';
 
+    const type_one = 1; //温度传感器
+    const type_two = 2; //压力传感器
+    const type_three = 3; //有人云设备数据
+    const type_four = 4; //温度湿度传感器
 }