Documentation ¶
Index ¶
Constants ¶
View Source
const CurrentPumpType = "CurrentPump"
CurrentPumpType is the type name
View Source
const DigitalInputType = "DigitalInput"
DigitalInputType name of the type
View Source
const DosingPumpType = "Dosing"
DosingPumpType name
View Source
const LPortType = "LPort"
View Source
const LevelSensorType = "LevelSensor"
LevelSensorType type name
View Source
const LightType = "Light"
View Source
const ProbeType = "Probe"
View Source
const ProgrammableLogicType = "ProgrammableLogic"
View Source
const SPortType = "SPort"
SPortType name
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CurrentPump ¶
CurrentPump Model
type DigitalInput ¶
type DigitalInput struct { BaseInfo Index int Value types.CurrentState Function types.DigitalInputFunction }
DigitalInput model
func NewDigitalInput ¶
func NewDigitalInput(index int) DigitalInput
NewDigitalInput creates a new input
type DosingPump ¶
DosingPump creates a new item
type Info ¶
type Info struct { Maintenance []Maintenance OperationMode types.OperationMode Model types.Model SoftwareDate time.Time DeviceAddress int Latitude float64 Longitude float64 MoonPhase float64 Alarm types.CurrentState SoftwareVersion float64 SerialNumber int LastUpdate time.Time Reminders []Reminder }
Info model
type LevelSensor ¶
type LevelSensor struct { BaseInfo Index int AlarmState types.CurrentState OperationMode types.LevelSensorOperationMode Value types.CurrentState SensorIndex int WaterMode types.WaterMode SecondSensor types.CurrentState SecondSensorIndex int HasTwoInputs bool HasWaterChange bool }
LevelSensor model
func NewLevelSensor ¶
func NewLevelSensor(index int) LevelSensor
NewLevelSensor creates a new level sensor
type Light ¶
type Maintenance ¶
Maintenance model
type Probe ¶
type Probe struct { BaseInfo Format int SensorType types.SensorType Index int AlarmState types.CurrentState NominalValue float64 SensorMode types.SensorMode AlarmEnable bool AlarmDeviation float64 Value float64 OperationHours int ConvertedValue float64 CenterValue float64 MaxRange float64 MinRange float64 }
func (Probe) GetValueMultiplier ¶
func (*Probe) SetAlarmDeviation ¶
func (*Probe) SetNominalValue ¶
type ProgrammableLogic ¶
type ProgrammableLogic struct { DisplayName string Index int Function types.LogicFunction Input1 types.PortMode Input2 types.PortMode Id string Type string }
func NewProgrammableLogic ¶
func NewProgrammableLogic(index int) ProgrammableLogic
Click to show internal directories.
Click to hide internal directories.