Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Automatable ¶
type Automatable interface {
DeviceServer
GenerateValues(simTime time.Time)
}
Automatable extends DeviceServer with time-based value generation
type DeviceServer ¶
type DeviceServer interface {
// Lifecycle
Start() error
Stop() error
// State management
GetState() map[string]interface{}
SetValue(key string, value interface{}) error
// Logging
GetLogs(limit int) []LogEntry
// Metadata
Protocol() Protocol
Category() Category
Address() string
SerialNumber() string
SetSerialNumber(sn string)
}
DeviceServer is the common interface for all protocol servers
Click to show internal directories.
Click to hide internal directories.