6 #ifndef __PERIPHERAL_DEVICE_MANAGER_IDL__ 7 #define __PERIPHERAL_DEVICE_MANAGER_IDL__ 9 #include <PeripheralDeviceSlot.idl> 10 #include <PeripheralDevicePackage.idl> 11 #include <PortFuse.idl> 12 #include <NumericSensor.idl> 14 #include <UserEvent.idl> 22 constant
int ERR_INVALID_PARAMS = 1;
63 valueobject SettingsChangedEvent extends
event.UserEvent {
69 valueobject DeviceEvent_2_0_0 extends
idl.Event {
70 vector<Device_3_0_2> devices;
75 valueobject DeviceAddedEvent_2_0_0 extends DeviceEvent_2_0_0 { };
78 valueobject DeviceRemovedEvent_2_0_0 extends DeviceEvent_2_0_0 { };
81 valueobject UnknownDeviceAttachedEvent extends
idl.Event {
94 valueobject DeviceFirmwareUpdateStateChangedEvent extends
idl.Event {
105 valueobject FirmwareUpdateStateChangedEvent extends
idl.Event {
106 FirmwareUpdateState newState;
110 valueobject PackageEvent_2_0_0 extends
idl.Event {
111 vector<PackageInfo_2_0_1> packageInfos;
116 valueobject PackageAddedEvent_2_0_0 extends PackageEvent_2_0_0 { };
118 valueobject PackageRemovedEvent_2_0_0 extends PackageEvent_2_0_0 { };
130 vector<DeviceSlot_2_0_3> getDeviceSlots();
145 vector<Device_3_0_2> getDiscoveredDevices();
152 vector<PackageInfo_2_0_1> getDiscoveredPackageInfos();
169 int setSettings(in
Settings settings);
183 vector<DeviceTypeInfo> getDeviceTypeInfos();
205 vector<Package_1_0_1> getDiscoveredPackages();
Update is running.
Definition: PeripheralDeviceManager.idl:88
Settings newSettings
Settings after change.
Definition: PeripheralDeviceManager.idl:65
Range of possible sensor readings.
Definition: NumericSensor.idl:24
Update has finished successfully.
Definition: PeripheralDeviceManager.idl:89
int presenceDetectionTimeout
Timeout for presence detection (sec)
Definition: PeripheralDeviceManager.idl:35
string newVersion
Firmware version to be updated to.
Definition: PeripheralDeviceManager.idl:96
string name
Device type display name.
Definition: PeripheralDeviceManager.idl:51
ZCoordMode zCoordMode
Z coordinate semantics.
Definition: PeripheralDeviceManager.idl:32
Firmware update status.
Definition: PeripheralDeviceManager.idl:57
DeviceFirmwareUpdateState
Enumeration: State of device firmware update.
Definition: PeripheralDeviceManager.idl:87
Peripheral Devices.
Definition: PeripheralDeviceManager.idl:17
boolean active
true if any peripheral device is currently updated
Definition: PeripheralDeviceManager.idl:58
Peripheral device statistics.
Definition: PeripheralDeviceManager.idl:121
ZCoordMode
Z Coordinate Mode identifier.
Definition: PeripheralDeviceManager.idl:25
sensors::NumericSensor_4_0_3 Range defaultRange
Default sensor range (numeric sensors only)
Definition: PeripheralDeviceManager.idl:52
string identifier
Device type identifier.
Definition: PeripheralDeviceManager.idl:50
Basic IDL definitions.
Definition: Event.idl:10
vector< PackageInfo_2_0_1 > allPackages
New list of discovered packages after change.
Definition: PeripheralDeviceManager.idl:112
vector< Device_3_0_2 > allDevices
New list of discovered devices after change.
Definition: PeripheralDeviceManager.idl:71
sensors::Sensor_4_0_3 TypeSpec type
Device (sensor) type.
Definition: PeripheralDeviceManager.idl:48
int cSumErrCnt
CRC / checksum error counter.
Definition: PeripheralDeviceManager.idl:122
DeviceFirmwareUpdateState state
Update state.
Definition: PeripheralDeviceManager.idl:98
boolean isActuator
Is actuator or not.
Definition: PeripheralDeviceManager.idl:49
Numeric sensor thresholds.
Definition: NumericSensor.idl:111
Sensor interface
Definition: Sensor.idl:15
Ports.
Definition: Port.idl:15
Peripheral Device Slot.
Definition: PeripheralDeviceSlot.idl:60
Z coordinate of slot settings is in rack units.
Definition: PeripheralDeviceManager.idl:26
int defaultDecDigits
Default sensor precision (numeric sensors only)
Definition: PeripheralDeviceManager.idl:53
Sensors Model.
Definition: AccumulatingNumericSensor.idl:13
vector< PosElement > position
Device position in the chain.
Definition: PeripheralDeviceManager.idl:83
Complete sensor type specification.
Definition: Sensor.idl:160
Interface describing a controllable fuse for a device port.
Definition: PortFuse.idl:17
Peripheral device type info.
Definition: PeripheralDeviceManager.idl:47
boolean autoManageNewDevices
Automatically manage newly detected devices.
Definition: PeripheralDeviceManager.idl:33
A sensor with numeric readings.
Definition: NumericSensor.idl:17
int maxActivePoweredDryContacts
The maximum number of concurrently active powered dry contacts.
Definition: PeripheralDeviceManager.idl:37
peripheral DeviceManager's s settings
Definition: PeripheralDeviceManager.idl:31
float deviceAltitude
Altitude of device in meters.
Definition: PeripheralDeviceManager.idl:34
string serial
Serial number of device.
Definition: PeripheralDeviceManager.idl:97
map< string, sensors::NumericSensor_4_0_3.Thresholds > defaultThresholdsMap
Default thresholds by peripheral device type.
Definition: PeripheralDeviceManager.idl:36
int remaining
Number of peripheral devices that are still pending to be updated.
Definition: PeripheralDeviceManager.idl:59
Peripheral Device Manager.
Definition: PeripheralDeviceManager.idl:20