only(['soil_temp_max','soil_temp_min','soil_mois_max','soil_mois_min','soil_ph_max','soil_ph_min','soil_n_content_max','soil_n_content_min','soil_p_content_max','soil_p_content_min','soil_k_content_max','soil_k_content_min','air_temp_max','air_temp_min','air_mois_max','air_mois_min','air_co2_content_max','air_co2_content_min','wind_speed_max','wind_speed_min']); } /** * @notes 编辑场景 * @return MonitorThresholdValidate * @author likeadmin * @date 2023/11/24 16:17 */ public function sceneEdit() { return $this->only(['id','soil_temp_max','soil_temp_min','soil_mois_max','soil_mois_min','soil_ph_max','soil_ph_min','soil_n_content_max','soil_n_content_min','soil_p_content_max','soil_p_content_min','soil_k_content_max','soil_k_content_min','air_temp_max','air_temp_min','air_mois_max','air_mois_min','air_co2_content_max','air_co2_content_min','wind_speed_max','wind_speed_min']); } /** * @notes 删除场景 * @return MonitorThresholdValidate * @author likeadmin * @date 2023/11/24 16:17 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return MonitorThresholdValidate * @author likeadmin * @date 2023/11/24 16:17 */ public function sceneDetail() { return $this->only(['id']); } }