Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit b44689b

Browse files
committed
优化
1 parent 71dfbcc commit b44689b

File tree

4 files changed

+3
-139
lines changed

4 files changed

+3
-139
lines changed

modbus/adapter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import (
55
"github.com/god-jason/bucket/log"
66
"github.com/god-jason/bucket/pkg/convert"
77
"github.com/god-jason/bucket/pool"
8+
"github.com/god-jason/bucket/types"
89
"github.com/zgwit/iot-gateway/connect"
910
"github.com/zgwit/iot-gateway/device"
1011
"github.com/zgwit/iot-gateway/product"
11-
"github.com/zgwit/iot-gateway/types"
1212
"slices"
1313
"time"
1414
)

modbus/modbus-rtu.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"errors"
55
"fmt"
66
"github.com/god-jason/bucket/pkg/bin"
7+
"github.com/god-jason/bucket/types"
78
"github.com/zgwit/iot-gateway/connect"
8-
"github.com/zgwit/iot-gateway/types"
99
"time"
1010
)
1111

modbus/modbus-tcp.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"errors"
55
"fmt"
66
"github.com/god-jason/bucket/pkg/bin"
7+
"github.com/god-jason/bucket/types"
78
"github.com/zgwit/iot-gateway/connect"
8-
"github.com/zgwit/iot-gateway/types"
99
"time"
1010
)
1111

types/options.go

-136
This file was deleted.

0 commit comments

Comments
 (0)