fk_atlas

package module
v0.0.0-...-4458819 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2021 License: BSD-3-Clause Imports: 4 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

#+TITLE:	README for fk-atlas-protocol
#+AUTHOR:	Jacob Lewallen
#+EMAIL:	jacob@conservify.org

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SensorType_name = map[int32]string{
		0: "SENSOR_NONE",
		1: "SENSOR_PH",
		2: "SENSOR_TEMP",
		3: "SENSOR_ORP",
		4: "SENSOR_DO",
		5: "SENSOR_EC",
	}
	SensorType_value = map[string]int32{
		"SENSOR_NONE": 0,
		"SENSOR_PH":   1,
		"SENSOR_TEMP": 2,
		"SENSOR_ORP":  3,
		"SENSOR_DO":   4,
		"SENSOR_EC":   5,
	}
)

Enum value maps for SensorType.

View Source
var (
	QueryType_name = map[int32]string{
		0: "QUERY_NONE",
	}
	QueryType_value = map[string]int32{
		"QUERY_NONE": 0,
	}
)

Enum value maps for QueryType.

View Source
var (
	CalibrationOperation_name = map[int32]string{
		0: "CALIBRATION_NONE",
		1: "CALIBRATION_STATUS",
		2: "CALIBRATION_CLEAR",
		3: "CALIBRATION_SET",
	}
	CalibrationOperation_value = map[string]int32{
		"CALIBRATION_NONE":   0,
		"CALIBRATION_STATUS": 1,
		"CALIBRATION_CLEAR":  2,
		"CALIBRATION_SET":    3,
	}
)

Enum value maps for CalibrationOperation.

View Source
var (
	TempCalibrations_name = map[int32]string{
		0: "TEMP_NONE",
		1: "TEMP_SINGLE",
	}
	TempCalibrations_value = map[string]int32{
		"TEMP_NONE":   0,
		"TEMP_SINGLE": 1,
	}
)

Enum value maps for TempCalibrations.

View Source
var (
	TempCalibrateCommand_name = map[int32]string{
		0: "CALIBRATE_TEMP_NONE",
		1: "CALIBRATE_TEMP_CLEAR",
		2: "CALIBRATE_TEMP_SINGLE",
	}
	TempCalibrateCommand_value = map[string]int32{
		"CALIBRATE_TEMP_NONE":   0,
		"CALIBRATE_TEMP_CLEAR":  1,
		"CALIBRATE_TEMP_SINGLE": 2,
	}
)

Enum value maps for TempCalibrateCommand.

View Source
var (
	DoCalibrations_name = map[int32]string{
		0: "DO_NONE",
		1: "DO_ATMOSPHERE",
		2: "DO_ZERO",
	}
	DoCalibrations_value = map[string]int32{
		"DO_NONE":       0,
		"DO_ATMOSPHERE": 1,
		"DO_ZERO":       2,
	}
)

Enum value maps for DoCalibrations.

View Source
var (
	DoCalibrateCommand_name = map[int32]string{
		0: "CALIBRATE_DO_NONE",
		1: "CALIBRATE_DO_CLEAR",
		2: "CALIBRATE_DO_ATMOSPHERE",
		3: "CALIBRATE_DO_ZERO",
	}
	DoCalibrateCommand_value = map[string]int32{
		"CALIBRATE_DO_NONE":       0,
		"CALIBRATE_DO_CLEAR":      1,
		"CALIBRATE_DO_ATMOSPHERE": 2,
		"CALIBRATE_DO_ZERO":       3,
	}
)

Enum value maps for DoCalibrateCommand.

View Source
var (
	PhCalibrations_name = map[int32]string{
		0: "PH_NONE",
		1: "PH_LOW",
		2: "PH_MIDDLE",
		4: "PH_HIGH",
	}
	PhCalibrations_value = map[string]int32{
		"PH_NONE":   0,
		"PH_LOW":    1,
		"PH_MIDDLE": 2,
		"PH_HIGH":   4,
	}
)

Enum value maps for PhCalibrations.

View Source
var (
	PhCalibrateCommand_name = map[int32]string{
		0: "CALIBRATE_PH_NONE",
		1: "CALIBRATE_PH_CLEAR",
		2: "CALIBRATE_PH_LOW",
		3: "CALIBRATE_PH_MIDDLE",
		4: "CALIBRATE_PH_HIGH",
	}
	PhCalibrateCommand_value = map[string]int32{
		"CALIBRATE_PH_NONE":   0,
		"CALIBRATE_PH_CLEAR":  1,
		"CALIBRATE_PH_LOW":    2,
		"CALIBRATE_PH_MIDDLE": 3,
		"CALIBRATE_PH_HIGH":   4,
	}
)

Enum value maps for PhCalibrateCommand.

View Source
var (
	EcCalibrations_name = map[int32]string{
		0: "EC_NONE",
		1: "EC_DRY",
		2: "EC_SINGLE",
		4: "EC_DUAL_LOW",
		8: "EC_DUAL_HIGH",
	}
	EcCalibrations_value = map[string]int32{
		"EC_NONE":      0,
		"EC_DRY":       1,
		"EC_SINGLE":    2,
		"EC_DUAL_LOW":  4,
		"EC_DUAL_HIGH": 8,
	}
)

Enum value maps for EcCalibrations.

View Source
var (
	EcCalibrateCommand_name = map[int32]string{
		0: "CALIBRATE_EC_NONE",
		1: "CALIBRATE_EC_CLEAR",
		2: "CALIBRATE_EC_DRY",
		3: "CALIBRATE_EC_SINGLE",
		4: "CALIBRATE_EC_DUAL_LOW",
		5: "CALIBRATE_EC_DUAL_HIGH",
	}
	EcCalibrateCommand_value = map[string]int32{
		"CALIBRATE_EC_NONE":      0,
		"CALIBRATE_EC_CLEAR":     1,
		"CALIBRATE_EC_DRY":       2,
		"CALIBRATE_EC_SINGLE":    3,
		"CALIBRATE_EC_DUAL_LOW":  4,
		"CALIBRATE_EC_DUAL_HIGH": 5,
	}
)

Enum value maps for EcCalibrateCommand.

View Source
var (
	OrpCalibrations_name = map[int32]string{
		0: "ORP_NONE",
		1: "ORP_SINGLE",
	}
	OrpCalibrations_value = map[string]int32{
		"ORP_NONE":   0,
		"ORP_SINGLE": 1,
	}
)

Enum value maps for OrpCalibrations.

View Source
var (
	OrpCalibrateCommand_name = map[int32]string{
		0: "CALIBRATE_ORP_NONE",
		1: "CALIBRATE_ORP_SINGLE",
	}
	OrpCalibrateCommand_value = map[string]int32{
		"CALIBRATE_ORP_NONE":   0,
		"CALIBRATE_ORP_SINGLE": 1,
	}
)

Enum value maps for OrpCalibrateCommand.

View Source
var (
	ReplyType_name = map[int32]string{
		0: "REPLY_NONE",
		1: "REPLY_RETRY",
		2: "REPLY_ERROR",
		3: "REPLY_STATUS",
		4: "REPLY_COMMAND",
	}
	ReplyType_value = map[string]int32{
		"REPLY_NONE":    0,
		"REPLY_RETRY":   1,
		"REPLY_ERROR":   2,
		"REPLY_STATUS":  3,
		"REPLY_COMMAND": 4,
	}
)

Enum value maps for ReplyType.

View Source
var (
	ErrorType_name = map[int32]string{
		0: "NONE",
		1: "GENERAL",
		2: "UNEXPECTED",
	}
	ErrorType_value = map[string]int32{
		"NONE":       0,
		"GENERAL":    1,
		"UNEXPECTED": 2,
	}
)

Enum value maps for ErrorType.

View Source
var File_fk_atlas_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AtlasCalibrationCommand

type AtlasCalibrationCommand struct {
	Operation       CalibrationOperation `protobuf:"varint,1,opt,name=operation,proto3,enum=fk_atlas.CalibrationOperation" json:"operation,omitempty"`
	Temp            TempCalibrations     `protobuf:"varint,2,opt,name=temp,proto3,enum=fk_atlas.TempCalibrations" json:"temp,omitempty"`
	DissolvedOxygen DoCalibrations       `protobuf:"varint,3,opt,name=dissolvedOxygen,proto3,enum=fk_atlas.DoCalibrations" json:"dissolvedOxygen,omitempty"`
	Ph              PhCalibrations       `protobuf:"varint,4,opt,name=ph,proto3,enum=fk_atlas.PhCalibrations" json:"ph,omitempty"`
	Ec              EcCalibrations       `protobuf:"varint,5,opt,name=ec,proto3,enum=fk_atlas.EcCalibrations" json:"ec,omitempty"`
	Orp             OrpCalibrations      `protobuf:"varint,6,opt,name=orp,proto3,enum=fk_atlas.OrpCalibrations" json:"orp,omitempty"`
	Which           uint32               `protobuf:"varint,8,opt,name=which,proto3" json:"which,omitempty"`
	Value           float32              `protobuf:"fixed32,7,opt,name=value,proto3" json:"value,omitempty"`
	Configuration   []byte               `protobuf:"bytes,9,opt,name=configuration,proto3" json:"configuration,omitempty"`
	// contains filtered or unexported fields
}

func (*AtlasCalibrationCommand) Descriptor deprecated

func (*AtlasCalibrationCommand) Descriptor() ([]byte, []int)

Deprecated: Use AtlasCalibrationCommand.ProtoReflect.Descriptor instead.

func (*AtlasCalibrationCommand) GetConfiguration

func (x *AtlasCalibrationCommand) GetConfiguration() []byte

func (*AtlasCalibrationCommand) GetDissolvedOxygen

func (x *AtlasCalibrationCommand) GetDissolvedOxygen() DoCalibrations

func (*AtlasCalibrationCommand) GetEc

func (*AtlasCalibrationCommand) GetOperation

func (*AtlasCalibrationCommand) GetOrp

func (*AtlasCalibrationCommand) GetPh

func (*AtlasCalibrationCommand) GetTemp

func (*AtlasCalibrationCommand) GetValue

func (x *AtlasCalibrationCommand) GetValue() float32

func (*AtlasCalibrationCommand) GetWhich

func (x *AtlasCalibrationCommand) GetWhich() uint32

func (*AtlasCalibrationCommand) ProtoMessage

func (*AtlasCalibrationCommand) ProtoMessage()

func (*AtlasCalibrationCommand) ProtoReflect

func (x *AtlasCalibrationCommand) ProtoReflect() protoreflect.Message

func (*AtlasCalibrationCommand) Reset

func (x *AtlasCalibrationCommand) Reset()

func (*AtlasCalibrationCommand) String

func (x *AtlasCalibrationCommand) String() string

type AtlasCalibrationStatus

type AtlasCalibrationStatus struct {
	Type            SensorType       `protobuf:"varint,1,opt,name=type,proto3,enum=fk_atlas.SensorType" json:"type,omitempty"`
	Time            uint32           `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
	Raw             uint32           `protobuf:"varint,8,opt,name=raw,proto3" json:"raw,omitempty"`
	Temp            TempCalibrations `protobuf:"varint,3,opt,name=temp,proto3,enum=fk_atlas.TempCalibrations" json:"temp,omitempty"`
	DissolvedOxygen DoCalibrations   `protobuf:"varint,4,opt,name=dissolvedOxygen,proto3,enum=fk_atlas.DoCalibrations" json:"dissolvedOxygen,omitempty"`
	Ph              PhCalibrations   `protobuf:"varint,5,opt,name=ph,proto3,enum=fk_atlas.PhCalibrations" json:"ph,omitempty"`
	Ec              EcCalibrations   `protobuf:"varint,6,opt,name=ec,proto3,enum=fk_atlas.EcCalibrations" json:"ec,omitempty"`
	Orp             OrpCalibrations  `protobuf:"varint,7,opt,name=orp,proto3,enum=fk_atlas.OrpCalibrations" json:"orp,omitempty"`
	Configuration   []byte           `protobuf:"bytes,9,opt,name=configuration,proto3" json:"configuration,omitempty"`
	// contains filtered or unexported fields
}

func (*AtlasCalibrationStatus) Descriptor deprecated

func (*AtlasCalibrationStatus) Descriptor() ([]byte, []int)

Deprecated: Use AtlasCalibrationStatus.ProtoReflect.Descriptor instead.

func (*AtlasCalibrationStatus) GetConfiguration

func (x *AtlasCalibrationStatus) GetConfiguration() []byte

func (*AtlasCalibrationStatus) GetDissolvedOxygen

func (x *AtlasCalibrationStatus) GetDissolvedOxygen() DoCalibrations

func (*AtlasCalibrationStatus) GetEc

func (*AtlasCalibrationStatus) GetOrp

func (*AtlasCalibrationStatus) GetPh

func (*AtlasCalibrationStatus) GetRaw

func (x *AtlasCalibrationStatus) GetRaw() uint32

func (*AtlasCalibrationStatus) GetTemp

func (*AtlasCalibrationStatus) GetTime

func (x *AtlasCalibrationStatus) GetTime() uint32

func (*AtlasCalibrationStatus) GetType

func (x *AtlasCalibrationStatus) GetType() SensorType

func (*AtlasCalibrationStatus) ProtoMessage

func (*AtlasCalibrationStatus) ProtoMessage()

func (*AtlasCalibrationStatus) ProtoReflect

func (x *AtlasCalibrationStatus) ProtoReflect() protoreflect.Message

func (*AtlasCalibrationStatus) Reset

func (x *AtlasCalibrationStatus) Reset()

func (*AtlasCalibrationStatus) String

func (x *AtlasCalibrationStatus) String() string

type CalibrationOperation

type CalibrationOperation int32
const (
	CalibrationOperation_CALIBRATION_NONE   CalibrationOperation = 0
	CalibrationOperation_CALIBRATION_STATUS CalibrationOperation = 1
	CalibrationOperation_CALIBRATION_CLEAR  CalibrationOperation = 2
	CalibrationOperation_CALIBRATION_SET    CalibrationOperation = 3
)

func (CalibrationOperation) Descriptor

func (CalibrationOperation) Enum

func (CalibrationOperation) EnumDescriptor deprecated

func (CalibrationOperation) EnumDescriptor() ([]byte, []int)

Deprecated: Use CalibrationOperation.Descriptor instead.

func (CalibrationOperation) Number

func (CalibrationOperation) String

func (x CalibrationOperation) String() string

func (CalibrationOperation) Type

type Compensations

type Compensations struct {
	Temperature float32 `protobuf:"fixed32,1,opt,name=temperature,proto3" json:"temperature,omitempty"`
	// contains filtered or unexported fields
}

func (*Compensations) Descriptor deprecated

func (*Compensations) Descriptor() ([]byte, []int)

Deprecated: Use Compensations.ProtoReflect.Descriptor instead.

func (*Compensations) GetTemperature

func (x *Compensations) GetTemperature() float32

func (*Compensations) ProtoMessage

func (*Compensations) ProtoMessage()

func (*Compensations) ProtoReflect

func (x *Compensations) ProtoReflect() protoreflect.Message

func (*Compensations) Reset

func (x *Compensations) Reset()

func (*Compensations) String

func (x *Compensations) String() string

type DoCalibrateCommand

type DoCalibrateCommand int32
const (
	DoCalibrateCommand_CALIBRATE_DO_NONE       DoCalibrateCommand = 0
	DoCalibrateCommand_CALIBRATE_DO_CLEAR      DoCalibrateCommand = 1
	DoCalibrateCommand_CALIBRATE_DO_ATMOSPHERE DoCalibrateCommand = 2
	DoCalibrateCommand_CALIBRATE_DO_ZERO       DoCalibrateCommand = 3
)

func (DoCalibrateCommand) Descriptor

func (DoCalibrateCommand) Enum

func (DoCalibrateCommand) EnumDescriptor deprecated

func (DoCalibrateCommand) EnumDescriptor() ([]byte, []int)

Deprecated: Use DoCalibrateCommand.Descriptor instead.

func (DoCalibrateCommand) Number

func (DoCalibrateCommand) String

func (x DoCalibrateCommand) String() string

func (DoCalibrateCommand) Type

type DoCalibrations

type DoCalibrations int32
const (
	DoCalibrations_DO_NONE       DoCalibrations = 0
	DoCalibrations_DO_ATMOSPHERE DoCalibrations = 1
	DoCalibrations_DO_ZERO       DoCalibrations = 2
)

func (DoCalibrations) Descriptor

func (DoCalibrations) Enum

func (x DoCalibrations) Enum() *DoCalibrations

func (DoCalibrations) EnumDescriptor deprecated

func (DoCalibrations) EnumDescriptor() ([]byte, []int)

Deprecated: Use DoCalibrations.Descriptor instead.

func (DoCalibrations) Number

func (DoCalibrations) String

func (x DoCalibrations) String() string

func (DoCalibrations) Type

type EcCalibrateCommand

type EcCalibrateCommand int32
const (
	EcCalibrateCommand_CALIBRATE_EC_NONE      EcCalibrateCommand = 0
	EcCalibrateCommand_CALIBRATE_EC_CLEAR     EcCalibrateCommand = 1
	EcCalibrateCommand_CALIBRATE_EC_DRY       EcCalibrateCommand = 2
	EcCalibrateCommand_CALIBRATE_EC_SINGLE    EcCalibrateCommand = 3
	EcCalibrateCommand_CALIBRATE_EC_DUAL_LOW  EcCalibrateCommand = 4
	EcCalibrateCommand_CALIBRATE_EC_DUAL_HIGH EcCalibrateCommand = 5
)

func (EcCalibrateCommand) Descriptor

func (EcCalibrateCommand) Enum

func (EcCalibrateCommand) EnumDescriptor deprecated

func (EcCalibrateCommand) EnumDescriptor() ([]byte, []int)

Deprecated: Use EcCalibrateCommand.Descriptor instead.

func (EcCalibrateCommand) Number

func (EcCalibrateCommand) String

func (x EcCalibrateCommand) String() string

func (EcCalibrateCommand) Type

type EcCalibrations

type EcCalibrations int32
const (
	EcCalibrations_EC_NONE      EcCalibrations = 0
	EcCalibrations_EC_DRY       EcCalibrations = 1
	EcCalibrations_EC_SINGLE    EcCalibrations = 2
	EcCalibrations_EC_DUAL_LOW  EcCalibrations = 4
	EcCalibrations_EC_DUAL_HIGH EcCalibrations = 8
)

func (EcCalibrations) Descriptor

func (EcCalibrations) Enum

func (x EcCalibrations) Enum() *EcCalibrations

func (EcCalibrations) EnumDescriptor deprecated

func (EcCalibrations) EnumDescriptor() ([]byte, []int)

Deprecated: Use EcCalibrations.Descriptor instead.

func (EcCalibrations) Number

func (EcCalibrations) String

func (x EcCalibrations) String() string

func (EcCalibrations) Type

type Error

type Error struct {
	Type    ErrorType `protobuf:"varint,1,opt,name=type,proto3,enum=fk_atlas.ErrorType" json:"type,omitempty"`
	Message string    `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated

func (*Error) Descriptor() ([]byte, []int)

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetMessage

func (x *Error) GetMessage() string

func (*Error) GetType

func (x *Error) GetType() ErrorType

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

func (x *Error) ProtoReflect() protoreflect.Message

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

type ErrorType

type ErrorType int32
const (
	ErrorType_NONE       ErrorType = 0
	ErrorType_GENERAL    ErrorType = 1
	ErrorType_UNEXPECTED ErrorType = 2
)

func (ErrorType) Descriptor

func (ErrorType) Descriptor() protoreflect.EnumDescriptor

func (ErrorType) Enum

func (x ErrorType) Enum() *ErrorType

func (ErrorType) EnumDescriptor deprecated

func (ErrorType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ErrorType.Descriptor instead.

func (ErrorType) Number

func (x ErrorType) Number() protoreflect.EnumNumber

func (ErrorType) String

func (x ErrorType) String() string

func (ErrorType) Type

type OrpCalibrateCommand

type OrpCalibrateCommand int32
const (
	OrpCalibrateCommand_CALIBRATE_ORP_NONE   OrpCalibrateCommand = 0
	OrpCalibrateCommand_CALIBRATE_ORP_SINGLE OrpCalibrateCommand = 1
)

func (OrpCalibrateCommand) Descriptor

func (OrpCalibrateCommand) Enum

func (OrpCalibrateCommand) EnumDescriptor deprecated

func (OrpCalibrateCommand) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrpCalibrateCommand.Descriptor instead.

func (OrpCalibrateCommand) Number

func (OrpCalibrateCommand) String

func (x OrpCalibrateCommand) String() string

func (OrpCalibrateCommand) Type

type OrpCalibrations

type OrpCalibrations int32
const (
	OrpCalibrations_ORP_NONE   OrpCalibrations = 0
	OrpCalibrations_ORP_SINGLE OrpCalibrations = 1
)

func (OrpCalibrations) Descriptor

func (OrpCalibrations) Enum

func (x OrpCalibrations) Enum() *OrpCalibrations

func (OrpCalibrations) EnumDescriptor deprecated

func (OrpCalibrations) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrpCalibrations.Descriptor instead.

func (OrpCalibrations) Number

func (OrpCalibrations) String

func (x OrpCalibrations) String() string

func (OrpCalibrations) Type

type PhCalibrateCommand

type PhCalibrateCommand int32
const (
	PhCalibrateCommand_CALIBRATE_PH_NONE   PhCalibrateCommand = 0
	PhCalibrateCommand_CALIBRATE_PH_CLEAR  PhCalibrateCommand = 1
	PhCalibrateCommand_CALIBRATE_PH_LOW    PhCalibrateCommand = 2
	PhCalibrateCommand_CALIBRATE_PH_MIDDLE PhCalibrateCommand = 3
	PhCalibrateCommand_CALIBRATE_PH_HIGH   PhCalibrateCommand = 4
)

func (PhCalibrateCommand) Descriptor

func (PhCalibrateCommand) Enum

func (PhCalibrateCommand) EnumDescriptor deprecated

func (PhCalibrateCommand) EnumDescriptor() ([]byte, []int)

Deprecated: Use PhCalibrateCommand.Descriptor instead.

func (PhCalibrateCommand) Number

func (PhCalibrateCommand) String

func (x PhCalibrateCommand) String() string

func (PhCalibrateCommand) Type

type PhCalibrations

type PhCalibrations int32
const (
	PhCalibrations_PH_NONE   PhCalibrations = 0
	PhCalibrations_PH_LOW    PhCalibrations = 1
	PhCalibrations_PH_MIDDLE PhCalibrations = 2
	PhCalibrations_PH_HIGH   PhCalibrations = 4
)

func (PhCalibrations) Descriptor

func (PhCalibrations) Enum

func (x PhCalibrations) Enum() *PhCalibrations

func (PhCalibrations) EnumDescriptor deprecated

func (PhCalibrations) EnumDescriptor() ([]byte, []int)

Deprecated: Use PhCalibrations.Descriptor instead.

func (PhCalibrations) Number

func (PhCalibrations) String

func (x PhCalibrations) String() string

func (PhCalibrations) Type

type QueryType

type QueryType int32
const (
	QueryType_QUERY_NONE QueryType = 0
)

func (QueryType) Descriptor

func (QueryType) Descriptor() protoreflect.EnumDescriptor

func (QueryType) Enum

func (x QueryType) Enum() *QueryType

func (QueryType) EnumDescriptor deprecated

func (QueryType) EnumDescriptor() ([]byte, []int)

Deprecated: Use QueryType.Descriptor instead.

func (QueryType) Number

func (x QueryType) Number() protoreflect.EnumNumber

func (QueryType) String

func (x QueryType) String() string

func (QueryType) Type

type ReplyType

type ReplyType int32
const (
	ReplyType_REPLY_NONE    ReplyType = 0
	ReplyType_REPLY_RETRY   ReplyType = 1
	ReplyType_REPLY_ERROR   ReplyType = 2
	ReplyType_REPLY_STATUS  ReplyType = 3
	ReplyType_REPLY_COMMAND ReplyType = 4
)

func (ReplyType) Descriptor

func (ReplyType) Descriptor() protoreflect.EnumDescriptor

func (ReplyType) Enum

func (x ReplyType) Enum() *ReplyType

func (ReplyType) EnumDescriptor deprecated

func (ReplyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ReplyType.Descriptor instead.

func (ReplyType) Number

func (x ReplyType) Number() protoreflect.EnumNumber

func (ReplyType) String

func (x ReplyType) String() string

func (ReplyType) Type

type SensorType

type SensorType int32
const (
	SensorType_SENSOR_NONE SensorType = 0
	SensorType_SENSOR_PH   SensorType = 1
	SensorType_SENSOR_TEMP SensorType = 2
	SensorType_SENSOR_ORP  SensorType = 3
	SensorType_SENSOR_DO   SensorType = 4
	SensorType_SENSOR_EC   SensorType = 5
)

func (SensorType) Descriptor

func (SensorType) Descriptor() protoreflect.EnumDescriptor

func (SensorType) Enum

func (x SensorType) Enum() *SensorType

func (SensorType) EnumDescriptor deprecated

func (SensorType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SensorType.Descriptor instead.

func (SensorType) Number

func (x SensorType) Number() protoreflect.EnumNumber

func (SensorType) String

func (x SensorType) String() string

func (SensorType) Type

type TempCalibrateCommand

type TempCalibrateCommand int32
const (
	TempCalibrateCommand_CALIBRATE_TEMP_NONE   TempCalibrateCommand = 0
	TempCalibrateCommand_CALIBRATE_TEMP_CLEAR  TempCalibrateCommand = 1
	TempCalibrateCommand_CALIBRATE_TEMP_SINGLE TempCalibrateCommand = 2
)

func (TempCalibrateCommand) Descriptor

func (TempCalibrateCommand) Enum

func (TempCalibrateCommand) EnumDescriptor deprecated

func (TempCalibrateCommand) EnumDescriptor() ([]byte, []int)

Deprecated: Use TempCalibrateCommand.Descriptor instead.

func (TempCalibrateCommand) Number

func (TempCalibrateCommand) String

func (x TempCalibrateCommand) String() string

func (TempCalibrateCommand) Type

type TempCalibrations

type TempCalibrations int32
const (
	TempCalibrations_TEMP_NONE   TempCalibrations = 0
	TempCalibrations_TEMP_SINGLE TempCalibrations = 1
)

func (TempCalibrations) Descriptor

func (TempCalibrations) Enum

func (TempCalibrations) EnumDescriptor deprecated

func (TempCalibrations) EnumDescriptor() ([]byte, []int)

Deprecated: Use TempCalibrations.Descriptor instead.

func (TempCalibrations) Number

func (TempCalibrations) String

func (x TempCalibrations) String() string

func (TempCalibrations) Type

type TwoWireQuery

type TwoWireQuery struct {
	Read  uint32 `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"`
	Write uint32 `protobuf:"varint,2,opt,name=write,proto3" json:"write,omitempty"`
	Data  []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*TwoWireQuery) Descriptor deprecated

func (*TwoWireQuery) Descriptor() ([]byte, []int)

Deprecated: Use TwoWireQuery.ProtoReflect.Descriptor instead.

func (*TwoWireQuery) GetData

func (x *TwoWireQuery) GetData() []byte

func (*TwoWireQuery) GetRead

func (x *TwoWireQuery) GetRead() uint32

func (*TwoWireQuery) GetWrite

func (x *TwoWireQuery) GetWrite() uint32

func (*TwoWireQuery) ProtoMessage

func (*TwoWireQuery) ProtoMessage()

func (*TwoWireQuery) ProtoReflect

func (x *TwoWireQuery) ProtoReflect() protoreflect.Message

func (*TwoWireQuery) Reset

func (x *TwoWireQuery) Reset()

func (*TwoWireQuery) String

func (x *TwoWireQuery) String() string

type TwoWireReply

type TwoWireReply struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*TwoWireReply) Descriptor deprecated

func (*TwoWireReply) Descriptor() ([]byte, []int)

Deprecated: Use TwoWireReply.ProtoReflect.Descriptor instead.

func (*TwoWireReply) GetData

func (x *TwoWireReply) GetData() []byte

func (*TwoWireReply) ProtoMessage

func (*TwoWireReply) ProtoMessage()

func (*TwoWireReply) ProtoReflect

func (x *TwoWireReply) ProtoReflect() protoreflect.Message

func (*TwoWireReply) Reset

func (x *TwoWireReply) Reset()

func (*TwoWireReply) String

func (x *TwoWireReply) String() string

type WireAtlasQuery

type WireAtlasQuery struct {
	Type          QueryType                `protobuf:"varint,1,opt,name=type,proto3,enum=fk_atlas.QueryType" json:"type,omitempty"`
	Calibration   *AtlasCalibrationCommand `protobuf:"bytes,2,opt,name=calibration,proto3" json:"calibration,omitempty"`
	Compensations *Compensations           `protobuf:"bytes,3,opt,name=compensations,proto3" json:"compensations,omitempty"`
	Wire          *TwoWireQuery            `protobuf:"bytes,4,opt,name=wire,proto3" json:"wire,omitempty"`
	// contains filtered or unexported fields
}

func (*WireAtlasQuery) Descriptor deprecated

func (*WireAtlasQuery) Descriptor() ([]byte, []int)

Deprecated: Use WireAtlasQuery.ProtoReflect.Descriptor instead.

func (*WireAtlasQuery) GetCalibration

func (x *WireAtlasQuery) GetCalibration() *AtlasCalibrationCommand

func (*WireAtlasQuery) GetCompensations

func (x *WireAtlasQuery) GetCompensations() *Compensations

func (*WireAtlasQuery) GetType

func (x *WireAtlasQuery) GetType() QueryType

func (*WireAtlasQuery) GetWire

func (x *WireAtlasQuery) GetWire() *TwoWireQuery

func (*WireAtlasQuery) ProtoMessage

func (*WireAtlasQuery) ProtoMessage()

func (*WireAtlasQuery) ProtoReflect

func (x *WireAtlasQuery) ProtoReflect() protoreflect.Message

func (*WireAtlasQuery) Reset

func (x *WireAtlasQuery) Reset()

func (*WireAtlasQuery) String

func (x *WireAtlasQuery) String() string

type WireAtlasReply

type WireAtlasReply struct {
	Type        ReplyType               `protobuf:"varint,1,opt,name=type,proto3,enum=fk_atlas.ReplyType" json:"type,omitempty"`
	Errors      []*Error                `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	Calibration *AtlasCalibrationStatus `protobuf:"bytes,3,opt,name=calibration,proto3" json:"calibration,omitempty"`
	Wire        *TwoWireReply           `protobuf:"bytes,4,opt,name=wire,proto3" json:"wire,omitempty"`
	// contains filtered or unexported fields
}

func (*WireAtlasReply) Descriptor deprecated

func (*WireAtlasReply) Descriptor() ([]byte, []int)

Deprecated: Use WireAtlasReply.ProtoReflect.Descriptor instead.

func (*WireAtlasReply) GetCalibration

func (x *WireAtlasReply) GetCalibration() *AtlasCalibrationStatus

func (*WireAtlasReply) GetErrors

func (x *WireAtlasReply) GetErrors() []*Error

func (*WireAtlasReply) GetType

func (x *WireAtlasReply) GetType() ReplyType

func (*WireAtlasReply) GetWire

func (x *WireAtlasReply) GetWire() *TwoWireReply

func (*WireAtlasReply) ProtoMessage

func (*WireAtlasReply) ProtoMessage()

func (*WireAtlasReply) ProtoReflect

func (x *WireAtlasReply) ProtoReflect() protoreflect.Message

func (*WireAtlasReply) Reset

func (x *WireAtlasReply) Reset()

func (*WireAtlasReply) String

func (x *WireAtlasReply) String() string

Directories

Path Synopsis
github.com

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址