cqp hai 6 meses
pai
achega
2a64007ec0
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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; //温度湿度传感器
 }