소스 검색

数据设备

cqp 6 달 전
부모
커밋
2a64007ec0
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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; //温度湿度传感器
 }