Skip to content

Commit

Permalink
补充日志
Browse files Browse the repository at this point in the history
  • Loading branch information
smthing committed May 27, 2024
1 parent 47e42f4 commit b07be98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/core/batch_send.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ import (
"github.com/ibuilding-x/driver-box/driverbox/config"
"github.com/ibuilding-x/driver-box/driverbox/helper"
"github.com/ibuilding-x/driver-box/driverbox/plugin"
"github.com/ibuilding-x/driver-box/internal/logger"
"go.uber.org/zap"
"time"
)

// SendBatchWrite 发送多个点位写命令
func SendBatchWrite(deviceId string, points []plugin.PointData) (err error) {
logger.Logger.Info("send batch write", zap.String("deviceId", deviceId), zap.Any("points", points))
//设备驱动层加工
result, err := deviceDriverProcess(deviceId, plugin.WriteMode, points...)
if err != nil {
Expand Down

0 comments on commit b07be98

Please sign in to comment.