appmodels

package
v0.7.22 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceConfigResponse

type DeviceConfigResponse struct {
	// PidURL including the version for the template
	PidURL string `json:"pidUrl"`
	// DeviceSettingURL including the version for the settings
	DeviceSettingURL string `json:"deviceSettingUrl"`
	// DbcURL including the version for the dbc file, usually same as pidurl template version
	DbcURL string `json:"dbcUrl,omitempty"`
}

DeviceConfigResponse response for what templates to use

type SettingsData added in v0.7.3

type SettingsData struct {
	SafetyCutOutVoltage             float64 `json:"safety_cut_out_voltage"`               //nolint
	SleepTimerEventDrivenPeriodSecs float64 `json:"sleep_timer_event_driven_period_secs"` //nolint
	WakeTriggerVoltageLevel         float64 `json:"wake_trigger_voltage_level"`           //nolint
}

SettingsData used for the template device power settings mostly

type UserDeviceAutoPIUnit

type UserDeviceAutoPIUnit struct {
	UserDeviceID       string
	DeviceDefinitionID string
	DeviceStyleID      string
}

Jump to

Keyboard shortcuts

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