1 #ifndef __PERIPHERAL_DEVICE_MANAGER_IDL__ 2 #define __PERIPHERAL_DEVICE_MANAGER_IDL__ 4 #include <PeripheralDeviceSlot.idl> 5 #include <PeripheralDevicePackage.idl> 6 #include <NumericSensor.idl> 8 #include <UserEvent.idl> 16 constant
int ERR_INVALID_PARAMS = 1;
57 valueobject SettingsChangedEvent extends
event.UserEvent {
63 valueobject DeviceEvent_2_0_0 extends
idl.Event {
64 vector<Device_3_0_1> devices;
69 valueobject DeviceAddedEvent_2_0_0 extends DeviceEvent_2_0_0 { };
72 valueobject DeviceRemovedEvent_2_0_0 extends DeviceEvent_2_0_0 { };
75 valueobject UnknownDeviceAttachedEvent extends
idl.Event {
88 valueobject DeviceFirmwareUpdateStateChangedEvent extends
idl.Event {
99 valueobject FirmwareUpdateStateChangedEvent extends
idl.Event {
104 valueobject PackageEvent_2_0_0 extends
idl.Event {
105 vector<PackageInfo_2_0_0> packageInfos;
110 valueobject PackageAddedEvent_2_0_0 extends PackageEvent_2_0_0 { };
112 valueobject PackageRemovedEvent_2_0_0 extends PackageEvent_2_0_0 { };
124 vector<DeviceSlot_2_0_2> getDeviceSlots();
139 vector<Device_3_0_1> getDiscoveredDevices();
146 vector<PackageInfo_2_0_0> getDiscoveredPackageInfos();
163 int setSettings(in
Settings settings);
177 vector<DeviceTypeInfo> getDeviceTypeInfos();
199 vector<Package> getDiscoveredPackages();
float deviceAltitude
Altitude of device in meters.
Definition: PeripheralDeviceManager.idl:28
A sensor with numeric readings.
Definition: NumericSensor.idl:12
sensors::NumericSensor_4_0_2 Range defaultRange
Default sensor range (numeric sensors only)
Definition: PeripheralDeviceManager.idl:46
Range of possible sensor readings.
Definition: NumericSensor.idl:19
map< string, sensors::NumericSensor_4_0_2.Thresholds > defaultThresholdsMap
Default thresholds by peripheral device type.
Definition: PeripheralDeviceManager.idl:30
int cSumErrCnt
CRC / checksum error counter.
Definition: PeripheralDeviceManager.idl:116
vector< Device_3_0_1 > allDevices
New list of discovered devices after change.
Definition: PeripheralDeviceManager.idl:65
int maxActivePoweredDryContacts
The maximum number of concurrently active powered dry contacts.
Definition: PeripheralDeviceManager.idl:31
vector< PackageInfo_2_0_0 > allPackages
New list of discovered packages after change.
Definition: PeripheralDeviceManager.idl:106
Settings newSettings
Settings after change.
Definition: PeripheralDeviceManager.idl:59
boolean active
true if any peripheral device is currently updated
Definition: PeripheralDeviceManager.idl:52
string identifier
Device type identifier.
Definition: PeripheralDeviceManager.idl:44
peripheral DeviceManager's s settings
Definition: PeripheralDeviceManager.idl:25
Peripheral Devices.
Definition: PeripheralDeviceManager.idl:11
string serial
Serial number of device.
Definition: PeripheralDeviceManager.idl:91
int remaining
Number of peripheral devices that are still pending to be updated.
Definition: PeripheralDeviceManager.idl:53
Peripheral device statistics.
Definition: PeripheralDeviceManager.idl:115
int presenceDetectionTimeout
Timeout for presence detection (sec)
Definition: PeripheralDeviceManager.idl:29
Peripheral device type info.
Definition: PeripheralDeviceManager.idl:41
ZCoordMode
Z Coordinate Mode identifier.
Definition: PeripheralDeviceManager.idl:19
string newVersion
Firmware version to be updated to.
Definition: PeripheralDeviceManager.idl:90
boolean isActuator
Is actuator or not.
Definition: PeripheralDeviceManager.idl:43
Peripheral Device Manager.
Definition: PeripheralDeviceManager.idl:14
Basic IDL definitions.
Definition: Event.idl:6
Numeric sensor thresholds.
Definition: NumericSensor.idl:106
Update is running.
Definition: PeripheralDeviceManager.idl:82
string name
Device type display name.
Definition: PeripheralDeviceManager.idl:45
int defaultDecDigits
Default sensor precision (numeric sensors only)
Definition: PeripheralDeviceManager.idl:47
Sensor interface
Definition: Sensor.idl:10
DeviceFirmwareUpdateState
Enumeration: State of device firmware update.
Definition: PeripheralDeviceManager.idl:81
Sensors Model.
Definition: AccumulatingNumericSensor.idl:8
sensors::Sensor_4_0_2 TypeSpec type
Device (sensor) type.
Definition: PeripheralDeviceManager.idl:42
DeviceFirmwareUpdateState state
Update state.
Definition: PeripheralDeviceManager.idl:92
vector< PosElement > position
Device position in the chain.
Definition: PeripheralDeviceManager.idl:77
Peripheral Device Slot.
Definition: PeripheralDeviceSlot.idl:55
Update has finished successfully.
Definition: PeripheralDeviceManager.idl:83
Z coordinate of slot settings is in rack units.
Definition: PeripheralDeviceManager.idl:20
Firmware update status.
Definition: PeripheralDeviceManager.idl:51
Complete sensor type specification.
Definition: Sensor.idl:153
boolean autoManageNewDevices
Automatically manage newly detected devices.
Definition: PeripheralDeviceManager.idl:27
ZCoordMode zCoordMode
Z coordinate semantics.
Definition: PeripheralDeviceManager.idl:26