Raritan PX2/PX3 JSON-RPC API
|
6 #ifndef __PERIPHERAL_DEVICE_SLOT_IDL__
7 #define __PERIPHERAL_DEVICE_SLOT_IDL__
10 #include <UserEvent.idl>
63 constant
int ERR_INVALID_PARAMS = 1;
64 constant
int ERR_NOT_SUPPORTED = 2;
66 constant
int CHANNEL_INVALID = -1;
85 valueobject DeviceChangedEvent extends
idl.Event {
91 valueobject SettingsChangedEvent extends
event.UserEvent {
PortType_2_0_0
peripheral device port types
Definition: PeripheralDeviceSlot.idl:16
@ REMOTE_HUB_PORT
a RS485 remote hub port
Definition: PeripheralDeviceSlot.idl:21
boolean useDefaultThresholds
use default thresholds
Definition: PeripheralDeviceSlot.idl:80
string y
Y coordinate.
Definition: PeripheralDeviceSlot.idl:71
Peripheral Devices.
Definition: PeripheralDeviceManager.idl:18
@ DEV_PORT
a sensor port on the device
Definition: PeripheralDeviceSlot.idl:18
Sensors Model.
Definition: AccumulatingNumericSensor.idl:13
sensors::Sensor_4_0_4 TypeSpec type
device's type spec
Definition: PeripheralDeviceSlot.idl:33
string description
User-defined description.
Definition: PeripheralDeviceSlot.idl:78
peripheral device position based address
Definition: PeripheralDeviceSlot.idl:39
boolean isActuator
true if device is an actuator
Definition: PeripheralDeviceSlot.idl:34
int channel
Channel number.
Definition: PeripheralDeviceSlot.idl:35
vector< PosElement_2_0_0 > position
Position within 1-wire topo.
Definition: PeripheralDeviceSlot.idl:40
Settings getSettings()
Retrieve the user-defined settings.
@ ONBOARD
a built in, inaccessible port
Definition: PeripheralDeviceSlot.idl:17
map< string, string > properties
sensor specific settings
Definition: PeripheralDeviceSlot.idl:81
user writeable location
Definition: PeripheralDeviceSlot.idl:69
int assign(in DeviceID_4_0_0 devid)
Associate this slot with a given (old or detected new) peripheral device.
peripheral device identification
Definition: PeripheralDeviceSlot.idl:31
@ ONEWIRE_CHAIN_POS
a chain position
Definition: PeripheralDeviceSlot.idl:20
string serial
Serial number.
Definition: PeripheralDeviceSlot.idl:32
peripheral device position element, list forms position
Definition: PeripheralDeviceSlot.idl:25
string packageClass
physical package identifier
Definition: PeripheralDeviceSlot.idl:56
Complete sensor type specification.
Definition: Sensor.idl:163
Settings newSettings
Settings after change.
Definition: PeripheralDeviceSlot.idl:93
int channel
Channel number.
Definition: PeripheralDeviceSlot.idl:43
string port
value of the element, a label
Definition: PeripheralDeviceSlot.idl:27
int setSettings(in Settings settings)
Change the slot settings.
boolean isActuator
true if device is an actuator
Definition: PeripheralDeviceSlot.idl:42
Basic IDL definitions.
Definition: Event.idl:10
string x
X coordinate.
Definition: PeripheralDeviceSlot.idl:70
user configurable slot attributes
Definition: PeripheralDeviceSlot.idl:76
Peripheral Device Slot.
Definition: PeripheralDeviceSlot.idl:61
int assignAddress(in string packageClass, in Address_5_0_0 address)
Associate this slot with an addressable (new) peripheral device.
@ ONEWIRE_HUB_PORT
a port on a Hub
Definition: PeripheralDeviceSlot.idl:19
string name
User-defined name.
Definition: PeripheralDeviceSlot.idl:77
Sensor interface
Definition: Sensor.idl:15
sensors::Sensor_4_0_4 device
device reference
Definition: PeripheralDeviceSlot.idl:57
Location location
user-defined device location
Definition: PeripheralDeviceSlot.idl:79
string z
Z coordinate (semantics depends on ZCoordMode)
Definition: PeripheralDeviceSlot.idl:72
valueobject Device_4_0_0
A peripheral device is the collection of.
Definition: PeripheralDeviceSlot.idl:53
sensors::Sensor_4_0_4 TypeSpec type
device's type spec
Definition: PeripheralDeviceSlot.idl:41
Device_4_0_0 newDevice
Device after change.
Definition: PeripheralDeviceSlot.idl:87
int unassign()
Break the association for this slot.
PortType_2_0_0 portType
type of the element
Definition: PeripheralDeviceSlot.idl:26
vector< PosElement_2_0_0 > position
Position within 1-wire topo.
Definition: PeripheralDeviceSlot.idl:55
Device_4_0_0 getDevice()
Returns the actual device reference.