Skip to content
Snippets Groups Projects
Commit 4326cd0c authored by Raphael GIRARDOT's avatar Raphael GIRARDOT
Browse files

README reviewed

parent 13ddfacb
No related branches found
No related tags found
No related merge requests found
<p style="text-align: center"><a href="https://www.synchrotron-soleil.fr/en"><img src="https://www.synchrotron-soleil.fr/sites/default/files/logo_0.png" alt="SOLEIL Synchrotron"/></a></p>
# ContactManager
---
ContactManager is a device intended to manage local contact for DataStorage, updating its reference in PANIC phonebook.
It is published under the [GNU Lesser General Public License](https://www.gnu.org/licenses/lgpl-3.0.en.html)
*(see LICENSE.txt file)*.
---
# Configuration
To properly work, this device needs:
- Python &ge; 3.6.8
- pytango &ge; 9.4.1, but &ne; 9.5.1
---
## Device Properties
# Device Properties
| Name | Type | Description |
| ---- | ---- | ----------- |
| ContactKey | String | The key for which to modify the value in PANIC Phonebook. |
| ContactList | String[] | The contacts this device should know.<br />Each contact should be written this way:<br />Contact_Name:PhoneBook_Value<br /><br />The Contact_Name entries will represent the possible enum labels for contact attribute.<br />The PhoneBook_Value is what to write in PANIC Phonebook at the key defined in ContactKey property when contact attribute is set with Contact_Name.<br /><br />Example:<br />John:john.doe@synchrotron-soleil.fr<br />Jack:%JACK<br />Telma:telma.louise@synchrotron-soleil.fr<br /><br />With this example, contact attribut will have the enum labels [\"Unknown\", \"John\", \"Jack\", \"Telma\"]. |
## Attributes
# Attributes
Every attributes are at OPERATOR Level.
......@@ -28,7 +30,7 @@ Every attributes are at OPERATOR Level.
| panicPhonebookReady | - [ ] | Scalar | READ | DEV_BOOLEAN | Whether PANIC Phonebook was found. |
| contact | - [x] | Scalar | READ_WRITE | DEV_ENUM | What to write in PANIC Phonebook for the key defined in ContactKey property.<br />The effective written value will be the one in ContactList property for which the key matches the selected label in contact attribute.<br /><br />"Unknown" will always be present in enum labels at first index.<br />Setting contact attribute with "Unknown" will have effect neither on PANIC Phonebook, nore on contact read value.<br />contact read value may return "Unknown" when the value in PANIC Phonebook for the key defined in ContactKey property matches no known value, or when this key is not present in PANIC Phonebook. |
## Commands
# Commands
Every commands are at OPERATOR Level.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment