Add meter plugin (#21477)
This commit is contained in:
parent
5c8f101bb3
commit
02d3a362b2
5 changed files with 196 additions and 15 deletions
11
plugin/method.go
Normal file
11
plugin/method.go
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
package plugin
|
||||
|
||||
//go:generate go tool enumer -type Method
|
||||
type Method int
|
||||
|
||||
const (
|
||||
_ Method = iota
|
||||
Energy
|
||||
Power
|
||||
Soc
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue