evend_config

package
v0.240209.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 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 {
	Cup struct {
		TimeoutSec int `hcl:"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