Raritan PX2/PX3 JSON-RPC API
|
6 #ifndef __PERIPHERAL_DEVICE_SLOT_IDL__
7 #define __PERIPHERAL_DEVICE_SLOT_IDL__
10 #include <UserEvent.idl>
16 [unknown_fallback(
"UNSPECIFIED")]
67 constant
int ERR_INVALID_PARAMS = 1;
68 constant
int ERR_NOT_SUPPORTED = 2;
70 constant
int CHANNEL_INVALID = -1;
89 valueobject DeviceChangedEvent extends
idl.Event {
95 valueobject SettingsChangedEvent extends
event.UserEvent {
int unassign()
Break the association for this slot.
vector< PosElement_3_0_0 > position
Position within 1-wire topo.
Definition: PeripheralDeviceSlot.idl:59
string y
Y coordinate.
Definition: PeripheralDeviceSlot.idl:75
string port
value of the element, a label
Definition: PeripheralDeviceSlot.idl:31
Peripheral Devices.
Definition: PeripheralDeviceManager.idl:18
@ WIRELESS_BRIDGE
a wireless bridge, e.g. usb dongle
Definition: PeripheralDeviceSlot.idl:23
Sensors Model.
Definition: AccumulatingNumericSensor.idl:13
sensors::Sensor_4_0_4 TypeSpec type
device's type spec
Definition: PeripheralDeviceSlot.idl:37
@ WIRELESS_DEVICE
a wireless device
Definition: PeripheralDeviceSlot.idl:24
boolean isActuator
true if device is an actuator
Definition: PeripheralDeviceSlot.idl:38
int channel
Channel number.
Definition: PeripheralDeviceSlot.idl:39
Peripheral Device Slot.
Definition: PeripheralDeviceSlot.idl:65
@ REMOTE_HUB_PORT
a RS485 remote hub port
Definition: PeripheralDeviceSlot.idl:22
sensors::Sensor_4_0_4 TypeSpec type
device's type spec
Definition: PeripheralDeviceSlot.idl:45
peripheral device identification
Definition: PeripheralDeviceSlot.idl:35
string serial
Serial number.
Definition: PeripheralDeviceSlot.idl:36
int assignAddress(in string packageClass, in Address_6_0_0 address)
Associate this slot with an addressable (new) peripheral device.
Device_5_0_0 newDevice
Device after change.
Definition: PeripheralDeviceSlot.idl:91
user writeable location
Definition: PeripheralDeviceSlot.idl:73
PortType_3_0_0 portType
type of the element
Definition: PeripheralDeviceSlot.idl:30
int channel
Channel number.
Definition: PeripheralDeviceSlot.idl:47
@ ONEWIRE_HUB_PORT
a port on a Hub
Definition: PeripheralDeviceSlot.idl:20
string packageClass
physical package identifier
Definition: PeripheralDeviceSlot.idl:60
string name
User-defined name.
Definition: PeripheralDeviceSlot.idl:81
string x
X coordinate.
Definition: PeripheralDeviceSlot.idl:74
Complete sensor type specification.
Definition: Sensor.idl:163
@ ONEWIRE_CHAIN_POS
a chain position
Definition: PeripheralDeviceSlot.idl:21
Settings newSettings
Settings after change.
Definition: PeripheralDeviceSlot.idl:97
Device_5_0_0 getDevice()
Returns the actual device reference.
string description
User-defined description.
Definition: PeripheralDeviceSlot.idl:82
Basic IDL definitions.
Definition: Event.idl:10
valueobject Device_5_0_0
A peripheral device is the collection of.
Definition: PeripheralDeviceSlot.idl:57
int setSettings(in Settings settings)
Change the slot settings.
peripheral device position based address
Definition: PeripheralDeviceSlot.idl:43
map< string, string > properties
sensor specific settings
Definition: PeripheralDeviceSlot.idl:85
boolean isActuator
true if device is an actuator
Definition: PeripheralDeviceSlot.idl:46
Settings getSettings()
Retrieve the user-defined settings.
Sensor interface
Definition: Sensor.idl:15
sensors::Sensor_4_0_4 device
device reference
Definition: PeripheralDeviceSlot.idl:61
@ ONBOARD
a built in, inaccessible port
Definition: PeripheralDeviceSlot.idl:18
user configurable slot attributes
Definition: PeripheralDeviceSlot.idl:80
Location location
user-defined device location
Definition: PeripheralDeviceSlot.idl:83
string z
Z coordinate (semantics depends on ZCoordMode)
Definition: PeripheralDeviceSlot.idl:76
@ UNSPECIFIED
device type is unknown
Definition: PeripheralDeviceSlot.idl:25
vector< PosElement_3_0_0 > position
Position within 1-wire topo.
Definition: PeripheralDeviceSlot.idl:44
peripheral device position element, list forms position
Definition: PeripheralDeviceSlot.idl:29
@ DEV_PORT
a sensor port on the device
Definition: PeripheralDeviceSlot.idl:19
int assign(in DeviceID_4_0_0 devid)
Associate this slot with a given (old or detected new) peripheral device.
boolean useDefaultThresholds
use default thresholds
Definition: PeripheralDeviceSlot.idl:84
PortType_3_0_0
peripheral device port types
Definition: PeripheralDeviceSlot.idl:17