remove unused code
This commit is contained in:
parent
b7da565c82
commit
180ac20eea
@ -4,25 +4,10 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"th7/data/config"
|
"th7/data/config"
|
||||||
"th7/data/thermocouple"
|
|
||||||
"th7/ports"
|
"th7/ports"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
|
||||||
thermocoupleTypes = map[string]thermocouple.Type{
|
|
||||||
"B": thermocouple.B,
|
|
||||||
"E": thermocouple.E,
|
|
||||||
"J": thermocouple.J,
|
|
||||||
"K": thermocouple.K,
|
|
||||||
"N": thermocouple.N,
|
|
||||||
"R": thermocouple.R,
|
|
||||||
"S": thermocouple.S,
|
|
||||||
"T": thermocouple.T,
|
|
||||||
"U": thermocouple.None, // for uV measurements
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
func NewAdapter(corePort ports.CorePort, cfg config.Config) (ports.DBPort, error) {
|
func NewAdapter(corePort ports.CorePort, cfg config.Config) (ports.DBPort, error) {
|
||||||
|
|
||||||
var duration time.Duration
|
var duration time.Duration
|
||||||
|
Loading…
Reference in New Issue
Block a user