OSAmI-ES Device model
Author : Jesus Bermejo
From TechnologicalWiki
Contents |
Device Model Class Diagram
[edit] Events and Device Monitoring
The proposed approach consists on each driver being accountable for posting events notifying changes on the state of its associated actuator devices through the OSGi Event Admin service.
As a general rule, on each state change an event will be posted under the topic "osami/device/statechanged", and its properties will convey information about the type, identity, altered state variable name and new value, and timestamp.
Bearing the different types of devices supported by the platform (class diagram above) the events to be fired are specified in the following tables.
[edit] AcousticSignal
| Topic | osami/device/statechanged |
|---|---|
| Properties |
|
| State variables |
|
[edit] LuminicSignal
| Topic | osami/device/statechanged |
|---|---|
| Properties |
|
| State variables |
|
[edit] Light
| Topic | osami/device/statechanged |
|---|---|
| Properties |
|
| State variables |
|
[edit] PowerSupply
| Topic | osami/device/statechanged |
|---|---|
| Properties |
|
| State variables |
|
[edit] DoorLock
| Topic | osami/device/statechanged |
|---|---|
| Properties |
|
| State variables |
|
[edit] WaterValve
| Topic | osami/device/statechanged |
|---|---|
| Properties |
|
| State variables |
|
[edit] CoolingDevice
| Topic | osami/device/statechanged |
|---|---|
| Properties |
|
| State variables |
|
[edit] GradualLight
| Topic | osami/device/statechanged |
|---|---|
| Properties |
|
| State variables |
|
[edit] Blind
| Topic | osami/device/statechanged |
|---|---|
| Properties |
|
| State variables |
|
[edit] License
Apache License, Version 2.0
[edit] Bundles
Bundle Repository: http://repository.osami-commons.org/
- OSAmIDeviceModel_1.0.0.jar
[edit] Source Code
Host: cvs.forge.os4os.org
Repository path: /cvsroot/osami
Modules:
- DeviceAbstraction/DeviceModel/OSAmIDeviceModel



