| 123456789101112131415 |
- package iotInterface
- import (
- iotRtuService "IotAdmin/iot/service/rtuService"
- iotStruct "IotAdmin/iot/struct"
- )
- // MeterHandler 电表处理接口
- type MeterHandler interface {
- Collect(w iotRtuService.RtuNetPgr, data *iotStruct.CollectData) error
- SetAddress(w iotRtuService.RtuNetPgr, addr int) error
- GetConfig(w iotRtuService.RtuNetPgr) (*map[string]interface{}, error)
- VerifyConfig(data *string) (interface{}, error)
- SetConfig(w iotRtuService.RtuNetPgr, cfg *string) error
- }
|