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;
56 valueobject SettingsChangedEvent extends
event.UserEvent {
62 valueobject DeviceEvent_2_0_0 extends
idl.Event {
63 vector<Device_3_0_0> devices;
68 valueobject DeviceAddedEvent_2_0_0 extends DeviceEvent_2_0_0 { };
71 valueobject DeviceRemovedEvent_2_0_0 extends DeviceEvent_2_0_0 { };
74 valueobject UnknownDeviceAttachedEvent extends
idl.Event {
87 valueobject DeviceFirmwareUpdateStateChangedEvent extends
idl.Event {
98 valueobject FirmwareUpdateStateChangedEvent extends
idl.Event {
103 valueobject PackageEvent_2_0_0 extends
idl.Event {
104 vector<PackageInfo_2_0_0> packageInfos;
109 valueobject PackageAddedEvent_2_0_0 extends PackageEvent_2_0_0 { };
111 valueobject PackageRemovedEvent_2_0_0 extends PackageEvent_2_0_0 { };
123 vector<DeviceSlot_2_0_1> getDeviceSlots();
138 vector<Device_3_0_0> getDiscoveredDevices();
145 vector<PackageInfo_2_0_0> getDiscoveredPackageInfos();
162 int setSettings(in
Settings settings);
176 vector<DeviceTypeInfo> getDeviceTypeInfos();
vector< Device_3_0_0 > allDevices
New list of discovered devices after change.
Definition: PeripheralDeviceManager.idl:64
Peripheral Device Slot.
Definition: PeripheralDeviceSlot.idl:55
A sensor with numeric readings.
Definition: NumericSensor.idl:12
string name
Device type display name.
Definition: PeripheralDeviceManager.idl:44
Range of possible sensor readings.
Definition: NumericSensor.idl:19
Settings newSettings
Settings after change.
Definition: PeripheralDeviceManager.idl:58
boolean active
true if any peripheral device is currently updated
Definition: PeripheralDeviceManager.idl:51
Update is running.
Definition: PeripheralDeviceManager.idl:81
boolean isActuator
Is actuator or not.
Definition: PeripheralDeviceManager.idl:42
Peripheral Devices.
Definition: PeripheralDeviceManager.idl:11
peripheral DeviceManager's s settings
Definition: PeripheralDeviceManager.idl:25
string serial
Serial number of device.
Definition: PeripheralDeviceManager.idl:90
ZCoordMode
Z Coordinate Mode identifier.
Definition: PeripheralDeviceManager.idl:19
sensors::Sensor_4_0_1 TypeSpec type
Device (sensor) type.
Definition: PeripheralDeviceManager.idl:41
Peripheral device statistics.
Definition: PeripheralDeviceManager.idl:114
vector< PackageInfo_2_0_0 > allPackages
New list of discovered packages after change.
Definition: PeripheralDeviceManager.idl:105
DeviceFirmwareUpdateState
Enumeration: State of device firmware update.
Definition: PeripheralDeviceManager.idl:80
map< string, sensors::NumericSensor_4_0_1.Thresholds > defaultThresholdsMap
Default thresholds by peripheral device type.
Definition: PeripheralDeviceManager.idl:30
Sensor interface
Definition: Sensor.idl:10
Basic IDL definitions.
Definition: Event.idl:6
int remaining
Number of peripheral devices that are still pending to be updated.
Definition: PeripheralDeviceManager.idl:52
Numeric sensor thresholds.
Definition: NumericSensor.idl:106
sensors::NumericSensor_4_0_1 Range defaultRange
Default sensor range (numeric sensors only)
Definition: PeripheralDeviceManager.idl:45
vector< PosElement > position
Device position in the chain.
Definition: PeripheralDeviceManager.idl:76
boolean autoManageNewDevices
Automatically manage newly detected devices.
Definition: PeripheralDeviceManager.idl:27
ZCoordMode zCoordMode
Z coordinate semantics.
Definition: PeripheralDeviceManager.idl:26
DeviceFirmwareUpdateState state
Update state.
Definition: PeripheralDeviceManager.idl:91
Update has finished successfully.
Definition: PeripheralDeviceManager.idl:82
Peripheral Device Manager.
Definition: PeripheralDeviceManager.idl:14
Sensors Model.
Definition: AccumulatingNumericSensor.idl:8
Complete sensor type specification.
Definition: Sensor.idl:135
float deviceAltitude
Altitude of device in meters.
Definition: PeripheralDeviceManager.idl:28
Firmware update status.
Definition: PeripheralDeviceManager.idl:50
int presenceDetectionTimeout
Timeout for presence detection (sec)
Definition: PeripheralDeviceManager.idl:29
int cSumErrCnt
CRC / checksum error counter.
Definition: PeripheralDeviceManager.idl:115
Peripheral device type info.
Definition: PeripheralDeviceManager.idl:40
int defaultDecDigits
Default sensor precision (numeric sensors only)
Definition: PeripheralDeviceManager.idl:46
string newVersion
Firmware version to be updated to.
Definition: PeripheralDeviceManager.idl:89
string identifier
Device type identifier.
Definition: PeripheralDeviceManager.idl:43
Z coordinate of slot settings is in rack units.
Definition: PeripheralDeviceManager.idl:20