From 7b2ea0913fa8d714779a385483e7c09796750b68 Mon Sep 17 00:00:00 2001 From: zhouhao Date: Mon, 30 Jun 2025 19:01:24 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E8=AE=BE=E5=A4=87=E6=8C=87=E4=BB=A4=E4=B8=8B=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../device/PluginDeviceGatewayProvider.java | 15 +++++++++++++++ .../device/PluginDeviceGatewayServiceImpl.java | 15 +++++++++++++++ .../plugin/device/PluginDeviceSession.java | 15 +++++++++++++++ 3 files changed, 45 insertions(+) diff --git a/jetlinks-components/plugin-component/src/main/java/org/jetlinks/community/plugin/device/PluginDeviceGatewayProvider.java b/jetlinks-components/plugin-component/src/main/java/org/jetlinks/community/plugin/device/PluginDeviceGatewayProvider.java index 5239df40..fbd54340 100644 --- a/jetlinks-components/plugin-component/src/main/java/org/jetlinks/community/plugin/device/PluginDeviceGatewayProvider.java +++ b/jetlinks-components/plugin-component/src/main/java/org/jetlinks/community/plugin/device/PluginDeviceGatewayProvider.java @@ -1,3 +1,18 @@ +/* + * Copyright 2025 JetLinks https://www.jetlinks.cn + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.jetlinks.community.plugin.device; import org.hswebframework.web.exception.BusinessException; diff --git a/jetlinks-components/plugin-component/src/main/java/org/jetlinks/community/plugin/device/PluginDeviceGatewayServiceImpl.java b/jetlinks-components/plugin-component/src/main/java/org/jetlinks/community/plugin/device/PluginDeviceGatewayServiceImpl.java index 94d91d37..6416dc71 100644 --- a/jetlinks-components/plugin-component/src/main/java/org/jetlinks/community/plugin/device/PluginDeviceGatewayServiceImpl.java +++ b/jetlinks-components/plugin-component/src/main/java/org/jetlinks/community/plugin/device/PluginDeviceGatewayServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright 2025 JetLinks https://www.jetlinks.cn + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.jetlinks.community.plugin.device; import org.jetlinks.core.device.DeviceRegistry; diff --git a/jetlinks-components/plugin-component/src/main/java/org/jetlinks/community/plugin/device/PluginDeviceSession.java b/jetlinks-components/plugin-component/src/main/java/org/jetlinks/community/plugin/device/PluginDeviceSession.java index 17e9cb15..1a10bb47 100644 --- a/jetlinks-components/plugin-component/src/main/java/org/jetlinks/community/plugin/device/PluginDeviceSession.java +++ b/jetlinks-components/plugin-component/src/main/java/org/jetlinks/community/plugin/device/PluginDeviceSession.java @@ -1,3 +1,18 @@ +/* + * Copyright 2025 JetLinks https://www.jetlinks.cn + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.jetlinks.community.plugin.device; import lombok.Getter;