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;
41 sensors.Sensor_4_0_1.TypeSpec
type;
50 valueobject SettingsChangedEvent extends
event.UserEvent {
56 valueobject DeviceEvent extends idl.Event {
62 valueobject DeviceAddedEvent extends DeviceEvent { };
65 valueobject DeviceRemovedEvent extends DeviceEvent { };
68 valueobject UnknownDeviceAttachedEvent extends idl.Event {
81 valueobject DeviceFirmwareUpdateStateChangedEvent extends idl.Event {
89 valueobject PackageEvent extends idl.Event {
95 valueobject PackageAddedEvent extends PackageEvent { };
97 valueobject PackageRemovedEvent extends PackageEvent { };
109 vector<DeviceSlot_2_0_1> getDeviceSlots();
124 vector<Device_3_0_0> getDiscoveredDevices();
131 vector<PackageInfo_2_0_0> getDiscoveredPackageInfos();
148 int setSettings(in
Settings settings);
162 vector<DeviceTypeInfo> getDeviceTypeInfos();
Peripheral Device Slot.
Definition: PeripheralDeviceSlot.idl:55
valueobject Device_3_0_0
A peripheral device is the collection of.
Definition: PeripheralDeviceSlot.idl:47
int cSumErrCnt
CRC / checksum error counter.
Definition: PeripheralDeviceManager.idl:101
vector< PackageInfo_2_0_0 > allPackages
New list of discovered packages after change.
Definition: PeripheralDeviceManager.idl:91
sensors NumericSensor_4_0_1 Range defaultRange
Default sensor range (numeric sensors only)
Definition: PeripheralDeviceManager.idl:45
Settings newSettings
Settings after change.
Definition: PeripheralDeviceManager.idl:52
ZCoordMode
Z Coordinate Mode identifier.
Definition: PeripheralDeviceManager.idl:19
vector< PosElement > position
Device position in the chain.
Definition: PeripheralDeviceManager.idl:70
string name
Device type display name.
Definition: PeripheralDeviceManager.idl:44
ZCoordMode zCoordMode
Z coordinate semantics.
Definition: PeripheralDeviceManager.idl:26
Peripheral device statistics.
Definition: PeripheralDeviceManager.idl:100
vector< Device_3_0_0 > allDevices
New list of discovered devices after change.
Definition: PeripheralDeviceManager.idl:58
string serial
Serial number of device.
Definition: PeripheralDeviceManager.idl:84
sensors Sensor_4_0_1 TypeSpec type
Device (sensor) type.
Definition: PeripheralDeviceManager.idl:41
string newVersion
Firmware version to be updated to.
Definition: PeripheralDeviceManager.idl:83
int defaultDecDigits
Default sensor precision (numeric sensors only)
Definition: PeripheralDeviceManager.idl:46
Peripheral Device Manager.
Definition: PeripheralDeviceManager.idl:14
float deviceAltitude
Altitude of device in meters.
Definition: PeripheralDeviceManager.idl:28
DeviceFirmwareUpdateState
Enumeration: State of device firmware update.
Definition: PeripheralDeviceManager.idl:74
Update has finished successfully.
Definition: PeripheralDeviceManager.idl:76
string identifier
Device type identifier.
Definition: PeripheralDeviceManager.idl:43
DeviceFirmwareUpdateState state
Update state.
Definition: PeripheralDeviceManager.idl:85
sensors Sensor_4_0_1 device
device reference
Definition: PeripheralDeviceSlot.idl:51
boolean isActuator
Is actuator or not.
Definition: PeripheralDeviceManager.idl:42
Peripheral device type info.
Definition: PeripheralDeviceManager.idl:40
Peripheral device package information.
Definition: PeripheralDevicePackage.idl:9
Z coordinate of slot settings is in rack units.
Definition: PeripheralDeviceManager.idl:20
map< string, sensors.NumericSensor_4_0_1.Thresholds > defaultThresholdsMap
Default thresholds by peripheral device type.
Definition: PeripheralDeviceManager.idl:30
int presenceDetectionTimeout
Timeout for presence detection (sec)
Definition: PeripheralDeviceManager.idl:29
Update is running.
Definition: PeripheralDeviceManager.idl:75
boolean autoManageNewDevices
Automatically manage newly detected devices.
Definition: PeripheralDeviceManager.idl:27
peripheral DeviceManager's s settings
Definition: PeripheralDeviceManager.idl:25