Documentation ¶
Index ¶
- type DummyDevice
- func (d *DummyDevice) GetChannels() (int, error)
- func (d *DummyDevice) GetCurrent(channel int) (float64, error)
- func (d *DummyDevice) GetMaster() (bool, error)
- func (d *DummyDevice) GetOCP(channel int) (bool, error)
- func (d *DummyDevice) GetOVP(channel int) (bool, error)
- func (d *DummyDevice) GetOut(channel int) (bool, error)
- func (d *DummyDevice) GetVoltage(channel int) (float64, error)
- func (d *DummyDevice) Probe() error
- func (d *DummyDevice) SetBeep(enabled bool) error
- func (d *DummyDevice) SetCurrent(channel int, current float64) error
- func (d *DummyDevice) SetMaster(enabled bool) error
- func (d *DummyDevice) SetOCP(channel int, enabled bool) error
- func (d *DummyDevice) SetOVP(channel int, enabled bool) error
- func (d *DummyDevice) SetOut(channel int, enabled bool) error
- func (d *DummyDevice) SetVoltage(channel int, voltage float64) error
- func (d *DummyDevice) Status() (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyDevice ¶
type DummyDevice struct {
opennetzteil.NetzteilBase
}
func (*DummyDevice) GetChannels ¶
func (d *DummyDevice) GetChannels() (int, error)
func (*DummyDevice) GetCurrent ¶
func (d *DummyDevice) GetCurrent(channel int) (float64, error)
func (*DummyDevice) GetMaster ¶
func (d *DummyDevice) GetMaster() (bool, error)
func (*DummyDevice) GetVoltage ¶
func (d *DummyDevice) GetVoltage(channel int) (float64, error)
func (*DummyDevice) Probe ¶
func (d *DummyDevice) Probe() error
func (*DummyDevice) SetBeep ¶
func (d *DummyDevice) SetBeep(enabled bool) error
func (*DummyDevice) SetCurrent ¶
func (d *DummyDevice) SetCurrent(channel int, current float64) error
func (*DummyDevice) SetMaster ¶
func (d *DummyDevice) SetMaster(enabled bool) error
func (*DummyDevice) SetVoltage ¶
func (d *DummyDevice) SetVoltage(channel int, voltage float64) error
func (*DummyDevice) Status ¶
func (d *DummyDevice) Status() (interface{}, error)
Click to show internal directories.
Click to hide internal directories.