evend_config

package
v0.230610.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: CC0-1.0 Imports: 0 Imported by: 0

Documentation

Overview

Separate package to for hardware/evend related config structure. Ugly workaround to import cycles.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Conveyor struct {
		KeepaliveMs int  `hcl:"keepalive_ms"`
		LogDebug    bool `hcl:"log_debug"`
		MinSpeed    int  `hcl:"min_speed"`
		PositionMax int  `hcl:"position_max"`
	} `hcl:"conveyor"`
	Cup struct {
		AssertBusyDelayMs  int `hcl:"assert_busy_delay_ms"`
		DispenseTimeoutSec int `hcl:"dispense_timeout_sec"`
		EnsureTimeoutSec   int `hcl:"ensure_timeout_sec"`
	} `hcl:"cup"`
	Elevator struct {
		KeepaliveMs    int `hcl:"keepalive_ms"`
		MoveTimeoutSec int `hcl:"move_timeout_sec"`
	} `hcl:"elevator"`
	Espresso struct {
		TimeoutSec int `hcl:"timeout_sec"`
	} `hcl:"espresso"`
	Hopper struct {
		RunTimeoutMs int `hcl:"run_timeout_ms"`
	} `hcl:"hopper"`
	Mixer struct {
		KeepaliveMs    int `hcl:"keepalive_ms"`
		MoveTimeoutSec int `hcl:"move_timeout_sec"`
		ShakeTimeoutMs int `hcl:"shake_timeout_ms"`
	} `hcl:"mixer"`
	Valve struct {
		// TODO TemperatureCold int     `hcl:"temperature_cold"`
		TemperatureHot     int `hcl:"temperature_hot"`
		TemperatureValidMs int `hcl:"temperature_valid_ms"`
		PourTimeoutSec     int `hcl:"pour_timeout_sec"`
		CautionPartMl      int `hcl:"caution_part_ml"`
	} `hcl:"valve"`
}

Jump to

Keyboard shortcuts

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