25 lines
387 B
Go
25 lines
387 B
Go
|
package thermocouple
|
||
|
|
||
|
import "errors"
|
||
|
|
||
|
type Type int
|
||
|
|
||
|
const (
|
||
|
None Type = iota
|
||
|
B
|
||
|
E
|
||
|
J
|
||
|
K
|
||
|
N
|
||
|
R
|
||
|
S
|
||
|
T
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
ErrUnimplemented = errors.New("unimplemented thermocouple type")
|
||
|
ErrThermocoupleNone = errors.New("thermocouple of type None has no valid functions")
|
||
|
ErrUV = errors.New("uv value out of range")
|
||
|
ErrC = errors.New("c value out of range")
|
||
|
)
|