Documentation
¶
Index ¶
- Variables
- func SetLight(v bool)
- func ShowEnvs() string
- func TuneValueToByte(currentValue uint8, defaultValue int) []byte
- type DeviceOfflineError
- type Devicer
- type Doer
- type Event
- type EventKind
- type InputEvent
- type InputKey
- type MenuItemType
- type MonSysStruct
- type Scheduler
- type TaskFunc
- type UIMenuResult
- type UIer
- type UItype
- type VMCType
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInterrupted = fmt.Errorf("scheduler interrupted, ignore like EPIPE")
View Source
var Log = *log2.NewStderr(log2.LDebug)
Functions ¶
func TuneValueToByte ¶ added in v0.220329.0
преобразование тюнинга в байт 0 = дефолтные значение. если менялось то +1 для телеметрии convert tuning to byte 0 = default value. if changed then +1 for telemetry
Types ¶
type DeviceOfflineError ¶
type DeviceOfflineError struct {
Device Devicer
}
func (DeviceOfflineError) Error ¶
func (oe DeviceOfflineError) Error() string
type InputEvent ¶
func (*InputEvent) IsDigit ¶
func (e *InputEvent) IsDigit() bool
func (*InputEvent) IsDot ¶
func (e *InputEvent) IsDot() bool
func (*InputEvent) IsZero ¶
func (e *InputEvent) IsZero() bool
type MenuItemType ¶
func (*MenuItemType) String ¶
func (mit *MenuItemType) String() string
type MonSysStruct ¶ added in v0.220124.0
type UIMenuResult ¶
type UIMenuResult struct { Item MenuItemType Cream uint8 Sugar uint8 Accepted bool }
type UItype ¶
type UItype struct { FrontResult UIMenuResult Menu map[string]MenuItemType }
type VMCType ¶
Click to show internal directories.
Click to hide internal directories.